Version Notes
1.7.0.0
Download this release
Release Info
Developer | Magento Core Team |
Extension | Interface_Frontend_Default_Iphone |
Version | 1.7.0.0 |
Comparing to | |
See all releases |
Code changes from version 1.6.1.0 to 1.7.0.0
- app/design/frontend/default/iphone/etc/widget.xml +1 -1
- app/design/frontend/default/iphone/layout/bundle.xml +380 -0
- app/design/frontend/default/iphone/layout/catalog.xml +12 -68
- app/design/frontend/default/iphone/layout/catalogsearch.xml +120 -0
- app/design/frontend/default/iphone/layout/checkout.xml +11 -37
- app/design/frontend/default/iphone/layout/cms.xml +31 -9
- app/design/frontend/default/iphone/layout/contacts.xml +48 -0
- app/design/frontend/default/iphone/layout/customer.xml +49 -27
- app/design/frontend/default/iphone/layout/newsletter.xml +68 -0
- app/design/frontend/default/iphone/layout/page.xml +71 -12
- app/design/frontend/default/iphone/layout/persistent.xml +0 -59
- app/design/frontend/default/iphone/layout/review.xml +6 -22
- app/design/frontend/default/iphone/layout/rss.xml +100 -0
- app/design/frontend/default/iphone/layout/sales.xml +507 -0
- app/design/frontend/default/iphone/layout/sales/billing_agreement.xml +56 -0
- app/design/frontend/default/iphone/layout/sales/recurring_profile.xml +171 -0
- app/design/frontend/default/iphone/layout/sendfriend.xml +41 -0
- app/design/frontend/default/iphone/layout/tag.xml +4 -35
- app/design/frontend/default/iphone/layout/wishlist.xml +140 -0
- app/design/frontend/default/iphone/locale/en_US/translate.csv +0 -8
- app/design/frontend/default/iphone/template/bundle/catalog/product/view/type/bundle.phtml +45 -0
- app/design/frontend/default/iphone/template/bundle/sales/order/items/renderer.phtml +385 -0
- app/design/frontend/default/iphone/template/catalog/category/view.phtml +70 -0
- app/design/frontend/default/iphone/template/catalog/layer/view.phtml +55 -0
- app/design/frontend/default/iphone/template/{page/one-column.phtml → catalog/navigation/top.phtml} +21 -15
- app/design/frontend/default/iphone/template/catalog/product/gallery.phtml +48 -0
- app/design/frontend/default/iphone/template/catalog/product/list.phtml +76 -0
- app/design/frontend/default/iphone/template/catalog/product/list/toolbar.phtml +23 -14
- app/design/frontend/default/iphone/template/catalog/product/list/upsell.phtml +47 -0
- app/design/frontend/default/iphone/template/catalog/product/price.phtml +428 -0
- app/design/frontend/default/iphone/template/catalog/product/price_msrp.phtml +47 -0
- app/design/frontend/default/iphone/template/catalog/product/price_msrp_noform.phtml +47 -0
- app/design/frontend/default/iphone/template/catalog/product/view.phtml +175 -0
- app/design/frontend/default/iphone/template/catalog/product/view/addto.phtml +38 -0
- app/design/frontend/default/iphone/template/catalog/product/view/media.phtml +53 -0
- skin/frontend/default/iphone/js/search.js → app/design/frontend/default/iphone/template/catalog/product/view/options/wrapper.phtml +6 -10
- app/design/frontend/default/iphone/template/catalogsearch/form.mini.phtml +14 -18
- app/design/frontend/default/iphone/template/catalogsearch/result.phtml +55 -0
- app/design/frontend/default/iphone/template/checkout/cart.phtml +35 -56
- app/design/frontend/default/iphone/template/checkout/cart/item/default.phtml +252 -214
- app/design/frontend/default/iphone/template/checkout/onepage/review/info.phtml +62 -0
- app/design/frontend/default/iphone/template/checkout/onepage/review/item.phtml +244 -0
- app/design/frontend/default/iphone/template/checkout/onepage/review/totals.phtml +47 -0
- app/design/frontend/default/iphone/template/checkout/success.phtml +66 -0
- app/design/frontend/default/iphone/template/customer/account/dashboard/address.phtml +45 -0
- app/design/frontend/default/iphone/template/customer/account/navigation.phtml +36 -0
- app/design/frontend/default/iphone/template/customer/address/book.phtml +107 -0
- app/design/frontend/default/iphone/template/customer/form/forgotpassword.phtml +0 -45
- app/design/frontend/default/iphone/template/customer/form/login.phtml +40 -21
- app/design/frontend/default/iphone/template/downloadable/checkout/cart/item/default.phtml +302 -0
- app/design/frontend/default/iphone/template/downloadable/checkout/onepage/review/item.phtml +254 -0
- app/design/frontend/default/iphone/template/downloadable/customer/products/list.phtml +60 -0
- app/design/frontend/default/iphone/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml +325 -0
- app/design/frontend/default/iphone/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml +320 -0
- app/design/frontend/default/iphone/template/downloadable/sales/order/items/renderer/downloadable.phtml +335 -0
- app/design/frontend/default/iphone/template/newsletter/subscribe.phtml +49 -0
- app/design/frontend/default/iphone/template/page/1column.phtml +17 -28
- app/design/frontend/default/iphone/template/page/html/footer.phtml +4 -6
- app/design/frontend/default/iphone/template/page/html/head.phtml +20 -8
- app/design/frontend/default/iphone/template/page/html/header.phtml +23 -21
- app/design/frontend/default/iphone/template/page/html/pager.phtml +113 -0
- app/design/frontend/default/iphone/template/page/switch/languages.phtml +46 -0
- app/design/frontend/default/iphone/template/page/switch/stores.phtml +46 -0
- app/design/frontend/default/iphone/template/page/template/links.phtml +44 -0
- app/design/frontend/default/iphone/template/paypal/express/review.phtml +171 -0
- app/design/frontend/default/iphone/template/paypal/express/review/details.phtml +44 -0
- app/design/frontend/default/iphone/template/persistent/checkout/onepage/login.phtml +145 -0
- app/design/frontend/default/iphone/template/persistent/customer/form/login.phtml +42 -25
- app/design/frontend/default/iphone/template/persistent/remember_me_tooltip.phtml +61 -0
- app/design/frontend/default/iphone/template/review/customer/list.phtml +58 -0
- app/design/frontend/default/iphone/template/sales/billing/agreement/view.phtml +110 -0
- app/design/frontend/default/iphone/template/sales/billing/agreements.phtml +98 -0
- app/design/frontend/default/iphone/template/sales/order/creditmemo/items.phtml +44 -0
- app/design/frontend/default/iphone/template/sales/order/creditmemo/items/renderer/default.phtml +322 -0
- app/design/frontend/default/iphone/template/sales/order/history.phtml +31 -36
- app/design/frontend/default/iphone/template/sales/order/invoice/items.phtml +44 -0
- app/design/frontend/default/iphone/template/sales/order/invoice/items/renderer/default.phtml +312 -0
- app/design/frontend/default/iphone/template/sales/order/items.phtml +39 -0
- app/design/frontend/default/iphone/template/sales/order/items/renderer/default.phtml +331 -0
- app/design/frontend/default/iphone/template/sales/order/recent.phtml +8 -13
- app/design/frontend/default/iphone/template/sales/order/totals.phtml +52 -0
- app/design/frontend/default/iphone/template/shipping/tracking/popup.phtml +1 -1
- app/design/frontend/default/iphone/template/tag/list.phtml +39 -0
- app/design/frontend/default/iphone/template/tax/order/tax.phtml +81 -0
- app/design/frontend/default/iphone/template/wishlist/item/column/cart.phtml +52 -0
- app/design/frontend/default/iphone/template/wishlist/item/column/image.phtml +38 -0
- app/design/frontend/default/iphone/template/wishlist/item/column/info.phtml +39 -0
- app/design/frontend/default/iphone/template/{catalog/product/view/addtowishlist.phtml → wishlist/item/configure/addto.phtml} +9 -6
- app/design/frontend/default/iphone/template/wishlist/item/list.phtml +56 -0
- app/design/frontend/default/iphone/template/wishlist/shared.phtml +73 -0
- app/design/frontend/default/iphone/template/wishlist/view.phtml +38 -113
- package.xml +6 -6
- skin/frontend/default/iphone/css/custom.css +65 -0
- skin/frontend/default/iphone/css/iphone.css +2079 -484
- skin/frontend/default/iphone/images/arrow_left.png +0 -0
- skin/frontend/default/iphone/images/arrow_left_retina.png +0 -0
- skin/frontend/default/iphone/images/arrow_right.png +0 -0
- skin/frontend/default/iphone/images/arrow_right_retina.png +0 -0
- skin/frontend/default/iphone/images/bg_back_btn.png +0 -0
- skin/frontend/default/iphone/images/bg_back_btn_retina.png +0 -0
- skin/frontend/default/iphone/images/bg_checkbox.png +0 -0
- skin/frontend/default/iphone/images/bg_checkout_step_passed.png +0 -0
- skin/frontend/default/iphone/images/bg_divider.png +0 -0
- skin/frontend/default/iphone/images/bg_divider_dark.png +0 -0
- skin/frontend/default/iphone/images/bg_divider_dark_retina.png +0 -0
- skin/frontend/default/iphone/images/bg_divider_retina.png +0 -0
- skin/frontend/default/iphone/images/bg_gradient.png +0 -0
- skin/frontend/default/iphone/images/bg_gradient_retina.png +0 -0
- skin/frontend/default/iphone/images/bg_shadow.png +0 -0
- skin/frontend/default/iphone/images/bg_shadow_retina.png +0 -0
- skin/frontend/default/iphone/images/bkg_rating.gif +0 -0
- skin/frontend/default/iphone/images/btn_edit.png +0 -0
- skin/frontend/default/iphone/images/btn_edit_retina.png +0 -0
- skin/frontend/default/iphone/images/btn_google_checkout.gif +0 -0
- skin/frontend/default/iphone/images/btn_paypal_checkout.gif +0 -0
- skin/frontend/default/iphone/images/btn_place_order.gif +0 -0
- skin/frontend/default/iphone/images/btn_proceed_to_checkout.gif +0 -0
- skin/frontend/default/iphone/images/btn_proceed_to_checkout.png +0 -0
- skin/frontend/default/iphone/images/btn_proceed_to_checkout_bg.gif +0 -0
- skin/frontend/default/iphone/images/btn_proceed_to_checkout_rad.gif +0 -0
- skin/frontend/default/iphone/images/btn_remove.png +0 -0
- skin/frontend/default/iphone/images/btn_remove_retina.png +0 -0
- skin/frontend/default/iphone/images/btn_trash.gif +0 -0
- skin/frontend/default/iphone/images/btn_window_close.gif +0 -0
- skin/frontend/default/iphone/images/chart_remove.gif +0 -0
- skin/frontend/default/iphone/images/custom/arrow.png +0 -0
- skin/frontend/default/iphone/images/custom/arrow_retina.png +0 -0
- skin/frontend/default/iphone/images/custom/bg_header.png +0 -0
- skin/frontend/default/iphone/images/custom/bg_header_retina.png +0 -0
- skin/frontend/default/iphone/images/custom/bg_logo.png +0 -0
- skin/frontend/default/iphone/images/custom/bg_logo_retina.png +0 -0
- skin/frontend/default/iphone/images/error_msg_icon.gif +0 -0
- skin/frontend/default/iphone/images/footer-bg.gif +0 -0
- skin/frontend/default/iphone/images/free_shipping_callout.jpg +0 -0
- skin/frontend/default/iphone/images/gift-message-close.gif +0 -0
- skin/frontend/default/iphone/images/header-bg.gif +0 -0
- skin/frontend/default/iphone/images/i_cart.png +0 -0
- skin/frontend/default/iphone/images/i_cart_retina.png +0 -0
- skin/frontend/default/iphone/images/i_dropdown.png +0 -0
- skin/frontend/default/iphone/images/i_dropdown_retina.png +0 -0
- skin/frontend/default/iphone/images/i_menu.png +0 -0
- skin/frontend/default/iphone/images/i_menu_retina.png +0 -0
- skin/frontend/default/iphone/images/i_notice.gif +0 -0
- skin/frontend/default/iphone/images/i_search.png +0 -0
- skin/frontend/default/iphone/images/i_search_retina.png +0 -0
- skin/frontend/default/iphone/images/i_star.png +0 -0
- skin/frontend/default/iphone/images/i_star_blank.png +0 -0
- skin/frontend/default/iphone/images/i_star_blank_retina.png +0 -0
- skin/frontend/default/iphone/images/i_star_retina.png +0 -0
- skin/frontend/default/iphone/images/i_zoom.png +0 -0
- skin/frontend/default/iphone/images/i_zoom_retina.png +0 -0
- skin/frontend/default/iphone/images/link_separator.gif +0 -0
- skin/frontend/default/iphone/images/list_remove_btn.gif +0 -0
- skin/frontend/default/iphone/images/loader.gif +0 -0
- skin/frontend/default/iphone/images/logo.gif +0 -0
- skin/frontend/default/iphone/images/logo_email.gif +0 -0
- skin/frontend/default/iphone/images/logo_print.gif +0 -0
- skin/frontend/default/iphone/images/media/cell_phone_landing_banner1.jpg +0 -0
- skin/frontend/default/iphone/images/menu-arrow.gif +0 -0
- skin/frontend/default/iphone/images/menu-bg.gif +0 -0
- skin/frontend/default/iphone/images/np_cart_thumb.gif +0 -0
- skin/frontend/default/iphone/images/np_more_img.gif +0 -0
- skin/frontend/default/iphone/images/np_product_main.gif +0 -0
- skin/frontend/default/iphone/images/np_thumb.gif +0 -0
- skin/frontend/default/iphone/images/np_thumb2.gif +0 -0
- skin/frontend/default/iphone/images/opc-ajax-loader.gif +0 -0
- skin/frontend/default/iphone/images/opc_off_head_bg.gif +0 -0
- skin/frontend/default/iphone/images/opc_on_box_bg.gif +0 -0
- skin/frontend/default/iphone/images/page-bg.gif +0 -0
- skin/frontend/default/iphone/images/pager_arrow_left.gif +0 -0
- skin/frontend/default/iphone/images/pager_arrow_right.gif +0 -0
- skin/frontend/default/iphone/images/pager_bg.gif +0 -0
- skin/frontend/default/iphone/images/ph.gif +0 -0
- skin/frontend/default/iphone/images/place_order_container_bg.gif +0 -0
- skin/frontend/default/iphone/images/product_rating_blank_star.gif +0 -0
- skin/frontend/default/iphone/images/product_rating_full_star.gif +0 -0
- skin/frontend/default/iphone/images/search-bg.gif +0 -0
- skin/frontend/default/iphone/images/search-close-but.gif +0 -0
- skin/frontend/default/iphone/images/search-end.gif +0 -0
- skin/frontend/default/iphone/images/search-go-but.gif +0 -0
- skin/frontend/default/iphone/images/search-md.gif +0 -0
- skin/frontend/default/iphone/images/search-st.gif +0 -0
- skin/frontend/default/iphone/images/search_criteria.gif +0 -0
- skin/frontend/default/iphone/images/shipping_method_pointer.gif +0 -0
- skin/frontend/default/iphone/images/sort_asc_arrow.gif +0 -0
- skin/frontend/default/iphone/images/sort_desc_arrow.gif +0 -0
- skin/frontend/default/iphone/images/success_msg_icon.gif +0 -0
- skin/frontend/default/iphone/images/validation_advice_bg.gif +0 -0
- skin/frontend/default/iphone/js/dnd.js +688 -0
- skin/frontend/default/iphone/js/iphone.js +1133 -0
- skin/frontend/default/iphone/js/modernizr.js +28 -0
- skin/frontend/default/iphone/js/opcheckout.js +0 -872
app/design/frontend/default/iphone/etc/widget.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/default/iphone/layout/bundle.xml
ADDED
@@ -0,0 +1,380 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Adding custom product price block
|
33 |
+
-->
|
34 |
+
|
35 |
+
<catalog_category_default>
|
36 |
+
<reference name="product_list">
|
37 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
38 |
+
</reference>
|
39 |
+
</catalog_category_default>
|
40 |
+
|
41 |
+
<catalog_category_view>
|
42 |
+
<reference name="product_list">
|
43 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
44 |
+
</reference>
|
45 |
+
</catalog_category_view>
|
46 |
+
|
47 |
+
<catalog_category_layered>
|
48 |
+
<reference name="product_list">
|
49 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
50 |
+
</reference>
|
51 |
+
</catalog_category_layered>
|
52 |
+
|
53 |
+
<catalog_product_compare_index>
|
54 |
+
<reference name="catalog.compare.list">
|
55 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
56 |
+
</reference>
|
57 |
+
</catalog_product_compare_index>
|
58 |
+
|
59 |
+
<catalogsearch_result_index>
|
60 |
+
<reference name="search_result_list">
|
61 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
62 |
+
</reference>
|
63 |
+
</catalogsearch_result_index>
|
64 |
+
|
65 |
+
<catalogsearch_advanced_result>
|
66 |
+
<reference name="search_result_list">
|
67 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
68 |
+
</reference>
|
69 |
+
</catalogsearch_advanced_result>
|
70 |
+
|
71 |
+
<tag_product_list>
|
72 |
+
<reference name="search_result_list">
|
73 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
74 |
+
</reference>
|
75 |
+
</tag_product_list>
|
76 |
+
|
77 |
+
<tag_customer_view>
|
78 |
+
<reference name="customer_view">
|
79 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
80 |
+
</reference>
|
81 |
+
</tag_customer_view>
|
82 |
+
|
83 |
+
<default>
|
84 |
+
<reference name="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 |
+
<catalog_product_view>
|
96 |
+
<reference name="catalog.product.related">
|
97 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
98 |
+
</reference>
|
99 |
+
</catalog_product_view>
|
100 |
+
|
101 |
+
<!--
|
102 |
+
Partof block for simple products
|
103 |
+
-->
|
104 |
+
|
105 |
+
<PRODUCT_TYPE_simple>
|
106 |
+
<!--
|
107 |
+
<reference name="product.info.additional">
|
108 |
+
|
109 |
+
<block type="bundle/catalog_product_list_partof" before="-" name="product.info.partof" as="partof_products" template="bundle/catalog/product/list/partof.phtml">
|
110 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
111 |
+
</block>
|
112 |
+
-->
|
113 |
+
<reference name="product.info.upsell">
|
114 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
115 |
+
<action method="setItemLimit"><type>bundle</type><limit>4</limit></action>
|
116 |
+
</reference>
|
117 |
+
</PRODUCT_TYPE_simple>
|
118 |
+
|
119 |
+
<!--
|
120 |
+
Shopping cart item renderer (sidebar)
|
121 |
+
-->
|
122 |
+
|
123 |
+
<customer_account>
|
124 |
+
<reference name="cart_sidebar">
|
125 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
126 |
+
</reference>
|
127 |
+
</customer_account>
|
128 |
+
|
129 |
+
<!--
|
130 |
+
Shopping cart item renderer
|
131 |
+
-->
|
132 |
+
|
133 |
+
<checkout_cart_index>
|
134 |
+
<reference name="checkout.cart">
|
135 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
|
136 |
+
</reference>
|
137 |
+
<reference name="checkout.cart.crosssell">
|
138 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
139 |
+
</reference>
|
140 |
+
</checkout_cart_index>
|
141 |
+
|
142 |
+
<!--
|
143 |
+
Onepage Checkout Review Page
|
144 |
+
-->
|
145 |
+
|
146 |
+
<checkout_onepage_review>
|
147 |
+
<reference name="root">
|
148 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
149 |
+
</reference>
|
150 |
+
</checkout_onepage_review>
|
151 |
+
|
152 |
+
<checkout_multishipping_addresses>
|
153 |
+
<reference name="checkout_addresses">
|
154 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
155 |
+
</reference>
|
156 |
+
</checkout_multishipping_addresses>
|
157 |
+
|
158 |
+
<checkout_multishipping_shipping>
|
159 |
+
<reference name="checkout_shipping">
|
160 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
161 |
+
</reference>
|
162 |
+
<reference name="checkout_billing_items">
|
163 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
164 |
+
</reference>
|
165 |
+
</checkout_multishipping_shipping>
|
166 |
+
|
167 |
+
<checkout_multishipping_overview>
|
168 |
+
<reference name="checkout_overview">
|
169 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
|
170 |
+
</reference>
|
171 |
+
</checkout_multishipping_overview>
|
172 |
+
|
173 |
+
<paypal_express_review>
|
174 |
+
<reference name="paypal.express.review.details">
|
175 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
176 |
+
</reference>
|
177 |
+
</paypal_express_review>
|
178 |
+
<paypal_express_review_details>
|
179 |
+
<reference name="root">
|
180 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
181 |
+
</reference>
|
182 |
+
</paypal_express_review_details>
|
183 |
+
|
184 |
+
<paypaluk_express_review>
|
185 |
+
<reference name="paypal.express.review.details">
|
186 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
187 |
+
</reference>
|
188 |
+
</paypaluk_express_review>
|
189 |
+
<paypaluk_express_review_details>
|
190 |
+
<reference name="root">
|
191 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
|
192 |
+
</reference>
|
193 |
+
</paypaluk_express_review_details>
|
194 |
+
|
195 |
+
<!--
|
196 |
+
Additional block for bundle product type
|
197 |
+
-->
|
198 |
+
|
199 |
+
<PRODUCT_TYPE_bundle translate="label" module="bundle">
|
200 |
+
<label>Catalog Product View (Bundle)</label>
|
201 |
+
<reference name="head">
|
202 |
+
<action method="addItem"><type>skin_js</type><name>js/bundle.js</name></action>
|
203 |
+
</reference>
|
204 |
+
<reference name="product.info">
|
205 |
+
<block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml">
|
206 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
|
207 |
+
<block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml">
|
208 |
+
<action method="setMAPTemplate"><tmpl>catalog/product/price_msrp_item.phtml</tmpl></action>
|
209 |
+
</block>
|
210 |
+
</block>
|
211 |
+
</reference>
|
212 |
+
<reference name="product.info.options.wrapper">
|
213 |
+
<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">
|
214 |
+
<action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
|
215 |
+
<action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
|
216 |
+
<action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
|
217 |
+
<action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
|
218 |
+
</block>
|
219 |
+
<action method="insert"><block>product.info.bundle.options</block></action>
|
220 |
+
</reference>
|
221 |
+
<reference name="product.info.options.wrapper.bottom">
|
222 |
+
<remove name="product.tierprices" />
|
223 |
+
<block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
|
224 |
+
<block type="cataloginventory/qtyincrements" name="product.info.qtyincrements" before="-" template="cataloginventory/qtyincrements.phtml"/>
|
225 |
+
</reference>
|
226 |
+
<reference name="product.clone_prices">
|
227 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/view/price.phtml</template></action>
|
228 |
+
</reference>
|
229 |
+
</PRODUCT_TYPE_bundle>
|
230 |
+
|
231 |
+
<sales_order_view>
|
232 |
+
<reference name="order_items">
|
233 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
234 |
+
</reference>
|
235 |
+
</sales_order_view>
|
236 |
+
|
237 |
+
<sales_order_invoice>
|
238 |
+
<reference name="invoice_items">
|
239 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
240 |
+
</reference>
|
241 |
+
</sales_order_invoice>
|
242 |
+
|
243 |
+
<sales_order_shipment>
|
244 |
+
<reference name="shipment_items">
|
245 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
246 |
+
</reference>
|
247 |
+
</sales_order_shipment>
|
248 |
+
|
249 |
+
<sales_order_creditmemo>
|
250 |
+
<reference name="creditmemo_items">
|
251 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
252 |
+
</reference>
|
253 |
+
</sales_order_creditmemo>
|
254 |
+
|
255 |
+
<!--
|
256 |
+
Print pages
|
257 |
+
-->
|
258 |
+
|
259 |
+
<sales_order_print>
|
260 |
+
<reference name="sales.order.print">
|
261 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
262 |
+
</reference>
|
263 |
+
</sales_order_print>
|
264 |
+
|
265 |
+
<sales_order_printinvoice>
|
266 |
+
<reference name="sales.order.print.invoice">
|
267 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
268 |
+
</reference>
|
269 |
+
</sales_order_printinvoice>
|
270 |
+
|
271 |
+
<sales_order_printshipment>
|
272 |
+
<reference name="sales.order.print.shipment">
|
273 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
274 |
+
</reference>
|
275 |
+
</sales_order_printshipment>
|
276 |
+
|
277 |
+
<sales_order_printcreditmemo>
|
278 |
+
<reference name="sales.order.print.creditmemo">
|
279 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
280 |
+
</reference>
|
281 |
+
</sales_order_printcreditmemo>
|
282 |
+
|
283 |
+
<!--
|
284 |
+
For guests
|
285 |
+
-->
|
286 |
+
<sales_guest_view>
|
287 |
+
<reference name="order_items">
|
288 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
289 |
+
</reference>
|
290 |
+
</sales_guest_view>
|
291 |
+
|
292 |
+
<sales_guest_invoice>
|
293 |
+
<reference name="invoice_items">
|
294 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
295 |
+
</reference>
|
296 |
+
</sales_guest_invoice>
|
297 |
+
|
298 |
+
<sales_guest_shipment>
|
299 |
+
<reference name="shipment_items">
|
300 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
301 |
+
</reference>
|
302 |
+
</sales_guest_shipment>
|
303 |
+
|
304 |
+
<sales_guest_creditmemo>
|
305 |
+
<reference name="creditmemo_items">
|
306 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
307 |
+
</reference>
|
308 |
+
</sales_guest_creditmemo>
|
309 |
+
|
310 |
+
<sales_guest_print>
|
311 |
+
<reference name="sales.order.print">
|
312 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
|
313 |
+
</reference>
|
314 |
+
</sales_guest_print>
|
315 |
+
|
316 |
+
<sales_guest_printinvoice>
|
317 |
+
<reference name="sales.order.print.invoice">
|
318 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
|
319 |
+
</reference>
|
320 |
+
</sales_guest_printinvoice>
|
321 |
+
|
322 |
+
<sales_guest_printshipment>
|
323 |
+
<reference name="sales.order.print.shipment">
|
324 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
|
325 |
+
</reference>
|
326 |
+
</sales_guest_printshipment>
|
327 |
+
|
328 |
+
<sales_guest_printcreditmemo>
|
329 |
+
<reference name="sales.order.print.creditmemo">
|
330 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
|
331 |
+
</reference>
|
332 |
+
</sales_guest_printcreditmemo>
|
333 |
+
|
334 |
+
<!--
|
335 |
+
Emails
|
336 |
+
-->
|
337 |
+
<sales_email_order_items>
|
338 |
+
<reference name="items">
|
339 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/order/default.phtml</template></action>
|
340 |
+
</reference>
|
341 |
+
</sales_email_order_items>
|
342 |
+
|
343 |
+
<sales_email_order_invoice_items>
|
344 |
+
<reference name="items">
|
345 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/invoice/default.phtml</template></action>
|
346 |
+
</reference>
|
347 |
+
</sales_email_order_invoice_items>
|
348 |
+
|
349 |
+
|
350 |
+
<sales_email_order_shipment_items>
|
351 |
+
<reference name="items">
|
352 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/shipment/default.phtml</template></action>
|
353 |
+
</reference>
|
354 |
+
</sales_email_order_shipment_items>
|
355 |
+
|
356 |
+
<sales_email_order_creditmemo_items>
|
357 |
+
<reference name="items">
|
358 |
+
<action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/creditmemo/default.phtml</template></action>
|
359 |
+
</reference>
|
360 |
+
</sales_email_order_creditmemo_items>
|
361 |
+
|
362 |
+
<!--
|
363 |
+
RSS
|
364 |
+
-->
|
365 |
+
<rss_catalog_category>
|
366 |
+
<reference name="rss.catalog.category">
|
367 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
368 |
+
</reference>
|
369 |
+
</rss_catalog_category>
|
370 |
+
<rss_catalog_new>
|
371 |
+
<reference name="rss.catalog.new">
|
372 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
373 |
+
</reference>
|
374 |
+
</rss_catalog_new>
|
375 |
+
<rss_catalog_tag>
|
376 |
+
<reference name="rss.catalog.tag">
|
377 |
+
<action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/rss/catalog/product/price.phtml</template></action>
|
378 |
+
</reference>
|
379 |
+
</rss_catalog_tag>
|
380 |
+
</layout>
|
app/design/frontend/default/iphone/layout/catalog.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -43,39 +43,23 @@ Default layout, loads most of the pages
|
|
43 |
-->
|
44 |
|
45 |
<default>
|
|
|
46 |
<!-- Mage_Catalog -->
|
47 |
-
<reference name="top.
|
48 |
-
<block type="
|
49 |
-
|
50 |
-
<reference name="left">
|
51 |
-
<block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
|
52 |
-
<action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
|
53 |
-
<action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
|
54 |
-
<action method="setLinkUrl"><url>checkout/cart</url></action>
|
55 |
-
</block>
|
56 |
-
</reference>
|
57 |
-
<reference name="right">
|
58 |
-
<block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
59 |
-
<block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
|
60 |
-
<action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
|
61 |
-
<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>
|
62 |
</block>
|
63 |
</reference>
|
64 |
-
<reference name="footer_links">
|
65 |
-
<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>
|
66 |
-
</reference>
|
67 |
<block type="catalog/product_price_template" name="catalog_product_price_template" />
|
68 |
</default>
|
69 |
|
|
|
70 |
<!--
|
71 |
Category default layout
|
72 |
-->
|
73 |
|
74 |
<catalog_category_default translate="label">
|
75 |
<label>Catalog Category (Non-Anchor)</label>
|
76 |
-
<reference name="left">
|
77 |
-
<block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
|
78 |
-
</reference>
|
79 |
<reference name="content">
|
80 |
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
81 |
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
@@ -91,13 +75,7 @@ Category default layout
|
|
91 |
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
92 |
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
93 |
-->
|
94 |
-
<action method="addPagerLimit"><mode>list</mode><limit>5</limit></action>
|
95 |
</block>
|
96 |
-
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
97 |
-
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
98 |
-
<action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
|
99 |
-
<action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
|
100 |
-
<action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
|
101 |
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
102 |
</block>
|
103 |
</block>
|
@@ -110,9 +88,6 @@ Category layered navigation layout
|
|
110 |
|
111 |
<catalog_category_layered translate="label">
|
112 |
<label>Catalog Category (Anchor)</label>
|
113 |
-
<reference name="left">
|
114 |
-
<block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
|
115 |
-
</reference>
|
116 |
<reference name="content">
|
117 |
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
118 |
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
@@ -133,7 +108,6 @@ Category layered navigation layout
|
|
133 |
<action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
|
134 |
<action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
135 |
-->
|
136 |
-
<action method="addPagerLimit"><mode>list</mode><limit>5</limit></action>
|
137 |
</block>
|
138 |
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
139 |
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
@@ -143,17 +117,10 @@ Category layered navigation layout
|
|
143 |
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
144 |
</block>
|
145 |
</block>
|
|
|
146 |
</reference>
|
147 |
</catalog_category_layered>
|
148 |
|
149 |
-
<catalog_category_layered_nochildren translate="label">
|
150 |
-
<label>Catalog Category (Without Subcategories)</label>
|
151 |
-
<remove name="right.reports.product.viewed" />
|
152 |
-
<reference name="right">
|
153 |
-
<block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
|
154 |
-
</reference>
|
155 |
-
</catalog_category_layered_nochildren>
|
156 |
-
|
157 |
<!--
|
158 |
Compare products page
|
159 |
-->
|
@@ -176,7 +143,6 @@ Compare products page
|
|
176 |
<customer_account_index>
|
177 |
<reference name="right">
|
178 |
<action method="unsetChild"><name>catalog.compare.sidebar</name></action>
|
179 |
-
|
180 |
</reference>
|
181 |
</customer_account_index>
|
182 |
|
@@ -225,14 +191,13 @@ Product view
|
|
225 |
<action method="addToParentGroup"><group>detailed_info</group></action>
|
226 |
</block>
|
227 |
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
228 |
-
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"
|
229 |
-
<block type="catalog/product_view" name="product.info.addtowishlist" as="addto_wishlist" template="catalog/product/view/addtowishlist.phtml" />
|
230 |
-
</block>
|
231 |
|
232 |
<block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
|
233 |
<label>Product View Extra Hint</label>
|
234 |
</block>
|
235 |
|
|
|
236 |
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
|
237 |
<label>Info Column Options Wrapper</label>
|
238 |
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
@@ -249,7 +214,6 @@ Product view
|
|
249 |
<action method="insert"><block>product.tierprices</block></action>
|
250 |
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
251 |
<action method="append"><block>product.info.addtocart</block></action>
|
252 |
-
<action method="append"><block>product.info.addto</block></action>
|
253 |
</block>
|
254 |
|
255 |
<block type="core/template_facade" name="product.info.container1" as="container1">
|
@@ -268,9 +232,6 @@ Product view
|
|
268 |
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
269 |
</block>
|
270 |
</reference>
|
271 |
-
<reference name="right">
|
272 |
-
<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
|
273 |
-
</reference>
|
274 |
</catalog_product_view>
|
275 |
|
276 |
<!--
|
@@ -330,7 +291,7 @@ Product send to friend
|
|
330 |
<label>Catalog Product Email to a Friend</label>
|
331 |
<!-- Mage_Catalog -->
|
332 |
<reference name="root">
|
333 |
-
<action method="setTemplate"><template>page/
|
334 |
</reference>
|
335 |
<reference name="head">
|
336 |
<action method="addJs"><script>varien/product.js</script></action>
|
@@ -349,7 +310,8 @@ Product additional images gallery popup
|
|
349 |
<label>Catalog Product Image Gallery Popup</label>
|
350 |
<!-- Mage_Catalog -->
|
351 |
<reference name="root">
|
352 |
-
<action method="setTemplate"><template>page/
|
|
|
353 |
</reference>
|
354 |
<reference name="content">
|
355 |
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
@@ -429,22 +391,4 @@ SEO Site Map
|
|
429 |
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
430 |
</reference>
|
431 |
</catalog_seo_sitemap_product>
|
432 |
-
|
433 |
-
|
434 |
-
<!--
|
435 |
-
Catalog search terms block
|
436 |
-
-->
|
437 |
-
|
438 |
-
<catalog_seo_searchterm_popular translate="label">
|
439 |
-
<label>Catalog Seo Popular Search Terms</label>
|
440 |
-
<remove name="right"/>
|
441 |
-
<remove name="left"/>
|
442 |
-
<reference name="root">
|
443 |
-
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
444 |
-
</reference>
|
445 |
-
<reference name="content">
|
446 |
-
<block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
|
447 |
-
</reference>
|
448 |
-
</catalog_seo_searchterm_popular>
|
449 |
-
|
450 |
</layout>
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
43 |
-->
|
44 |
|
45 |
<default>
|
46 |
+
|
47 |
<!-- Mage_Catalog -->
|
48 |
+
<reference name="top.container">
|
49 |
+
<block type="cms/block" name="cms.top.callout" before="-">
|
50 |
+
<action method="setBlockId"><block_id>top_callout</block_id></action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
</block>
|
52 |
</reference>
|
|
|
|
|
|
|
53 |
<block type="catalog/product_price_template" name="catalog_product_price_template" />
|
54 |
</default>
|
55 |
|
56 |
+
|
57 |
<!--
|
58 |
Category default layout
|
59 |
-->
|
60 |
|
61 |
<catalog_category_default translate="label">
|
62 |
<label>Catalog Category (Non-Anchor)</label>
|
|
|
|
|
|
|
63 |
<reference name="content">
|
64 |
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
65 |
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
75 |
<action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
|
76 |
<action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
|
77 |
-->
|
|
|
78 |
</block>
|
|
|
|
|
|
|
|
|
|
|
79 |
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
80 |
</block>
|
81 |
</block>
|
88 |
|
89 |
<catalog_category_layered translate="label">
|
90 |
<label>Catalog Category (Anchor)</label>
|
|
|
|
|
|
|
91 |
<reference name="content">
|
92 |
<block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
|
93 |
<block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
|
108 |
<action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
|
109 |
<action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
|
110 |
-->
|
|
|
111 |
</block>
|
112 |
<action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
|
113 |
<action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
|
117 |
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
118 |
</block>
|
119 |
</block>
|
120 |
+
<block type="catalog/layer_view" name="catalog.leftnav" after="-" template="catalog/layer/view.phtml"/>
|
121 |
</reference>
|
122 |
</catalog_category_layered>
|
123 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
124 |
<!--
|
125 |
Compare products page
|
126 |
-->
|
143 |
<customer_account_index>
|
144 |
<reference name="right">
|
145 |
<action method="unsetChild"><name>catalog.compare.sidebar</name></action>
|
|
|
146 |
</reference>
|
147 |
</customer_account_index>
|
148 |
|
191 |
<action method="addToParentGroup"><group>detailed_info</group></action>
|
192 |
</block>
|
193 |
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
194 |
+
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
|
|
|
|
|
195 |
|
196 |
<block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
|
197 |
<label>Product View Extra Hint</label>
|
198 |
</block>
|
199 |
|
200 |
+
<block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
|
201 |
<block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
|
202 |
<label>Info Column Options Wrapper</label>
|
203 |
<block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
|
214 |
<action method="insert"><block>product.tierprices</block></action>
|
215 |
<block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
|
216 |
<action method="append"><block>product.info.addtocart</block></action>
|
|
|
217 |
</block>
|
218 |
|
219 |
<block type="core/template_facade" name="product.info.container1" as="container1">
|
232 |
<action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
|
233 |
</block>
|
234 |
</reference>
|
|
|
|
|
|
|
235 |
</catalog_product_view>
|
236 |
|
237 |
<!--
|
291 |
<label>Catalog Product Email to a Friend</label>
|
292 |
<!-- Mage_Catalog -->
|
293 |
<reference name="root">
|
294 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
295 |
</reference>
|
296 |
<reference name="head">
|
297 |
<action method="addJs"><script>varien/product.js</script></action>
|
310 |
<label>Catalog Product Image Gallery Popup</label>
|
311 |
<!-- Mage_Catalog -->
|
312 |
<reference name="root">
|
313 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
314 |
+
<action method="setMyClass"><value>product-gallery-view</value></action>
|
315 |
</reference>
|
316 |
<reference name="content">
|
317 |
<block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
|
391 |
<action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
|
392 |
</reference>
|
393 |
</catalog_seo_sitemap_product>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
394 |
</layout>
|
app/design/frontend/default/iphone/layout/catalogsearch.xml
ADDED
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<default>
|
32 |
+
<reference name="header">
|
33 |
+
<block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
|
34 |
+
</reference>
|
35 |
+
</default>
|
36 |
+
|
37 |
+
<catalogsearch_result_index translate="label">
|
38 |
+
<label>Quick Search Form</label>
|
39 |
+
<reference name="root">
|
40 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
41 |
+
</reference>
|
42 |
+
<reference name="left">
|
43 |
+
</reference>
|
44 |
+
<reference name="content">
|
45 |
+
<block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
|
46 |
+
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
47 |
+
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
48 |
+
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
49 |
+
</block>
|
50 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
51 |
+
</block>
|
52 |
+
<action method="setListOrders"/>
|
53 |
+
<action method="setListModes"/>
|
54 |
+
<action method="setListCollection"/>
|
55 |
+
</block>
|
56 |
+
<block type="catalogsearch/layer" name="catalogsearch" after="-" template="catalog/layer/view.phtml"/>
|
57 |
+
</reference>
|
58 |
+
</catalogsearch_result_index>
|
59 |
+
|
60 |
+
<catalogsearch_advanced_index translate="label">
|
61 |
+
<label>Advanced Search Form</label>
|
62 |
+
<!-- Mage_Catalogsearch -->
|
63 |
+
<reference name="root">
|
64 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
65 |
+
</reference>
|
66 |
+
<reference name="head">
|
67 |
+
<action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action>
|
68 |
+
<action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
|
69 |
+
<action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
70 |
+
<action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
|
71 |
+
</reference>
|
72 |
+
<reference name="content">
|
73 |
+
<block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
|
74 |
+
<block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
|
75 |
+
</reference>
|
76 |
+
</catalogsearch_advanced_index>
|
77 |
+
|
78 |
+
<!--
|
79 |
+
Advanced search results
|
80 |
+
-->
|
81 |
+
|
82 |
+
<catalogsearch_advanced_result translate="label">
|
83 |
+
<label>Advanced Search Result</label>
|
84 |
+
<update handle="page_two_columns_right" />
|
85 |
+
<!-- Mage_Catalogsearch -->
|
86 |
+
<reference name="root">
|
87 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
88 |
+
</reference>
|
89 |
+
<reference name="content">
|
90 |
+
<block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
|
91 |
+
<block type="catalog/product_list" name="search_result_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 |
+
</block>
|
95 |
+
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
96 |
+
</block>
|
97 |
+
<action method="setListOrders"/>
|
98 |
+
<action method="setListModes"/>
|
99 |
+
<action method="setListCollection"/>
|
100 |
+
</block>
|
101 |
+
</reference>
|
102 |
+
</catalogsearch_advanced_result>
|
103 |
+
|
104 |
+
<catalogsearch_term_popular translate="label">
|
105 |
+
<label>Popular Search Terms</label>
|
106 |
+
<remove name="right"/>
|
107 |
+
<remove name="left"/>
|
108 |
+
|
109 |
+
<reference name="head">
|
110 |
+
<action method="setTitle" translate="title" module="catalogsearch"><title>Search Terms</title></action>
|
111 |
+
</reference>
|
112 |
+
<reference name="root">
|
113 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
114 |
+
</reference>
|
115 |
+
<reference name="content">
|
116 |
+
<block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
|
117 |
+
</reference>
|
118 |
+
</catalogsearch_term_popular>
|
119 |
+
|
120 |
+
</layout>
|
app/design/frontend/default/iphone/layout/checkout.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -33,27 +33,13 @@ Default layout, loads most of the pages
|
|
33 |
-->
|
34 |
|
35 |
<default>
|
|
|
36 |
<!-- Mage_Checkout -->
|
37 |
<reference name="top.links">
|
38 |
<block type="checkout/links" name="checkout_cart_link">
|
39 |
-
<action method="addCartLink"></action>
|
40 |
<action method="addCheckoutLink"></action>
|
41 |
</block>
|
42 |
</reference>
|
43 |
-
<reference name="right">
|
44 |
-
<block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
|
45 |
-
<action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
46 |
-
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
47 |
-
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
48 |
-
<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
|
49 |
-
<label>Shopping Cart Sidebar Extra Actions</label>
|
50 |
-
</block>
|
51 |
-
</block>
|
52 |
-
</reference>
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
</default>
|
58 |
|
59 |
<checkout_cart_index translate="label">
|
@@ -85,14 +71,9 @@ Default layout, loads most of the pages
|
|
85 |
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
|
86 |
<label>Payment Methods After Checkout Button</label>
|
87 |
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
88 |
-
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
|
89 |
</block>
|
90 |
|
91 |
-
|
92 |
-
|
93 |
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
|
94 |
-
<block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
|
95 |
-
<block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
|
96 |
|
97 |
<block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
|
98 |
</block>
|
@@ -101,10 +82,13 @@ Default layout, loads most of the pages
|
|
101 |
<label>Additional Product Info</label>
|
102 |
</block>
|
103 |
</checkout_cart_index>
|
104 |
-
|
105 |
<checkout_cart_configure translate="label">
|
106 |
<label>Configure Cart Item</label>
|
107 |
<update handle="catalog_product_view"/>
|
|
|
|
|
|
|
108 |
</checkout_cart_configure>
|
109 |
|
110 |
<!--
|
@@ -307,14 +291,6 @@ One page checkout main layout
|
|
307 |
<reference name="root">
|
308 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
309 |
</reference>
|
310 |
-
<reference name="right">
|
311 |
-
<action method="unsetChildren"></action>
|
312 |
-
<block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
|
313 |
-
<label>Checkout Progress Wrapper</label>
|
314 |
-
<action method="setElementId"><value>checkout-progress-wrapper</value></action>
|
315 |
-
<block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml"/>
|
316 |
-
</block>
|
317 |
-
</reference>
|
318 |
<reference name="content">
|
319 |
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
|
320 |
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
|
@@ -347,12 +323,7 @@ One page checkout progress block
|
|
347 |
<!-- Mage_Checkout -->
|
348 |
<remove name="right"/>
|
349 |
<remove name="left"/>
|
350 |
-
|
351 |
-
<block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
|
352 |
-
<block type="checkout/onepage_payment_info" name="payment_info">
|
353 |
-
<action method="setInfoTemplate"><method></method><template></template></action>
|
354 |
-
</block>
|
355 |
-
</block>
|
356 |
</checkout_onepage_progress>
|
357 |
|
358 |
<!--
|
@@ -408,6 +379,9 @@ One page checkout order review block
|
|
408 |
<block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
|
409 |
<label>Items Before</label>
|
410 |
</block>
|
|
|
|
|
|
|
411 |
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
412 |
<block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
|
413 |
</block>
|
@@ -425,7 +399,7 @@ One page checkout order review block
|
|
425 |
<checkout_onepage_failure translate="label">
|
426 |
<label>One Page Checkout Failure</label>
|
427 |
<reference name="root">
|
428 |
-
<action method="setTemplate"><template>page/
|
429 |
</reference>
|
430 |
<reference name="content">
|
431 |
<block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
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="addCheckoutLink"></action>
|
41 |
</block>
|
42 |
</reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
</default>
|
44 |
|
45 |
<checkout_cart_index translate="label">
|
71 |
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
|
72 |
<label>Payment Methods After Checkout Button</label>
|
73 |
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
|
|
|
74 |
</block>
|
75 |
|
|
|
|
|
76 |
<block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
|
|
|
|
|
77 |
|
78 |
<block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
|
79 |
</block>
|
82 |
<label>Additional Product Info</label>
|
83 |
</block>
|
84 |
</checkout_cart_index>
|
85 |
+
|
86 |
<checkout_cart_configure translate="label">
|
87 |
<label>Configure Cart Item</label>
|
88 |
<update handle="catalog_product_view"/>
|
89 |
+
<reference name="product.info">
|
90 |
+
<block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
|
91 |
+
</reference>
|
92 |
</checkout_cart_configure>
|
93 |
|
94 |
<!--
|
291 |
<reference name="root">
|
292 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
293 |
</reference>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
294 |
<reference name="content">
|
295 |
<block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
|
296 |
<block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
|
323 |
<!-- Mage_Checkout -->
|
324 |
<remove name="right"/>
|
325 |
<remove name="left"/>
|
326 |
+
|
|
|
|
|
|
|
|
|
|
|
327 |
</checkout_onepage_progress>
|
328 |
|
329 |
<!--
|
379 |
<block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
|
380 |
<label>Items Before</label>
|
381 |
</block>
|
382 |
+
<block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
|
383 |
+
<label>Items After</label>
|
384 |
+
</block>
|
385 |
<block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
|
386 |
<block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
|
387 |
</block>
|
399 |
<checkout_onepage_failure translate="label">
|
400 |
<label>One Page Checkout Failure</label>
|
401 |
<reference name="root">
|
402 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
403 |
</reference>
|
404 |
<reference name="content">
|
405 |
<block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
|
app/design/frontend/default/iphone/layout/cms.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
@@ -29,6 +29,7 @@
|
|
29 |
<!--
|
30 |
Default layout, loads most of the pages
|
31 |
-->
|
|
|
32 |
<default>
|
33 |
<reference name="footer">
|
34 |
<block type="cms/block" name="cms_footer_links" before="footer_links">
|
@@ -40,18 +41,33 @@ Default layout, loads most of the pages
|
|
40 |
</block>
|
41 |
</reference>
|
42 |
</default>
|
43 |
-
|
44 |
-
<
|
45 |
-
<
|
46 |
-
</cms_index_index>
|
47 |
-
|
48 |
-
<cms_page>
|
49 |
<reference name="content">
|
50 |
<block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
|
51 |
-
<block type="
|
|
|
|
|
|
|
|
|
52 |
</reference>
|
53 |
</cms_page>
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
<cms_index_defaultindex>
|
56 |
<remove name="right"/>
|
57 |
<remove name="left"/>
|
@@ -60,18 +76,24 @@ Default layout, loads most of the pages
|
|
60 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
61 |
</reference>
|
62 |
<reference name="content">
|
|
|
63 |
<block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
|
64 |
</reference>
|
65 |
</cms_index_defaultindex>
|
66 |
|
|
|
|
|
|
|
|
|
67 |
<cms_index_defaultnoroute>
|
68 |
<remove name="right"/>
|
69 |
<remove name="left"/>
|
70 |
-
|
71 |
<reference name="root">
|
72 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
73 |
</reference>
|
74 |
<reference name="content">
|
|
|
75 |
<block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
|
76 |
</reference>
|
77 |
</cms_index_defaultnoroute>
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
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">
|
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" translate="label">
|
50 |
+
<label>CMS Content Wrapper</label>
|
51 |
+
<action method="setElementClass"><value>std</value></action>
|
52 |
+
<block type="cms/page" name="cms_page"/>
|
53 |
+
</block>
|
54 |
</reference>
|
55 |
</cms_page>
|
56 |
|
57 |
+
<cms_index_index translate="label">
|
58 |
+
<label>CMS Home Page</label>
|
59 |
+
<reference name="root">
|
60 |
+
<block type="page/html_wrapper" name="homepage.banner" translate="label">
|
61 |
+
<label>Home Page Banner(Mobile)</label>
|
62 |
+
<action method="setElementClass"><value>front-banner</value></action>
|
63 |
+
</block>
|
64 |
+
</reference>
|
65 |
+
<reference name="content">
|
66 |
+
<block type="catalog/navigation" name="hp_nav" template="catalog/navigation/top.phtml" />
|
67 |
+
</reference>
|
68 |
+
<remove name="cms.wrapper"/>
|
69 |
+
</cms_index_index>
|
70 |
+
|
71 |
<cms_index_defaultindex>
|
72 |
<remove name="right"/>
|
73 |
<remove name="left"/>
|
76 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
77 |
</reference>
|
78 |
<reference name="content">
|
79 |
+
<block type="catalog/navigation" name="hp_nav" template="catalog/navigation/top.phtml" />
|
80 |
<block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
|
81 |
</reference>
|
82 |
</cms_index_defaultindex>
|
83 |
|
84 |
+
<cms_index_noroute translate="label">
|
85 |
+
<label>CMS No-Route Page</label>
|
86 |
+
</cms_index_noroute>
|
87 |
+
|
88 |
<cms_index_defaultnoroute>
|
89 |
<remove name="right"/>
|
90 |
<remove name="left"/>
|
91 |
+
|
92 |
<reference name="root">
|
93 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
94 |
</reference>
|
95 |
<reference name="content">
|
96 |
+
<block type="catalog/navigation" name="hp_nav" template="catalog/navigation/top.phtml" />
|
97 |
<block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
|
98 |
</reference>
|
99 |
</cms_index_defaultnoroute>
|
app/design/frontend/default/iphone/layout/contacts.xml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<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="head">
|
38 |
+
<action method="setTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
39 |
+
</reference>
|
40 |
+
<reference name="root">
|
41 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
42 |
+
<action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
|
43 |
+
</reference>
|
44 |
+
<reference name="content">
|
45 |
+
<block type="core/template" name="contactForm" template="contacts/form.phtml"/>
|
46 |
+
</reference>
|
47 |
+
</contacts_index_index>
|
48 |
+
</layout>
|
app/design/frontend/default/iphone/layout/customer.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -51,6 +51,9 @@ Default layout, loads most of the pages
|
|
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 |
<!--
|
@@ -59,7 +62,8 @@ Load this update on every page when customer is logged in
|
|
59 |
|
60 |
<customer_logged_in>
|
61 |
<reference name="account.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>
|
|
|
63 |
</reference>
|
64 |
</customer_logged_in>
|
65 |
|
@@ -68,11 +72,9 @@ 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="account.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>
|
|
|
76 |
</reference>
|
77 |
<remove name="reorder"></remove>
|
78 |
</customer_logged_out>
|
@@ -91,7 +93,7 @@ Layout for customer login page
|
|
91 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
92 |
</reference>
|
93 |
<reference name="content">
|
94 |
-
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
|
95 |
</reference>
|
96 |
</customer_account_login>
|
97 |
|
@@ -140,16 +142,42 @@ New customer registration
|
|
140 |
<remove name="right"/>
|
141 |
<remove name="left"/>
|
142 |
|
|
|
|
|
|
|
143 |
<reference name="root">
|
144 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
145 |
<action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
|
146 |
</reference>
|
147 |
<reference name="content">
|
148 |
<!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
|
149 |
-
<block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
|
150 |
</reference>
|
151 |
</customer_account_forgotpassword>
|
152 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
153 |
<customer_account_confirmation>
|
154 |
<remove name="right"/>
|
155 |
<remove name="left"/>
|
@@ -188,30 +216,24 @@ Customer account pages, rendered for all tabs in dashboard
|
|
188 |
<remove name="sale.reorder.sidebar"/-->
|
189 |
<!-- Mage_Customer -->
|
190 |
<reference name="root">
|
191 |
-
<action method="setTemplate"><template>page/
|
192 |
-
</reference>
|
193 |
-
|
194 |
-
<reference name="content">
|
195 |
-
<block type="page/html_wrapper" name="my.account.wrapper" translate="label">
|
196 |
-
<label>My Account Wrapper</label>
|
197 |
-
<action method="setElementClass"><value>my-account</value></action>
|
198 |
-
</block>
|
199 |
</reference>
|
200 |
|
201 |
-
<reference name="
|
202 |
-
<block type="customer/account_navigation" name="customer_account_navigation"
|
|
|
203 |
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
|
204 |
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
|
205 |
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
|
206 |
</block>
|
207 |
-
<
|
208 |
-
|
209 |
-
<action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
210 |
-
<action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
|
211 |
-
</block>
|
212 |
-
<block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
|
213 |
-
<remove name="tags_popular"/>
|
214 |
|
|
|
|
|
|
|
|
|
|
|
215 |
</reference>
|
216 |
</customer_account>
|
217 |
|
@@ -224,7 +246,7 @@ Customer account home dashboard layout
|
|
224 |
<update handle="customer_account"/>
|
225 |
<!-- Mage_Customer -->
|
226 |
<reference name="root">
|
227 |
-
<action method="setTemplate"><template>page/
|
228 |
</reference>
|
229 |
<reference name="my.account.wrapper">
|
230 |
<block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
|
@@ -263,5 +285,5 @@ Customer account address edit page
|
|
263 |
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
264 |
</reference>
|
265 |
</customer_address_form>
|
266 |
-
|
267 |
</layout>
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
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 |
+
<reference name="account.links">
|
55 |
+
<action method="addLink" translate="label title before_text" module="customer"><label>Register</label><url helper="customer/getRegisterUrl" /><title>Register</title><prepare/><urlParams/><position>100</position></action>
|
56 |
+
</reference>
|
57 |
</default>
|
58 |
|
59 |
<!--
|
62 |
|
63 |
<customer_logged_in>
|
64 |
<reference name="account.links">
|
65 |
+
<action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>2</position></action>
|
66 |
+
<action method="removeLinkByUrl"><url helper="customer/getRegisterUrl" /></action>
|
67 |
</reference>
|
68 |
</customer_logged_in>
|
69 |
|
72 |
-->
|
73 |
|
74 |
<customer_logged_out>
|
|
|
|
|
|
|
75 |
<reference name="account.links">
|
76 |
+
<action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>1</position></action>
|
77 |
+
<!-- <action method="addLink" translate="label title" module="customer"><label>register</label><url helper="customer/getRegisterUrl" /><title>register</title><prepare/><urlParams/><position>100</position><li/><a/><before_text> or </before_text><after_text>.</after_text></action> -->
|
78 |
</reference>
|
79 |
<remove name="reorder"></remove>
|
80 |
</customer_logged_out>
|
93 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
94 |
</reference>
|
95 |
<reference name="content">
|
96 |
+
<block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml" />
|
97 |
</reference>
|
98 |
</customer_account_login>
|
99 |
|
142 |
<remove name="right"/>
|
143 |
<remove name="left"/>
|
144 |
|
145 |
+
<reference name="head">
|
146 |
+
<action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
|
147 |
+
</reference>
|
148 |
<reference name="root">
|
149 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
150 |
<action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
|
151 |
</reference>
|
152 |
<reference name="content">
|
153 |
<!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
|
154 |
+
<block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml" />
|
155 |
</reference>
|
156 |
</customer_account_forgotpassword>
|
157 |
|
158 |
+
<customer_account_resetpassword translate="label">
|
159 |
+
<label>Reset a Password</label>
|
160 |
+
<remove name="right"/>
|
161 |
+
<remove name="left"/>
|
162 |
+
|
163 |
+
<reference name="head">
|
164 |
+
<action method="setTitle" translate="title" module="customer">
|
165 |
+
<title>Reset a Password</title>
|
166 |
+
</action>
|
167 |
+
</reference>
|
168 |
+
<reference name="root">
|
169 |
+
<action method="setTemplate">
|
170 |
+
<template>page/1column.phtml</template>
|
171 |
+
</action>
|
172 |
+
<action method="setHeaderTitle" translate="title" module="customer">
|
173 |
+
<title>Reset a Password</title>
|
174 |
+
</action>
|
175 |
+
</reference>
|
176 |
+
<reference name="content">
|
177 |
+
<block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
|
178 |
+
</reference>
|
179 |
+
</customer_account_resetpassword>
|
180 |
+
|
181 |
<customer_account_confirmation>
|
182 |
<remove name="right"/>
|
183 |
<remove name="left"/>
|
216 |
<remove name="sale.reorder.sidebar"/-->
|
217 |
<!-- Mage_Customer -->
|
218 |
<reference name="root">
|
219 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
220 |
</reference>
|
221 |
|
222 |
+
<reference name="top.links">
|
223 |
+
<block type="customer/account_navigation" name="customer_account_navigation" template="customer/account/navigation.phtml">
|
224 |
+
<action method="setPosition"><value>20</value></action>
|
225 |
<action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
|
226 |
<action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
|
227 |
<action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
|
228 |
</block>
|
229 |
+
<action method="addLinkBlock"><blockName>customer_account_navigation</blockName></action>
|
230 |
+
</reference>
|
|
|
|
|
|
|
|
|
|
|
231 |
|
232 |
+
<reference name="content">
|
233 |
+
<block type="page/html_wrapper" name="my.account.wrapper" translate="label">
|
234 |
+
<label>My Account Wrapper</label>
|
235 |
+
<action method="setElementClass"><value>my-account</value></action>
|
236 |
+
</block>
|
237 |
</reference>
|
238 |
</customer_account>
|
239 |
|
246 |
<update handle="customer_account"/>
|
247 |
<!-- Mage_Customer -->
|
248 |
<reference name="root">
|
249 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
250 |
</reference>
|
251 |
<reference name="my.account.wrapper">
|
252 |
<block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
|
285 |
<block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
|
286 |
</reference>
|
287 |
</customer_address_form>
|
288 |
+
|
289 |
</layout>
|
app/design/frontend/default/iphone/layout/newsletter.xml
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
|
37 |
+
<!-- Mage_Newsletter -->
|
38 |
+
<reference name="footer">
|
39 |
+
<block type="newsletter/subscribe" name="footer.newsletter" as="footer.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 |
+
<newsletter_manage_index translate="label">
|
56 |
+
<label>Customer My Account Newsletter Subscriptions</label>
|
57 |
+
<update handle="customer_account"/>
|
58 |
+
<reference name="my.account.wrapper">
|
59 |
+
<block type="customer/newsletter" name="customer_newsletter">
|
60 |
+
<block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
|
61 |
+
<label>Newsletter Subscription Form Before</label>
|
62 |
+
<action method="setMayBeInvisible"><value>1</value></action>
|
63 |
+
</block>
|
64 |
+
</block>
|
65 |
+
</reference>
|
66 |
+
</newsletter_manage_index>
|
67 |
+
|
68 |
+
</layout>
|
app/design/frontend/default/iphone/layout/page.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
@@ -30,9 +30,10 @@
|
|
30 |
Default layout, loads most of the pages
|
31 |
-->
|
32 |
|
33 |
-
<default translate="label">
|
34 |
<label>All Pages</label>
|
35 |
<block type="page/html" name="root" output="toHtml" template="page/1column.phtml">
|
|
|
36 |
<block type="page/html_head" name="head" as="head">
|
37 |
<action method="addJs"><script>prototype/prototype.js</script></action>
|
38 |
<action method="addJs"><script>lib/ccard.js</script></action>
|
@@ -46,7 +47,15 @@ Default layout, loads most of the pages
|
|
46 |
<action method="addJs"><script>varien/form.js</script></action>
|
47 |
<action method="addJs"><script>mage/translate.js</script></action>
|
48 |
<action method="addJs"><script>mage/cookies.js</script></action>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
<action method="addCss"><stylesheet>css/iphone.css</stylesheet></action>
|
|
|
50 |
</block>
|
51 |
|
52 |
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
@@ -56,21 +65,42 @@ Default layout, loads most of the pages
|
|
56 |
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
57 |
|
58 |
<block type="page/html_header" name="header" as="header">
|
59 |
-
<block name="user_links" as="user_links" type="page/template_links" />
|
60 |
-
<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
|
61 |
-
<block type="page/template_links" name="top.links" as="topLinks"/>
|
62 |
<block type="page/template_links" name="account.links" as="accountLinks"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
</block>
|
|
|
64 |
<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
|
65 |
|
|
|
|
|
|
|
|
|
66 |
<block type="core/messages" name="global_messages" as="global_messages"/>
|
67 |
<block type="core/messages" name="messages" as="messages"/>
|
|
|
68 |
<block type="core/text_list" name="content" as="content" translate="label">
|
69 |
<label>Main Content Area</label>
|
70 |
</block>
|
71 |
|
|
|
|
|
|
|
|
|
72 |
<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
|
73 |
-
<block type="page/
|
|
|
|
|
|
|
|
|
74 |
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
|
75 |
</block>
|
76 |
|
@@ -82,17 +112,43 @@ Default layout, loads most of the pages
|
|
82 |
<block type="core/profiler" output="toHtml" name="core_profiler"/>
|
83 |
</default>
|
84 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
<!-- Custom page layout handles -->
|
86 |
-
<page_empty>
|
|
|
87 |
<reference name="root">
|
88 |
-
<action method="setTemplate"><template>page/
|
89 |
<!-- Mark root page block that template is applied -->
|
90 |
<action method="setIsHandle"><applied>1</applied></action>
|
91 |
<action method="setLayoutCode"><name>empty</name></action>
|
92 |
</reference>
|
93 |
</page_empty>
|
94 |
|
95 |
-
<page_one_column>
|
|
|
96 |
<reference name="root">
|
97 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
98 |
<!-- Mark root page block that template is applied -->
|
@@ -101,7 +157,8 @@ Default layout, loads most of the pages
|
|
101 |
</reference>
|
102 |
</page_one_column>
|
103 |
|
104 |
-
<page_two_columns_left>
|
|
|
105 |
<reference name="root">
|
106 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
107 |
<!-- Mark root page block that template is applied -->
|
@@ -110,7 +167,8 @@ Default layout, loads most of the pages
|
|
110 |
</reference>
|
111 |
</page_two_columns_left>
|
112 |
|
113 |
-
<page_two_columns_right>
|
|
|
114 |
<reference name="root">
|
115 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
116 |
<!-- Mark root page block that template is applied -->
|
@@ -119,7 +177,8 @@ Default layout, loads most of the pages
|
|
119 |
</reference>
|
120 |
</page_two_columns_right>
|
121 |
|
122 |
-
<page_three_columns>
|
|
|
123 |
<reference name="root">
|
124 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
125 |
<!-- Mark root page block that template is applied -->
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
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/1column.phtml">
|
36 |
+
|
37 |
<block type="page/html_head" name="head" as="head">
|
38 |
<action method="addJs"><script>prototype/prototype.js</script></action>
|
39 |
<action method="addJs"><script>lib/ccard.js</script></action>
|
47 |
<action method="addJs"><script>varien/form.js</script></action>
|
48 |
<action method="addJs"><script>mage/translate.js</script></action>
|
49 |
<action method="addJs"><script>mage/cookies.js</script></action>
|
50 |
+
|
51 |
+
<block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
|
52 |
+
|
53 |
+
<action method="addItem"><type>skin_js</type><name>js/modernizr.js</name></action>
|
54 |
+
<action method="addItem"><type>skin_js</type><name>js/iphone.js</name></action>
|
55 |
+
<action method="addItem"><type>skin_js</type><name>js/dnd.js</name></action>
|
56 |
+
|
57 |
<action method="addCss"><stylesheet>css/iphone.css</stylesheet></action>
|
58 |
+
<action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
|
59 |
</block>
|
60 |
|
61 |
<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
|
65 |
<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
|
66 |
|
67 |
<block type="page/html_header" name="header" as="header">
|
|
|
|
|
|
|
68 |
<block type="page/template_links" name="account.links" as="accountLinks"/>
|
69 |
+
<block type="page/template_links" name="top.links" as="topLinks"/>
|
70 |
+
<block type="page/template_links" name="checkout.links" as="checkoutLinks"/>
|
71 |
+
<block type="core/text_list" name="top.menu" as="topMenu" translate="label">
|
72 |
+
<label>Navigation Bar</label>
|
73 |
+
<block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/>
|
74 |
+
</block>
|
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 |
+
|
104 |
<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
|
105 |
</block>
|
106 |
|
112 |
<block type="core/profiler" output="toHtml" name="core_profiler"/>
|
113 |
</default>
|
114 |
|
115 |
+
<print translate="label" module="page">
|
116 |
+
<label>All Pages (Print Version)</label>
|
117 |
+
<!-- Mage_Page -->
|
118 |
+
<block type="page/html" name="root" output="toHtml" template="page/print.phtml">
|
119 |
+
|
120 |
+
<block type="page/html_head" name="head" as="head">
|
121 |
+
<action method="addJs"><script>prototype/prototype.js</script></action>
|
122 |
+
<action method="addJs"><script>mage/translate.js</script></action>
|
123 |
+
<action method="addJs"><script>lib/ccard.js</script></action>
|
124 |
+
<action method="addJs"><script>prototype/validation.js</script></action>
|
125 |
+
<action method="addJs"><script>varien/js.js</script></action>
|
126 |
+
|
127 |
+
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
|
128 |
+
<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
|
129 |
+
<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
|
130 |
+
</block>
|
131 |
+
|
132 |
+
<block type="core/text_list" name="content" as="content" translate="label">
|
133 |
+
<label>Main Content Area (Print Version)</label>
|
134 |
+
</block>
|
135 |
+
|
136 |
+
</block>
|
137 |
+
</print>
|
138 |
+
|
139 |
<!-- Custom page layout handles -->
|
140 |
+
<page_empty translate="label">
|
141 |
+
<label>All Empty Layout Pages</label>
|
142 |
<reference name="root">
|
143 |
+
<action method="setTemplate"><template>page/empty.phtml</template></action>
|
144 |
<!-- Mark root page block that template is applied -->
|
145 |
<action method="setIsHandle"><applied>1</applied></action>
|
146 |
<action method="setLayoutCode"><name>empty</name></action>
|
147 |
</reference>
|
148 |
</page_empty>
|
149 |
|
150 |
+
<page_one_column translate="label">
|
151 |
+
<label>All One-Column Layout Pages</label>
|
152 |
<reference name="root">
|
153 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
154 |
<!-- Mark root page block that template is applied -->
|
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/1column.phtml</template></action>
|
164 |
<!-- Mark root page block that template is applied -->
|
167 |
</reference>
|
168 |
</page_two_columns_left>
|
169 |
|
170 |
+
<page_two_columns_right translate="label">
|
171 |
+
<label>All Two-Column Layout Pages (Right Column)</label>
|
172 |
<reference name="root">
|
173 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
174 |
<!-- Mark root page block that template is applied -->
|
177 |
</reference>
|
178 |
</page_two_columns_right>
|
179 |
|
180 |
+
<page_three_columns translate="label">
|
181 |
+
<label>All Three-Column Layout Pages</label>
|
182 |
<reference name="root">
|
183 |
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
184 |
<!-- Mark root page block that template is applied -->
|
app/design/frontend/default/iphone/layout/persistent.xml
DELETED
@@ -1,59 +0,0 @@
|
|
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 default_iphone
|
24 |
-
* @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
|
25 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
-
*/
|
27 |
-
-->
|
28 |
-
<layout version="0.1.0">
|
29 |
-
<customer_logged_out_psc_handle>
|
30 |
-
<reference name="account.links">
|
31 |
-
<action method="addLink" translate="label title" module="persistent"><label helper="persistent/getPersistentName"/><url helper="persistent/getUnsetCookieUrl"/><title helper="persistent/getPersistentName"/><prepare/><urlParams/><position>9</position></action>
|
32 |
-
<action method="removeLinkByUrl"><url helper="customer/getLoginUrl"/></action>
|
33 |
-
</reference>
|
34 |
-
</customer_logged_out_psc_handle>
|
35 |
-
|
36 |
-
<customer_account_login>
|
37 |
-
<reference name="customer_form_login">
|
38 |
-
<action method="setTemplate"><template>persistent/customer/form/login.phtml</template></action>
|
39 |
-
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
40 |
-
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
41 |
-
</reference>
|
42 |
-
</customer_account_login>
|
43 |
-
|
44 |
-
<customer_account_create>
|
45 |
-
<reference name="customer_form_register">
|
46 |
-
<action method="setTemplate"><template>persistent/customer/form/register.phtml</template></action>
|
47 |
-
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
48 |
-
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
49 |
-
</reference>
|
50 |
-
</customer_account_create>
|
51 |
-
|
52 |
-
<checkout_onepage_index>
|
53 |
-
<reference name="checkout.onepage.login">
|
54 |
-
<action method="setTemplate"><template>persistent/checkout/onepage/login.phtml</template></action>
|
55 |
-
<block type="persistent/form_remember" name="persistent.remember.me" template="persistent/remember_me.phtml" />
|
56 |
-
<block type="core/template" name="persistent.remember.me.tooltip" template="persistent/remember_me_tooltip.phtml" />
|
57 |
-
</reference>
|
58 |
-
</checkout_onepage_index>
|
59 |
-
</layout>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/iphone/layout/review.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -44,7 +44,6 @@ Customer account home dashboard layout
|
|
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 |
|
@@ -58,7 +57,7 @@ Product reviews page (?)
|
|
58 |
<reviews>
|
59 |
<!-- Mage_Review -->
|
60 |
<reference name="root">
|
61 |
-
<action method="setTemplate"><template>page/
|
62 |
</reference>
|
63 |
</reviews>
|
64 |
|
@@ -69,7 +68,8 @@ Product reviews page
|
|
69 |
<review_product_list translate="label">
|
70 |
<label>Catalog Product Reviews List</label>
|
71 |
<reference name="root">
|
72 |
-
<action method="setTemplate"><template>page/
|
|
|
73 |
</reference>
|
74 |
<reference name="head">
|
75 |
<action method="addJs"><script>varien/product.js</script></action>
|
@@ -77,23 +77,8 @@ Product reviews page
|
|
77 |
</reference>
|
78 |
<reference name="content">
|
79 |
<block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
|
80 |
-
<block type="
|
81 |
-
|
82 |
-
</block>
|
83 |
-
<block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
|
84 |
-
<block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml">
|
85 |
-
<!-- workaround: a better place for this code is in paypal.xml -->
|
86 |
-
<block type="page/html_wrapper" name="review.product.info.addtocart.paypal.wrapper" translate="label" module="paypal">
|
87 |
-
<label>PayPal Express Checkout Shortcut Wrapper</label>
|
88 |
-
<block type="paypal/express_shortcut" name="review.product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
|
89 |
-
<action method="setIsInCatalogProduct"><value>1</value></action>
|
90 |
-
</block>
|
91 |
-
</block>
|
92 |
-
</block>
|
93 |
-
<block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
|
94 |
-
<block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
|
95 |
-
<block type="page/html_pager" name="product_review_list.toolbar" />
|
96 |
-
<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
|
97 |
<block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
|
98 |
<block type="review/form" name="product.review.form" as="review_form">
|
99 |
<block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
|
@@ -133,4 +118,3 @@ Product reviews page
|
|
133 |
</review_customer_view>
|
134 |
|
135 |
</layout>
|
136 |
-
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
44 |
|
45 |
<!-- Mage_Review -->
|
46 |
<reference name="customer_account_dashboard">
|
|
|
47 |
<block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
|
48 |
</reference>
|
49 |
|
57 |
<reviews>
|
58 |
<!-- Mage_Review -->
|
59 |
<reference name="root">
|
60 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
61 |
</reference>
|
62 |
</reviews>
|
63 |
|
68 |
<review_product_list translate="label">
|
69 |
<label>Catalog Product Reviews List</label>
|
70 |
<reference name="root">
|
71 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
72 |
+
<action method="setMyClass"><value>review-product-page</value></action>
|
73 |
</reference>
|
74 |
<reference name="head">
|
75 |
<action method="addJs"><script>varien/product.js</script></action>
|
77 |
</reference>
|
78 |
<reference name="content">
|
79 |
<block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
|
80 |
+
<block type="page/html_pager" name="product_review_list.toolbar"/>
|
81 |
+
<block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml"/>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
<block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
|
83 |
<block type="review/form" name="product.review.form" as="review_form">
|
84 |
<block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
|
118 |
</review_customer_view>
|
119 |
|
120 |
</layout>
|
|
app/design/frontend/default/iphone/layout/rss.xml
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<!--
|
30 |
+
Default layout, loads most of the pages
|
31 |
+
-->
|
32 |
+
<default>
|
33 |
+
<block type="rss/list" name="head_rss" ifconfig="rss/config/active" />
|
34 |
+
</default>
|
35 |
+
|
36 |
+
<rss_index_index translate="label">
|
37 |
+
<label>RSS Feeds List</label>
|
38 |
+
<reference name="root">
|
39 |
+
<action method="setTemplate"><template>page/2columns-right.phtml</template></action>
|
40 |
+
</reference>
|
41 |
+
<reference name="content">
|
42 |
+
<block type="rss/list" name="rss.list" template="rss/list.phtml"/>
|
43 |
+
</reference>
|
44 |
+
</rss_index_index>
|
45 |
+
|
46 |
+
<rss_index_nofeed>
|
47 |
+
<block type="core/template" name="root" output="toHtml" template="rss/nofeed.phtml"/>
|
48 |
+
</rss_index_nofeed>
|
49 |
+
|
50 |
+
<rss_index_wishlist>
|
51 |
+
<block type="rss/wishlist" name="rss.wishlist" output="toHtml">
|
52 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>wishlist/render/item/price_msrp_rss.phtml</template></action>
|
53 |
+
</block>
|
54 |
+
</rss_index_wishlist>
|
55 |
+
<!--
|
56 |
+
Catalog layout
|
57 |
+
-->
|
58 |
+
<rss_catalog_new>
|
59 |
+
<block type="rss/catalog_new" output="toHtml" name="rss.catalog.new">
|
60 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
61 |
+
</block>
|
62 |
+
</rss_catalog_new>
|
63 |
+
|
64 |
+
<rss_catalog_special>
|
65 |
+
<block type="rss/catalog_special" output="toHtml" name="rss.catalog.special" />
|
66 |
+
</rss_catalog_special>
|
67 |
+
|
68 |
+
<rss_catalog_salesrule>
|
69 |
+
<block type="rss/catalog_salesrule" output="toHtml" name="rss.catalog.salesrule" />
|
70 |
+
</rss_catalog_salesrule>
|
71 |
+
|
72 |
+
<rss_catalog_tag>
|
73 |
+
<block type="rss/catalog_tag" output="toHtml" name="rss.catalog.tag">
|
74 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
75 |
+
</block>
|
76 |
+
</rss_catalog_tag>
|
77 |
+
|
78 |
+
<rss_catalog_notifystock>
|
79 |
+
<block type="rss/catalog_notifyStock" output="toHtml" name="rss.catalog.notifystock" />
|
80 |
+
</rss_catalog_notifystock>
|
81 |
+
|
82 |
+
<rss_catalog_review>
|
83 |
+
<block type="rss/catalog_review" output="toHtml" name="rss.catalog.review" />
|
84 |
+
</rss_catalog_review>
|
85 |
+
|
86 |
+
<rss_catalog_category>
|
87 |
+
<block type="rss/catalog_category" output="toHtml" name="rss.catalog.category">
|
88 |
+
<action method="addPriceBlockType"><type>msrp_rss</type><block>catalog/product_price</block><template>catalog/product/price_msrp_rss.phtml</template></action>
|
89 |
+
</block>
|
90 |
+
</rss_catalog_category>
|
91 |
+
<!--
|
92 |
+
Order layout
|
93 |
+
-->
|
94 |
+
<rss_order_new>
|
95 |
+
<block type="rss/order_new" output="toHtml" name="rss.order.new"/>
|
96 |
+
</rss_order_new>
|
97 |
+
<rss_order_status>
|
98 |
+
<block type="rss/order_status" output="toHtml" name="rss.order.status"/>
|
99 |
+
</rss_order_status>
|
100 |
+
</layout>
|
app/design/frontend/default/iphone/layout/sales.xml
ADDED
@@ -0,0 +1,507 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Customer account pages, rendered for all tabs in dashboard
|
33 |
+
-->
|
34 |
+
|
35 |
+
|
36 |
+
<customer_logged_in>
|
37 |
+
<reference name="right">
|
38 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
39 |
+
</reference>
|
40 |
+
</customer_logged_in>
|
41 |
+
<checkout_onepage_index>
|
42 |
+
<remove name="sale.reorder.sidebar"/>
|
43 |
+
</checkout_onepage_index>
|
44 |
+
<checkout_onepage_reorder>
|
45 |
+
<reference name="right">
|
46 |
+
<action method="unsetChild"><name>reorder</name></action>
|
47 |
+
</reference>
|
48 |
+
</checkout_onepage_reorder>
|
49 |
+
|
50 |
+
<customer_account>
|
51 |
+
<!-- Mage_Sales -->
|
52 |
+
<reference name="customer_account_navigation">
|
53 |
+
<action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>
|
54 |
+
</reference>
|
55 |
+
<reference name="left">
|
56 |
+
<block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
|
57 |
+
</reference>
|
58 |
+
|
59 |
+
</customer_account>
|
60 |
+
|
61 |
+
<!--
|
62 |
+
Customer account home dashboard layout
|
63 |
+
-->
|
64 |
+
|
65 |
+
<customer_account_index>
|
66 |
+
<!-- Mage_Sales -->
|
67 |
+
<!--remove name="customer_account_dashboard_top"/-->
|
68 |
+
<reference name="customer_account_dashboard">
|
69 |
+
<block type="sales/order_recent" name="customer_account_dashboard_top" as="top" template="sales/order/recent.phtml"/>
|
70 |
+
</reference>
|
71 |
+
|
72 |
+
</customer_account_index>
|
73 |
+
|
74 |
+
<sales_order_history translate="label">
|
75 |
+
<label>Customer My Account Order History</label>
|
76 |
+
<update handle="customer_account"/>
|
77 |
+
<reference name="my.account.wrapper">
|
78 |
+
<block type="sales/order_history" name="sales.order.history">
|
79 |
+
<block type="core/text_list" name="sales.order.history.info" as="info" translate="label">
|
80 |
+
<label>Order History Info</label>
|
81 |
+
</block>
|
82 |
+
</block>
|
83 |
+
<block type="customer/account_dashboard" name="customer.account.link.back" template="customer/account/link/back.phtml"/>
|
84 |
+
</reference>
|
85 |
+
</sales_order_history>
|
86 |
+
|
87 |
+
|
88 |
+
<sales_order_view translate="label">
|
89 |
+
<label>Customer My Account Order View</label>
|
90 |
+
<update handle="customer_account"/>
|
91 |
+
<reference name="my.account.wrapper">
|
92 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
93 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
94 |
+
</block>
|
95 |
+
<block type="sales/order_view" name="sales.order.view">
|
96 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
97 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
98 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
99 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
100 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
101 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
102 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
103 |
+
</block>
|
104 |
+
</block>
|
105 |
+
</block>
|
106 |
+
</reference>
|
107 |
+
<reference name="sales.order.info">
|
108 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
109 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
110 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
111 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
112 |
+
</reference>
|
113 |
+
<block type="core/text_list" name="additional.product.info" translate="label">
|
114 |
+
<label>Additional Product Info</label>
|
115 |
+
</block>
|
116 |
+
</sales_order_view>
|
117 |
+
|
118 |
+
<sales_order_invoice translate="label">
|
119 |
+
<label>Customer My Account Order Invoice View</label>
|
120 |
+
<update handle="customer_account"/>
|
121 |
+
<reference name="my.account.wrapper">
|
122 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
123 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
124 |
+
</block>
|
125 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
126 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
127 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
128 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
129 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
130 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
131 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
132 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
133 |
+
</block>
|
134 |
+
<block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
|
135 |
+
</block>
|
136 |
+
</block>
|
137 |
+
</reference>
|
138 |
+
<reference name="sales.order.info">
|
139 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
140 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
141 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
142 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
143 |
+
</reference>
|
144 |
+
<block type="core/text_list" name="additional.product.info" />
|
145 |
+
</sales_order_invoice>
|
146 |
+
|
147 |
+
<sales_order_shipment translate="label">
|
148 |
+
<label>Customer My Account Order Shipment View</label>
|
149 |
+
<update handle="customer_account"/>
|
150 |
+
<reference name="my.account.wrapper">
|
151 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
152 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
153 |
+
</block>
|
154 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
155 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
156 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
157 |
+
<block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
|
158 |
+
</block>
|
159 |
+
</block>
|
160 |
+
</reference>
|
161 |
+
<reference name="sales.order.info">
|
162 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
163 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
164 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
165 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
166 |
+
</reference>
|
167 |
+
<block type="core/text_list" name="additional.product.info" />
|
168 |
+
</sales_order_shipment>
|
169 |
+
|
170 |
+
<sales_order_creditmemo translate="label">
|
171 |
+
<label>Customer My Account Order Creditmemo View</label>
|
172 |
+
<update handle="customer_account"/>
|
173 |
+
<reference name="my.account.wrapper">
|
174 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
175 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
176 |
+
</block>
|
177 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
178 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
179 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
180 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
181 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
182 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
183 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
184 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
185 |
+
</block>
|
186 |
+
<block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
|
187 |
+
</block>
|
188 |
+
</block>
|
189 |
+
</reference>
|
190 |
+
<reference name="sales.order.info">
|
191 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
192 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
193 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
194 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
195 |
+
</reference>
|
196 |
+
<block type="core/text_list" name="additional.product.info" />
|
197 |
+
</sales_order_creditmemo>
|
198 |
+
|
199 |
+
<sales_order_reorder>
|
200 |
+
<update handle="customer_account"/>
|
201 |
+
<reference name="content">
|
202 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
203 |
+
</reference>
|
204 |
+
</sales_order_reorder>
|
205 |
+
|
206 |
+
<sales_order_print translate="label">
|
207 |
+
<label>Sales Order Print View</label>
|
208 |
+
<reference name="content">
|
209 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
210 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
211 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
212 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
213 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
214 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
215 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
216 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
217 |
+
</block>
|
218 |
+
</block>
|
219 |
+
</block>
|
220 |
+
</reference>
|
221 |
+
<block type="core/text_list" name="additional.product.info" />
|
222 |
+
</sales_order_print>
|
223 |
+
|
224 |
+
<sales_order_printinvoice translate="label">
|
225 |
+
<label>Sales Invoice Print View</label>
|
226 |
+
<reference name="content">
|
227 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
228 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
229 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
230 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
231 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
232 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
233 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
234 |
+
</block>
|
235 |
+
</block>
|
236 |
+
</reference>
|
237 |
+
<block type="core/text_list" name="additional.product.info" />
|
238 |
+
</sales_order_printinvoice>
|
239 |
+
|
240 |
+
<sales_order_printshipment translate="label">
|
241 |
+
<label>Sales Shipment Print View</label>
|
242 |
+
<reference name="content">
|
243 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
244 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
245 |
+
</block>
|
246 |
+
</reference>
|
247 |
+
<block type="core/text_list" name="additional.product.info" />
|
248 |
+
</sales_order_printshipment>
|
249 |
+
|
250 |
+
<sales_order_printcreditmemo>
|
251 |
+
<reference name="content">
|
252 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
253 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
254 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
255 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
256 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
257 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
258 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
259 |
+
</block>
|
260 |
+
</block>
|
261 |
+
</reference>
|
262 |
+
<block type="core/text_list" name="additional.product.info" />
|
263 |
+
</sales_order_printcreditmemo>
|
264 |
+
|
265 |
+
<!--
|
266 |
+
Email layouts section
|
267 |
+
-->
|
268 |
+
<sales_email_order_items>
|
269 |
+
<block type="sales/order_email_items" name="items" template="email/order/items.phtml">
|
270 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
|
271 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
|
272 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
273 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
274 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
275 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
276 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
277 |
+
</block>
|
278 |
+
</block>
|
279 |
+
</block>
|
280 |
+
<block type="core/text_list" name="additional.product.info" />
|
281 |
+
</sales_email_order_items>
|
282 |
+
|
283 |
+
<sales_email_order_invoice_items>
|
284 |
+
<block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
|
285 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
|
286 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
|
287 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
288 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
289 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
290 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
291 |
+
</block>
|
292 |
+
</block>
|
293 |
+
<block type="core/text_list" name="additional.product.info" />
|
294 |
+
</sales_email_order_invoice_items>
|
295 |
+
|
296 |
+
<sales_email_order_shipment_items>
|
297 |
+
<block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
|
298 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
|
299 |
+
</block>
|
300 |
+
<block type="core/text_list" name="additional.product.info" />
|
301 |
+
</sales_email_order_shipment_items>
|
302 |
+
|
303 |
+
<sales_email_order_creditmemo_items>
|
304 |
+
<block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
|
305 |
+
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
306 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
307 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
308 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
309 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
310 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
311 |
+
</block>
|
312 |
+
</block>
|
313 |
+
<block type="core/text_list" name="additional.product.info" />
|
314 |
+
</sales_email_order_creditmemo_items>
|
315 |
+
|
316 |
+
<!--
|
317 |
+
Guest
|
318 |
+
-->
|
319 |
+
|
320 |
+
<sales_guest_form translate="label">
|
321 |
+
<label>Returns</label>
|
322 |
+
<reference name="root">
|
323 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
324 |
+
</reference>
|
325 |
+
<reference name="content">
|
326 |
+
<block type="sales/widget_guest_form" name="guest.form" template="sales/guest/form.phtml"/>
|
327 |
+
</reference>
|
328 |
+
</sales_guest_form>
|
329 |
+
|
330 |
+
|
331 |
+
<sales_guest_view translate="label">
|
332 |
+
<label>Customer My Account Order View</label>
|
333 |
+
<reference name="root">
|
334 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
335 |
+
</reference>
|
336 |
+
<reference name="content">
|
337 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
338 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
339 |
+
</block>
|
340 |
+
<block type="sales/order_view" name="sales.order.view">
|
341 |
+
<block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
|
342 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
343 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
344 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
345 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
346 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
347 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
348 |
+
</block>
|
349 |
+
</block>
|
350 |
+
</block>
|
351 |
+
</reference>
|
352 |
+
<reference name="sales.order.info">
|
353 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
|
354 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
355 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
356 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
357 |
+
</reference>
|
358 |
+
</sales_guest_view>
|
359 |
+
|
360 |
+
<sales_guest_invoice translate="label">
|
361 |
+
<label>Customer My Account Order Invoice View</label>
|
362 |
+
<reference name="root">
|
363 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
364 |
+
</reference>
|
365 |
+
<reference name="content">
|
366 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
367 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
368 |
+
</block>
|
369 |
+
<block type="sales/order_invoice" name="sales.order.invoice">
|
370 |
+
<block type="sales/order_invoice_items" name="invoice_items" template="sales/order/invoice/items.phtml">
|
371 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
372 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
373 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
374 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
375 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
376 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
377 |
+
</block>
|
378 |
+
<block type="sales/order_comments" name="invoice_comments" template="sales/order/comments.phtml" />
|
379 |
+
</block>
|
380 |
+
</block>
|
381 |
+
</reference>
|
382 |
+
<reference name="sales.order.info">
|
383 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
384 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
|
385 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
386 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
387 |
+
</reference>
|
388 |
+
</sales_guest_invoice>
|
389 |
+
|
390 |
+
<sales_guest_shipment translate="label">
|
391 |
+
<label>Customer My Account Order Shipment View</label>
|
392 |
+
<reference name="root">
|
393 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
394 |
+
</reference>
|
395 |
+
<reference name="content">
|
396 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
397 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
398 |
+
</block>
|
399 |
+
<block type="sales/order_shipment" name="sales.order.shipment">
|
400 |
+
<block type="sales/order_shipment_items" name="shipment_items" template="sales/order/shipment/items.phtml">
|
401 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
402 |
+
<block type="sales/order_comments" name="shipment_comments" template="sales/order/comments.phtml" />
|
403 |
+
</block>
|
404 |
+
</block>
|
405 |
+
</reference>
|
406 |
+
<reference name="sales.order.info">
|
407 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
408 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
409 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
|
410 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
|
411 |
+
</reference>
|
412 |
+
</sales_guest_shipment>
|
413 |
+
|
414 |
+
<sales_guest_creditmemo translate="label">
|
415 |
+
<label>Customer My Account Order Creditmemo View</label>
|
416 |
+
<reference name="root">
|
417 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
418 |
+
</reference>
|
419 |
+
<reference name="content">
|
420 |
+
<block type="sales/order_info" as="info" name="sales.order.info">
|
421 |
+
<block type="sales/order_info_buttons" as="buttons" name="sales.order.info.buttons" />
|
422 |
+
</block>
|
423 |
+
<block type="sales/order_creditmemo" name="sales.order.creditmemo">
|
424 |
+
<block type="sales/order_creditmemo_items" name="creditmemo_items" template="sales/order/creditmemo/items.phtml">
|
425 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
426 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
427 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
428 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
429 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
430 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
431 |
+
</block>
|
432 |
+
<block type="sales/order_comments" name="creditmemo_comments" template="sales/order/comments.phtml" />
|
433 |
+
</block>
|
434 |
+
</block>
|
435 |
+
</reference>
|
436 |
+
<reference name="sales.order.info">
|
437 |
+
<action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
|
438 |
+
<action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
|
439 |
+
<action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
|
440 |
+
<action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
|
441 |
+
</reference>
|
442 |
+
</sales_guest_creditmemo>
|
443 |
+
|
444 |
+
<sales_guest_reorder>
|
445 |
+
<reference name="root">
|
446 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
447 |
+
</reference>
|
448 |
+
<reference name="content">
|
449 |
+
<block type="sales/order_view" name="sales.order.view"/>
|
450 |
+
</reference>
|
451 |
+
</sales_guest_reorder>
|
452 |
+
|
453 |
+
<sales_guest_print translate="label">
|
454 |
+
<label>Sales Order Print View</label>
|
455 |
+
<reference name="content">
|
456 |
+
<block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
|
457 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
|
458 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
|
459 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
460 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
461 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
462 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
463 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
464 |
+
</block>
|
465 |
+
</block>
|
466 |
+
</block>
|
467 |
+
</reference>
|
468 |
+
</sales_guest_print>
|
469 |
+
|
470 |
+
<sales_guest_printinvoice translate="label">
|
471 |
+
<label>Sales Invoice Print View</label>
|
472 |
+
<reference name="content">
|
473 |
+
<block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
|
474 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
475 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
|
476 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
477 |
+
<action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
|
478 |
+
<action method="setValueProperties"><value>class="last a-right"</value></action>
|
479 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
|
480 |
+
</block>
|
481 |
+
</block>
|
482 |
+
</reference>
|
483 |
+
</sales_guest_printinvoice>
|
484 |
+
|
485 |
+
<sales_guest_printshipment translate="label">
|
486 |
+
<label>Sales Shipment Print View</label>
|
487 |
+
<reference name="content">
|
488 |
+
<block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml">
|
489 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/shipment/items/renderer/default.phtml</template></action>
|
490 |
+
</block>
|
491 |
+
</reference>
|
492 |
+
</sales_guest_printshipment>
|
493 |
+
|
494 |
+
<sales_guest_printcreditmemo>
|
495 |
+
<reference name="content">
|
496 |
+
<block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
|
497 |
+
<action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
498 |
+
<action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
|
499 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
500 |
+
<action method="setLabelProperties"><value>colspan="6" class="a-right"</value></action>
|
501 |
+
<action method="setValueProperties"><value>class="a-right"</value></action>
|
502 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
|
503 |
+
</block>
|
504 |
+
</block>
|
505 |
+
</reference>
|
506 |
+
</sales_guest_printcreditmemo>
|
507 |
+
</layout>
|
app/design/frontend/default/iphone/layout/sales/billing_agreement.xml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<sales_billing_agreement_index>
|
31 |
+
<update handle="customer_account"/>
|
32 |
+
<reference name="root">
|
33 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
34 |
+
</reference>
|
35 |
+
<reference name="my.account.wrapper">
|
36 |
+
<block type="sales/billing_agreements" name="customer.account.billing.agreement" template="sales/billing/agreements.phtml"/>
|
37 |
+
</reference>
|
38 |
+
</sales_billing_agreement_index>
|
39 |
+
|
40 |
+
<sales_billing_agreement_view>
|
41 |
+
<update handle="customer_account"/>
|
42 |
+
<reference name="root">
|
43 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
44 |
+
<action method="setMyClass"><value>billing-agreement-view</value></action>
|
45 |
+
</reference>
|
46 |
+
<reference name="my.account.wrapper">
|
47 |
+
<block type="sales/billing_agreement_view" name="customer.account.billing.agreement" template="sales/billing/agreement/view.phtml"/>
|
48 |
+
</reference>
|
49 |
+
</sales_billing_agreement_view>
|
50 |
+
|
51 |
+
<customer_account>
|
52 |
+
<reference name="customer_account_navigation" >
|
53 |
+
<action method="addLink" translate="label"><name>billing_agreements</name><path>sales/billing_agreement/</path><label>Billing Agreements</label></action>
|
54 |
+
</reference>
|
55 |
+
</customer_account>
|
56 |
+
</layout>
|
app/design/frontend/default/iphone/layout/sales/recurring_profile.xml
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
<customer_account>
|
31 |
+
<reference name="customer_account_navigation" >
|
32 |
+
<action method="addLink" translate="label"><name>recurring_profiles</name><path>sales/recurring_profile/</path><label>Recurring Profiles</label></action>
|
33 |
+
</reference>
|
34 |
+
</customer_account>
|
35 |
+
|
36 |
+
<sales_recurring_profile_index>
|
37 |
+
<update handle="customer_account"/>
|
38 |
+
<reference name="root">
|
39 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
40 |
+
</reference>
|
41 |
+
<reference name="my.account.wrapper">
|
42 |
+
<block type="sales/recurring_profiles" name="sales.recurring.profiles" template="sales/recurring/profiles.phtml">
|
43 |
+
<block type="sales/recurring_profiles" name="sales.recurring.profiles.grid" as="grid" template="sales/recurring/grid.phtml">
|
44 |
+
<action method="prepareProfilesGrid"/>
|
45 |
+
<action method="setEmptyGridMessage" translate="value"><value>There are no recurring profiles yet.</value></action>
|
46 |
+
<action method="setGridHtmlId"><value>recurring_profile_list_view</value></action>
|
47 |
+
</block>
|
48 |
+
</block>
|
49 |
+
</reference>
|
50 |
+
</sales_recurring_profile_index>
|
51 |
+
|
52 |
+
<sales_recurring_profile_view__tabs>
|
53 |
+
<reference name="root">
|
54 |
+
<action method="setTemplate"><template>page/1column.phtml</template></action>
|
55 |
+
</reference>
|
56 |
+
<reference name="my.account.wrapper">
|
57 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view" template="sales/recurring/profile/view.phtml">
|
58 |
+
<action method="prepareViewData"/>
|
59 |
+
<action method="setShouldPrepareInfoTabs"><value>1</value></action>
|
60 |
+
<block type="core/text" as="profile_info" name="sales.recurring.profile.view.tab.profile">
|
61 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
62 |
+
<action method="setViewLabel" translate="value"><value>Profile Information</value></action>
|
63 |
+
<action method="setViewAction"><value>view</value></action>
|
64 |
+
</block>
|
65 |
+
<!-- not implemented
|
66 |
+
<block type="core/text" as="history" name="sales.recurring.profile.view.tab.history">
|
67 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
68 |
+
<action method="setViewLabel" translate="value"><value>History</value></action>
|
69 |
+
<action method="setViewAction"><value>history</value></action>
|
70 |
+
</block>
|
71 |
+
-->
|
72 |
+
<block type="core/text" as="related_orders" name="sales.recurring.profile.view.tab.orders">
|
73 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
74 |
+
<action method="setViewLabel" translate="value"><value>Related Orders</value></action>
|
75 |
+
<action method="setViewAction"><value>orders</value></action>
|
76 |
+
</block>
|
77 |
+
<!-- not implemented
|
78 |
+
<block type="core/text" as="vendor_info" name="sales.recurring.profile.view.tab.vendor">
|
79 |
+
<action method="addToParentGroup"><value>info_tabs</value></action>
|
80 |
+
<action method="setViewLabel" translate="value"><value>Gateway Information</value></action>
|
81 |
+
<action method="setViewAction"><value>vendor</value></action>
|
82 |
+
</block>
|
83 |
+
-->
|
84 |
+
</block>
|
85 |
+
</reference>
|
86 |
+
</sales_recurring_profile_view__tabs>
|
87 |
+
|
88 |
+
<sales_recurring_profile_view>
|
89 |
+
<update handle="customer_account"/>
|
90 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
91 |
+
<reference name="sales.recurring.profile.view.tab.profile">
|
92 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
93 |
+
</reference>
|
94 |
+
<reference name="sales.recurring.profile.view">
|
95 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.general" as="general" template="sales/recurring/profile/view/info.phtml">
|
96 |
+
<action method="prepareReferenceInfo"/>
|
97 |
+
<action method="addToParentGroup"><value>info_blocks_row_1</value></action>
|
98 |
+
<action method="setViewColumn"><value>1</value></action>
|
99 |
+
<action method="setViewLabel" translate="value"><value>Reference</value></action>
|
100 |
+
</block>
|
101 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.item" as="item" template="sales/recurring/profile/view/info.phtml">
|
102 |
+
<action method="prepareItemInfo"/>
|
103 |
+
<action method="addToParentGroup"><value>info_blocks_row_1</value></action>
|
104 |
+
<action method="setViewColumn"><value>2</value></action>
|
105 |
+
<action method="setViewLabel" translate="value"><value>Purchased Item</value></action>
|
106 |
+
</block>
|
107 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.schedule" as="profile" template="sales/recurring/profile/view/info.phtml">
|
108 |
+
<action method="prepareScheduleInfo"/>
|
109 |
+
<action method="addToParentGroup"><value>info_blocks_row_2</value></action>
|
110 |
+
<action method="setViewColumn"><value>1</value></action>
|
111 |
+
<action method="setViewLabel" translate="value"><value>Profile Schedule</value></action>
|
112 |
+
</block>
|
113 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.fees" as="fees" template="sales/recurring/profile/view/info.phtml">
|
114 |
+
<action method="prepareFeesInfo"/>
|
115 |
+
<action method="addToParentGroup"><value>info_blocks_row_2</value></action>
|
116 |
+
<action method="setViewColumn"><value>2</value></action>
|
117 |
+
<action method="setViewLabel" translate="value"><value>Profile Payments</value></action>
|
118 |
+
</block>
|
119 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.billing" as="billing_address" template="sales/recurring/profile/view/info.phtml">
|
120 |
+
<action method="prepareAddressInfo"/>
|
121 |
+
<action method="addToParentGroup"><value>info_blocks_row_3</value></action>
|
122 |
+
<action method="setViewColumn"><value>1</value></action>
|
123 |
+
<action method="setViewLabel" translate="value"><value>Billing Address</value></action>
|
124 |
+
</block>
|
125 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.shipping" as="shipping_address" template="sales/recurring/profile/view/info.phtml">
|
126 |
+
<action method="setAddressType"><value>shipping</value></action>
|
127 |
+
<action method="prepareAddressInfo"/>
|
128 |
+
<action method="addToParentGroup"><value>info_blocks_row_3</value></action>
|
129 |
+
<action method="setViewColumn"><value>2</value></action>
|
130 |
+
<action method="setViewLabel" translate="value"><value>Shipping Address</value></action>
|
131 |
+
</block>
|
132 |
+
</reference>
|
133 |
+
</sales_recurring_profile_view>
|
134 |
+
|
135 |
+
<!-- not implemented
|
136 |
+
<sales_recurring_profile_history>
|
137 |
+
<update handle="customer_account"/>
|
138 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
139 |
+
<reference name="sales.recurring.profile.view.tab.history">
|
140 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
141 |
+
</reference>
|
142 |
+
</sales_recurring_profile_history>
|
143 |
+
-->
|
144 |
+
|
145 |
+
<sales_recurring_profile_orders>
|
146 |
+
<update handle="customer_account"/>
|
147 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
148 |
+
<reference name="sales.recurring.profile.view.tab.orders">
|
149 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
150 |
+
</reference>
|
151 |
+
<reference name="sales.recurring.profile.view">
|
152 |
+
<block type="sales/recurring_profile_view" name="sales.recurring.profile.view.orders" as="table" template="sales/recurring/grid.phtml">
|
153 |
+
<action method="prepareRelatedOrdersFrontendGrid"/>
|
154 |
+
<action method="setViewLabel" translate="value"><value>Orders Based on This Profile</value></action>
|
155 |
+
<action method="setEmptyGridMessage" translate="value"><value>There are no orders yet.</value></action>
|
156 |
+
<action method="setGridHtmlClass"><value>info-box</value></action>
|
157 |
+
<action method="setGridHtmlCss"><value>border:0</value></action>
|
158 |
+
</block>
|
159 |
+
</reference>
|
160 |
+
</sales_recurring_profile_orders>
|
161 |
+
|
162 |
+
<!-- not implemented
|
163 |
+
<sales_recurring_profile_vendor>
|
164 |
+
<update handle="customer_account"/>
|
165 |
+
<update handle="sales_recurring_profile_view__tabs"/>
|
166 |
+
<reference name="sales.recurring.profile.view.tab.vendor">
|
167 |
+
<action method="setIsViewCurrent"><v>1</v></action>
|
168 |
+
</reference>
|
169 |
+
</sales_recurring_profile_vendor>
|
170 |
+
-->
|
171 |
+
</layout>
|
app/design/frontend/default/iphone/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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
<sendfriend_product_send translate="label">
|
30 |
+
<label>Catalog Product Email to a Friend</label>
|
31 |
+
<reference name="root">
|
32 |
+
<action method="setMyClass"><value>send-to-friend</value></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/iphone/layout/tag.xml
CHANGED
@@ -21,7 +21,7 @@
|
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
-
* @copyright Copyright (c)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -39,17 +39,6 @@ Default layout, loads most of the pages
|
|
39 |
</reference>
|
40 |
</default>
|
41 |
|
42 |
-
<!--
|
43 |
-
Customer account pages, rendered for all tabs in dashboard
|
44 |
-
-->
|
45 |
-
|
46 |
-
<customer_account>
|
47 |
-
<!-- Mage_Tag -->
|
48 |
-
<reference name="customer_account_navigation">
|
49 |
-
<action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
|
50 |
-
</reference>
|
51 |
-
</customer_account>
|
52 |
-
|
53 |
<!--
|
54 |
Customer account home dashboard layout
|
55 |
-->
|
@@ -62,19 +51,6 @@ Customer account home dashboard layout
|
|
62 |
</reference>
|
63 |
</customer_account_index>
|
64 |
|
65 |
-
<catalog_product_view translate="label">
|
66 |
-
<label>Catalog Product View</label>
|
67 |
-
<!-- Mage_Tag -->
|
68 |
-
<reference name="product.info.additional">
|
69 |
-
<block type="tag/product_list" name="product_tag_list" before="-" template="tag/list.phtml">
|
70 |
-
<block type="page/html_wrapper" name="product.tag.list.list.before" as="list_before" translate="label">
|
71 |
-
<label>Tags List Before</label>
|
72 |
-
<action method="setMayBeInvisible"><value>1</value></action>
|
73 |
-
</block>
|
74 |
-
</block>
|
75 |
-
</reference>
|
76 |
-
</catalog_product_view>
|
77 |
-
|
78 |
<!--
|
79 |
All tags page
|
80 |
-->
|
@@ -93,12 +69,14 @@ All tags page
|
|
93 |
<tag_product_list translate="label">
|
94 |
<label>Tagged Products List</label>
|
95 |
<!-- Mage_Tag -->
|
|
|
|
|
|
|
96 |
<reference name="content">
|
97 |
<block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
|
98 |
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
99 |
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
100 |
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
101 |
-
<action method="addPagerLimit"><mode>list</mode><limit>5</limit></action>
|
102 |
</block>
|
103 |
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
104 |
</block>
|
@@ -131,13 +109,4 @@ All tags page
|
|
131 |
</reference>
|
132 |
</tag_customer_view>
|
133 |
|
134 |
-
<tag_customer_edit>
|
135 |
-
<update handle="customer_account"/>
|
136 |
-
<reference name="root">
|
137 |
-
<action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
|
138 |
-
</reference>
|
139 |
-
<reference name="content">
|
140 |
-
<block type="tag/customer_edit" name="customer_edit" template="tag/customer/edit.phtml"/>
|
141 |
-
</reference>
|
142 |
-
</tag_customer_edit>
|
143 |
</layout>
|
21 |
*
|
22 |
* @category design
|
23 |
* @package default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
39 |
</reference>
|
40 |
</default>
|
41 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
<!--
|
43 |
Customer account home dashboard layout
|
44 |
-->
|
51 |
</reference>
|
52 |
</customer_account_index>
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
<!--
|
55 |
All tags page
|
56 |
-->
|
69 |
<tag_product_list translate="label">
|
70 |
<label>Tagged Products List</label>
|
71 |
<!-- Mage_Tag -->
|
72 |
+
<reference name="root">
|
73 |
+
<action method="setMyClass"><value>product-tags-list</value></action>
|
74 |
+
</reference>
|
75 |
<reference name="content">
|
76 |
<block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
|
77 |
<block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
|
78 |
<block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
|
79 |
<block type="page/html_pager" name="product_list_toolbar_pager"/>
|
|
|
80 |
</block>
|
81 |
<action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
|
82 |
</block>
|
109 |
</reference>
|
110 |
</tag_customer_view>
|
111 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
</layout>
|
app/design/frontend/default/iphone/layout/wishlist.xml
ADDED
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 default_iphone
|
24 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
|
28 |
+
-->
|
29 |
+
<layout version="0.1.0">
|
30 |
+
|
31 |
+
<!--
|
32 |
+
Default layout, loads most of the pages
|
33 |
+
-->
|
34 |
+
|
35 |
+
<default>
|
36 |
+
<reference name="top.links">
|
37 |
+
<block type="wishlist/links" name="wishlist_link" />
|
38 |
+
<action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
|
39 |
+
</reference>
|
40 |
+
|
41 |
+
<!-- Mage_Wishlist -->
|
42 |
+
<reference name="right">
|
43 |
+
<block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />
|
44 |
+
</reference>
|
45 |
+
</default>
|
46 |
+
|
47 |
+
<!--
|
48 |
+
Customer account pages, rendered for all tabs in dashboard
|
49 |
+
-->
|
50 |
+
|
51 |
+
<customer_account>
|
52 |
+
<!-- Mage_Wishlist -->
|
53 |
+
<reference name="customer_account_navigation">
|
54 |
+
<action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
|
55 |
+
</reference>
|
56 |
+
</customer_account>
|
57 |
+
|
58 |
+
<!--
|
59 |
+
Customer account home dashboard layout
|
60 |
+
-->
|
61 |
+
|
62 |
+
<customer_account_index>
|
63 |
+
|
64 |
+
<reference name="right">
|
65 |
+
<action method="unsetChild"><name>wishlist</name></action>
|
66 |
+
</reference>
|
67 |
+
</customer_account_index>
|
68 |
+
|
69 |
+
<!--
|
70 |
+
Wishlist pages
|
71 |
+
-->
|
72 |
+
|
73 |
+
<wishlist_index_index translate="label">
|
74 |
+
<label>Customer My Account My Wishlist</label>
|
75 |
+
<!-- Mage_Wishlist -->
|
76 |
+
<update handle="customer_account"/>
|
77 |
+
<reference name="my.account.wrapper">
|
78 |
+
<block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
|
79 |
+
<action method="setTitle" translate="title">
|
80 |
+
<title>My Wishlist</title>
|
81 |
+
</action>
|
82 |
+
<block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
|
83 |
+
<block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml"></block>
|
84 |
+
<block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml"></block>
|
85 |
+
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
|
86 |
+
<action method="setTitle" translate="title">
|
87 |
+
<title>Add to Cart</title>
|
88 |
+
</action>
|
89 |
+
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options"/>
|
90 |
+
</block>
|
91 |
+
<block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
|
92 |
+
<action method="setTitle" translate="title">
|
93 |
+
<title>Product Details and Comment</title>
|
94 |
+
</action>
|
95 |
+
</block>
|
96 |
+
</block>
|
97 |
+
<block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
|
98 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
|
99 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
|
100 |
+
<block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
|
101 |
+
</block>
|
102 |
+
</block>
|
103 |
+
</reference>
|
104 |
+
<reference name="right">
|
105 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
106 |
+
</reference>
|
107 |
+
</wishlist_index_index>
|
108 |
+
|
109 |
+
<wishlist_index_share translate="label">
|
110 |
+
<label>Customer My Account Wishlist Sharing Form</label>
|
111 |
+
<!-- Mage_Wishlist -->
|
112 |
+
<update handle="customer_account" />
|
113 |
+
<reference name="my.account.wrapper">
|
114 |
+
<block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml" />
|
115 |
+
</reference>
|
116 |
+
<reference name="right">
|
117 |
+
<action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
|
118 |
+
</reference>
|
119 |
+
</wishlist_index_share>
|
120 |
+
|
121 |
+
<wishlist_index_configure translate="label">
|
122 |
+
<label>Configure Wishlist Item</label>
|
123 |
+
<update handle="catalog_product_view" />
|
124 |
+
<reference name="product.info">
|
125 |
+
<block type="wishlist/item_configure" name="product.info.addto" as="addto" template="wishlist/item/configure/addto.phtml" />
|
126 |
+
</reference>
|
127 |
+
<reference name="product.info.options.wrapper.bottom">
|
128 |
+
<action method="unsetChild"><name>product.info.addto</name></action>
|
129 |
+
<action method="append"><block>product.info.addto</block></action>
|
130 |
+
</reference>
|
131 |
+
</wishlist_index_configure>
|
132 |
+
|
133 |
+
<wishlist_shared_index translate="label">
|
134 |
+
<label>Customer Shared Wishlist View</label>
|
135 |
+
<!-- Mage_Wishlist -->
|
136 |
+
<reference name="content">
|
137 |
+
<block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml" />
|
138 |
+
</reference>
|
139 |
+
</wishlist_shared_index>
|
140 |
+
</layout>
|
app/design/frontend/default/iphone/locale/en_US/translate.csv
CHANGED
@@ -1,8 +0,0 @@
|
|
1 |
-
"Keep your eyes open for our special Back to School items and save A LOT!","Keep your eyes open for our special Back to School items and save A LOT!"
|
2 |
-
"My Account","Account"
|
3 |
-
"My Wishlist","Wishlist"
|
4 |
-
"My Wishlist (%d item)","Wishlist (%d)"
|
5 |
-
"My Wishlist (%d items)","Wishlist (%d)"
|
6 |
-
"My Cart","Cart"
|
7 |
-
"My Cart (%s item)","Cart (%s)"
|
8 |
-
"My Cart (%s items)","Cart (%s)"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/iphone/template/bundle/catalog/product/view/type/bundle.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
?>
|
28 |
+
<?php $_product = $this->getProduct() ?>
|
29 |
+
|
30 |
+
<?php if($_product->isSaleable()): ?>
|
31 |
+
<script type="text/javascript">
|
32 |
+
//<![CDATA[
|
33 |
+
var bundle = new Product.Bundle(<?php echo $this->getJsonConfig() ?>);
|
34 |
+
//]]>
|
35 |
+
</script>
|
36 |
+
<?php endif; ?>
|
37 |
+
<?php if ($_product->isAvailable()): ?>
|
38 |
+
<p class="availability in-stock"><?php echo $this->helper('catalog')->__('Availability:') ?> <span><?php echo $this->helper('catalog')->__('In stock') ?></span></p>
|
39 |
+
<?php else: ?>
|
40 |
+
<p class="availability out-of-stock"><?php echo $this->helper('catalog')->__('Availability:') ?> <span><?php echo $this->helper('catalog')->__('Out of stock') ?></span></p>
|
41 |
+
<?php endif; ?>
|
42 |
+
<div class="price-box-bundle">
|
43 |
+
<?php echo $this->getPriceHtml($_product) ?>
|
44 |
+
</div>
|
45 |
+
<?php echo $this->getChildHtml('bundle_prices') ?>
|
app/design/frontend/default/iphone/template/bundle/sales/order/items/renderer.phtml
ADDED
@@ -0,0 +1,385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $parentItem = $this->getItem() ?>
|
28 |
+
<?php $items = array_merge(array($parentItem), $parentItem->getChildrenItems()); ?>
|
29 |
+
<?php $_count = count ($items) ?>
|
30 |
+
<?php $_index = 0 ?>
|
31 |
+
|
32 |
+
<?php $_prevOptionId = '' ?>
|
33 |
+
|
34 |
+
<?php foreach ($items as $_item): ?>
|
35 |
+
|
36 |
+
<?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
37 |
+
<?php $_showlastRow = true ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php $_showlastRow = false ?>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
42 |
+
<?php if ($_item->getParentItem()): ?>
|
43 |
+
<?php $attributes = $this->getSelectionAttributes($_item) ?>
|
44 |
+
<?php if ($_prevOptionId != $attributes['option_id']): ?>
|
45 |
+
<tr<?php if ($_item->getLastRow()) echo 'class="last"'; ?>>
|
46 |
+
<td colspan="2" class="option-name"><div class="option-label"><?php echo $attributes['option_label'] ?></div></td>
|
47 |
+
</tr>
|
48 |
+
<?php $_prevOptionId = $attributes['option_id'] ?>
|
49 |
+
<?php endif; ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
|
52 |
+
<?php if (!$_item->getParentItem()): ?>
|
53 |
+
<tr>
|
54 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
55 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3></td>
|
56 |
+
</tr>
|
57 |
+
<?php else: ?>
|
58 |
+
<tr>
|
59 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
60 |
+
<td><div class="option-value"><?php echo $this->getValueHtml($_item)?></div></td>
|
61 |
+
</tr>
|
62 |
+
<?php endif; ?>
|
63 |
+
<tr>
|
64 |
+
<th><?php echo $this->__('SKU') ?></th>
|
65 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($_item->getSku())) ?></td>
|
66 |
+
</tr>
|
67 |
+
|
68 |
+
<?php if (!$_item->getParentItem()): ?>
|
69 |
+
<tr>
|
70 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
71 |
+
<td class="a-right">
|
72 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
73 |
+
<span class="price-excl-tax">
|
74 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
75 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
76 |
+
<span class="cart-price">
|
77 |
+
<?php endif; ?>
|
78 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
79 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
80 |
+
</span>
|
81 |
+
<?php endif; ?>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
85 |
+
<?php else: ?>
|
86 |
+
<span class="cart-price">
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
90 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
91 |
+
<?php else: ?>
|
92 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
93 |
+
<?php endif; ?>
|
94 |
+
|
95 |
+
</span>
|
96 |
+
|
97 |
+
|
98 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
99 |
+
|
100 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
101 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
102 |
+
<small>
|
103 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
104 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
105 |
+
<?php endforeach; ?>
|
106 |
+
</small>
|
107 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
108 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
109 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
110 |
+
<?php endforeach; ?>
|
111 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
112 |
+
<small>
|
113 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
114 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
115 |
+
<?php endforeach; ?>
|
116 |
+
</small>
|
117 |
+
<?php endif; ?>
|
118 |
+
</span>
|
119 |
+
|
120 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
121 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
122 |
+
<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>
|
123 |
+
</span>
|
124 |
+
<?php endif; ?>
|
125 |
+
<?php endif; ?>
|
126 |
+
</span>
|
127 |
+
<br />
|
128 |
+
<?php endif; ?>
|
129 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
130 |
+
<span class="price-incl-tax">
|
131 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
132 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
133 |
+
<span class="cart-price">
|
134 |
+
<?php endif; ?>
|
135 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
136 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
137 |
+
</span>
|
138 |
+
<?php endif; ?>
|
139 |
+
<?php endif; ?>
|
140 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
142 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
143 |
+
<?php else: ?>
|
144 |
+
<span class="cart-price">
|
145 |
+
<?php endif; ?>
|
146 |
+
|
147 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
148 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
149 |
+
<?php else: ?>
|
150 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
151 |
+
<?php endif; ?>
|
152 |
+
|
153 |
+
</span>
|
154 |
+
|
155 |
+
|
156 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
157 |
+
|
158 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
159 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<small>
|
161 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
162 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
163 |
+
<?php endforeach; ?>
|
164 |
+
</small>
|
165 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
166 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
167 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
168 |
+
<?php endforeach; ?>
|
169 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
170 |
+
<small>
|
171 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
172 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
173 |
+
<?php endforeach; ?>
|
174 |
+
</small>
|
175 |
+
<?php endif; ?>
|
176 |
+
</span>
|
177 |
+
|
178 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
179 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
180 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
181 |
+
</span>
|
182 |
+
<?php endif; ?>
|
183 |
+
<?php endif; ?>
|
184 |
+
</span>
|
185 |
+
<?php endif; ?>
|
186 |
+
</td>
|
187 |
+
</tr>
|
188 |
+
<?php endif; ?>
|
189 |
+
|
190 |
+
<?php if (($_item->getParentItem() && $this->isChildCalculated()) || (!$_item->getParentItem() && !$this->isChildCalculated())): ?>
|
191 |
+
<tr>
|
192 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
193 |
+
<td class="a-right">
|
194 |
+
<span class="nobr">
|
195 |
+
<?php if ($_item->getQtyOrdered() > 0): ?>
|
196 |
+
<?php echo Mage::helper('sales')->__('Ordered'); ?>: <strong><?php echo $_item->getQtyOrdered()*1 ?></strong><br />
|
197 |
+
<?php endif; ?>
|
198 |
+
<?php if ($_item->getQtyShipped() > 0 && !$this->isShipmentSeparately()): ?>
|
199 |
+
<?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong><br />
|
200 |
+
<?php endif; ?>
|
201 |
+
<?php if ($_item->getQtyCanceled() > 0): ?>
|
202 |
+
<?php echo Mage::helper('sales')->__('Canceled'); ?>: <strong><?php echo $_item->getQtyCanceled()*1 ?></strong><br />
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php if ($_item->getQtyRefunded() > 0): ?>
|
205 |
+
<?php echo Mage::helper('sales')->__('Refunded'); ?>: <strong><?php echo $_item->getQtyRefunded()*1 ?></strong>
|
206 |
+
<?php endif; ?>
|
207 |
+
</span>
|
208 |
+
</td>
|
209 |
+
</tr>
|
210 |
+
<?php elseif ($_item->getQtyShipped() > 0 && $_item->getParentItem() && $this->isShipmentSeparately()): ?>
|
211 |
+
<tr>
|
212 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
213 |
+
<td><span class="nobr"><?php echo Mage::helper('sales')->__('Shipped'); ?>: <strong><?php echo $_item->getQtyShipped()*1 ?></strong></span></td>
|
214 |
+
</tr>
|
215 |
+
<?php endif; ?>
|
216 |
+
|
217 |
+
|
218 |
+
<?php if (!$_item->getParentItem()): ?>
|
219 |
+
<tr>
|
220 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
221 |
+
<td class="a-right">
|
222 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
223 |
+
<span class="price-excl-tax">
|
224 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
225 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
226 |
+
<span class="cart-price">
|
227 |
+
<?php endif; ?>
|
228 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
229 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
</span>
|
231 |
+
<?php endif; ?>
|
232 |
+
<?php endif; ?>
|
233 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
234 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
235 |
+
<?php else: ?>
|
236 |
+
<span class="cart-price">
|
237 |
+
<?php endif; ?>
|
238 |
+
|
239 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
240 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
241 |
+
<?php else: ?>
|
242 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
243 |
+
<?php endif; ?>
|
244 |
+
|
245 |
+
</span>
|
246 |
+
|
247 |
+
|
248 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
249 |
+
|
250 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
251 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
252 |
+
<small>
|
253 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
254 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
255 |
+
<?php endforeach; ?>
|
256 |
+
</small>
|
257 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
258 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
259 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
260 |
+
<?php endforeach; ?>
|
261 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
262 |
+
<small>
|
263 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
264 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
265 |
+
<?php endforeach; ?>
|
266 |
+
</small>
|
267 |
+
<?php endif; ?>
|
268 |
+
</span>
|
269 |
+
|
270 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
271 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
272 |
+
<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>
|
273 |
+
</span>
|
274 |
+
<?php endif; ?>
|
275 |
+
<?php endif; ?>
|
276 |
+
</span>
|
277 |
+
<br />
|
278 |
+
<?php endif; ?>
|
279 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
280 |
+
<span class="price-incl-tax">
|
281 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
282 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
283 |
+
<span class="cart-price">
|
284 |
+
<?php endif; ?>
|
285 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
286 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
287 |
+
</span>
|
288 |
+
<?php endif; ?>
|
289 |
+
<?php endif; ?>
|
290 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
291 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
292 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
293 |
+
<?php else: ?>
|
294 |
+
<span class="cart-price">
|
295 |
+
<?php endif; ?>
|
296 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
297 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
298 |
+
<?php else: ?>
|
299 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
300 |
+
<?php endif; ?>
|
301 |
+
|
302 |
+
</span>
|
303 |
+
|
304 |
+
|
305 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
306 |
+
|
307 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
308 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
309 |
+
<small>
|
310 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
311 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
312 |
+
<?php endforeach; ?>
|
313 |
+
</small>
|
314 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
315 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
316 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
317 |
+
<?php endforeach; ?>
|
318 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
319 |
+
<small>
|
320 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
321 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
322 |
+
<?php endforeach; ?>
|
323 |
+
</small>
|
324 |
+
<?php endif; ?>
|
325 |
+
</span>
|
326 |
+
|
327 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
328 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
329 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total Incl. Tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
330 |
+
</span>
|
331 |
+
<?php endif; ?>
|
332 |
+
<?php endif; ?>
|
333 |
+
|
334 |
+
|
335 |
+
|
336 |
+
</span>
|
337 |
+
<?php endif; ?>
|
338 |
+
</td>
|
339 |
+
<!--
|
340 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
341 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
|
342 |
+
<?php endif; ?>
|
343 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
344 |
+
<th class="a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
|
345 |
+
<?php endif; ?>
|
346 |
+
-->
|
347 |
+
</tr>
|
348 |
+
<?php endif; ?>
|
349 |
+
|
350 |
+
<?php endforeach; ?>
|
351 |
+
|
352 |
+
<?php if ($_showlastRow): ?>
|
353 |
+
<tr class="border">
|
354 |
+
<td>
|
355 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
356 |
+
<dl class="item-options">
|
357 |
+
<?php foreach ($_options as $_option) : ?>
|
358 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
359 |
+
<?php if (!$this->getPrintStatus()): ?>
|
360 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
361 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
362 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
363 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
364 |
+
<div class="truncated_full_value">
|
365 |
+
<dl class="item-options">
|
366 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
367 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
368 |
+
</dl>
|
369 |
+
</div>
|
370 |
+
<?php endif; ?>
|
371 |
+
</dd>
|
372 |
+
<?php else: ?>
|
373 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
374 |
+
<?php endif; ?>
|
375 |
+
<?php endforeach; ?>
|
376 |
+
</dl>
|
377 |
+
<?php endif; ?>
|
378 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
379 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
380 |
+
<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>
|
381 |
+
<?php endif; ?>
|
382 |
+
</td>
|
383 |
+
<td> </td>
|
384 |
+
</tr>
|
385 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/catalog/category/view.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Category 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 |
+
$_categoryTitle = '<div class="category-title page-title"><h1>'.$_helper->categoryAttribute($_category, $_category->getName(), 'name').'</h1></div>';
|
38 |
+
$_imgUrl = $_category->getImageUrl();
|
39 |
+
$_imgHtml = '';
|
40 |
+
if ($_imgUrl) {
|
41 |
+
$_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->escapeHtml($_category->getName()).'" title="'.$this->escapeHtml($_category->getName()).'" /></p>';
|
42 |
+
$_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
|
43 |
+
}
|
44 |
+
?>
|
45 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
46 |
+
<div class="category-view">
|
47 |
+
<?php if($_imgUrl): ?>
|
48 |
+
<?php echo $_imgHtml ?>
|
49 |
+
<?php endif; ?>
|
50 |
+
|
51 |
+
<?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
|
52 |
+
<div class="category-description std">
|
53 |
+
<?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
|
54 |
+
</div>
|
55 |
+
<?php endif; ?>
|
56 |
+
|
57 |
+
<?php if($this->isContentMode()): ?>
|
58 |
+
<?php echo $_categoryTitle ?>
|
59 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
60 |
+
|
61 |
+
<?php elseif($this->isMixedMode()): ?>
|
62 |
+
<?php echo $this->getCmsBlockHtml() ?>
|
63 |
+
<?php echo $_categoryTitle ?>
|
64 |
+
<?php echo $this->getProductListHtml() ?>
|
65 |
+
|
66 |
+
<?php else: ?>
|
67 |
+
<?php echo $_categoryTitle ?>
|
68 |
+
<?php echo $this->getProductListHtml() ?>
|
69 |
+
<?php endif; ?>
|
70 |
+
</div>
|
app/design/frontend/default/iphone/template/catalog/layer/view.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Category layered navigation
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Layer_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->canShowBlock()): ?>
|
35 |
+
<div class="filters-block">
|
36 |
+
<?php echo $this->getStateHtml() ?>
|
37 |
+
<?php if ($this->getLayer()->getState()->getFilters()): ?>
|
38 |
+
<div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
|
39 |
+
<?php endif; ?>
|
40 |
+
<div class="block-content">
|
41 |
+
<?php if($this->canShowOptions()): ?>
|
42 |
+
<h3><?php echo $this->__('Shop By') ?></h3>
|
43 |
+
<?php $_filters = $this->getFilters() ?>
|
44 |
+
<?php foreach ($_filters as $_filter): ?>
|
45 |
+
<?php if($_filter->getItemsCount()): ?>
|
46 |
+
<dl>
|
47 |
+
<dt><?php echo $this->__($_filter->getName()) ?></dt>
|
48 |
+
<dd><?php echo $_filter->getHtml() ?></dd>
|
49 |
+
</dl>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
</div>
|
54 |
+
</div>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/{page/one-column.phtml → catalog/navigation/top.phtml}
RENAMED
@@ -20,26 +20,32 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<?php
|
28 |
/**
|
29 |
-
*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
*/
|
31 |
?>
|
32 |
-
|
33 |
-
|
34 |
-
<
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
<?php echo $this->getChildHtml('content') ?>
|
41 |
-
<?php echo $this->getChildHtml('before_body_end') ?>
|
42 |
</div>
|
43 |
-
<?php
|
44 |
-
</body>
|
45 |
-
</html>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<?php
|
28 |
/**
|
29 |
+
* Top menu for store
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Navigation
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
/**
|
36 |
+
* $this->renderCategoriesMenuHtml() supports optional arguments:
|
37 |
+
* int Level number for list item class to start from
|
38 |
+
* string Extra class of outermost list items
|
39 |
+
* string If specified wraps children list in div with this class
|
40 |
*/
|
41 |
?>
|
42 |
+
<?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
|
43 |
+
<?php if($_menu): ?>
|
44 |
+
<div class="nav-wrap">
|
45 |
+
<div id="nav-container">
|
46 |
+
<ul id="nav">
|
47 |
+
<?php echo $_menu ?>
|
48 |
+
</ul>
|
49 |
+
</div>
|
|
|
|
|
50 |
</div>
|
51 |
+
<?php endif ?>
|
|
|
|
app/design/frontend/default/iphone/template/catalog/product/gallery.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $__helper = $this->helper('catalog/output'); ?>
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<div class="product-gallery" id="product-gallery">
|
30 |
+
<ul>
|
31 |
+
<li>
|
32 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'image')->resize(300) ?>" height="300" alt="<?php echo $this->escapeHtml($this->getImageLabel()) ?>" title="<?php echo $this->escapeHtml($this->getImageLabel()) ?>" />
|
33 |
+
</li>
|
34 |
+
<?php foreach ($this->getProduct()->getMediaGalleryImages() as $_image): ?>
|
35 |
+
<li>
|
36 |
+
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(300); ?>" height="300" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" />
|
37 |
+
</li>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</ul>
|
40 |
+
</div>
|
41 |
+
<div class="buttons-set">
|
42 |
+
<a href="<?php echo $this->helper('checkout/cart')->getAddUrl($_product) ?>">Add to Cart</a>
|
43 |
+
</div>
|
44 |
+
<script type="text/javascript">
|
45 |
+
document.observe("dom:loaded", function() {
|
46 |
+
var gallery = new zoomGallery($('product-gallery'));
|
47 |
+
});
|
48 |
+
</script>
|
app/design/frontend/default/iphone/template/catalog/product/list.phtml
ADDED
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php
|
35 |
+
$_productCollection=$this->getLoadedProductCollection();
|
36 |
+
$_helper = $this->helper('catalog/output');
|
37 |
+
?>
|
38 |
+
<?php if(!$_productCollection->count()): ?>
|
39 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
40 |
+
<?php else: ?>
|
41 |
+
<?php echo $this->getToolbarHtml() ?>
|
42 |
+
<div class="category-products">
|
43 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
44 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
45 |
+
<ul class="c-list">
|
46 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
47 |
+
<li>
|
48 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>">
|
49 |
+
<div class="wrap">
|
50 |
+
<div class="product-image">
|
51 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(130); ?>" width="65" height="65" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
52 |
+
</div>
|
53 |
+
<div class="product-shop">
|
54 |
+
<header>
|
55 |
+
<h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
|
56 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
57 |
+
</header>
|
58 |
+
</div>
|
59 |
+
</div>
|
60 |
+
</a>
|
61 |
+
<div class="actions" style="display:none;">
|
62 |
+
<ul>
|
63 |
+
<li><a href="<?php echo $_product->getProductUrl() ?>" class="i-view-details"><i></i><?php echo $this->__('View Details') ?></a></li>
|
64 |
+
<li><a href="<?php echo $this->getUrl('catalog/product/gallery', array('id'=>$_product->getId())) ?>" class="i-view-gallery"><i></i><?php echo $this->__('View Gallery') ?></a></li>
|
65 |
+
<li><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>" class="i-send-friend"><i></i><?php echo $this->__('Tell a Friend') ?></a></li>
|
66 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
67 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="i-send-wishlist"><i></i><?php echo $this->__('Add to Wishlist') ?></a></li>
|
68 |
+
<?php endif; ?>
|
69 |
+
<li><a href="<?php echo $this->getAddToCartUrl($_product) ?>" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>'); return false;" class="i-add-to-cart"><i></i><?php echo $this->__('Add to Cart') ?></a></li>
|
70 |
+
</ul>
|
71 |
+
</div>
|
72 |
+
</li>
|
73 |
+
<?php endforeach ?>
|
74 |
+
</ul>
|
75 |
+
</div>
|
76 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/catalog/product/list/toolbar.phtml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -34,27 +34,36 @@
|
|
34 |
<?php if($this->getCollection()->getSize()): ?>
|
35 |
<div class="toolbar">
|
36 |
<div class="pager">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
<?php echo $this->getPagerHtml() ?>
|
|
|
38 |
</div>
|
39 |
|
40 |
<?php if( $this->isExpanded() ): ?>
|
41 |
<div class="sorter">
|
42 |
<div class="sort-by">
|
43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
45 |
-
<?php if($this->isOrderCurrent($_key)): ?>
|
46 |
-
|
47 |
-
|
48 |
-
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
49 |
-
<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>
|
50 |
-
<?php else: ?>
|
51 |
-
<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>
|
52 |
-
<?php endif; ?>
|
53 |
-
</span>
|
54 |
-
<?php else: ?>
|
55 |
-
<a href="<?php echo $this->getOrderUrl($_key, 'asc') ?>" title="<?php echo $_order ?>"><?php echo $_order ?></a>
|
56 |
-
<?php endif; ?>
|
57 |
<?php endforeach; ?>
|
|
|
|
|
58 |
</div>
|
59 |
</div>
|
60 |
<?php endif; ?>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
34 |
<?php if($this->getCollection()->getSize()): ?>
|
35 |
<div class="toolbar">
|
36 |
<div class="pager">
|
37 |
+
<p class="amount" style="display:none;">
|
38 |
+
<?php if($this->getLastPageNum()>1): ?>
|
39 |
+
<?php echo $this->__('%s-%s/%s', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
40 |
+
<?php else: ?>
|
41 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
42 |
+
<?php endif; ?>
|
43 |
+
</p>
|
44 |
+
|
45 |
<?php echo $this->getPagerHtml() ?>
|
46 |
+
|
47 |
</div>
|
48 |
|
49 |
<?php if( $this->isExpanded() ): ?>
|
50 |
<div class="sorter">
|
51 |
<div class="sort-by">
|
52 |
+
<?php if($this->getCurrentDirection() == 'desc'): ?>
|
53 |
+
<a class="order asc" href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo $this->__('Set Ascending Direction') ?>"> </a>
|
54 |
+
<?php else: ?>
|
55 |
+
<a class="order desc" href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo $this->__('Set Descending Direction') ?>"> </a>
|
56 |
+
<?php endif; ?>
|
57 |
+
<label for="sort_by"><?php echo $this->__('Sort') ?></label>
|
58 |
+
<span class="sort-by-wrap">
|
59 |
+
<select id="sort_by" onchange="setLocation(this.value)">
|
60 |
<?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
|
61 |
+
<option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
|
62 |
+
<?php echo $this->__($_order) ?>
|
63 |
+
</option>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
<?php endforeach; ?>
|
65 |
+
</select>
|
66 |
+
</span>
|
67 |
</div>
|
68 |
</div>
|
69 |
<?php endif; ?>
|
app/design/frontend/default/iphone/template/catalog/product/list/upsell.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if(count($this->getItemCollection()->getItems())): ?>
|
28 |
+
<div class="box-collateral box-up-sell">
|
29 |
+
<div class="box-title">
|
30 |
+
<h2><?php echo $this->__('You May Also Like') ?></h2>
|
31 |
+
</div>
|
32 |
+
<ul class="products-grid" id="upsell-product-list"><!-
|
33 |
+
<?php $this->resetItemsIterator() ?>
|
34 |
+
<?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
|
35 |
+
<?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
|
36 |
+
<?php if($_link=$this->getIterableItem()): ?>
|
37 |
+
-><li class="item">
|
38 |
+
<a href="<?php echo $_link->getProductUrl() ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(135) ?>" width="135" height="135" alt="<?php echo $this->escapeHtml($_link->getName()) ?>" title="<?php echo $this->escapeHtml($_link->getName()) ?>" /></a>
|
39 |
+
<h3 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>"><?php echo $this->escapeHtml($_link->getName()) ?></a></h3>
|
40 |
+
<?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
|
41 |
+
</li><!-
|
42 |
+
<?php endif; ?>
|
43 |
+
<?php endfor; ?>
|
44 |
+
<?php endfor; ?>
|
45 |
+
-></ul>
|
46 |
+
</div>
|
47 |
+
<?php endif ?>
|
app/design/frontend/default/iphone/template/catalog/product/price.phtml
ADDED
@@ -0,0 +1,428 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price in different places (products grid, product view page etc)
|
31 |
+
*
|
32 |
+
* @see Mage_Catalog_Block_Product_Abstract
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_coreHelper = $this->helper('core');
|
37 |
+
$_weeeHelper = $this->helper('weee');
|
38 |
+
$_taxHelper = $this->helper('tax');
|
39 |
+
/* @var $_coreHelper Mage_Core_Helper_Data */
|
40 |
+
/* @var $_weeeHelper Mage_Weee_Helper_Data */
|
41 |
+
/* @var $_taxHelper Mage_Tax_Helper_Data */
|
42 |
+
|
43 |
+
$_product = $this->getProduct();
|
44 |
+
$_storeId = $_product->getStoreId();
|
45 |
+
$_id = $_product->getId();
|
46 |
+
$_weeeSeparator = '';
|
47 |
+
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
48 |
+
$_minimalPriceValue = $_product->getMinimalPrice();
|
49 |
+
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
50 |
+
?>
|
51 |
+
|
52 |
+
<?php if (!$_product->isGrouped()): ?>
|
53 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
54 |
+
<?php if ($_weeeHelper->typeOfDisplay($_product, array(Mage_Weee_Model_Tax::DISPLAY_INCL_DESCR, Mage_Weee_Model_Tax::DISPLAY_EXCL_DESCR_INCL, 4))): ?>
|
55 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmount($_product); ?>
|
56 |
+
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForDisplay($_product); ?>
|
57 |
+
<?php endif; ?>
|
58 |
+
<?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
|
59 |
+
<?php if ($_weeeHelper->isTaxable() && !$_taxHelper->priceIncludesTax($_storeId)): ?>
|
60 |
+
<?php $_attributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
|
61 |
+
<?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_attributes); ?>
|
62 |
+
<?php endif; ?>
|
63 |
+
|
64 |
+
<div class="price-box">
|
65 |
+
<?php $_price = $_taxHelper->getPrice($_product, $_product->getPrice()) ?>
|
66 |
+
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_product->getPrice(), $_simplePricesTax) ?>
|
67 |
+
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_product->getFinalPrice()) ?>
|
68 |
+
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_product->getFinalPrice(), true) ?>
|
69 |
+
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
70 |
+
<?php if ($_finalPrice >= $_price): ?>
|
71 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
72 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
73 |
+
<span class="price-excluding-tax">
|
74 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
75 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
76 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
|
77 |
+
</span>
|
78 |
+
</span>
|
79 |
+
<span class="price-including-tax">
|
80 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
81 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
82 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
83 |
+
</span>
|
84 |
+
</span>
|
85 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
86 |
+
<span class="price-excluding-tax">
|
87 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
88 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
89 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
|
90 |
+
</span>
|
91 |
+
</span>
|
92 |
+
<span class="price-including-tax">
|
93 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
94 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
95 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
96 |
+
</span>
|
97 |
+
<span class="weee">(
|
98 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
99 |
+
<?php echo $_weeeSeparator; ?>
|
100 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
101 |
+
<?php $_weeeSeparator = ' + '; ?>
|
102 |
+
<?php endforeach; ?>
|
103 |
+
)</span>
|
104 |
+
</span>
|
105 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
106 |
+
<span class="price-excluding-tax">
|
107 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
108 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
109 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, false) ?>
|
110 |
+
</span>
|
111 |
+
</span>
|
112 |
+
<span class="price-including-tax">
|
113 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
114 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
115 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
116 |
+
</span>
|
117 |
+
<span class="weee">(
|
118 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
119 |
+
<?php echo $_weeeSeparator; ?>
|
120 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
121 |
+
<?php $_weeeSeparator = ' + '; ?>
|
122 |
+
<?php endforeach; ?>
|
123 |
+
)</span>
|
124 |
+
</span>
|
125 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
126 |
+
<span class="price-excluding-tax">
|
127 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
128 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
129 |
+
<?php echo $_coreHelper->currency($_price, true, false) ?>
|
130 |
+
</span>
|
131 |
+
</span>
|
132 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
133 |
+
<span class="weee">
|
134 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
135 |
+
</span>
|
136 |
+
<?php endforeach; ?>
|
137 |
+
<span class="price-including-tax">
|
138 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
139 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
140 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
141 |
+
</span>
|
142 |
+
</span>
|
143 |
+
<?php else: ?>
|
144 |
+
<span class="price-excluding-tax">
|
145 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
146 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
147 |
+
<?php if ($_finalPrice == $_price): ?>
|
148 |
+
<?php echo $_coreHelper->currency($_price, true, false) ?>
|
149 |
+
<?php else: ?>
|
150 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
151 |
+
<?php endif; ?>
|
152 |
+
</span>
|
153 |
+
</span>
|
154 |
+
<span class="price-including-tax">
|
155 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
156 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
157 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax, true, false) ?>
|
158 |
+
</span>
|
159 |
+
</span>
|
160 |
+
<?php endif; ?>
|
161 |
+
<?php else: ?>
|
162 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
163 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
164 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
165 |
+
</span>
|
166 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
167 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
168 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
169 |
+
</span>
|
170 |
+
<span class="weee">(
|
171 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
172 |
+
<?php echo $_weeeSeparator; ?>
|
173 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
174 |
+
<?php $_weeeSeparator = ' + '; ?>
|
175 |
+
<?php endforeach; ?>
|
176 |
+
)</span>
|
177 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
178 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
179 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
180 |
+
</span>
|
181 |
+
<span class="weee">(
|
182 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
183 |
+
<?php echo $_weeeSeparator; ?>
|
184 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
185 |
+
<?php $_weeeSeparator = ' + '; ?>
|
186 |
+
<?php endforeach; ?>
|
187 |
+
)</span>
|
188 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
189 |
+
<span class="regular-price"><?php echo $_coreHelper->currency($_price,true,true) ?></span><br />
|
190 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
191 |
+
<span class="weee">
|
192 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
193 |
+
</span>
|
194 |
+
<?php endforeach; ?>
|
195 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
196 |
+
<?php echo $_coreHelper->currency($_price + $_weeeTaxAmount, true, true) ?>
|
197 |
+
</span>
|
198 |
+
<?php else: ?>
|
199 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
200 |
+
<?php if ($_finalPrice == $_price): ?>
|
201 |
+
<?php echo $_coreHelper->currency($_price, true, true) ?>
|
202 |
+
<?php else: ?>
|
203 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, true) ?>
|
204 |
+
<?php endif; ?>
|
205 |
+
</span>
|
206 |
+
<?php endif; ?>
|
207 |
+
<?php endif; ?>
|
208 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
209 |
+
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
210 |
+
|
211 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
212 |
+
<p class="old-price">
|
213 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
214 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
215 |
+
<?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
|
216 |
+
</span>
|
217 |
+
</p>
|
218 |
+
|
219 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
220 |
+
<p class="special-price">
|
221 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
222 |
+
<span class="price-excluding-tax">
|
223 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
224 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
225 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
|
226 |
+
</span>
|
227 |
+
</span>
|
228 |
+
<span class="price-including-tax">
|
229 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
230 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
231 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
232 |
+
</span>
|
233 |
+
</span>
|
234 |
+
</p>
|
235 |
+
<?php else: ?>
|
236 |
+
<p class="special-price">
|
237 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
238 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
239 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmountInclTaxes, true, false) ?>
|
240 |
+
</span>
|
241 |
+
</p>
|
242 |
+
<?php endif; ?>
|
243 |
+
|
244 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
245 |
+
<p class="old-price">
|
246 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
247 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
248 |
+
<?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
|
249 |
+
</span>
|
250 |
+
</p>
|
251 |
+
|
252 |
+
<p class="special-price">
|
253 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
254 |
+
<span class="price-excluding-tax">
|
255 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
256 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
257 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
|
258 |
+
</span>
|
259 |
+
</span>
|
260 |
+
<span class="weee">(
|
261 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
262 |
+
<?php echo $_weeeSeparator; ?>
|
263 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
264 |
+
<?php $_weeeSeparator = ' + '; ?>
|
265 |
+
<?php endforeach; ?>
|
266 |
+
)</span>
|
267 |
+
<span class="price-including-tax">
|
268 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
269 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
270 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
271 |
+
</span>
|
272 |
+
</span>
|
273 |
+
</p>
|
274 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
275 |
+
<p class="old-price">
|
276 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
277 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
278 |
+
<?php echo $_coreHelper->currency($_regularPrice + $_originalWeeeTaxAmount, true, false) ?>
|
279 |
+
</span>
|
280 |
+
</p>
|
281 |
+
|
282 |
+
<p class="special-price">
|
283 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
284 |
+
<span class="price-excluding-tax">
|
285 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
286 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
287 |
+
<?php echo $_coreHelper->currency($_finalPrice + $_weeeTaxAmount, true, false) ?>
|
288 |
+
</span>
|
289 |
+
</span>
|
290 |
+
<span class="weee">(
|
291 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
292 |
+
<?php echo $_weeeSeparator; ?>
|
293 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
294 |
+
<?php $_weeeSeparator = ' + '; ?>
|
295 |
+
<?php endforeach; ?>
|
296 |
+
)</span>
|
297 |
+
<span class="price-including-tax">
|
298 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
299 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
300 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
301 |
+
</span>
|
302 |
+
</span>
|
303 |
+
</p>
|
304 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
305 |
+
<p class="old-price">
|
306 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
307 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
308 |
+
<?php echo $_coreHelper->currency($_regularPrice, true, false) ?>
|
309 |
+
</span>
|
310 |
+
</p>
|
311 |
+
|
312 |
+
<p class="special-price">
|
313 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
314 |
+
<span class="price-excluding-tax">
|
315 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
316 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
317 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
318 |
+
</span>
|
319 |
+
</span>
|
320 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
321 |
+
<span class="weee">
|
322 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
323 |
+
</span>
|
324 |
+
<?php endforeach; ?>
|
325 |
+
<span class="price-including-tax">
|
326 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
327 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
328 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, true, false) ?>
|
329 |
+
</span>
|
330 |
+
</span>
|
331 |
+
</p>
|
332 |
+
<?php else: // excl. ?>
|
333 |
+
<p class="old-price">
|
334 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
335 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
336 |
+
<?php echo $_coreHelper->currency($_regularPrice, true, false) ?>
|
337 |
+
</span>
|
338 |
+
</p>
|
339 |
+
|
340 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
341 |
+
<p class="special-price">
|
342 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
343 |
+
<span class="price-excluding-tax">
|
344 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
345 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
346 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
347 |
+
</span>
|
348 |
+
</span>
|
349 |
+
<span class="price-including-tax">
|
350 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
351 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
352 |
+
<?php echo $_coreHelper->currency($_finalPriceInclTax, true, false) ?>
|
353 |
+
</span>
|
354 |
+
</span>
|
355 |
+
</p>
|
356 |
+
<?php else: ?>
|
357 |
+
<p class="special-price">
|
358 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
359 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
360 |
+
<?php echo $_coreHelper->currency($_finalPrice, true, false) ?>
|
361 |
+
</span>
|
362 |
+
</p>
|
363 |
+
<?php endif; ?>
|
364 |
+
<?php endif; ?>
|
365 |
+
|
366 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
367 |
+
|
368 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
|
369 |
+
|
370 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
371 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
372 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
|
373 |
+
<?php endif; ?>
|
374 |
+
|
375 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
376 |
+
<span class="minimal-price-link">
|
377 |
+
<?php else:?>
|
378 |
+
<span class="minimal-price-link">
|
379 |
+
<?php endif?>
|
380 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
381 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
382 |
+
<?php echo $_coreHelper->currency($_minimalPriceDisplayValue, true, false) ?>
|
383 |
+
</span>
|
384 |
+
<?php if ($this->getUseLinkForAsLowAs()):?>
|
385 |
+
</span>
|
386 |
+
<?php else:?>
|
387 |
+
</span>
|
388 |
+
<?php endif?>
|
389 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
390 |
+
</div>
|
391 |
+
|
392 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
393 |
+
<?php
|
394 |
+
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
|
395 |
+
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
|
396 |
+
?>
|
397 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
|
398 |
+
<div class="price-box">
|
399 |
+
<p class="minimal-price">
|
400 |
+
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
401 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
402 |
+
<span class="price-excluding-tax">
|
403 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
404 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
405 |
+
<?php echo $_coreHelper->currency($_exclTax, true, false) ?>
|
406 |
+
</span>
|
407 |
+
</span>
|
408 |
+
<span class="price-including-tax">
|
409 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
410 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
411 |
+
<?php echo $_coreHelper->currency($_inclTax, true, false) ?>
|
412 |
+
</span>
|
413 |
+
</span>
|
414 |
+
<?php else: ?>
|
415 |
+
<?php
|
416 |
+
$_showPrice = $_inclTax;
|
417 |
+
if (!$_taxHelper->displayPriceIncludingTax()) {
|
418 |
+
$_showPrice = $_exclTax;
|
419 |
+
}
|
420 |
+
?>
|
421 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
422 |
+
<?php echo $_coreHelper->currency($_showPrice, true, false) ?>
|
423 |
+
</span>
|
424 |
+
<?php endif; ?>
|
425 |
+
</p>
|
426 |
+
</div>
|
427 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
428 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
app/design/frontend/default/iphone/template/catalog/product/price_msrp.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price at catalog and sidebars
|
31 |
+
*
|
32 |
+
* @var $this Mage_Catalog_Block_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
/** @var $_product Mage_Catalog_Model_Product */
|
37 |
+
$_product = $this->getProduct();
|
38 |
+
$_msrpPrice = "";
|
39 |
+
?>
|
40 |
+
<div class="price-box map-info">
|
41 |
+
<?php $_price = $this->helper('tax')->getPrice($_product, $_product->getMsrp()) ?>
|
42 |
+
<?php if ($_product->getMsrp()): ?>
|
43 |
+
<?php $_msrpPrice = $this->helper('core')->currency($_product->getMsrp(),true,true) ?>
|
44 |
+
<span class="old-price" id="product-price-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo $_msrpPrice ?></span>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php echo $this->__('Click for price') ?>
|
47 |
+
</div>
|
app/design/frontend/default/iphone/template/catalog/product/price_msrp_noform.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price at catalog and sidebars
|
31 |
+
*
|
32 |
+
* @var $this Mage_Catalog_Block_Product_Price
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
/** @var $_product Mage_Catalog_Model_Product */
|
37 |
+
$_product = $this->getProduct();
|
38 |
+
$_msrpPrice = "";
|
39 |
+
?>
|
40 |
+
<div class="price-box map-info">
|
41 |
+
<?php $_price = $this->helper('tax')->getPrice($_product, $_product->getMsrp()) ?>
|
42 |
+
<?php if ($_product->getMsrp()): ?>
|
43 |
+
<?php $_msrpPrice = $this->helper('core')->currency($_product->getMsrp(),true,true) ?>
|
44 |
+
<span class="old-price" id="product-price-<?php echo $_product->getId() ?><?php echo $this->getIdSuffix() ?>"><?php echo $_msrpPrice ?></span>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php echo $this->__('Click for price') ?>
|
47 |
+
</div>
|
app/design/frontend/default/iphone/template/catalog/product/view.phtml
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product view template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View
|
31 |
+
* @see Mage_Review_Block_Product_View
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_helper = $this->helper('catalog/output'); ?>
|
35 |
+
<?php $_product = $this->getProduct(); ?>
|
36 |
+
<script type="text/javascript">
|
37 |
+
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
38 |
+
</script>
|
39 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
|
40 |
+
<div class="product-view">
|
41 |
+
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
42 |
+
<div class="no-display">
|
43 |
+
<input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
|
44 |
+
<input type="hidden" name="related_product" id="related-products-field" value="" />
|
45 |
+
</div>
|
46 |
+
<div class="product-essential">
|
47 |
+
|
48 |
+
<div class="product-img-box">
|
49 |
+
<?php echo $this->getChildHtml('media') ?>
|
50 |
+
</div>
|
51 |
+
|
52 |
+
<div class="product-shop">
|
53 |
+
<div class="product-main-info">
|
54 |
+
<div class="product-name">
|
55 |
+
<h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
|
56 |
+
</div>
|
57 |
+
<?php echo $this->getChildHtml('alert_urls') ?>
|
58 |
+
<?php echo $this->getChildHtml('product_type_data') ?>
|
59 |
+
</div>
|
60 |
+
<?php echo $this->getTierPriceHtml() ?>
|
61 |
+
<?php echo $this->getChildHtml('extrahint') ?>
|
62 |
+
|
63 |
+
<?php if (!$this->hasOptions()):?>
|
64 |
+
<div class="add-to-box">
|
65 |
+
<?php if($_product->isSaleable()): ?>
|
66 |
+
<?php echo $this->getChildHtml('addtocart') ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
</div>
|
69 |
+
<?php echo $this->getChildHtml('extra_buttons') ?>
|
70 |
+
<?php else:?>
|
71 |
+
<?php if ($_product->isSaleable() && $this->hasOptions() && $this->getChildChildHtml('container1') ):?>
|
72 |
+
<div class="options-container-small">
|
73 |
+
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
|
74 |
+
</div>
|
75 |
+
<?php endif;?>
|
76 |
+
<?php endif; ?>
|
77 |
+
|
78 |
+
<?php echo $this->getChildHtml('other');?>
|
79 |
+
</div>
|
80 |
+
|
81 |
+
</div>
|
82 |
+
|
83 |
+
<div class="product-collateral">
|
84 |
+
|
85 |
+
<?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
|
86 |
+
<div class="box-collateral <?php echo "box-{$alias}"?>">
|
87 |
+
<?php if ($title = $this->getChildData($alias, 'title')):?>
|
88 |
+
<h2><?php echo $this->escapeHtml($title); ?></h2>
|
89 |
+
<?php endif;?>
|
90 |
+
<?php echo $html; ?>
|
91 |
+
</div>
|
92 |
+
<?php if ($alias == 'description'): ?>
|
93 |
+
<div class="product-add-to"><?php echo $this->getChildHtml('addto') ?></div>
|
94 |
+
<?php endif; ?>
|
95 |
+
<?php endforeach;?>
|
96 |
+
|
97 |
+
</div>
|
98 |
+
|
99 |
+
<div class="product-review"><?php echo $this->getReviewsSummaryHtml($_product, false, true)?></div>
|
100 |
+
|
101 |
+
<?php if ($_product->isSaleable() && $this->hasOptions() && $this->getChildChildHtml('container2') ):?>
|
102 |
+
<div class="options-container-big">
|
103 |
+
<?php echo $this->getChildChildHtml('container2', '', true, true) ?>
|
104 |
+
</div>
|
105 |
+
<?php endif;?>
|
106 |
+
</form>
|
107 |
+
<?php echo $this->getChildHtml('upsell_products') ?>
|
108 |
+
<?php echo $this->getChildHtml('productTagList') ?>
|
109 |
+
<?php echo $this->getChildHtml('product_additional_data') ?>
|
110 |
+
</div>
|
111 |
+
|
112 |
+
<script type="text/javascript">
|
113 |
+
//<![CDATA[
|
114 |
+
var productAddToCartForm = new VarienForm('product_addtocart_form');
|
115 |
+
productAddToCartForm.submit = function(button, url) {
|
116 |
+
if (this.validator.validate()) {
|
117 |
+
var form = this.form;
|
118 |
+
var oldUrl = form.action;
|
119 |
+
|
120 |
+
if (url) {
|
121 |
+
form.action = url;
|
122 |
+
}
|
123 |
+
var e = null;
|
124 |
+
try {
|
125 |
+
var transformValue = {};
|
126 |
+
|
127 |
+
if ( Modernizr.csstransforms3d ) {
|
128 |
+
transformValue[Modernizr.prefixed('transform')] = 'translate3d(-82px, -106px, 2px) scale(0) rotate(200deg)';
|
129 |
+
} else if ( Modernizr.csstransforms ) {
|
130 |
+
transformValue[Modernizr.prefixed('transform')] = 'translate(-82px, -106px) scale(0) rotate(200deg)';
|
131 |
+
} else {
|
132 |
+
this.form.submit();
|
133 |
+
return false;
|
134 |
+
}
|
135 |
+
|
136 |
+
var originalImg = $$('.product-image-wrap .product-image img')[0];
|
137 |
+
originalImg.up('.product-image-wrap').insert(originalImg.clone().addClassName('cloned'));
|
138 |
+
|
139 |
+
setTimeout(function () {
|
140 |
+
$$('.cloned')[0].setStyle(transformValue);
|
141 |
+
}, 1);
|
142 |
+
$$('.product-image-wrap .cloned')[0].observe(transEndEventName, function(e) {
|
143 |
+
this.form.submit();
|
144 |
+
}.bind(this));
|
145 |
+
|
146 |
+
} catch (e) {
|
147 |
+
}
|
148 |
+
this.form.action = oldUrl;
|
149 |
+
if (e) {
|
150 |
+
throw e;
|
151 |
+
}
|
152 |
+
|
153 |
+
if (button && button != 'undefined') {
|
154 |
+
button.disabled = true;
|
155 |
+
}
|
156 |
+
}
|
157 |
+
}.bind(productAddToCartForm);
|
158 |
+
|
159 |
+
productAddToCartForm.submitLight = function(button, url){
|
160 |
+
if(this.validator) {
|
161 |
+
var nv = Validation.methods;
|
162 |
+
delete Validation.methods['required-entry'];
|
163 |
+
delete Validation.methods['validate-one-required'];
|
164 |
+
delete Validation.methods['validate-one-required-by-name'];
|
165 |
+
if (this.validator.validate()) {
|
166 |
+
if (url) {
|
167 |
+
this.form.action = url;
|
168 |
+
}
|
169 |
+
this.form.submit();
|
170 |
+
}
|
171 |
+
Object.extend(Validation.methods, nv);
|
172 |
+
}
|
173 |
+
}.bind(productAddToCartForm);
|
174 |
+
//]]>
|
175 |
+
</script>
|
app/design/frontend/default/iphone/template/catalog/product/view/addto.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_product = $this->getProduct(); ?>
|
29 |
+
<?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
|
30 |
+
|
31 |
+
<ul class="add-to-links">
|
32 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
33 |
+
<li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
34 |
+
<?php endif; ?>
|
35 |
+
<?php if ($this->canEmailToFriend()): ?>
|
36 |
+
<li><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to Friend') ?></a></li>
|
37 |
+
<?php endif; ?>
|
38 |
+
</ul>
|
app/design/frontend/default/iphone/template/catalog/product/view/media.phtml
ADDED
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* Product media data template
|
29 |
+
*
|
30 |
+
* @see Mage_Catalog_Block_Product_View_Media
|
31 |
+
*/
|
32 |
+
?>
|
33 |
+
<?php
|
34 |
+
$_product = $this->getProduct();
|
35 |
+
$_helper = $this->helper('catalog/output');
|
36 |
+
?>
|
37 |
+
<div class="product-image-wrap">
|
38 |
+
<div class="product-image">
|
39 |
+
<ul><!--
|
40 |
+
--><li>
|
41 |
+
<?php
|
42 |
+
$_img = '<a href="'.$this->getGalleryUrl().'"><img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(290).'" width="145" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" /></a>';
|
43 |
+
echo $_helper->productAttribute($_product, $_img, 'image');
|
44 |
+
?>
|
45 |
+
</li><!--
|
46 |
+
<?php if (count($this->getGalleryImages()) > 0): ?>
|
47 |
+
<?php foreach ($this->getGalleryImages() as $_image): ?>
|
48 |
+
--><li><a href="<?php echo $this->getGalleryUrl($_image) ?>" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(290); ?>" width="145" height="145" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" /></a></li><!--
|
49 |
+
<?php endforeach; ?>
|
50 |
+
<?php endif; ?>
|
51 |
+
--></ul>
|
52 |
+
</div>
|
53 |
+
</div>
|
skin/frontend/default/iphone/js/search.js → app/design/frontend/default/iphone/template/catalog/product/view/options/wrapper.phtml
RENAMED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
/**
|
2 |
* Magento
|
3 |
*
|
@@ -19,15 +20,10 @@
|
|
19 |
*
|
20 |
* @category design
|
21 |
* @package default_iphone
|
22 |
-
* @copyright Copyright (c)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
$('search').value = '';
|
30 |
-
$('search').focus();
|
31 |
-
}
|
32 |
-
return false;
|
33 |
-
}
|
1 |
+
<?php
|
2 |
/**
|
3 |
* Magento
|
4 |
*
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
+
?>
|
27 |
+
<div class="product-options" id="product-options-wrapper">
|
28 |
+
<?php echo $this->getChildHtml('', true, true);?>
|
29 |
+
</div>
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/iphone/template/catalogsearch/form.mini.phtml
CHANGED
@@ -20,24 +20,20 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
|
|
|
|
|
|
26 |
?>
|
27 |
-
<
|
28 |
-
<
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
<input class="search-go" type="image" src="<?php echo $this->getSkinUrl('images/search-go-but.gif') ?>" alt="<?php echo $this->__('Search') ?>" />
|
38 |
-
<a class="search-close" href="javascript:void(0);" onclick="$('topSearch').hide(); return false;"></a>
|
39 |
-
</div><div class="clear"></div>
|
40 |
-
</form>
|
41 |
-
</div>
|
42 |
-
</div>
|
43 |
-
</div><div class="clear"></div>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
+
/* @var $this Mage_Core_Block_Template */
|
27 |
+
/* @var $catalogSearchHelper Mage_Catalogsearch_Helper_Data */
|
28 |
+
$catalogSearchHelper = $this->helper('catalogsearch');
|
29 |
?>
|
30 |
+
<form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
|
31 |
+
<input type="search" name="<?php echo $this->helper('catalogsearch')->getQueryParamName() ?>" id="search" placeholder="Search" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>"/>
|
32 |
+
<div id="search_autocomplete" class="search-autocomplete"></div>
|
33 |
+
</form>
|
34 |
+
<script type="text/javascript">
|
35 |
+
//<![CDATA[
|
36 |
+
var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search') ?>');
|
37 |
+
searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
|
38 |
+
//]]>
|
39 |
+
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/iphone/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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getResultCount()): ?>
|
28 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
29 |
+
<div class="page-title">
|
30 |
+
<?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
|
31 |
+
<a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
|
32 |
+
<?php endif; ?>
|
33 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
34 |
+
</div>
|
35 |
+
<?php if ($messages = $this->getNoteMessages()):?>
|
36 |
+
<p class="note-msg">
|
37 |
+
<?php foreach ($messages as $message):?>
|
38 |
+
<?php echo $message?><br />
|
39 |
+
<?php endforeach;?>
|
40 |
+
</p>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php echo $this->getProductListHtml() ?>
|
43 |
+
<?php else: ?>
|
44 |
+
<div class="page-title">
|
45 |
+
<h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
|
46 |
+
</div>
|
47 |
+
<p class="note-msg">
|
48 |
+
<?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
|
49 |
+
<?php 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/iphone/template/checkout/cart.phtml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,59 +32,26 @@
|
|
32 |
*/
|
33 |
?>
|
34 |
<div class="cart">
|
35 |
-
<div class="page-title title-buttons">
|
36 |
-
<h1><?php echo $this->__('Shopping Cart') ?></h1>
|
37 |
-
</div>
|
38 |
-
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
<?php echo $this->getChildHtml('form_before') ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
41 |
<fieldset>
|
42 |
<table id="shopping-cart-table" class="data-table cart-table">
|
43 |
-
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
44 |
-
<col width="1" />
|
45 |
-
<?php endif; ?>
|
46 |
-
<col />
|
47 |
-
<col width="1" />
|
48 |
-
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
49 |
-
<col width="1" />
|
50 |
-
<?php endif; ?>
|
51 |
-
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
52 |
-
<col width="1" />
|
53 |
-
<?php endif; ?>
|
54 |
-
<col width="1" />
|
55 |
-
<col width="1" />
|
56 |
-
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
57 |
-
<col width="1" />
|
58 |
-
<?php endif; ?>
|
59 |
-
|
60 |
-
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
61 |
-
<thead>
|
62 |
-
<tr>
|
63 |
-
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Rem') ?></th>
|
64 |
-
<th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
|
65 |
-
<th rowspan="<?php echo $mergedCells; ?>"></th>
|
66 |
-
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
|
67 |
-
<th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
|
68 |
-
<th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
|
69 |
-
</tr>
|
70 |
-
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
71 |
-
<tr>
|
72 |
-
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
73 |
-
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
74 |
-
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
75 |
-
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
76 |
-
</tr>
|
77 |
-
<?php endif; ?>
|
78 |
-
</thead>
|
79 |
<tfoot>
|
80 |
<tr>
|
81 |
-
<td colspan="
|
82 |
-
<?php
|
83 |
-
|
84 |
-
<a href="<?php echo $this->getContinueShoppingUrl() ?>" title="<?php echo $this->__('Continue Shopping') ?>">«<?php echo $this->__('Continue Shopping') ?></a>
|
85 |
-
</div>
|
86 |
-
<?php endif; ?>
|
87 |
-
<button type="submit" title="<?php echo $this->__('Update Shopping Cart') ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart') ?></span></span></button>
|
88 |
</td>
|
89 |
</tr>
|
90 |
</tfoot>
|
@@ -94,21 +61,33 @@
|
|
94 |
<?php endforeach ?>
|
95 |
</tbody>
|
96 |
</table>
|
97 |
-
<script type="text/javascript">decorateTable('shopping-cart-table')</script>
|
98 |
-
|
99 |
-
<div class="totals a-right">
|
100 |
-
<?php echo $this->getChildHtml('totals'); ?>
|
101 |
-
</div>
|
102 |
</fieldset>
|
103 |
</form>
|
104 |
-
|
105 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
<?php if(!$this->hasError()): ?>
|
107 |
<ul class="checkout-types">
|
108 |
<?php foreach ($this->getMethods('methods') as $method): ?>
|
109 |
-
<?php
|
|
|
110 |
<li><?php echo $methodHtml; ?></li>
|
111 |
<?php endif; ?>
|
112 |
<?php endforeach; ?>
|
113 |
</ul>
|
114 |
<?php endif; ?>
|
|
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
*/
|
33 |
?>
|
34 |
<div class="cart">
|
|
|
|
|
|
|
|
|
35 |
<?php echo $this->getChildHtml('form_before') ?>
|
36 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
+
<?php if(!$this->hasError() && count($this->getItems()) > 1): ?>
|
38 |
+
<ul class="checkout-types">
|
39 |
+
<?php foreach ($this->getMethods('methods') as $method): ?>
|
40 |
+
<?php $methodHtml = $this->getMethodHtml($method); ?>
|
41 |
+
<?php if ($methodHtml): ?>
|
42 |
+
<li><?php echo $methodHtml; ?></li>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php endforeach; ?>
|
45 |
+
</ul>
|
46 |
+
<?php endif; ?>
|
47 |
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
48 |
<fieldset>
|
49 |
<table id="shopping-cart-table" class="data-table cart-table">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
50 |
<tfoot>
|
51 |
<tr>
|
52 |
+
<td colspan="2" class="a-right">
|
53 |
+
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button btn-update"><?php echo $this->__('Update Shopping Cart'); ?></button>
|
54 |
+
<!--<button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('Clear Shopping Cart'); ?>" class="button btn-update" id="empty_cart_button"><?php echo $this->__('Clear Shopping Cart'); ?></button>-->
|
|
|
|
|
|
|
|
|
55 |
</td>
|
56 |
</tr>
|
57 |
</tfoot>
|
61 |
<?php endforeach ?>
|
62 |
</tbody>
|
63 |
</table>
|
|
|
|
|
|
|
|
|
|
|
64 |
</fieldset>
|
65 |
</form>
|
66 |
+
<?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
|
67 |
+
<div class="cart-collaterals<?php if($this->getChildHtml('crosssell')) echo ' cross-inside'; ?>">
|
68 |
+
<?php echo $this->getChildHtml('crosssell') ?>
|
69 |
+
<div class="deals">
|
70 |
+
<?php /* Extensions placeholder */ ?>
|
71 |
+
<?php echo $this->getChildHtml('checkout.cart.extra') ?>
|
72 |
+
<?php echo $this->getChildHtml('checkout_cart_widget') ?>
|
73 |
+
<?php echo $this->getChildHtml('coupon') ?>
|
74 |
+
<?php echo $this->getChildHtml('giftcards') ?>
|
75 |
+
<?php echo $this->getChildHtml('giftregistry.cart.link') ?>
|
76 |
+
</div>
|
77 |
+
<?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
|
78 |
+
</div>
|
79 |
+
<div class="totals">
|
80 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
81 |
+
</div>
|
82 |
<?php if(!$this->hasError()): ?>
|
83 |
<ul class="checkout-types">
|
84 |
<?php foreach ($this->getMethods('methods') as $method): ?>
|
85 |
+
<?php $methodHtml = $this->getMethodHtml($method); ?>
|
86 |
+
<?php if ($methodHtml): ?>
|
87 |
<li><?php echo $methodHtml; ?></li>
|
88 |
<?php endif; ?>
|
89 |
<?php endforeach; ?>
|
90 |
</ul>
|
91 |
<?php endif; ?>
|
92 |
+
|
93 |
+
</div>
|
app/design/frontend/default/iphone/template/checkout/cart/item/default.phtml
CHANGED
@@ -20,247 +20,285 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<?php
|
28 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
<tr>
|
30 |
-
<td
|
31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
</td>
|
|
|
33 |
<td>
|
|
|
|
|
|
|
34 |
<h2 class="product-name">
|
35 |
<?php if ($this->hasProductUrl()):?>
|
36 |
-
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->
|
37 |
<?php else: ?>
|
38 |
-
<?php echo $this->
|
39 |
<?php endif; ?>
|
40 |
</h2>
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
<?php
|
45 |
-
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
46 |
-
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
47 |
-
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
48 |
-
<div class="truncated_full_value">
|
49 |
-
<dl class="item-options">
|
50 |
-
<dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
|
51 |
-
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
52 |
-
</dl>
|
53 |
-
</div>
|
54 |
-
<?php endif; ?>
|
55 |
-
</dd>
|
56 |
-
<?php endforeach; ?>
|
57 |
-
</dl>
|
58 |
-
<?php endif;?>
|
59 |
-
<?php if ($messages = $this->getMessages()): ?>
|
60 |
-
<?php foreach ($messages as $message): ?>
|
61 |
-
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $message['text'] ?></p>
|
62 |
-
<?php endforeach; ?>
|
63 |
-
<?php endif; ?>
|
64 |
-
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
65 |
-
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
66 |
<?php endif;?>
|
67 |
-
</td>
|
68 |
-
<td class="a-center">
|
69 |
-
<a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
70 |
-
</td>
|
71 |
|
72 |
-
|
73 |
-
|
74 |
-
<
|
75 |
-
<
|
76 |
-
<?php $
|
77 |
-
<a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
78 |
-
<script type="text/javascript">
|
79 |
-
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
80 |
-
</script>
|
81 |
-
</span>
|
82 |
-
</td>
|
83 |
-
<?php else: ?>
|
84 |
-
|
85 |
-
|
86 |
-
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
87 |
-
<td class="a-right">
|
88 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
89 |
-
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
90 |
-
<?php else: ?>
|
91 |
-
<span class="cart-price">
|
92 |
-
<?php endif; ?>
|
93 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
94 |
-
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
95 |
-
<?php else: ?>
|
96 |
-
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
97 |
-
<?php endif; ?>
|
98 |
-
</span>
|
99 |
-
|
100 |
-
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
101 |
-
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
102 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
103 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
104 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
105 |
-
<?php endforeach; ?>
|
106 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
107 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
109 |
-
<?php endforeach; ?>
|
110 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
111 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
112 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
113 |
-
<?php endforeach; ?>
|
114 |
-
<?php endif; ?>
|
115 |
</div>
|
116 |
|
117 |
-
<?php if (
|
118 |
-
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
119 |
-
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
120 |
-
</div>
|
121 |
-
<?php endif; ?>
|
122 |
-
<?php endif; ?>
|
123 |
-
</td>
|
124 |
-
<?php endif; ?>
|
125 |
-
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
126 |
-
<td>
|
127 |
-
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
128 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
129 |
-
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
130 |
-
<?php else: ?>
|
131 |
-
<span class="cart-price">
|
132 |
-
<?php endif; ?>
|
133 |
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
145 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
146 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
147 |
-
<?php endforeach; ?>
|
148 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
149 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
150 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
151 |
-
<?php endforeach; ?>
|
152 |
-
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
153 |
-
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
154 |
-
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
155 |
-
<?php endforeach; ?>
|
156 |
-
<?php endif; ?>
|
157 |
-
</div>
|
158 |
|
159 |
-
|
160 |
-
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
161 |
-
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
162 |
-
</div>
|
163 |
-
<?php endif; ?>
|
164 |
-
<?php endif; ?>
|
165 |
-
</td>
|
166 |
-
<?php endif; ?>
|
167 |
|
168 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
|
170 |
-
|
171 |
-
<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" />
|
172 |
-
</td>
|
173 |
-
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
174 |
-
<td class="a-right">
|
175 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
176 |
-
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
177 |
-
<?php else: ?>
|
178 |
-
<span class="cart-price">
|
179 |
-
<?php endif; ?>
|
180 |
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
<?php endif; ?>
|
|
|
208 |
</div>
|
209 |
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
|
227 |
-
<?php if ($canApplyMsrp): ?>
|
228 |
-
<span class="cart-msrp-subtotal">--</span>
|
229 |
-
<?php else: ?>
|
230 |
-
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
231 |
-
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
232 |
-
<?php else: ?>
|
233 |
-
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
234 |
<?php endif; ?>
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
255 |
<?php endif; ?>
|
|
|
256 |
</div>
|
257 |
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
</td>
|
265 |
-
<?php endif; ?>
|
266 |
</tr>
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
|
30 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
31 |
+
$messages = $this->getMessages();
|
32 |
+
$_options = $this->getOptionList();
|
33 |
+
?>
|
34 |
+
|
35 |
+
<?php if ($messages): ?>
|
36 |
+
<tr class="messages">
|
37 |
+
<td colspan="2">
|
38 |
+
<?php foreach ($messages as $message): ?>
|
39 |
+
<p class="item-msg <?php echo $message['type'] ?>">* <?php echo $this->escapeHtml($message['text']) ?></p>
|
40 |
+
<?php endforeach; ?>
|
41 |
+
</td>
|
42 |
+
</tr>
|
43 |
+
<?php endif; ?>
|
44 |
<tr>
|
45 |
+
<td>
|
46 |
+
|
47 |
+
<?php if ($this->hasProductUrl()):?>
|
48 |
+
<a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(114); ?>" width="57" height="57" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a>
|
49 |
+
<?php endif;?>
|
50 |
+
|
51 |
+
<?php if ($isVisibleProduct && $this->getOptionList()): ?>
|
52 |
+
<p><a class="link-edit" href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a></p>
|
53 |
+
<?php endif ?>
|
54 |
+
|
55 |
</td>
|
56 |
+
|
57 |
<td>
|
58 |
+
|
59 |
+
<a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a>
|
60 |
+
|
61 |
<h2 class="product-name">
|
62 |
<?php if ($this->hasProductUrl()):?>
|
63 |
+
<a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
|
64 |
<?php else: ?>
|
65 |
+
<?php echo $this->escapeHtml($this->getProductName()) ?>
|
66 |
<?php endif; ?>
|
67 |
</h2>
|
68 |
+
|
69 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
70 |
+
<?php if ($addInfoBlock): ?>
|
71 |
+
<?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
72 |
<?php endif;?>
|
|
|
|
|
|
|
|
|
73 |
|
74 |
+
<div class="price-box">
|
75 |
+
|
76 |
+
<div class="qty-wrap">
|
77 |
+
<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" />
|
78 |
+
<span<?php if ($this->getQty() == 1) echo ' style="display:none;"' ?>>×</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</div>
|
80 |
|
81 |
+
<div class="cart-price-box"<?php if ($this->getQty() == 1) echo ' style="display:none;"' ?>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
|
83 |
+
<?php if ($canApplyMsrp): ?>
|
84 |
+
<span class="cart-price">
|
85 |
+
<span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
86 |
+
<?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
|
87 |
+
<a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
88 |
+
<script type="text/javascript">
|
89 |
+
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
90 |
+
</script>
|
91 |
+
</span>
|
92 |
+
<?php else: ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
|
94 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
95 |
|
96 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
97 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
98 |
+
<?php else: ?>
|
99 |
+
<span class="cart-price">
|
100 |
+
<?php endif; ?>
|
101 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
102 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
103 |
+
<?php else: ?>
|
104 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
105 |
+
<?php endif; ?>
|
106 |
|
107 |
+
</span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
+
|
110 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
111 |
+
|
112 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
113 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
114 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
115 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
118 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
119 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
120 |
+
<?php endforeach; ?>
|
121 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
122 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
123 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
124 |
+
<?php endforeach; ?>
|
125 |
+
<?php endif; ?>
|
126 |
+
</div>
|
127 |
+
|
128 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
129 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
130 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
131 |
+
</div>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php endif; ?>
|
134 |
+
|
135 |
+
<?php endif; ?>
|
136 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax()): ?>
|
137 |
+
|
138 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
139 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
140 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
141 |
+
<?php else: ?>
|
142 |
+
<span class="cart-price">
|
143 |
+
<?php endif; ?>
|
144 |
+
|
145 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
146 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
147 |
+
<?php else: ?>
|
148 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
149 |
+
<?php endif; ?>
|
150 |
+
|
151 |
+
</span>
|
152 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
153 |
+
|
154 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
155 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
156 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
157 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
158 |
+
<?php endforeach; ?>
|
159 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
160 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
161 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
162 |
+
<?php endforeach; ?>
|
163 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
164 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
165 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
166 |
+
<?php endforeach; ?>
|
167 |
+
<?php endif; ?>
|
168 |
+
</div>
|
169 |
+
|
170 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
171 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
172 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
173 |
+
</div>
|
174 |
+
<?php endif; ?>
|
175 |
+
<?php endif; ?>
|
176 |
+
|
177 |
+
<?php endif; ?>
|
178 |
<?php endif; ?>
|
179 |
+
|
180 |
</div>
|
181 |
|
182 |
+
<div class="cart-price-box">
|
183 |
+
|
184 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() && !$_item->getNoSubtotal()): ?>
|
185 |
+
|
186 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
187 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
188 |
+
<?php else: ?>
|
189 |
+
<span class="cart-price">
|
190 |
+
<?php endif; ?>
|
191 |
+
|
192 |
+
<?php if ($canApplyMsrp): ?>
|
193 |
+
<span class="cart-msrp-subtotal">--</span>
|
194 |
+
<?php else: ?>
|
195 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
196 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
197 |
+
<?php else: ?>
|
198 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
199 |
+
<?php endif; ?>
|
200 |
+
<?php endif; ?>
|
201 |
+
|
202 |
+
</span>
|
203 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
204 |
+
|
205 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
206 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
207 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
208 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
209 |
+
<?php endforeach; ?>
|
210 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
211 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
212 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
213 |
+
<?php endforeach; ?>
|
214 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
215 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
216 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
217 |
+
<?php endforeach; ?>
|
218 |
+
<?php endif; ?>
|
219 |
+
</div>
|
220 |
+
|
221 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
222 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
223 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
224 |
+
</div>
|
225 |
+
<?php endif; ?>
|
226 |
+
<?php endif; ?>
|
227 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
228 |
<?php endif; ?>
|
229 |
+
|
230 |
+
<?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
231 |
+
|
232 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
233 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
234 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
235 |
+
<?php else: ?>
|
236 |
+
<span class="cart-price">
|
237 |
+
<?php endif; ?>
|
238 |
+
|
239 |
+
<?php if ($canApplyMsrp): ?>
|
240 |
+
<span class="cart-msrp-subtotal">--</span>
|
241 |
+
<?php else: ?>
|
242 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
244 |
+
<?php else: ?>
|
245 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
246 |
+
<?php endif; ?>
|
247 |
+
<?php endif; ?>
|
248 |
+
|
249 |
+
</span>
|
250 |
+
|
251 |
+
|
252 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
253 |
+
|
254 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
255 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
256 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
257 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
258 |
+
<?php endforeach; ?>
|
259 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
260 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
261 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
262 |
+
<?php endforeach; ?>
|
263 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
264 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
265 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
266 |
+
<?php endforeach; ?>
|
267 |
+
<?php endif; ?>
|
268 |
+
</div>
|
269 |
+
|
270 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
271 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
272 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
273 |
+
</div>
|
274 |
+
<?php endif; ?>
|
275 |
+
<?php endif; ?>
|
276 |
+
|
277 |
<?php endif; ?>
|
278 |
+
|
279 |
</div>
|
280 |
|
281 |
+
</div>
|
282 |
+
|
283 |
+
</td>
|
284 |
+
</tr>
|
285 |
+
<?php if ($_options):?>
|
286 |
+
<tr class="product-options">
|
287 |
+
<td colspan="2">
|
288 |
+
<span class="toggle" onclick="$(this).next('.product-options').toggle(); return false;">Show Options</span>
|
289 |
+
<div class="product-options" style="display:none;">
|
290 |
+
<dl class="item-options">
|
291 |
+
<?php foreach ($_options as $_option) : ?>
|
292 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
293 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
294 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
295 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
296 |
+
<?php else: ?>
|
297 |
+
<dd><?php echo $_formatedOptionValue['value'] ?></dd>
|
298 |
+
<?php endif; ?>
|
299 |
+
<?php endforeach; ?>
|
300 |
+
</dl>
|
301 |
+
</div>
|
302 |
</td>
|
|
|
303 |
</tr>
|
304 |
+
<?php endif;?>
|
app/design/frontend/default/iphone/template/checkout/onepage/review/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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php echo $this->getChildHtml('items_before'); ?>
|
28 |
+
<div id="checkout-review-table-wrapper">
|
29 |
+
<table class="data-table cart-table-items" id="checkout-review-table">
|
30 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
31 |
+
<thead>
|
32 |
+
<tr>
|
33 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
34 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
35 |
+
</tr>
|
36 |
+
</thead>
|
37 |
+
<?php foreach($this->getItems() as $_item): ?>
|
38 |
+
<?php echo $this->getItemHtml($_item)?>
|
39 |
+
<?php endforeach ?>
|
40 |
+
</table>
|
41 |
+
</div>
|
42 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
43 |
+
<script type="text/javascript">
|
44 |
+
//<![CDATA[
|
45 |
+
truncateOptions();
|
46 |
+
//]]>
|
47 |
+
</script>
|
48 |
+
<div id="checkout-review-submit">
|
49 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
50 |
+
<div class="buttons-set" id="review-buttons-container">
|
51 |
+
<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>
|
52 |
+
<?php echo $this->getChildHtml('button') ?>
|
53 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
54 |
+
<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...') ?>
|
55 |
+
</span>
|
56 |
+
</div>
|
57 |
+
<script type="text/javascript">
|
58 |
+
//<![CDATA[
|
59 |
+
review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
|
60 |
+
//]]>
|
61 |
+
</script>
|
62 |
+
</div>
|
app/design/frontend/default/iphone/template/checkout/onepage/review/item.phtml
ADDED
@@ -0,0 +1,244 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem()?>
|
28 |
+
<tbody>
|
29 |
+
<tr>
|
30 |
+
<td colspan="2">
|
31 |
+
<h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
|
32 |
+
|
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->escapeHtml($_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->escapeHtml($_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 |
+
|
52 |
+
<?php if ($addtInfoBlock = $this->getProductAdditionalInformationBlock()):?>
|
53 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml() ?>
|
54 |
+
<?php endif;?>
|
55 |
+
|
56 |
+
</td>
|
57 |
+
</tr>
|
58 |
+
<tr>
|
59 |
+
<td class="a-left">
|
60 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
61 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
62 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
63 |
+
<?php else: ?>
|
64 |
+
<span class="cart-price">
|
65 |
+
<?php endif; ?>
|
66 |
+
|
67 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
68 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
69 |
+
<?php else: ?>
|
70 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
+
</span>
|
74 |
+
|
75 |
+
|
76 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
77 |
+
|
78 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
79 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
80 |
+
<small>
|
81 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
82 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</small>
|
85 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
86 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
87 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
88 |
+
<?php endforeach; ?>
|
89 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
90 |
+
<small>
|
91 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
92 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
93 |
+
<?php endforeach; ?>
|
94 |
+
</small>
|
95 |
+
<?php endif; ?>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
100 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
101 |
+
</div>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php endif; ?>
|
104 |
+
<?php endif; ?>
|
105 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax()): ?>
|
106 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
107 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
108 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
109 |
+
<?php else: ?>
|
110 |
+
<span class="cart-price">
|
111 |
+
<?php endif; ?>
|
112 |
+
|
113 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
114 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
115 |
+
<?php else: ?>
|
116 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
117 |
+
<?php endif; ?>
|
118 |
+
|
119 |
+
</span>
|
120 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
121 |
+
|
122 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
123 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
124 |
+
<small>
|
125 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
126 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
127 |
+
<?php endforeach; ?>
|
128 |
+
</small>
|
129 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
130 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
131 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
132 |
+
<?php endforeach; ?>
|
133 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
134 |
+
<small>
|
135 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
136 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
137 |
+
<?php endforeach; ?>
|
138 |
+
</small>
|
139 |
+
<?php endif; ?>
|
140 |
+
</div>
|
141 |
+
|
142 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
143 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
144 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
145 |
+
</div>
|
146 |
+
<?php endif; ?>
|
147 |
+
<?php endif; ?>
|
148 |
+
<?php endif; ?>
|
149 |
+
</td>
|
150 |
+
<td class="a-right">
|
151 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
152 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
153 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
154 |
+
<?php else: ?>
|
155 |
+
<span class="cart-price">
|
156 |
+
<?php endif; ?>
|
157 |
+
|
158 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
159 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
160 |
+
<?php else: ?>
|
161 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
162 |
+
<?php endif; ?>
|
163 |
+
|
164 |
+
</span>
|
165 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
166 |
+
|
167 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
168 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
169 |
+
<small>
|
170 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
171 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
172 |
+
<?php endforeach; ?>
|
173 |
+
</small>
|
174 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
175 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
176 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
177 |
+
<?php endforeach; ?>
|
178 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
179 |
+
<small>
|
180 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
181 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
182 |
+
<?php endforeach; ?>
|
183 |
+
</small>
|
184 |
+
<?php endif; ?>
|
185 |
+
</div>
|
186 |
+
|
187 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
188 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
189 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
190 |
+
</div>
|
191 |
+
<?php endif; ?>
|
192 |
+
<?php endif; ?>
|
193 |
+
<?php endif; ?>
|
194 |
+
|
195 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax()): ?>
|
196 |
+
|
197 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
198 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
199 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
200 |
+
<?php else: ?>
|
201 |
+
<span class="cart-price">
|
202 |
+
<?php endif; ?>
|
203 |
+
|
204 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
205 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
206 |
+
<?php else: ?>
|
207 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
208 |
+
<?php endif; ?>
|
209 |
+
|
210 |
+
</span>
|
211 |
+
|
212 |
+
|
213 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
214 |
+
|
215 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
216 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
217 |
+
<small>
|
218 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
219 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
220 |
+
<?php endforeach; ?>
|
221 |
+
</small>
|
222 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
223 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
224 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
225 |
+
<?php endforeach; ?>
|
226 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
227 |
+
<small>
|
228 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
229 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
230 |
+
<?php endforeach; ?>
|
231 |
+
</small>
|
232 |
+
<?php endif; ?>
|
233 |
+
</div>
|
234 |
+
|
235 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
236 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
237 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
238 |
+
</div>
|
239 |
+
<?php endif; ?>
|
240 |
+
<?php endif; ?>
|
241 |
+
<?php endif; ?>
|
242 |
+
</td>
|
243 |
+
</tr>
|
244 |
+
</tbody>
|
app/design/frontend/default/iphone/template/checkout/onepage/review/totals.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @see Mage_Checkout_Block_Cart_Totals
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php if ($this->getTotals()): ?>
|
32 |
+
<tfoot>
|
33 |
+
<?php $_colspan = 0; ?>
|
34 |
+
<?php echo $this->renderTotals(null, $_colspan); ?>
|
35 |
+
<?php echo $this->renderTotals('footer', $_colspan); ?>
|
36 |
+
<?php if ($this->needDisplayBaseGrandtotal()):?>
|
37 |
+
<tr>
|
38 |
+
<td class="a-right" colspan="<?php echo $_colspan; ?>">
|
39 |
+
<small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
|
40 |
+
</td>
|
41 |
+
<td class="a-right">
|
42 |
+
<small><?php echo $this->displayBaseGrandtotal() ?></small>
|
43 |
+
</td>
|
44 |
+
</tr>
|
45 |
+
<?php endif?>
|
46 |
+
</tfoot>
|
47 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/checkout/success.phtml
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('Your order has been received') ?></h1>
|
29 |
+
</div>
|
30 |
+
<div class="checkout-success">
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
|
33 |
+
|
34 |
+
<?php if ($this->getOrderId()):?>
|
35 |
+
<?php if ($this->getCanViewOrder()) :?>
|
36 |
+
<p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
|
37 |
+
<?php else :?>
|
38 |
+
<p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
|
39 |
+
<?php endif;?>
|
40 |
+
<p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
|
41 |
+
<?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
|
42 |
+
<p>
|
43 |
+
<?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
|
44 |
+
<?php echo $this->getChildHtml() ?>
|
45 |
+
</p>
|
46 |
+
<?php endif;?>
|
47 |
+
<?php endif;?>
|
48 |
+
|
49 |
+
<?php if ($this->getAgreementRefId()): ?>
|
50 |
+
<p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
|
51 |
+
<?php endif;?>
|
52 |
+
|
53 |
+
<?php if ($profiles = $this->getRecurringProfiles()):?>
|
54 |
+
<p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
|
55 |
+
<ul class="disc">
|
56 |
+
<?php foreach($profiles as $profile):?>
|
57 |
+
<?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
|
58 |
+
<li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
|
59 |
+
<?php endforeach;?>
|
60 |
+
</ul>
|
61 |
+
<?php endif;?>
|
62 |
+
|
63 |
+
<div class="buttons-set">
|
64 |
+
<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>
|
65 |
+
</div>
|
66 |
+
</div>
|
app/design/frontend/default/iphone/template/customer/account/dashboard/address.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="col2-set">
|
28 |
+
<h2 class="sub-title"><?php echo $this->__('Address Book') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a></h2>
|
29 |
+
<div class="col-1">
|
30 |
+
<div class="info-box">
|
31 |
+
<h3 class="box-title"><?php echo $this->__('Default Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"><?php echo $this->__('Edit') ?></a></h3>
|
32 |
+
<address class="box-content">
|
33 |
+
<?php echo $this->getPrimaryBillingAddressHtml() ?>
|
34 |
+
</address>
|
35 |
+
</div>
|
36 |
+
</div>
|
37 |
+
<div class="col-2">
|
38 |
+
<div class="info-box">
|
39 |
+
<h3 class="box-title"><?php echo $this->__('Default Shipping Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit') ?></a></h3>
|
40 |
+
<address class="box-content">
|
41 |
+
<?php echo $this->getPrimaryShippingAddressHtml() ?>
|
42 |
+
</address>
|
43 |
+
</div>
|
44 |
+
</div>
|
45 |
+
</div>
|
app/design/frontend/default/iphone/template/customer/account/navigation.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_links = $this->getLinks(); ?>
|
28 |
+
<?php $_index = 1; ?>
|
29 |
+
<?php $_count = count($_links); ?>
|
30 |
+
<?php foreach ($_links as $_link): ?>
|
31 |
+
<?php if ($this->isActive($_link)): ?>
|
32 |
+
<li class="account-links"><strong><?php echo $_link->getLabel() ?></strong></li>
|
33 |
+
<?php else: ?>
|
34 |
+
<li class="account-links"><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
|
35 |
+
<?php endif; ?>
|
36 |
+
<?php endforeach; ?>
|
app/design/frontend/default/iphone/template/customer/address/book.phtml
ADDED
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* 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 class="sub-title"><?php echo $this->__('Default Addresses') ?></h2>
|
41 |
+
<ol>
|
42 |
+
<?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
|
43 |
+
<li class="info-box">
|
44 |
+
<h3 class="box-title"><?php echo $this->__('Default Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Edit') ?></a></h3>
|
45 |
+
<address class="box-content">
|
46 |
+
<?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
|
47 |
+
</address>
|
48 |
+
</li>
|
49 |
+
<?php else: ?>
|
50 |
+
<li class="info-box">
|
51 |
+
<h3 class="box-title"><?php echo $this->__('Default Billing Address') ?></h3>
|
52 |
+
<p class="box-content"><?php echo $this->__('You have no default billing address in your address book.') ?></p>
|
53 |
+
</li>
|
54 |
+
<?php endif ?>
|
55 |
+
|
56 |
+
<?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
|
57 |
+
<li class="info-box">
|
58 |
+
<h3 class="box-title"><?php echo $this->__('Default Shipping Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Edit') ?></a></h3>
|
59 |
+
<address class="box-content">
|
60 |
+
<?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
|
61 |
+
</address>
|
62 |
+
</li>
|
63 |
+
<?php else: ?>
|
64 |
+
<li class="info-box">
|
65 |
+
<h3 class="box-title"><?php echo $this->__('Default Shipping Address') ?></h3>
|
66 |
+
<p class="box-content"><?php echo $this->__('You have no default shipping address in your address book.') ?></p>
|
67 |
+
</li>
|
68 |
+
<?php endif ?>
|
69 |
+
</ol>
|
70 |
+
</div>
|
71 |
+
<div class="col-2 addresses-additional">
|
72 |
+
<h2 class="sub-title"><?php echo $this->__('Additional Address Entries') ?></h2>
|
73 |
+
<ol>
|
74 |
+
<?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
|
75 |
+
<?php foreach($_pAddsses as $_address): ?>
|
76 |
+
<li class="item">
|
77 |
+
<address>
|
78 |
+
<?php echo $this->getAddressHtml($_address) ?><br />
|
79 |
+
</address>
|
80 |
+
<p class="actions">
|
81 |
+
<a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a>
|
82 |
+
<span class="separator">|</span>
|
83 |
+
<a href="#" onclick="return deleteAddress('<?php echo $_address->getId() ?>');"><?php echo $this->__('Delete Address') ?></a>
|
84 |
+
</p>
|
85 |
+
</li>
|
86 |
+
<?php endforeach; ?>
|
87 |
+
<?php else: ?>
|
88 |
+
<li class="item empty">
|
89 |
+
<p><?php echo $this->__('You have no additional address entries in your address book.') ?></p>
|
90 |
+
</li>
|
91 |
+
<?php endif ?>
|
92 |
+
</ol>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
<div class="buttons-set">
|
96 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
97 |
+
</div>
|
98 |
+
<script type="text/javascript">
|
99 |
+
//<![CDATA[
|
100 |
+
function deleteAddress(addressId) {
|
101 |
+
if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
|
102 |
+
window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
|
103 |
+
}
|
104 |
+
return false;
|
105 |
+
}
|
106 |
+
//]]>
|
107 |
+
</script>
|
app/design/frontend/default/iphone/template/customer/form/forgotpassword.phtml
DELETED
@@ -1,45 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Magento
|
4 |
-
*
|
5 |
-
* NOTICE OF LICENSE
|
6 |
-
*
|
7 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
-
* It is also available through the world-wide-web at this URL:
|
10 |
-
* http://opensource.org/licenses/afl-3.0.php
|
11 |
-
* If you did not receive a copy of the license and are unable to
|
12 |
-
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
-
*
|
15 |
-
* DISCLAIMER
|
16 |
-
*
|
17 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
-
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
-
*
|
21 |
-
* @category design
|
22 |
-
* @package default_iphone
|
23 |
-
* @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
|
24 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
-
*/
|
26 |
-
?>
|
27 |
-
<div class="page-title">
|
28 |
-
<h1><?php echo $this->__('Retrieve your password here') ?></h1>
|
29 |
-
</div>
|
30 |
-
<div class="forgot-password">
|
31 |
-
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
-
<form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
|
33 |
-
<label for="email_address" class="required"><?php echo $this->__('Email Address') ?></label>
|
34 |
-
<input type="text" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->htmlEscape($this->getEmailValue()) ?>" />
|
35 |
-
<div class="buttons-set">
|
36 |
-
<a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>« </small><?php echo $this->__('Back to Login') ?></a>
|
37 |
-
<button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
|
38 |
-
</div>
|
39 |
-
</form>
|
40 |
-
</div>
|
41 |
-
<script type="text/javascript">
|
42 |
-
//<![CDATA[
|
43 |
-
var dataForm = new VarienForm('form-validate', true);
|
44 |
-
//]]>
|
45 |
-
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/default/iphone/template/customer/form/login.phtml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,29 +32,48 @@
|
|
32 |
*/
|
33 |
?>
|
34 |
<div class="account-login">
|
|
|
|
|
|
|
35 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
|
|
|
|
36 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
37 |
-
<div class="
|
38 |
-
<
|
39 |
-
|
40 |
-
|
41 |
-
<
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
</div>
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
|
|
|
|
58 |
</div>
|
59 |
</div>
|
60 |
</form>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
*/
|
33 |
?>
|
34 |
<div class="account-login">
|
35 |
+
<div class="page-title">
|
36 |
+
<h1><?php echo $this->__('Login or Create an Account') ?></h1>
|
37 |
+
</div>
|
38 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<?php /* Extensions placeholder */ ?>
|
40 |
+
<?php echo $this->getChildHtml('customer.form.login.extra')?>
|
41 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
42 |
+
<div class="col2-set">
|
43 |
+
<div class="col-1 registered-users">
|
44 |
+
<div class="content">
|
45 |
+
<h2><?php echo $this->__('Registered Customers') ?></h2>
|
46 |
+
<ul class="form-list">
|
47 |
+
<li>
|
48 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
49 |
+
<div class="input-box">
|
50 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
51 |
+
</div>
|
52 |
+
</li>
|
53 |
+
<li>
|
54 |
+
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
55 |
+
<div class="input-box">
|
56 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
57 |
+
</div>
|
58 |
+
</li>
|
59 |
+
<li class="note">
|
60 |
+
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
61 |
+
</li>
|
62 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
63 |
+
<li class="buttons-set">
|
64 |
+
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><?php echo $this->__('Login') ?></button>
|
65 |
+
</li>
|
66 |
+
</ul>
|
67 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
68 |
+
</div>
|
69 |
</div>
|
70 |
+
<div class="col-2 new-users">
|
71 |
+
<div class="content">
|
72 |
+
<h2><?php echo $this->__('New Customers') ?></h2>
|
73 |
+
<div class="buttons-set">
|
74 |
+
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
75 |
+
</div>
|
76 |
+
</div>
|
77 |
</div>
|
78 |
</div>
|
79 |
</form>
|
app/design/frontend/default/iphone/template/downloadable/checkout/cart/item/default.phtml
ADDED
@@ -0,0 +1,302 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
|
30 |
+
$messages = $this->getMessages();
|
31 |
+
$_options = $this->getOptionList();
|
32 |
+
$links = $this->getLinks();
|
33 |
+
?>
|
34 |
+
<?php if ($messages): ?>
|
35 |
+
<tr class="messages">
|
36 |
+
<td colspan="2">
|
37 |
+
<?php foreach ($messages as $message): ?>
|
38 |
+
<div class="shopping-cart-item-message <?php echo $message['type'] ?>">
|
39 |
+
* <?php echo $this->escapeHtml($message['text']) ?>
|
40 |
+
</div>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</td>
|
43 |
+
</tr>
|
44 |
+
<?php endif; ?>
|
45 |
+
<tr>
|
46 |
+
<td>
|
47 |
+
<a href="<?php echo $this->getProductUrl() ?>" class="product-image" title="<?php echo $this->escapeHtml($this->getProductName()) ?>">
|
48 |
+
<img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" />
|
49 |
+
</a>
|
50 |
+
|
51 |
+
<a class="link-edit" href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
|
52 |
+
</td>
|
53 |
+
|
54 |
+
<td>
|
55 |
+
<a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a>
|
56 |
+
|
57 |
+
<h2 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a></h2>
|
58 |
+
|
59 |
+
<div class="price-box">
|
60 |
+
|
61 |
+
<div class="qty-wrap">
|
62 |
+
<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" />
|
63 |
+
<span<?php if ($this->getQty() == 1) echo ' style="display:none;"' ?>>×</span>
|
64 |
+
</div>
|
65 |
+
|
66 |
+
<div class="cart-price-box"<?php if ($this->getQty() == 1) echo ' style="display:none;"' ?>>
|
67 |
+
|
68 |
+
<?php if ($canApplyMsrp): ?>
|
69 |
+
<span class="cart-price">
|
70 |
+
<span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
|
71 |
+
<?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
|
72 |
+
<a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
|
73 |
+
<script type="text/javascript">
|
74 |
+
Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
|
75 |
+
</script>
|
76 |
+
</span>
|
77 |
+
<?php else: ?>
|
78 |
+
|
79 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
80 |
+
|
81 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
82 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
83 |
+
<?php else: ?>
|
84 |
+
<span class="cart-price">
|
85 |
+
<?php endif; ?>
|
86 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
87 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
88 |
+
<?php else: ?>
|
89 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
90 |
+
<?php endif; ?>
|
91 |
+
|
92 |
+
</span>
|
93 |
+
|
94 |
+
|
95 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
96 |
+
|
97 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
98 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
99 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
100 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
101 |
+
<?php endforeach; ?>
|
102 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
103 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
104 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
105 |
+
<?php endforeach; ?>
|
106 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
<?php endif; ?>
|
111 |
+
</div>
|
112 |
+
|
113 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
114 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
115 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
116 |
+
</div>
|
117 |
+
<?php endif; ?>
|
118 |
+
<?php endif; ?>
|
119 |
+
|
120 |
+
<?php endif; ?>
|
121 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax()): ?>
|
122 |
+
|
123 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
124 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
125 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
126 |
+
<?php else: ?>
|
127 |
+
<span class="cart-price">
|
128 |
+
<?php endif; ?>
|
129 |
+
|
130 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
132 |
+
<?php else: ?>
|
133 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
134 |
+
<?php endif; ?>
|
135 |
+
|
136 |
+
</span>
|
137 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
138 |
+
|
139 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
140 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
142 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
143 |
+
<?php endforeach; ?>
|
144 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
145 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
146 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
147 |
+
<?php endforeach; ?>
|
148 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
149 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
150 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
|
151 |
+
<?php endforeach; ?>
|
152 |
+
<?php endif; ?>
|
153 |
+
</div>
|
154 |
+
|
155 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
156 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
157 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
158 |
+
</div>
|
159 |
+
<?php endif; ?>
|
160 |
+
<?php endif; ?>
|
161 |
+
|
162 |
+
<?php endif; ?>
|
163 |
+
<?php endif; ?>
|
164 |
+
|
165 |
+
</div>
|
166 |
+
|
167 |
+
<div class="cart-price-box">
|
168 |
+
|
169 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() && !$_item->getNoSubtotal()): ?>
|
170 |
+
|
171 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
172 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
173 |
+
<?php else: ?>
|
174 |
+
<span class="cart-price">
|
175 |
+
<?php endif; ?>
|
176 |
+
|
177 |
+
<?php if ($canApplyMsrp): ?>
|
178 |
+
<span class="cart-msrp-subtotal">--</span>
|
179 |
+
<?php else: ?>
|
180 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
181 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
182 |
+
<?php else: ?>
|
183 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
184 |
+
<?php endif; ?>
|
185 |
+
<?php endif; ?>
|
186 |
+
|
187 |
+
</span>
|
188 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
189 |
+
|
190 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
191 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
192 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
193 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
194 |
+
<?php endforeach; ?>
|
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="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
198 |
+
<?php endforeach; ?>
|
199 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
200 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
201 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
202 |
+
<?php endforeach; ?>
|
203 |
+
<?php endif; ?>
|
204 |
+
</div>
|
205 |
+
|
206 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
207 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
208 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
209 |
+
</div>
|
210 |
+
<?php endif; ?>
|
211 |
+
<?php endif; ?>
|
212 |
+
|
213 |
+
<?php endif; ?>
|
214 |
+
|
215 |
+
<?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
|
216 |
+
|
217 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
218 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
219 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
220 |
+
<?php else: ?>
|
221 |
+
<span class="cart-price">
|
222 |
+
<?php endif; ?>
|
223 |
+
|
224 |
+
<?php if ($canApplyMsrp): ?>
|
225 |
+
<span class="cart-msrp-subtotal">--</span>
|
226 |
+
<?php else: ?>
|
227 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
228 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
229 |
+
<?php else: ?>
|
230 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
231 |
+
<?php endif; ?>
|
232 |
+
<?php endif; ?>
|
233 |
+
|
234 |
+
</span>
|
235 |
+
|
236 |
+
|
237 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
238 |
+
|
239 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
240 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
241 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
242 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
|
243 |
+
<?php endforeach; ?>
|
244 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
245 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
246 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
247 |
+
<?php endforeach; ?>
|
248 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
249 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
250 |
+
<span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
|
251 |
+
<?php endforeach; ?>
|
252 |
+
<?php endif; ?>
|
253 |
+
</div>
|
254 |
+
|
255 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
256 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
257 |
+
<span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
258 |
+
</div>
|
259 |
+
<?php endif; ?>
|
260 |
+
<?php endif; ?>
|
261 |
+
|
262 |
+
<?php endif; ?>
|
263 |
+
|
264 |
+
</div>
|
265 |
+
|
266 |
+
</div>
|
267 |
+
|
268 |
+
<!-- downloadable -->
|
269 |
+
<?php if ($links): ?>
|
270 |
+
<div class="downloadable">
|
271 |
+
<dl class="item-options">
|
272 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
273 |
+
<?php foreach ($links as $link): ?>
|
274 |
+
<dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
|
275 |
+
<?php endforeach; ?>
|
276 |
+
</dl>
|
277 |
+
</div>
|
278 |
+
<?php endif; ?>
|
279 |
+
<!-- EOF downloadable -->
|
280 |
+
|
281 |
+
</td>
|
282 |
+
</tr>
|
283 |
+
<?php if ($_options):?>
|
284 |
+
<tr class="product-options">
|
285 |
+
<td colspan="2">
|
286 |
+
<span class="toggle" onclick="$(this).next().toggle(); return false;">Show Options</span>
|
287 |
+
<div class="product-options" style="display:none;">
|
288 |
+
<dl class="item-options">
|
289 |
+
<?php foreach ($_options as $_option) : ?>
|
290 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
291 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
292 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
293 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
294 |
+
<?php else: ?>
|
295 |
+
<dd><?php echo $_formatedOptionValue['value'] ?></dd>
|
296 |
+
<?php endif; ?>
|
297 |
+
<?php endforeach; ?>
|
298 |
+
</dl>
|
299 |
+
</div>
|
300 |
+
</td>
|
301 |
+
</tr>
|
302 |
+
<?php endif;?>
|
app/design/frontend/default/iphone/template/downloadable/checkout/onepage/review/item.phtml
ADDED
@@ -0,0 +1,254 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem()?>
|
28 |
+
<tbody>
|
29 |
+
<tr>
|
30 |
+
<td colspan="2">
|
31 |
+
<h3 class="product-name"><?php echo $this->escapeHtml($this->getProductName()) ?></h3>
|
32 |
+
<!-- item custom options -->
|
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->escapeHtml($_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->escapeHtml($_option['label']) ?></dt>
|
43 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
44 |
+
</dl>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
47 |
+
</dd>
|
48 |
+
<?php endforeach; ?>
|
49 |
+
</dl>
|
50 |
+
<?php endif;?>
|
51 |
+
<?php if ($links = $this->getLinks()): ?>
|
52 |
+
<dl class="item-options">
|
53 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
54 |
+
<?php foreach ($links as $link): ?>
|
55 |
+
<dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
|
56 |
+
<?php endforeach; ?>
|
57 |
+
</dl>
|
58 |
+
<?php endif; ?>
|
59 |
+
<!-- EOF downloadable -->
|
60 |
+
</td>
|
61 |
+
</tr>
|
62 |
+
<tr>
|
63 |
+
<td class="a-left">
|
64 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
65 |
+
|
66 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
67 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
68 |
+
<?php else: ?>
|
69 |
+
<div class="cart-price">
|
70 |
+
<?php endif; ?>
|
71 |
+
|
72 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
73 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
74 |
+
<?php else: ?>
|
75 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
76 |
+
<?php endif; ?>
|
77 |
+
|
78 |
+
</div>
|
79 |
+
|
80 |
+
|
81 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
82 |
+
|
83 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
84 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
85 |
+
<small>
|
86 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
87 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
88 |
+
<?php endforeach; ?>
|
89 |
+
</small>
|
90 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
91 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
92 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
93 |
+
<?php endforeach; ?>
|
94 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
95 |
+
<small>
|
96 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
97 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
98 |
+
<?php endforeach; ?>
|
99 |
+
</small>
|
100 |
+
<?php endif; ?>
|
101 |
+
</div>
|
102 |
+
|
103 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
104 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
105 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
106 |
+
</div>
|
107 |
+
<?php endif; ?>
|
108 |
+
<?php endif; ?>
|
109 |
+
|
110 |
+
<?php endif; ?>
|
111 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
112 |
+
|
113 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
114 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
116 |
+
<?php else: ?>
|
117 |
+
<div class="cart-price">
|
118 |
+
<?php endif; ?>
|
119 |
+
|
120 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
121 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
|
122 |
+
<?php else: ?>
|
123 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
124 |
+
<?php endif; ?>
|
125 |
+
|
126 |
+
</div>
|
127 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
128 |
+
|
129 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
130 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
131 |
+
<small>
|
132 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
133 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
134 |
+
<?php endforeach; ?>
|
135 |
+
</small>
|
136 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
137 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
138 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
139 |
+
<?php endforeach; ?>
|
140 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<small>
|
142 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
143 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
144 |
+
<?php endforeach; ?>
|
145 |
+
</small>
|
146 |
+
<?php endif; ?>
|
147 |
+
</div>
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
151 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
|
152 |
+
</div>
|
153 |
+
<?php endif; ?>
|
154 |
+
<?php endif; ?>
|
155 |
+
<?php endif; ?>
|
156 |
+
</td>
|
157 |
+
</tr>
|
158 |
+
<tr>
|
159 |
+
<td class="a-left">
|
160 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
161 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
162 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
163 |
+
<?php else: ?>
|
164 |
+
<div class="cart-price">
|
165 |
+
<?php endif; ?>
|
166 |
+
|
167 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
168 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
169 |
+
<?php else: ?>
|
170 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
171 |
+
<?php endif; ?>
|
172 |
+
|
173 |
+
</div>
|
174 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
175 |
+
|
176 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
177 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
178 |
+
<small>
|
179 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
180 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
181 |
+
<?php endforeach; ?>
|
182 |
+
</small>
|
183 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
184 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
185 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
186 |
+
<?php endforeach; ?>
|
187 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
188 |
+
<small>
|
189 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
190 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
191 |
+
<?php endforeach; ?>
|
192 |
+
</small>
|
193 |
+
<?php endif; ?>
|
194 |
+
</div>
|
195 |
+
|
196 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
197 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
198 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
199 |
+
</div>
|
200 |
+
<?php endif; ?>
|
201 |
+
<?php endif; ?>
|
202 |
+
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
205 |
+
|
206 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
207 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
208 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
209 |
+
<?php else: ?>
|
210 |
+
<div class="cart-price">
|
211 |
+
<?php endif; ?>
|
212 |
+
|
213 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
214 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
|
215 |
+
<?php else: ?>
|
216 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
217 |
+
<?php endif; ?>
|
218 |
+
|
219 |
+
</div>
|
220 |
+
|
221 |
+
|
222 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
223 |
+
|
224 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
|
225 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
226 |
+
<small>
|
227 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
228 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
229 |
+
<?php endforeach; ?>
|
230 |
+
</small>
|
231 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
232 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
233 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
234 |
+
<?php endforeach; ?>
|
235 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
236 |
+
<small>
|
237 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
238 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
239 |
+
<?php endforeach; ?>
|
240 |
+
</small>
|
241 |
+
<?php endif; ?>
|
242 |
+
</div>
|
243 |
+
|
244 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
245 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
246 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
|
247 |
+
</div>
|
248 |
+
<?php endif; ?>
|
249 |
+
<?php endif; ?>
|
250 |
+
|
251 |
+
<?php endif; ?>
|
252 |
+
</td>
|
253 |
+
</tr>
|
254 |
+
</tbody>
|
app/design/frontend/default/iphone/template/downloadable/customer/products/list.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Downloadable_Block_Customer_Products_List
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_items = $this->getItems(); ?>
|
33 |
+
<div class="page-title">
|
34 |
+
<h1><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h1>
|
35 |
+
</div>
|
36 |
+
<div class="downloadable-products-history">
|
37 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
38 |
+
<?php if(count($_items)): ?>
|
39 |
+
<ol class="list">
|
40 |
+
<?php $_odd = ''; ?>
|
41 |
+
<?php foreach ($_items as $_item): ?>
|
42 |
+
<li class="list-item">
|
43 |
+
<dl>
|
44 |
+
<dt><?php echo $this->escapeHtml($_item->getPurchased()->getProductName()) ?> - <a href="<?php echo $this->getDownloadUrl($_item) ?>" title="<?php echo Mage::helper('downloadable')->__('Start Download') ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $this->escapeHtml($_item->getLinkTitle()); ?></a></dt>
|
45 |
+
<dd><strong><?php echo Mage::helper('downloadable')->__('Order #') ?></strong> <a href="<?php echo $this->getOrderViewUrl($_item->getPurchased()->getOrderId()) ?>" title="<?php echo Mage::helper('downloadable')->__('View Order') ?>"><?php echo $_item->getPurchased()->getOrderIncrementId() ?></a></dd>
|
46 |
+
<dd><strong><?php echo Mage::helper('downloadable')->__('Date') ?></strong> <span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></dd>
|
47 |
+
<dd><strong><?php echo Mage::helper('downloadable')->__('Status') ?></strong> <em><?php echo Mage::helper('downloadable')->__(ucfirst($_item->getStatus())) ?></em></dd>
|
48 |
+
<dd><strong><?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?></strong> <?php echo $this->getRemainingDownloads($_item) ?></dd>
|
49 |
+
</dl>
|
50 |
+
</li>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</ol>
|
53 |
+
<?php else: ?>
|
54 |
+
<p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
57 |
+
<div class="buttons-set">
|
58 |
+
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
59 |
+
</div>
|
60 |
+
</div>
|
app/design/frontend/default/iphone/template/downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml
ADDED
@@ -0,0 +1,325 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
|
29 |
+
<tr id="order-item-row-<?php echo $_item->getId() ?>">
|
30 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
31 |
+
<td><h4 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h4>
|
32 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
33 |
+
<dl class="item-options">
|
34 |
+
<?php foreach ($_options as $_option) : ?>
|
35 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
36 |
+
<?php if (!$this->getPrintStatus()): ?>
|
37 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
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->escapeHtml($_option['label']) ?></dt>
|
43 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
44 |
+
</dl>
|
45 |
+
</div>
|
46 |
+
<?php endif; ?>
|
47 |
+
</dd>
|
48 |
+
<?php else: ?>
|
49 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
50 |
+
<?php endif; ?>
|
51 |
+
<?php endforeach; ?>
|
52 |
+
</dl>
|
53 |
+
<?php endif; ?>
|
54 |
+
|
55 |
+
<!-- downloadable -->
|
56 |
+
<?php if ($links = $this->getLinks()): ?>
|
57 |
+
<dl class="item-options">
|
58 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
59 |
+
<?php foreach ($links->getPurchasedItems() as $link): ?>
|
60 |
+
<dd><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
|
61 |
+
<?php endforeach; ?>
|
62 |
+
</dl>
|
63 |
+
<?php endif; ?>
|
64 |
+
<!-- EOF downloadable -->
|
65 |
+
|
66 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
67 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
|
68 |
+
<br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
69 |
+
<?php endif; ?>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
<tr>
|
73 |
+
<th><?php echo $this->__('SKU') ?></th>
|
74 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
75 |
+
</tr>
|
76 |
+
<tr>
|
77 |
+
<th><?php echo $this->__('Price') ?></th>
|
78 |
+
<td>
|
79 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
80 |
+
<span class="price-excl-tax">
|
81 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
82 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<span class="cart-price">
|
84 |
+
<?php endif; ?>
|
85 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
86 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
87 |
+
</span>
|
88 |
+
<?php endif; ?>
|
89 |
+
<?php endif; ?>
|
90 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
91 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
92 |
+
<?php else: ?>
|
93 |
+
<span class="cart-price">
|
94 |
+
<?php endif; ?>
|
95 |
+
|
96 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
97 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
98 |
+
<?php else: ?>
|
99 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
100 |
+
<?php endif; ?>
|
101 |
+
|
102 |
+
</span>
|
103 |
+
|
104 |
+
|
105 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
106 |
+
|
107 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
108 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, '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']); ?></span>
|
112 |
+
<?php endforeach; ?>
|
113 |
+
</small>
|
114 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
115 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
116 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
117 |
+
<?php endforeach; ?>
|
118 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<small>
|
120 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
121 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
122 |
+
<?php endforeach; ?>
|
123 |
+
</small>
|
124 |
+
<?php endif; ?>
|
125 |
+
</span>
|
126 |
+
|
127 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
128 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
129 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
130 |
+
</span>
|
131 |
+
<?php endif; ?>
|
132 |
+
<?php endif; ?>
|
133 |
+
</span>
|
134 |
+
<br />
|
135 |
+
<?php endif; ?>
|
136 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
137 |
+
<span class="price-incl-tax">
|
138 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
139 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
140 |
+
<span class="cart-price">
|
141 |
+
<?php endif; ?>
|
142 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
143 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
144 |
+
</span>
|
145 |
+
<?php endif; ?>
|
146 |
+
<?php endif; ?>
|
147 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
148 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
149 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
150 |
+
<?php else: ?>
|
151 |
+
<span class="cart-price">
|
152 |
+
<?php endif; ?>
|
153 |
+
|
154 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
155 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
156 |
+
<?php else: ?>
|
157 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
158 |
+
<?php endif; ?>
|
159 |
+
|
160 |
+
</span>
|
161 |
+
|
162 |
+
|
163 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
164 |
+
|
165 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
166 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, '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']); ?></span>
|
170 |
+
<?php endforeach; ?>
|
171 |
+
</small>
|
172 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
173 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
174 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
175 |
+
<?php endforeach; ?>
|
176 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
177 |
+
<small>
|
178 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
179 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
180 |
+
<?php endforeach; ?>
|
181 |
+
</small>
|
182 |
+
<?php endif; ?>
|
183 |
+
</span>
|
184 |
+
|
185 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
186 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
187 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
188 |
+
</span>
|
189 |
+
<?php endif; ?>
|
190 |
+
<?php endif; ?>
|
191 |
+
</span>
|
192 |
+
<?php endif; ?>
|
193 |
+
</td>
|
194 |
+
</tr>
|
195 |
+
<tr>
|
196 |
+
<th><?php echo $this->__('Qty') ?></th>
|
197 |
+
<td><?php echo $_item->getQty()*1 ?></td>
|
198 |
+
</tr>
|
199 |
+
<tr>
|
200 |
+
<th><?php echo $this->__('Subtotal') ?></th>
|
201 |
+
<td>
|
202 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
203 |
+
<span class="price-excl-tax">
|
204 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
205 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
206 |
+
<span class="cart-price">
|
207 |
+
<?php endif; ?>
|
208 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
209 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
210 |
+
</span>
|
211 |
+
<?php endif; ?>
|
212 |
+
<?php endif; ?>
|
213 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
214 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
215 |
+
<?php else: ?>
|
216 |
+
<span class="cart-price">
|
217 |
+
<?php endif; ?>
|
218 |
+
|
219 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
220 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
221 |
+
<?php else: ?>
|
222 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
223 |
+
<?php endif; ?>
|
224 |
+
|
225 |
+
</span>
|
226 |
+
|
227 |
+
|
228 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
229 |
+
|
230 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
231 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
232 |
+
<small>
|
233 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
234 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
235 |
+
<?php endforeach; ?>
|
236 |
+
</small>
|
237 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
238 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
239 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
240 |
+
<?php endforeach; ?>
|
241 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
242 |
+
<small>
|
243 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
244 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
245 |
+
<?php endforeach; ?>
|
246 |
+
</small>
|
247 |
+
<?php endif; ?>
|
248 |
+
</span>
|
249 |
+
|
250 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
251 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
252 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
253 |
+
</span>
|
254 |
+
<?php endif; ?>
|
255 |
+
<?php endif; ?>
|
256 |
+
</span>
|
257 |
+
<br />
|
258 |
+
<?php endif; ?>
|
259 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
260 |
+
<span class="price-incl-tax">
|
261 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
262 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
263 |
+
<span class="cart-price">
|
264 |
+
<?php endif; ?>
|
265 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
266 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
267 |
+
</span>
|
268 |
+
<?php endif; ?>
|
269 |
+
<?php endif; ?>
|
270 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
271 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
272 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
273 |
+
<?php else: ?>
|
274 |
+
<span class="cart-price">
|
275 |
+
<?php endif; ?>
|
276 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
277 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
278 |
+
<?php else: ?>
|
279 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
280 |
+
<?php endif; ?>
|
281 |
+
|
282 |
+
</span>
|
283 |
+
|
284 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
285 |
+
|
286 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
287 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
288 |
+
<small>
|
289 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
290 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
291 |
+
<?php endforeach; ?>
|
292 |
+
</small>
|
293 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
294 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
295 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
296 |
+
<?php endforeach; ?>
|
297 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
298 |
+
<small>
|
299 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
300 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
301 |
+
<?php endforeach; ?>
|
302 |
+
</small>
|
303 |
+
<?php endif; ?>
|
304 |
+
</span>
|
305 |
+
|
306 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
307 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
308 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
309 |
+
</span>
|
310 |
+
<?php endif; ?>
|
311 |
+
<?php endif; ?>
|
312 |
+
|
313 |
+
</span>
|
314 |
+
<?php endif; ?>
|
315 |
+
</td>
|
316 |
+
</tr>
|
317 |
+
<th><?php echo $this->__('Discount Amount') ?></th>
|
318 |
+
<td><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
|
319 |
+
</tr>
|
320 |
+
<tr>
|
321 |
+
<th><?php echo $this->__('Row Total') ?></th>
|
322 |
+
<td>
|
323 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()+$_item->getWeeeTaxAppliedRowAmount()) ?>
|
324 |
+
</td>
|
325 |
+
</tr>
|
app/design/frontend/default/iphone/template/downloadable/sales/order/invoice/items/renderer/downloadable.phtml
ADDED
@@ -0,0 +1,320 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
|
29 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
30 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
31 |
+
<td><h4 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h4>
|
32 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
33 |
+
<dl class="item-options">
|
34 |
+
<?php foreach ($_options as $_option) : ?>
|
35 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
36 |
+
<?php if (!$this->getPrintStatus()): ?>
|
37 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
38 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
39 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
40 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
41 |
+
<div class="truncated_full_value">
|
42 |
+
<dl class="item-options">
|
43 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
44 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
45 |
+
</dl>
|
46 |
+
</div>
|
47 |
+
<?php endif; ?>
|
48 |
+
</dd>
|
49 |
+
<?php else: ?>
|
50 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</dl>
|
54 |
+
<?php endif; ?>
|
55 |
+
|
56 |
+
<!-- downloadable -->
|
57 |
+
<?php if ($links = $this->getLinks()): ?>
|
58 |
+
<dl class="item-options">
|
59 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
60 |
+
<?php foreach ($links->getPurchasedItems() as $link): ?>
|
61 |
+
<dd><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
|
62 |
+
<?php endforeach; ?>
|
63 |
+
</dl>
|
64 |
+
<?php endif; ?>
|
65 |
+
<!-- EOF downloadable -->
|
66 |
+
|
67 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
68 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
|
69 |
+
<br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
70 |
+
<?php endif; ?>
|
71 |
+
</td>
|
72 |
+
</tr>
|
73 |
+
<tr>
|
74 |
+
<th><?php echo $this->__('SKU') ?></th>
|
75 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
76 |
+
</tr>
|
77 |
+
<tr>
|
78 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
79 |
+
<td class="a-right nowrap">
|
80 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
81 |
+
<span class="price-excl-tax">
|
82 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
83 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
<span class="cart-price">
|
85 |
+
<?php endif; ?>
|
86 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
87 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
88 |
+
</span>
|
89 |
+
<?php endif; ?>
|
90 |
+
<?php endif; ?>
|
91 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
92 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
93 |
+
<?php else: ?>
|
94 |
+
<span class="cart-price">
|
95 |
+
<?php endif; ?>
|
96 |
+
|
97 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
98 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
99 |
+
<?php else: ?>
|
100 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
101 |
+
<?php endif; ?>
|
102 |
+
|
103 |
+
</span>
|
104 |
+
|
105 |
+
|
106 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
107 |
+
|
108 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
109 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
110 |
+
<small>
|
111 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
112 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
113 |
+
<?php endforeach; ?>
|
114 |
+
</small>
|
115 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
116 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
117 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
118 |
+
<?php endforeach; ?>
|
119 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
120 |
+
<small>
|
121 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
122 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
123 |
+
<?php endforeach; ?>
|
124 |
+
</small>
|
125 |
+
<?php endif; ?>
|
126 |
+
</span>
|
127 |
+
|
128 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
129 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
130 |
+
<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>
|
131 |
+
</span>
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php endif; ?>
|
134 |
+
</span>
|
135 |
+
<br />
|
136 |
+
<?php endif; ?>
|
137 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
138 |
+
<span class="price-incl-tax">
|
139 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
140 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<span class="cart-price">
|
142 |
+
<?php endif; ?>
|
143 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
144 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
145 |
+
</span>
|
146 |
+
<?php endif; ?>
|
147 |
+
<?php endif; ?>
|
148 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
151 |
+
<?php else: ?>
|
152 |
+
<span class="cart-price">
|
153 |
+
<?php endif; ?>
|
154 |
+
|
155 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
156 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
157 |
+
<?php else: ?>
|
158 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
159 |
+
<?php endif; ?>
|
160 |
+
|
161 |
+
</span>
|
162 |
+
|
163 |
+
|
164 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
165 |
+
|
166 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
167 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
168 |
+
<small>
|
169 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
170 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
171 |
+
<?php endforeach; ?>
|
172 |
+
</small>
|
173 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
174 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
175 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
176 |
+
<?php endforeach; ?>
|
177 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
178 |
+
<small>
|
179 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
180 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
181 |
+
<?php endforeach; ?>
|
182 |
+
</small>
|
183 |
+
<?php endif; ?>
|
184 |
+
</span>
|
185 |
+
|
186 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
187 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
188 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
189 |
+
</span>
|
190 |
+
<?php endif; ?>
|
191 |
+
<?php endif; ?>
|
192 |
+
</span>
|
193 |
+
<?php endif; ?>
|
194 |
+
</td>
|
195 |
+
</tr>
|
196 |
+
<tr>
|
197 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
198 |
+
<td class="a-center"><?php echo $_item->getQty()*1 ?> </td>
|
199 |
+
</tr>
|
200 |
+
<tr>
|
201 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
202 |
+
<td class="a-right nowrap">
|
203 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
204 |
+
<span class="price-excl-tax">
|
205 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
206 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
207 |
+
<span class="cart-price">
|
208 |
+
<?php endif; ?>
|
209 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
210 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
211 |
+
</span>
|
212 |
+
<?php endif; ?>
|
213 |
+
<?php endif; ?>
|
214 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
215 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
216 |
+
<?php else: ?>
|
217 |
+
<span class="cart-price">
|
218 |
+
<?php endif; ?>
|
219 |
+
|
220 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
221 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
222 |
+
<?php else: ?>
|
223 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
224 |
+
<?php endif; ?>
|
225 |
+
|
226 |
+
</span>
|
227 |
+
|
228 |
+
|
229 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
230 |
+
|
231 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
232 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, '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']); ?></span>
|
236 |
+
<?php endforeach; ?>
|
237 |
+
</small>
|
238 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
239 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
240 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
241 |
+
<?php endforeach; ?>
|
242 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<small>
|
244 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
245 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
246 |
+
<?php endforeach; ?>
|
247 |
+
</small>
|
248 |
+
<?php endif; ?>
|
249 |
+
</span>
|
250 |
+
|
251 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
252 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
253 |
+
<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>
|
254 |
+
</span>
|
255 |
+
<?php endif; ?>
|
256 |
+
<?php endif; ?>
|
257 |
+
</span>
|
258 |
+
<br />
|
259 |
+
<?php endif; ?>
|
260 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
261 |
+
<span class="price-incl-tax">
|
262 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
263 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
264 |
+
<span class="cart-price">
|
265 |
+
<?php endif; ?>
|
266 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
267 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
268 |
+
</span>
|
269 |
+
<?php endif; ?>
|
270 |
+
<?php endif; ?>
|
271 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
272 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
273 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
274 |
+
<?php else: ?>
|
275 |
+
<span class="cart-price">
|
276 |
+
<?php endif; ?>
|
277 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
278 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
279 |
+
<?php else: ?>
|
280 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
281 |
+
<?php endif; ?>
|
282 |
+
|
283 |
+
</span>
|
284 |
+
|
285 |
+
|
286 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
287 |
+
|
288 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
289 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, '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']); ?></span>
|
293 |
+
<?php endforeach; ?>
|
294 |
+
</small>
|
295 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
296 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
297 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
298 |
+
<?php endforeach; ?>
|
299 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
300 |
+
<small>
|
301 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
302 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
303 |
+
<?php endforeach; ?>
|
304 |
+
</small>
|
305 |
+
<?php endif; ?>
|
306 |
+
</span>
|
307 |
+
|
308 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
309 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
310 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
311 |
+
</span>
|
312 |
+
<?php endif; ?>
|
313 |
+
<?php endif; ?>
|
314 |
+
|
315 |
+
|
316 |
+
|
317 |
+
</span>
|
318 |
+
<?php endif; ?>
|
319 |
+
</td>
|
320 |
+
</tr>
|
app/design/frontend/default/iphone/template/downloadable/sales/order/items/renderer/downloadable.phtml
ADDED
@@ -0,0 +1,335 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$_options = $this->getItemOptions();
|
30 |
+
$links = $this->getLinks();
|
31 |
+
?>
|
32 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
33 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
34 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3>
|
35 |
+
<?php if($_options): ?>
|
36 |
+
<dl class="item-options">
|
37 |
+
<?php foreach ($_options as $_option) : ?>
|
38 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
39 |
+
<?php if (!$this->getPrintStatus()): ?>
|
40 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
41 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
42 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
43 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
44 |
+
<div class="truncated_full_value">
|
45 |
+
<dl class="item-options">
|
46 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
47 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
48 |
+
</dl>
|
49 |
+
</div>
|
50 |
+
<?php endif; ?>
|
51 |
+
</dd>
|
52 |
+
<?php else: ?>
|
53 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php endforeach; ?>
|
56 |
+
</dl>
|
57 |
+
<?php endif; ?>
|
58 |
+
|
59 |
+
<!-- downloadable -->
|
60 |
+
<?php if ($links): ?>
|
61 |
+
<dl class="item-options">
|
62 |
+
<dt><?php echo $this->getLinksTitle() ?></dt>
|
63 |
+
<?php foreach ($links->getPurchasedItems() as $link): ?>
|
64 |
+
<dd><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
|
65 |
+
<?php endforeach; ?>
|
66 |
+
</dl>
|
67 |
+
<?php endif; ?>
|
68 |
+
<!-- EOF downloadable -->
|
69 |
+
|
70 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
71 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
72 |
+
<br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
73 |
+
<?php endif; ?>
|
74 |
+
</td>
|
75 |
+
</tr>
|
76 |
+
<tr>
|
77 |
+
<th><?php echo $this->__('SKU') ?></th>
|
78 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
79 |
+
</tr>
|
80 |
+
<tr>
|
81 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
82 |
+
<td class="a-right nowrap">
|
83 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
84 |
+
<span class="price-excl-tax">
|
85 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
86 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
87 |
+
<span class="cart-price">
|
88 |
+
<?php endif; ?>
|
89 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
90 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
91 |
+
</span>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php endif; ?>
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
95 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
96 |
+
<?php else: ?>
|
97 |
+
<span class="cart-price">
|
98 |
+
<?php endif; ?>
|
99 |
+
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
101 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
102 |
+
<?php else: ?>
|
103 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
104 |
+
<?php endif; ?>
|
105 |
+
|
106 |
+
</span>
|
107 |
+
|
108 |
+
|
109 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
110 |
+
|
111 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
112 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
113 |
+
<small>
|
114 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
115 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
116 |
+
<?php endforeach; ?>
|
117 |
+
</small>
|
118 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
119 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
120 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
121 |
+
<?php endforeach; ?>
|
122 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
123 |
+
<small>
|
124 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
125 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
126 |
+
<?php endforeach; ?>
|
127 |
+
</small>
|
128 |
+
<?php endif; ?>
|
129 |
+
</span>
|
130 |
+
|
131 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
132 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
133 |
+
<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>
|
134 |
+
</span>
|
135 |
+
<?php endif; ?>
|
136 |
+
<?php endif; ?>
|
137 |
+
</span>
|
138 |
+
<br />
|
139 |
+
<?php endif; ?>
|
140 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
141 |
+
<span class="price-incl-tax">
|
142 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
143 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
144 |
+
<span class="cart-price">
|
145 |
+
<?php endif; ?>
|
146 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
147 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
148 |
+
</span>
|
149 |
+
<?php endif; ?>
|
150 |
+
<?php endif; ?>
|
151 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
152 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
153 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
154 |
+
<?php else: ?>
|
155 |
+
<span class="cart-price">
|
156 |
+
<?php endif; ?>
|
157 |
+
|
158 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
159 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
160 |
+
<?php else: ?>
|
161 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
162 |
+
<?php endif; ?>
|
163 |
+
|
164 |
+
</span>
|
165 |
+
|
166 |
+
|
167 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
168 |
+
|
169 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
170 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
171 |
+
<small>
|
172 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
173 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
174 |
+
<?php endforeach; ?>
|
175 |
+
</small>
|
176 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
177 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
178 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
179 |
+
<?php endforeach; ?>
|
180 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
181 |
+
<small>
|
182 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
183 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
184 |
+
<?php endforeach; ?>
|
185 |
+
</small>
|
186 |
+
<?php endif; ?>
|
187 |
+
</span>
|
188 |
+
|
189 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
190 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
191 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
192 |
+
</span>
|
193 |
+
<?php endif; ?>
|
194 |
+
<?php endif; ?>
|
195 |
+
</span>
|
196 |
+
<?php endif; ?>
|
197 |
+
</td>
|
198 |
+
</tr>
|
199 |
+
<tr>
|
200 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
201 |
+
<td class="a-right nowrap">
|
202 |
+
<span class="nobr">
|
203 |
+
<?php if ($this->getItem()->getQtyOrdered() > 0): ?>
|
204 |
+
<?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
|
205 |
+
<?php endif; ?>
|
206 |
+
<?php if ($this->getItem()->getQtyShipped() > 0): ?>
|
207 |
+
<?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
|
208 |
+
<?php endif; ?>
|
209 |
+
<?php if ($this->getItem()->getQtyCanceled() > 0): ?>
|
210 |
+
<?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
|
211 |
+
<?php endif; ?>
|
212 |
+
<?php if ($this->getItem()->getQtyRefunded() > 0): ?>
|
213 |
+
<?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
|
214 |
+
<?php endif; ?>
|
215 |
+
</span>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
220 |
+
<td class="a-right nowrap">
|
221 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceExclTax()): ?>
|
222 |
+
<span class="price-excl-tax">
|
223 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
224 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
225 |
+
<span class="cart-price">
|
226 |
+
<?php endif; ?>
|
227 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
228 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
229 |
+
</span>
|
230 |
+
<?php endif; ?>
|
231 |
+
<?php endif; ?>
|
232 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
233 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
234 |
+
<?php else: ?>
|
235 |
+
<span class="cart-price">
|
236 |
+
<?php endif; ?>
|
237 |
+
|
238 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
239 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
240 |
+
<?php else: ?>
|
241 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
242 |
+
<?php endif; ?>
|
243 |
+
|
244 |
+
</span>
|
245 |
+
|
246 |
+
|
247 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
248 |
+
|
249 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
250 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
251 |
+
<small>
|
252 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
253 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
254 |
+
<?php endforeach; ?>
|
255 |
+
</small>
|
256 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
257 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
258 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
259 |
+
<?php endforeach; ?>
|
260 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
261 |
+
<small>
|
262 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
263 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
264 |
+
<?php endforeach; ?>
|
265 |
+
</small>
|
266 |
+
<?php endif; ?>
|
267 |
+
</span>
|
268 |
+
|
269 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
270 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
271 |
+
<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>
|
272 |
+
</span>
|
273 |
+
<?php endif; ?>
|
274 |
+
<?php endif; ?>
|
275 |
+
</span>
|
276 |
+
<br />
|
277 |
+
<?php endif; ?>
|
278 |
+
<?php if ($this->helper('tax')->displayCartBothPrices() || $this->helper('tax')->displayCartPriceInclTax()): ?>
|
279 |
+
<span class="price-incl-tax">
|
280 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
281 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
282 |
+
<span class="cart-price">
|
283 |
+
<?php endif; ?>
|
284 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
285 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
286 |
+
</span>
|
287 |
+
<?php endif; ?>
|
288 |
+
<?php endif; ?>
|
289 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
290 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
291 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
292 |
+
<?php else: ?>
|
293 |
+
<span class="cart-price">
|
294 |
+
<?php endif; ?>
|
295 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
296 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
297 |
+
<?php else: ?>
|
298 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
299 |
+
<?php endif; ?>
|
300 |
+
|
301 |
+
</span>
|
302 |
+
|
303 |
+
|
304 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
305 |
+
|
306 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
307 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
308 |
+
<small>
|
309 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
310 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
311 |
+
<?php endforeach; ?>
|
312 |
+
</small>
|
313 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
314 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
315 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
316 |
+
<?php endforeach; ?>
|
317 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
318 |
+
<small>
|
319 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
320 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
321 |
+
<?php endforeach; ?>
|
322 |
+
</small>
|
323 |
+
<?php endif; ?>
|
324 |
+
</span>
|
325 |
+
|
326 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
327 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
328 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
329 |
+
</span>
|
330 |
+
<?php endif; ?>
|
331 |
+
<?php endif; ?>
|
332 |
+
</span>
|
333 |
+
<?php endif; ?>
|
334 |
+
</td>
|
335 |
+
</tr>
|
app/design/frontend/default/iphone/template/newsletter/subscribe.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="block block-subscribe">
|
28 |
+
<div class="block-title">
|
29 |
+
<strong><span><?php echo $this->__('Newsletter') ?></span></strong>
|
30 |
+
</div>
|
31 |
+
<form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
|
32 |
+
<div class="block-content">
|
33 |
+
<div class="form-subscribe-header">
|
34 |
+
<label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
|
35 |
+
</div>
|
36 |
+
<div class="input-box">
|
37 |
+
<input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" placeholder="Enter Your Email" class="input-text required-entry validate-email" />
|
38 |
+
</div>
|
39 |
+
<div class="actions">
|
40 |
+
<button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button"><?php echo $this->__('Subscribe') ?></button>
|
41 |
+
</div>
|
42 |
+
</div>
|
43 |
+
</form>
|
44 |
+
<script type="text/javascript">
|
45 |
+
//<![CDATA[
|
46 |
+
var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
|
47 |
+
//]]>
|
48 |
+
</script>
|
49 |
+
</div>
|
app/design/frontend/default/iphone/template/page/1column.phtml
CHANGED
@@ -20,41 +20,30 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
|
28 |
-
|
29 |
-
* Template for Mage_Page_Block_Html
|
30 |
-
*/
|
31 |
-
?>
|
32 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
33 |
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
34 |
<head>
|
35 |
<?php echo $this->getChildHtml('head') ?>
|
36 |
</head>
|
37 |
-
<body
|
38 |
-
<?php echo $this->getChildHtml('after_body_start') ?>
|
39 |
-
<?php echo $this->getChildHtml('global_notices') ?>
|
40 |
-
<div class="header">
|
41 |
<?php echo $this->getChildHtml('header') ?>
|
42 |
-
|
43 |
-
<
|
44 |
-
<div class="middle col-1-layout">
|
45 |
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
</div>
|
56 |
-
</div>
|
57 |
-
<?php echo $this->getChildHtml('before_body_end') ?>
|
58 |
-
<?php echo $this->getAbsoluteFooter() ?>
|
59 |
</body>
|
60 |
</html>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<!DOCTYPE HTML>
|
28 |
+
<html lang="en-US">
|
|
|
|
|
|
|
|
|
|
|
29 |
<head>
|
30 |
<?php echo $this->getChildHtml('head') ?>
|
31 |
</head>
|
32 |
+
<body <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?> onunload="">
|
33 |
+
<?php echo $this->getChildHtml('after_body_start') ?>
|
34 |
+
<?php echo $this->getChildHtml('global_notices') ?>
|
|
|
35 |
<?php echo $this->getChildHtml('header') ?>
|
36 |
+
|
37 |
+
<section role="main" class="<?php echo $this->getMyClass() ?>">
|
|
|
38 |
<?php echo $this->getChildHtml('breadcrumbs') ?>
|
39 |
+
<?php echo $this->getChildHtml('global_messages') ?>
|
40 |
+
<?php echo $this->getChildHtml('homepage.banner') ?>
|
41 |
+
<?php echo $this->getChildHtml('content') ?>
|
42 |
+
</section>
|
43 |
+
|
44 |
+
<?php echo $this->getChildHtml('footer') ?>
|
45 |
+
|
46 |
+
<?php echo $this->getChildHtml('before_body_end') ?>
|
47 |
+
<?php echo $this->getAbsoluteFooter() ?>
|
|
|
|
|
|
|
|
|
48 |
</body>
|
49 |
</html>
|
app/design/frontend/default/iphone/template/page/html/footer.phtml
CHANGED
@@ -20,13 +20,11 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<
|
28 |
<?php echo $this->getChildHtml() ?>
|
29 |
-
</
|
30 |
-
<
|
31 |
-
<?php echo $this->getCopyright() ?>
|
32 |
-
</p>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<footer>
|
28 |
<?php echo $this->getChildHtml() ?>
|
29 |
+
</footer>
|
30 |
+
<address class="copyright"><span class="logo"><img src="<?php echo $this->getSkinUrl(Mage::getStoreConfig('design/header/logo_src'))?>" width="21" alt=""/></span><?php echo $this->getCopyright() ?></address>
|
|
|
|
app/design/frontend/default/iphone/template/page/html/head.phtml
CHANGED
@@ -20,18 +20,30 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<title>
|
28 |
-
|
29 |
-
|
30 |
-
<meta
|
31 |
-
<
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
</script>
|
35 |
|
36 |
<?php echo $this->getCssJsHtml() ?>
|
37 |
<?php echo $this->getChildHtml() ?>
|
|
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<title><?php echo $this->getTitle() ?></title>
|
28 |
+
<meta charset="UTF-8">
|
29 |
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
30 |
+
<meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
|
31 |
+
<meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
|
32 |
+
<meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
|
33 |
+
|
34 |
+
<link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
|
35 |
+
<link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
|
36 |
+
|
37 |
+
<script>
|
38 |
+
//<![CDATA[
|
39 |
+
addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
|
40 |
+
function hideURLbar() {
|
41 |
+
window.scrollTo(0, 1);
|
42 |
+
}
|
43 |
+
//]]>
|
44 |
</script>
|
45 |
|
46 |
<?php echo $this->getCssJsHtml() ?>
|
47 |
<?php echo $this->getChildHtml() ?>
|
48 |
+
<?php echo $this->helper('core/js')->getTranslatorScript() ?>
|
49 |
+
<?php echo $this->getIncludes() ?>
|
app/design/frontend/default/iphone/template/page/html/header.phtml
CHANGED
@@ -20,31 +20,33 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/**
|
27 |
* @var Mage_Page_Block_Html_Header $this
|
28 |
*/
|
29 |
?>
|
30 |
-
|
31 |
-
|
32 |
-
<
|
33 |
-
<div class="col2-alt-set">
|
34 |
-
<div class="col-1">
|
35 |
-
<h1 id="logo"><a href="<?php echo $this->getUrl('') ?>"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
|
36 |
-
</div>
|
37 |
-
<div class="col-2">
|
38 |
-
<div class="switch-language">
|
39 |
-
<?php echo $this->getChildHtml('store_language') ?>
|
40 |
-
</div>
|
41 |
-
<div class="clear"></div>
|
42 |
-
|
43 |
-
<p class="welcome-msg"><?php echo $this->getWelcome()?></p>
|
44 |
-
<?php echo $this->getChildHtml('accountLinks') ?>
|
45 |
-
</div>
|
46 |
-
</div>
|
47 |
</div>
|
48 |
-
<
|
49 |
-
|
50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/**
|
27 |
* @var Mage_Page_Block_Html_Header $this
|
28 |
*/
|
29 |
?>
|
30 |
+
<?php $_cartItems = $this->helper('checkout/cart')->getSummaryCount(); ?>
|
31 |
+
<div class="header-bg">
|
32 |
+
<a class="header-logo" href="<?php echo $this->getUrl('') ?>"></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
</div>
|
34 |
+
<header>
|
35 |
+
<div class="menu-wrapper">
|
36 |
+
<dl id="menu">
|
37 |
+
<dt class="menu dropdown"><a href="#">Menu</a></dt>
|
38 |
+
<dd class="menu-box">
|
39 |
+
<?php echo $this->getChildHtml('topLinks') ?>
|
40 |
+
<?php echo $this->getChildHtml('checkoutLinks') ?>
|
41 |
+
<?php echo $this->getChildHtml('accountLinks') ?>
|
42 |
+
</dd>
|
43 |
+
<dt class="cart-icon <?php echo $this->getInCart() ? 'active' : '' ?>">
|
44 |
+
<a href="<?php echo $this->getUrl('checkout/cart'); ?>">Cart</a>
|
45 |
+
<?php echo $_cartItems > 0 ? '<span>'.$_cartItems.'</span>' : ''; ?>
|
46 |
+
</dt>
|
47 |
+
<dd></dd>
|
48 |
+
</dl>
|
49 |
+
<div class="search"><?php echo $this->getChildHtml('topSearch') ?></div>
|
50 |
+
</div>
|
51 |
+
</header>
|
52 |
+
<?php echo $this->getChildHtml('topCart') ?>
|
app/design/frontend/default/iphone/template/page/html/pager.phtml
ADDED
@@ -0,0 +1,113 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Pager template
|
30 |
+
*
|
31 |
+
* @see Mage_Page_Block_Html_Pager
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if($this->getCollection()->getSize()): ?>
|
35 |
+
|
36 |
+
<?php if($this->getUseContainer()): ?>
|
37 |
+
<div class="pager">
|
38 |
+
<?php endif ?>
|
39 |
+
|
40 |
+
<?php if($this->getShowAmounts()): ?>
|
41 |
+
<p class="amount">
|
42 |
+
|
43 |
+
<?php if($this->getLastPageNum()>1): ?>
|
44 |
+
<?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
|
45 |
+
<?php else: ?>
|
46 |
+
<strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
|
47 |
+
<?php endif; ?>
|
48 |
+
</p>
|
49 |
+
<?php endif ?>
|
50 |
+
|
51 |
+
<?php if($this->getShowPerPage()): ?>
|
52 |
+
<div class="limiter">
|
53 |
+
<label><?php echo $this->__('Show') ?></label>
|
54 |
+
<select onchange="setLocation(this.value)">
|
55 |
+
<?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
|
56 |
+
<option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
|
57 |
+
<?php echo $_limit ?>
|
58 |
+
</option>
|
59 |
+
<?php endforeach; ?>
|
60 |
+
</select> <?php echo $this->__('per page') ?>
|
61 |
+
</div>
|
62 |
+
<?php endif ?>
|
63 |
+
|
64 |
+
<?php if($this->getLastPageNum()>1): ?>
|
65 |
+
<div class="pages">
|
66 |
+
<strong><?php echo $this->__('Page') ?></strong>
|
67 |
+
<select onchange="setLocation(this.value)">
|
68 |
+
<?php if ($this->canShowFirst()): ?>
|
69 |
+
<option value="<?php echo $this->getFirstPageUrl() ?>">1</option>
|
70 |
+
<?php endif;?>
|
71 |
+
|
72 |
+
<?php if ($this->canShowPreviousJump()): ?>
|
73 |
+
<option value="<?php echo $this->getPreviousJumpUrl() ?>">...</option>
|
74 |
+
<?php endif;?>
|
75 |
+
|
76 |
+
<?php foreach ($this->getFramePages() as $_page): ?>
|
77 |
+
<?php if ($this->isPageCurrent($_page)): ?>
|
78 |
+
<option value="" class="current" selected="selected"><?php echo $_page ?></li>
|
79 |
+
<?php else: ?>
|
80 |
+
<option value="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></option>
|
81 |
+
<?php endif;?>
|
82 |
+
<?php endforeach;?>
|
83 |
+
|
84 |
+
|
85 |
+
<?php if ($this->canShowNextJump()): ?>
|
86 |
+
<option value="<?php echo $this->getNextJumpUrl() ?>">...</option>
|
87 |
+
<?php endif;?>
|
88 |
+
|
89 |
+
<?php if ($this->canShowLast()): ?>
|
90 |
+
<option value="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></option>
|
91 |
+
<?php endif;?>
|
92 |
+
</select>
|
93 |
+
|
94 |
+
<?php if (!$this->isFirstPage()): ?>
|
95 |
+
<a class="prev-page" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>"></a>
|
96 |
+
<?php else: ?>
|
97 |
+
<span class="prev-page disabled"> </span>
|
98 |
+
<?php endif;?>
|
99 |
+
|
100 |
+
<?php if (!$this->isLastPage()): ?>
|
101 |
+
<a class="next-page" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>"> </a>
|
102 |
+
<?php else: ?>
|
103 |
+
<span class="next-page disabled"> </span>
|
104 |
+
<?php endif;?>
|
105 |
+
|
106 |
+
</div>
|
107 |
+
<?php endif; ?>
|
108 |
+
|
109 |
+
<?php if($this->getUseContainer()): ?>
|
110 |
+
</div>
|
111 |
+
<?php endif ?>
|
112 |
+
|
113 |
+
<?php endif ?>
|
app/design/frontend/default/iphone/template/page/switch/languages.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Language switcher template
|
30 |
+
*
|
31 |
+
* @see Mage_Page_Block_Switch
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if(count($this->getStores())>1): ?>
|
35 |
+
<li id="language-switcher">
|
36 |
+
<a href="#"><?php echo $this->__('Language') ?>: <span id="current-language"></span></a>
|
37 |
+
<ol class="switcher-options" style="display:none;">
|
38 |
+
<?php foreach ($this->getStores() as $_lang): ?>
|
39 |
+
<?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' class="selected"' : '' ?>
|
40 |
+
<li<?php echo $_selected ?>>
|
41 |
+
<a href="<?php echo $_lang->getCurrentUrl() ?>"><?php echo $this->escapeHtml($_lang->getName()) ?></a>
|
42 |
+
</li>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ol>
|
45 |
+
</li>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/page/switch/stores.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Store switcher template
|
30 |
+
*
|
31 |
+
* @see Mage_Core_Block_Store_Switcher
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php if(count($this->getGroups())>1): ?>
|
35 |
+
<li id="store-switcher">
|
36 |
+
<a href="#"><?php echo $this->__('Selected Store') ?>: <span id="current-store"></span></a>
|
37 |
+
<ol class="switcher-options" style="display:none;">
|
38 |
+
<?php foreach ($this->getGroups() as $_group): ?>
|
39 |
+
<?php $_selected = ($_group->getId() == $this->getCurrentGroupId()) ? ' class="selected"' : '' ?>
|
40 |
+
<li<?php echo $_selected ?>>
|
41 |
+
<a href="<?php echo $_group->getCurrentUrl() ?>"><?php echo $this->escapeHtml($_group->getName()) ?></a>
|
42 |
+
</li>
|
43 |
+
<?php endforeach; ?>
|
44 |
+
</ol>
|
45 |
+
</li>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/page/template/links.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Page_Block_Template_Links
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<?php $_links = $this->getLinks(); ?>
|
33 |
+
<?php if(count($_links)>0): ?>
|
34 |
+
<?php ksort($_links); ?>
|
35 |
+
<ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
|
36 |
+
<?php foreach($_links as $_link): ?>
|
37 |
+
<?php if ($_link instanceof Mage_Core_Block_Abstract):?>
|
38 |
+
<?php echo $_link->toHtml() ?>
|
39 |
+
<?php else: ?>
|
40 |
+
<li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
|
41 |
+
<?php endif;?>
|
42 |
+
<?php endforeach; ?>
|
43 |
+
</ul>
|
44 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/paypal/express/review.phtml
ADDED
@@ -0,0 +1,171 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/** @var $this Mage_Paypal_Block_Express_Review */
|
27 |
+
|
28 |
+
$billingBlock = $this->getChild('billing')->setFieldNamePrefix('billing')->setHideEmailAddress(true);
|
29 |
+
$shippingAddress = $this->getShippingAddress();
|
30 |
+
?>
|
31 |
+
<div class="page-title">
|
32 |
+
<h1><?php echo $this->__('Review Order') ?></h1>
|
33 |
+
</div>
|
34 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
35 |
+
<script type="text/javascript">
|
36 |
+
//<![CDATA[
|
37 |
+
var countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?>
|
38 |
+
//]]>
|
39 |
+
</script>
|
40 |
+
<div class="paypal-review-order">
|
41 |
+
<h2 class="sub-title">
|
42 |
+
Please confirm your addresses
|
43 |
+
</h2>
|
44 |
+
<form method="post" id="order_review_form" action="<?php echo $this->getPlaceOrderUrl() ?>">
|
45 |
+
<?php if(!$billingBlock->isCustomerLoggedIn()): ?>
|
46 |
+
<div class="info-set">
|
47 |
+
<h2 class="legend"><?php echo $this->__('Customer Information') ?></h2>
|
48 |
+
<ul class="form-list form-list-narrow">
|
49 |
+
<li id="customer-info-form" class="address-form">
|
50 |
+
<div class="field">
|
51 |
+
<label for="customer:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
52 |
+
<div class="input-box">
|
53 |
+
<input type="text" name="customer-email" id="customer:email" value="<?php echo $this->escapeHtml($billingBlock->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
|
54 |
+
</div>
|
55 |
+
</div>
|
56 |
+
</li>
|
57 |
+
</ul>
|
58 |
+
</div>
|
59 |
+
<?php endif ?>
|
60 |
+
<div class="info-set">
|
61 |
+
<div class="col-1" id="billing-address">
|
62 |
+
<h2 class="legend"><?php echo $this->__('Billing Address') ?></h2>
|
63 |
+
<?php if ($shippingAddress): ?>
|
64 |
+
<?php echo $billingBlock->setShowAsShippingCheckbox(true)->toHtml(); ?>
|
65 |
+
<?php else: ?>
|
66 |
+
<?php echo $billingBlock->toHtml(); ?>
|
67 |
+
<?php endif; ?>
|
68 |
+
</div>
|
69 |
+
<?php if ($shippingAddress): ?>
|
70 |
+
<div class="col-2" id="shipping-address">
|
71 |
+
<h2 class="legend"><?php echo $this->__('Shipping Address') ?></h2>
|
72 |
+
<?php echo $this->getChild('shipping')->setFieldNamePrefix('shipping')->setHideEmailAddress(true)->toHtml(); ?>
|
73 |
+
</div>
|
74 |
+
</div>
|
75 |
+
|
76 |
+
<div class="info-set">
|
77 |
+
<div class="col-2">
|
78 |
+
<div class="box paypal-shipping-method">
|
79 |
+
<div class="box-title">
|
80 |
+
<h3><?php echo $this->__('Shipping Method') ?></h3>
|
81 |
+
</div>
|
82 |
+
<div class="box-content">
|
83 |
+
<?php echo $this->getChild('shipping_method')->toHtml(); ?>
|
84 |
+
</div>
|
85 |
+
</div>
|
86 |
+
</div>
|
87 |
+
<?php endif; ?>
|
88 |
+
</div>
|
89 |
+
|
90 |
+
<div class="info-set">
|
91 |
+
<h2 class="legend"><?php echo $this->__('Items in Your Shopping Cart') ?><span class="separator"> | </span><a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Shopping Cart') ?></a></h2>
|
92 |
+
<div id="details-reload">
|
93 |
+
<?php echo $this->getChildHtml('details') ?>
|
94 |
+
</div>
|
95 |
+
</div>
|
96 |
+
<?php echo $this->getChildHtml('agreements'); ?>
|
97 |
+
<div class="buttons-set buttons-set-order" id="review-buttons-container">
|
98 |
+
<button type="button" id="review_button" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
99 |
+
<button type="button" id="review_submit" value="<?php echo $this->__('Place Order') ?>" class="button btn-checkout"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
100 |
+
<button type="button" id="update_order" class="button btn-checkout"><span><span><?php echo $this->__('Update Order Data') ?></span></span></button>
|
101 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
102 |
+
<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...') ?>
|
103 |
+
</span>
|
104 |
+
</div>
|
105 |
+
</form>
|
106 |
+
</div>
|
107 |
+
<script type="text/javascript">
|
108 |
+
//<![CDATA[
|
109 |
+
// submit buttons are not needed when submitting with ajax
|
110 |
+
$('review_submit').hide();
|
111 |
+
if ($('update_shipping_method_submit')) {
|
112 |
+
$('update_shipping_method_submit').hide();
|
113 |
+
}
|
114 |
+
|
115 |
+
<?php if ($this->getUseAjax()):?>
|
116 |
+
OrderReviewController.prototype._submitOrder = function() {
|
117 |
+
if (this._canSubmitOrder) {
|
118 |
+
if (this._pleaseWait) {
|
119 |
+
this._pleaseWait.show();
|
120 |
+
}
|
121 |
+
new Ajax.Request(this.form.action, {
|
122 |
+
parameters: {isAjax: 1, method: 'POST'},
|
123 |
+
onSuccess: function(transport) {
|
124 |
+
try{
|
125 |
+
response = eval('(' + transport.responseText + ')');
|
126 |
+
} catch (e) {
|
127 |
+
response = {};
|
128 |
+
}
|
129 |
+
if (response.redirect) {
|
130 |
+
setLocation(response.redirect);
|
131 |
+
return;
|
132 |
+
}
|
133 |
+
if (response.success) {
|
134 |
+
setLocation('<?php echo $this->getSuccessUrl()?>');
|
135 |
+
return;
|
136 |
+
} else {
|
137 |
+
var msg = response.error_messages;
|
138 |
+
if (typeof(msg)=='object') {
|
139 |
+
msg = msg.join("\n");
|
140 |
+
}
|
141 |
+
if (msg) {
|
142 |
+
$('review-please-wait').hide();
|
143 |
+
alert(msg);
|
144 |
+
return;
|
145 |
+
}
|
146 |
+
}
|
147 |
+
$('review-please-wait').hide();
|
148 |
+
alert('<?php echo $this->jsQuoteEscape($this->__('Unknown Error. Please try again later.')); ?>');
|
149 |
+
return;
|
150 |
+
},
|
151 |
+
onFailure: function(){
|
152 |
+
alert('<?php echo $this->jsQuoteEscape($this->__('Server Error. Please try again.')) ?>');
|
153 |
+
$('review-please-wait').hide();
|
154 |
+
}
|
155 |
+
});
|
156 |
+
}
|
157 |
+
}
|
158 |
+
<?php endif ?>
|
159 |
+
PayPalExpressAjax = new OrderReviewController($('order_review_form'), $('review_button'),
|
160 |
+
'shipping_method', null, 'details-reload'
|
161 |
+
);
|
162 |
+
PayPalExpressAjax.addPleaseWait($('review-please-wait'));
|
163 |
+
PayPalExpressAjax.setShippingAddressContainer($('shipping-address'));
|
164 |
+
PayPalExpressAjax.setShippingMethodContainer('shipping-method-container');
|
165 |
+
PayPalExpressAjax.shippingMethodsUpdateUrl = '<?php echo $this->escapeHtml($this->getUpdateShippingMethodsUrl()) ?>';
|
166 |
+
PayPalExpressAjax.setUpdateButton($('update_order'),'<?php echo $this->escapeHtml($this->getUpdateOrderSubmitUrl()) ?>','details-reload');
|
167 |
+
if ($('billing:as_shipping')) {
|
168 |
+
PayPalExpressAjax.setCopyElement($('billing:as_shipping'));
|
169 |
+
}
|
170 |
+
//]]>
|
171 |
+
</script>
|
app/design/frontend/default/iphone/template/paypal/express/review/details.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @see Mage_Paypal_Block_Express_Review_Details
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<table id="details-table" class="data-table">
|
32 |
+
<thead>
|
33 |
+
<tr>
|
34 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
35 |
+
<th><?php echo $this->__('Subtotal') ?></th>
|
36 |
+
</tr>
|
37 |
+
</thead>
|
38 |
+
<?php echo $this->getChildHtml('totals'); ?>
|
39 |
+
<tbody>
|
40 |
+
<?php foreach($this->getItems() as $_item): ?>
|
41 |
+
<?php echo $this->getItemHtml($_item) ?>
|
42 |
+
<?php endforeach ?>
|
43 |
+
</tbody>
|
44 |
+
</table>
|
app/design/frontend/default/iphone/template/persistent/checkout/onepage/login.phtml
ADDED
@@ -0,0 +1,145 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Customer onepage checkout login form template
|
30 |
+
*
|
31 |
+
* @see app/design/frontend/base/default/template/checkout/onepage/login.phtml
|
32 |
+
*/
|
33 |
+
/** @var $this Mage_Checkout_Block_Onepage_Login */
|
34 |
+
?>
|
35 |
+
<div class="col2-set">
|
36 |
+
<div class="col-1">
|
37 |
+
<h4><?php echo $this->__('Login') ?></h4>
|
38 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
39 |
+
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
40 |
+
<fieldset>
|
41 |
+
<p><?php echo $this->__('Already registered? Please log in below:') ?></p>
|
42 |
+
<ul class="form-list">
|
43 |
+
<li>
|
44 |
+
<label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
45 |
+
<div class="input-box">
|
46 |
+
<input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
|
47 |
+
</div>
|
48 |
+
</li>
|
49 |
+
<li>
|
50 |
+
<label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
51 |
+
<div class="input-box">
|
52 |
+
<input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
|
53 |
+
</div>
|
54 |
+
</li>
|
55 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
56 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
57 |
+
<li class="note">
|
58 |
+
<a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
|
59 |
+
</li>
|
60 |
+
<li class="buttons-set">
|
61 |
+
<button type="submit" class="button" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
|
62 |
+
</li>
|
63 |
+
</ul>
|
64 |
+
<input name="context" type="hidden" value="checkout" />
|
65 |
+
</fieldset>
|
66 |
+
</form>
|
67 |
+
</div>
|
68 |
+
<?php echo $this->getChildHtml('login_before')?>
|
69 |
+
<div class="col-2">
|
70 |
+
<h4><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h4>
|
71 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
72 |
+
<p><?php echo $this->__('Register with us for future convenience:') ?></p>
|
73 |
+
<?php else: ?>
|
74 |
+
<p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
|
75 |
+
<?php echo $this->__('Register with us for future convenience:') ?></p>
|
76 |
+
<ul>
|
77 |
+
<li><?php echo $this->__('Fast and easy check out') ?></li>
|
78 |
+
<li><?php echo $this->__('Easy access to your order history and status') ?></li>
|
79 |
+
</ul>
|
80 |
+
<?php endif; ?>
|
81 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
82 |
+
<ul class="form-list">
|
83 |
+
<?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
|
84 |
+
<li class="control">
|
85 |
+
<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>
|
86 |
+
</li>
|
87 |
+
<?php endif; ?>
|
88 |
+
<li class="control">
|
89 |
+
<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>
|
90 |
+
</li>
|
91 |
+
<li class="buttons-set">
|
92 |
+
<?php if ($this->getQuote()->isAllowedGuestCheckout()): ?>
|
93 |
+
<button id="onepage-guest-register-button" type="button" class="button" onclick="checkout.setMethod();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
|
94 |
+
<?php elseif ($this->helper('checkout')->isCustomerMustBeLogged()): ?>
|
95 |
+
<button id="onepage-guest-register-button" type="button" class="button" onclick="window.location='<?php echo $this->helper('checkout/url')->getRegistrationUrl();?>'"><span><span><?php echo $this->__('Register') ?></span></span></button>
|
96 |
+
<?php else: ?>
|
97 |
+
<form action="<?php echo $this->getUrl('persistent/index/saveMethod'); ?>">
|
98 |
+
<button id="onepage-guest-register-button" type="submit" class="button"><span><span><?php echo $this->__('Register') ?></span></span></button>
|
99 |
+
</form>
|
100 |
+
<?php endif; ?>
|
101 |
+
</li>
|
102 |
+
</ul>
|
103 |
+
<?php else: ?>
|
104 |
+
<input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
|
105 |
+
<?php endif; ?>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
<div class="col2-set">
|
109 |
+
<div class="col-1">
|
110 |
+
</div>
|
111 |
+
</div>
|
112 |
+
<script type="text/javascript">
|
113 |
+
//<![CDATA[
|
114 |
+
var loginForm = new VarienForm('login-form', true);
|
115 |
+
$('login-email').observe('keypress', bindLoginPost);
|
116 |
+
$('login-password').observe('keypress', bindLoginPost);
|
117 |
+
function bindLoginPost(evt){
|
118 |
+
if (evt.keyCode == Event.KEY_RETURN) {
|
119 |
+
loginForm.submit();
|
120 |
+
}
|
121 |
+
}
|
122 |
+
function onepageLogin(button)
|
123 |
+
{
|
124 |
+
if(loginForm.validator && loginForm.validator.validate()){
|
125 |
+
button.disabled = true;
|
126 |
+
loginForm.submit();
|
127 |
+
}
|
128 |
+
}
|
129 |
+
//]]>
|
130 |
+
</script>
|
131 |
+
<?php
|
132 |
+
$registerParam = $this->getRequest()->getParam('register');
|
133 |
+
if ($registerParam || $registerParam === ''):
|
134 |
+
?>
|
135 |
+
<script type="text/javascript">
|
136 |
+
//<![CDATA[
|
137 |
+
document.observe("dom:loaded", function() {
|
138 |
+
if($('login:register')) {
|
139 |
+
$('login:register').checked = true;
|
140 |
+
checkout.setMethod();
|
141 |
+
}
|
142 |
+
})
|
143 |
+
//]]>
|
144 |
+
</script>
|
145 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/persistent/customer/form/login.phtml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -28,41 +28,58 @@
|
|
28 |
/**
|
29 |
* Customer login form template
|
30 |
*
|
31 |
-
* @see app/design/frontend/default/
|
32 |
*/
|
33 |
/** @var $this Mage_Customer_Block_Form_Login */
|
34 |
?>
|
35 |
<div class="account-login">
|
|
|
|
|
|
|
36 |
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
|
38 |
-
<div class="
|
39 |
-
<
|
40 |
-
|
41 |
-
|
42 |
-
<
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
</div>
|
56 |
</div>
|
57 |
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
58 |
<input name="context" type="hidden" value="checkout" />
|
59 |
<?php endif; ?>
|
60 |
-
<div class="new-users">
|
61 |
-
<h1><?php echo $this->__('New Customers') ?></h1>
|
62 |
-
<div class="buttons-set">
|
63 |
-
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
|
64 |
-
</div>
|
65 |
-
</div>
|
66 |
</form>
|
67 |
<script type="text/javascript">
|
68 |
//<![CDATA[
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
28 |
/**
|
29 |
* Customer login form template
|
30 |
*
|
31 |
+
* @see app/design/frontend/base/default/template/customer/form/login.phtml
|
32 |
*/
|
33 |
/** @var $this Mage_Customer_Block_Form_Login */
|
34 |
?>
|
35 |
<div class="account-login">
|
36 |
+
<div class="page-title">
|
37 |
+
<h1><?php echo $this->__('Login or Create an Account') ?></h1>
|
38 |
+
</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-1 registered-users">
|
43 |
+
<div class="content">
|
44 |
+
<h2><?php echo $this->__('Registered Customers') ?></h2>
|
45 |
+
<ul class="form-list">
|
46 |
+
<li>
|
47 |
+
<label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
|
48 |
+
<div class="input-box">
|
49 |
+
<input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
|
50 |
+
</div>
|
51 |
+
</li>
|
52 |
+
<li>
|
53 |
+
<label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
|
54 |
+
<div class="input-box">
|
55 |
+
<input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
|
56 |
+
</div>
|
57 |
+
</li>
|
58 |
+
<li class="note">
|
59 |
+
<a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
|
60 |
+
</li>
|
61 |
+
<?php echo $this->getChildHtml('form.additional.info'); ?>
|
62 |
+
<?php echo $this->getChildHtml('persistent.remember.me'); ?>
|
63 |
+
<li class="buttons-set">
|
64 |
+
<button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><?php echo $this->__('Login') ?></button>
|
65 |
+
</li>
|
66 |
+
</ul>
|
67 |
+
<p class="required"><?php echo $this->__('* Required Fields') ?></p>
|
68 |
+
<?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
|
69 |
+
</div>
|
70 |
+
</div>
|
71 |
+
<div class="col-2 new-users">
|
72 |
+
<div class="content">
|
73 |
+
<h2><?php echo $this->__('New Customers') ?></h2>
|
74 |
+
<div class="buttons-set">
|
75 |
+
<button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><?php echo $this->__('Create an Account') ?></button>
|
76 |
+
</div>
|
77 |
+
</div>
|
78 |
</div>
|
79 |
</div>
|
80 |
<?php if (Mage::helper('checkout')->isContextCheckout()): ?>
|
81 |
<input name="context" type="hidden" value="checkout" />
|
82 |
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
</form>
|
84 |
<script type="text/javascript">
|
85 |
//<![CDATA[
|
app/design/frontend/default/iphone/template/persistent/remember_me_tooltip.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* "Remember Me" popup template (when click on "What's this?")
|
30 |
+
*
|
31 |
+
*/
|
32 |
+
/** @var $this Mage_Core_Block_Template */
|
33 |
+
?>
|
34 |
+
|
35 |
+
<div id="remember-me-popup" class="remember-me-popup" style="display:none;">
|
36 |
+
<div class="remember-me-popup-body">
|
37 |
+
<p>Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out</p>
|
38 |
+
<a href="#" class="remember-me-popup-close button" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a>
|
39 |
+
</div>
|
40 |
+
</div>
|
41 |
+
<script type="text/javascript">
|
42 |
+
//<![CDATA[
|
43 |
+
function toggleRememberMepopup(e){
|
44 |
+
if($('remember-me-popup')){
|
45 |
+
$('remember-me-popup').setStyle({'top' : e.pointerY() + 'px'}).toggle();
|
46 |
+
}
|
47 |
+
Event.stop(event);
|
48 |
+
}
|
49 |
+
|
50 |
+
document.observe("dom:loaded", function() {
|
51 |
+
new Insertion.Bottom($$('body')[0], $('remember-me-popup'));
|
52 |
+
|
53 |
+
$$('.remember-me-popup-close').each(function(element){
|
54 |
+
Event.observe(element, 'click', toggleRememberMepopup);
|
55 |
+
})
|
56 |
+
$$('#remember-me-box a').each(function(element) {
|
57 |
+
Event.observe(element, 'click', toggleRememberMepopup);
|
58 |
+
});
|
59 |
+
});
|
60 |
+
//]]>
|
61 |
+
</script>
|
app/design/frontend/default/iphone/template/review/customer/list.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<div class="page-title">
|
28 |
+
<h1><?php echo $this->__('My Product Reviews') ?></h1>
|
29 |
+
</div>
|
30 |
+
<div class="review-history">
|
31 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
32 |
+
<?php if( $this->getCollection() && $this->count()): ?>
|
33 |
+
<?php echo $this->getToolbarHtml() ?>
|
34 |
+
<ol class="list">
|
35 |
+
<?php foreach ($this->getCollection() as $_review): ?>
|
36 |
+
<li class="list-item">
|
37 |
+
<dl>
|
38 |
+
<dt>
|
39 |
+
<h2 class="product-name"><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->escapeHtml($_review->getName()) ?></a></h2>
|
40 |
+
<span class="date">(<?php echo $this->dateFormat($_review->getReviewCreatedAt()); ?>)</span>
|
41 |
+
</dt>
|
42 |
+
<?php if($_review->getSum()): ?>
|
43 |
+
<dd>
|
44 |
+
<div class="rating-box">
|
45 |
+
<div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
|
46 |
+
</div>
|
47 |
+
</dd>
|
48 |
+
<?php endif; ?>
|
49 |
+
<dd><?php echo $this->helper('review')->getDetailHtml($_review->getDetail()) ?></dd>
|
50 |
+
<dd><a href="<?php echo $this->getReviewLink() ?>id/<?php echo $_review->getReviewId() ?>"><?php echo $this->__('View Details') ?></a></dd>
|
51 |
+
</dl>
|
52 |
+
</li>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
</ol>
|
55 |
+
<?php else: ?>
|
56 |
+
<p><?php echo $this->__('You have submitted no reviews.') ?></p>
|
57 |
+
<?php endif; ?>
|
58 |
+
</div>
|
app/design/frontend/default/iphone/template/sales/billing/agreement/view.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Sales_Block_Billing_Agreement_View */ ?>
|
28 |
+
<div class="page-title title-buttons">
|
29 |
+
<h1><?php echo $this->__('Billing Agreement # <span>%s</span>', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
30 |
+
<?php if ($this->getCanCancel()): ?>
|
31 |
+
<a href="<?php echo $this->getCancelUrl() ?>" onclick="if( confirm('<?php echo $this->__('Are you sure you want to do this?') ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><?php echo $this->__('Cancel') ?></a>
|
32 |
+
<?php endif; ?>
|
33 |
+
</div>
|
34 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
35 |
+
<div class="billing-agreements">
|
36 |
+
<div class="info-box">
|
37 |
+
<h2 class="box-title"><?php echo $this->__('Agreement Information') ?></h2>
|
38 |
+
<div class="box-content">
|
39 |
+
<table class="info-table">
|
40 |
+
<tbody>
|
41 |
+
<tr>
|
42 |
+
<th><?php echo $this->__('Reference ID:') ?></th>
|
43 |
+
<td><span class="nobr"><?php echo $this->escapeHtml($this->getReferenceId()); ?></span></td>
|
44 |
+
</tr>
|
45 |
+
<tr>
|
46 |
+
<th><?php echo $this->__('Status:') ?></th>
|
47 |
+
<td><?php echo $this->getAgreementStatus() ?></td>
|
48 |
+
</tr>
|
49 |
+
<tr>
|
50 |
+
<th><?php echo $this->__('Created:') ?></th>
|
51 |
+
<td><?php echo $this->escapeHtml($this->getAgreementCreatedAt()) ?></td>
|
52 |
+
</tr>
|
53 |
+
<?php if($this->getAgreementUpdatedAt()): ?>
|
54 |
+
<tr>
|
55 |
+
<th><?php echo $this->__('Updated:') ?></th>
|
56 |
+
<td><?php echo $this->escapeHtml($this->getAgreementUpdatedAt()); ?></td>
|
57 |
+
</tr>
|
58 |
+
<?php endif; ?>
|
59 |
+
<tr>
|
60 |
+
<th><?php echo $this->__('Payment Method:') ?></th>
|
61 |
+
<td><?php echo $this->getPaymentMethodTitle() ?></td>
|
62 |
+
</tr>
|
63 |
+
</tbody>
|
64 |
+
</table>
|
65 |
+
</div>
|
66 |
+
</div>
|
67 |
+
<?php $relatedOrders = $this->getRelatedOrders() ?>
|
68 |
+
<?php if(count($relatedOrders) > 0): ?>
|
69 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
70 |
+
<h2 class="table-caption"><?php echo $this->__('Related Orders') ?></h2>
|
71 |
+
<table class="data-table" id="related-orders-table">
|
72 |
+
<col width="1" />
|
73 |
+
<col width="1" />
|
74 |
+
<col />
|
75 |
+
<col width="1" />
|
76 |
+
<col width="1" />
|
77 |
+
<col width="1" />
|
78 |
+
<thead>
|
79 |
+
<tr>
|
80 |
+
<th><span class="nobr"><?php echo $this->__('Order #') ?></span></th>
|
81 |
+
<th><?php echo $this->__('Date') ?></th>
|
82 |
+
<th><?php echo $this->__('Ship To') ?></th>
|
83 |
+
<th><span class="nobr"><?php echo $this->__('Order Total') ?></span></th>
|
84 |
+
<th><span class="nobr"><?php echo $this->__('Order Status') ?></span></th>
|
85 |
+
<th> </th>
|
86 |
+
</tr>
|
87 |
+
</thead>
|
88 |
+
<tbody>
|
89 |
+
<?php foreach ($relatedOrders as $order): ?>
|
90 |
+
<tr>
|
91 |
+
<td><?php echo $this->getOrderItemValue($order, 'order_increment_id') ?></td>
|
92 |
+
<td><span class="nobr"><?php echo $this->getOrderItemValue($order, 'created_at') ?></span></td>
|
93 |
+
<td><?php echo $this->getOrderItemValue($order, 'shipping_address') ?></td>
|
94 |
+
<td><?php echo $this->getOrderItemValue($order, 'order_total') ?></td>
|
95 |
+
<td><em><?php echo $this->getOrderItemValue($order, 'status_label') ?></em></td>
|
96 |
+
<td class="a-center">
|
97 |
+
<span class="nobr">
|
98 |
+
<a href="<?php echo $this->getOrderItemValue($order, 'view_url') ?>"><?php echo $this->__('View Order') ?></a>
|
99 |
+
</span>
|
100 |
+
</td>
|
101 |
+
</tr>
|
102 |
+
<?php endforeach; ?>
|
103 |
+
</tbody>
|
104 |
+
</table>
|
105 |
+
<script type="text/javascript">decorateTable('related-orders-table');</script>
|
106 |
+
<?php endif; ?>
|
107 |
+
<div class="buttons-set">
|
108 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Agreements') ?></a></p>
|
109 |
+
</div>
|
110 |
+
</div>
|
app/design/frontend/default/iphone/template/sales/billing/agreements.phtml
ADDED
@@ -0,0 +1,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Sales_Block_Billing_Agreements */ ?>
|
28 |
+
<div class="page-title">
|
29 |
+
<h1><?php echo $this->__('Billing Agreements') ?></h1>
|
30 |
+
</div>
|
31 |
+
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
|
34 |
+
<div class="billing-agreements">
|
35 |
+
<?php $billingAgreements = $this->getBillingAgreements(); ?>
|
36 |
+
<?php if (count($billingAgreements) > 0): ?>
|
37 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
38 |
+
<table id="billing-agreements" class="info-table">
|
39 |
+
<tbody>
|
40 |
+
<?php foreach($billingAgreements as $item): ?>
|
41 |
+
<tr>
|
42 |
+
<th><span class="nobr"><?php echo $this->__('Reference ID'); ?></span></th>
|
43 |
+
</tr>
|
44 |
+
<td><span class="nobr"><?php echo $this->getItemValue($item, 'reference_id') ?></span></td>
|
45 |
+
</tr>
|
46 |
+
<th><?php echo $this->__('Status'); ?></th>
|
47 |
+
</tr>
|
48 |
+
<td><?php echo $this->getItemValue($item, 'status') ?></td>
|
49 |
+
<tr>
|
50 |
+
<th><span class="nobr"><?php echo $this->__('Created At'); ?></span></th>
|
51 |
+
</tr>
|
52 |
+
<td><span class="nobr"><?php echo $this->getItemValue($item, 'created_at') ?></span></td>
|
53 |
+
</tr>
|
54 |
+
<tr>
|
55 |
+
<th><span class="nobr"><?php echo $this->__('Updated At'); ?></span></th>
|
56 |
+
</tr>
|
57 |
+
<td><span class="nobr"><?php echo $this->getItemValue($item, 'updated_at') ?></span></td>
|
58 |
+
</tr>
|
59 |
+
<th><span class="nobr"><?php echo $this->__('Payment Method'); ?></span></th>
|
60 |
+
</tr>
|
61 |
+
<td><?php echo $this->getItemValue($item, 'payment_method_label') ?></td>
|
62 |
+
<tr>
|
63 |
+
<td><a href="<?php echo $this->getItemValue($item, 'edit_url') ?>"><?php echo $this->__('View') ?></a></td>
|
64 |
+
</tr>
|
65 |
+
<?php endforeach; ?>
|
66 |
+
</tbody>
|
67 |
+
</table>
|
68 |
+
<?php else: ?>
|
69 |
+
<p><?php echo $this->__('There are no billing agreements yet.')?></p>
|
70 |
+
<?php endif; ?>
|
71 |
+
|
72 |
+
<?php $paymentMethods = $this->getWizardPaymentMethodOptions() ?>
|
73 |
+
<?php if ($paymentMethods): ?>
|
74 |
+
<div class="info-box">
|
75 |
+
<h2 class="box-title"><?php echo $this->__('New Billing Agreement') ?></h2>
|
76 |
+
<form action="<?php echo $this->getCreateUrl() ?>" method="post">
|
77 |
+
<div class="box-content">
|
78 |
+
<p><?php echo $this->__('You will be redirected to the payment system website.') ?></p>
|
79 |
+
<ul class="form-list">
|
80 |
+
<li>
|
81 |
+
<select id="payment_method" name="payment_method">
|
82 |
+
<option value=""><?php echo $this->__('-- Please Select --') ?></option>
|
83 |
+
<?php foreach ($paymentMethods as $code => $title): ?>
|
84 |
+
<option value="<?php echo $code ?>"><?php echo $title ?></option>
|
85 |
+
<?php endforeach; ?>
|
86 |
+
</select>
|
87 |
+
<button type="submit" class="button"><span><span><?php echo $this->__('Create...') ?></span></span></button>
|
88 |
+
</li>
|
89 |
+
</ul>
|
90 |
+
</div>
|
91 |
+
</form>
|
92 |
+
</div>
|
93 |
+
<?php endif; ?>
|
94 |
+
|
95 |
+
<div class="buttons-set">
|
96 |
+
<p class="back-link"><a href="<?php echo $this->escapeHtml($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
97 |
+
</div>
|
98 |
+
</div>
|
app/design/frontend/default/iphone/template/sales/order/creditmemo/items.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_order = $this->getOrder() ?>
|
28 |
+
<p class="order-links"><a href="<?php echo $this->getPrintAllCreditmemosUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Refunds') ?></a></p>
|
29 |
+
<?php foreach ($_order->getCreditmemosCollection() as $_creditmemo): ?>
|
30 |
+
<h2 class="sub-title"><?php echo $this->__('Refund #') ?><?php echo $_creditmemo->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintCreditmemoUrl($_creditmemo) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Refund') ?></a></h2>
|
31 |
+
<h3 class="table-caption"><?php echo $this->__('Items Refunded') ?></h3>
|
32 |
+
<table class="data-table" id="my-refund-table-<?php echo $_creditmemo->getId(); ?>">
|
33 |
+
<tfoot>
|
34 |
+
<?php echo $this->getTotalsHtml($_creditmemo);?>
|
35 |
+
</tfoot>
|
36 |
+
<?php $_items = $_creditmemo->getAllItems(); ?>
|
37 |
+
<?php $_count = count($_items) ?>
|
38 |
+
<?php foreach ($_items as $_item): ?>
|
39 |
+
<?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
|
40 |
+
<?php echo $this->getItemHtml($_item) ?>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</table>
|
43 |
+
<?php echo $this->getCommentsHtml($_creditmemo)?>
|
44 |
+
<?php endforeach; ?>
|
app/design/frontend/default/iphone/template/sales/order/creditmemo/items/renderer/default.phtml
ADDED
@@ -0,0 +1,322 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
|
29 |
+
<tbody>
|
30 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
31 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
32 |
+
<td><h4 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h4>
|
33 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
34 |
+
<dl class="item-options">
|
35 |
+
<?php foreach ($_options as $_option) : ?>
|
36 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
37 |
+
<?php if (!$this->getPrintStatus()): ?>
|
38 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
39 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
|
40 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
41 |
+
<div class="truncated_full_value">
|
42 |
+
<dl class="item-options">
|
43 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
44 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
45 |
+
</dl>
|
46 |
+
</div>
|
47 |
+
<?php endif; ?>
|
48 |
+
</dd>
|
49 |
+
<?php else: ?>
|
50 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</dl>
|
54 |
+
<?php endif; ?>
|
55 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
56 |
+
<?php if ($addInfoBlock) :?>
|
57 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
58 |
+
<?php endif; ?>
|
59 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
60 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
|
61 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
62 |
+
<?php endif; ?>
|
63 |
+
</td>
|
64 |
+
</tr>
|
65 |
+
<tr>
|
66 |
+
<th><?php echo $this->__('SKU') ?></th>
|
67 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
68 |
+
</tr>
|
69 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
70 |
+
<td class="a-right">
|
71 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
72 |
+
<span class="price-excl-tax">
|
73 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
74 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
75 |
+
<span class="cart-price">
|
76 |
+
<?php endif; ?>
|
77 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
78 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
</span>
|
80 |
+
<?php endif; ?>
|
81 |
+
<?php endif; ?>
|
82 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
84 |
+
<?php else: ?>
|
85 |
+
<span class="cart-price">
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
89 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
90 |
+
<?php else: ?>
|
91 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
92 |
+
<?php endif; ?>
|
93 |
+
|
94 |
+
</span>
|
95 |
+
|
96 |
+
|
97 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
98 |
+
|
99 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
101 |
+
<small>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
103 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
104 |
+
<?php endforeach; ?>
|
105 |
+
</small>
|
106 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
108 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
111 |
+
<small>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
113 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
114 |
+
<?php endforeach; ?>
|
115 |
+
</small>
|
116 |
+
<?php endif; ?>
|
117 |
+
</span>
|
118 |
+
|
119 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
120 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
121 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
122 |
+
</span>
|
123 |
+
<?php endif; ?>
|
124 |
+
<?php endif; ?>
|
125 |
+
</span>
|
126 |
+
<br />
|
127 |
+
<?php endif; ?>
|
128 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
129 |
+
<span class="price-incl-tax">
|
130 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
131 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
132 |
+
<span class="cart-price">
|
133 |
+
<?php endif; ?>
|
134 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
135 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
136 |
+
</span>
|
137 |
+
<?php endif; ?>
|
138 |
+
<?php endif; ?>
|
139 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
140 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
142 |
+
<?php else: ?>
|
143 |
+
<span class="cart-price">
|
144 |
+
<?php endif; ?>
|
145 |
+
|
146 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
147 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
148 |
+
<?php else: ?>
|
149 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
150 |
+
<?php endif; ?>
|
151 |
+
|
152 |
+
</span>
|
153 |
+
|
154 |
+
|
155 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
156 |
+
|
157 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
158 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
159 |
+
<small>
|
160 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
161 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
162 |
+
<?php endforeach; ?>
|
163 |
+
</small>
|
164 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
165 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
166 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
167 |
+
<?php endforeach; ?>
|
168 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
169 |
+
<small>
|
170 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
171 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
172 |
+
<?php endforeach; ?>
|
173 |
+
</small>
|
174 |
+
<?php endif; ?>
|
175 |
+
</span>
|
176 |
+
|
177 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
178 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
179 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
180 |
+
</span>
|
181 |
+
<?php endif; ?>
|
182 |
+
<?php endif; ?>
|
183 |
+
</span>
|
184 |
+
<?php endif; ?>
|
185 |
+
</td>
|
186 |
+
</tr>
|
187 |
+
<tr>
|
188 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
189 |
+
<td class="a-center"><?php echo $_item->getQty()*1 ?></td>
|
190 |
+
</tr>
|
191 |
+
<tr>
|
192 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
193 |
+
<td class="a-right">
|
194 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
195 |
+
<span class="price-excl-tax">
|
196 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
197 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
198 |
+
<span class="cart-price">
|
199 |
+
<?php endif; ?>
|
200 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
201 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
202 |
+
</span>
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php endif; ?>
|
205 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
206 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
207 |
+
<?php else: ?>
|
208 |
+
<span class="cart-price">
|
209 |
+
<?php endif; ?>
|
210 |
+
|
211 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
212 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
213 |
+
<?php else: ?>
|
214 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
215 |
+
<?php endif; ?>
|
216 |
+
|
217 |
+
</span>
|
218 |
+
|
219 |
+
|
220 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
221 |
+
|
222 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
223 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
224 |
+
<small>
|
225 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
226 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
227 |
+
<?php endforeach; ?>
|
228 |
+
</small>
|
229 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
231 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
232 |
+
<?php endforeach; ?>
|
233 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
234 |
+
<small>
|
235 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
236 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
237 |
+
<?php endforeach; ?>
|
238 |
+
</small>
|
239 |
+
<?php endif; ?>
|
240 |
+
</span>
|
241 |
+
|
242 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
244 |
+
<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>
|
245 |
+
</span>
|
246 |
+
<?php endif; ?>
|
247 |
+
<?php endif; ?>
|
248 |
+
</span>
|
249 |
+
<br />
|
250 |
+
<?php endif; ?>
|
251 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
252 |
+
<span class="price-incl-tax">
|
253 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
254 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
255 |
+
<span class="cart-price">
|
256 |
+
<?php endif; ?>
|
257 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
258 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
259 |
+
</span>
|
260 |
+
<?php endif; ?>
|
261 |
+
<?php endif; ?>
|
262 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
263 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
264 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
265 |
+
<?php else: ?>
|
266 |
+
<span class="cart-price">
|
267 |
+
<?php endif; ?>
|
268 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
269 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
270 |
+
<?php else: ?>
|
271 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
272 |
+
<?php endif; ?>
|
273 |
+
|
274 |
+
</span>
|
275 |
+
|
276 |
+
|
277 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
278 |
+
|
279 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
280 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
281 |
+
<small>
|
282 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
283 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
284 |
+
<?php endforeach; ?>
|
285 |
+
</small>
|
286 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
287 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
288 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
289 |
+
<?php endforeach; ?>
|
290 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
291 |
+
<small>
|
292 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
293 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
294 |
+
<?php endforeach; ?>
|
295 |
+
</small>
|
296 |
+
<?php endif; ?>
|
297 |
+
</span>
|
298 |
+
|
299 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
300 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
301 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
302 |
+
</span>
|
303 |
+
<?php endif; ?>
|
304 |
+
<?php endif; ?>
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
</span>
|
309 |
+
<?php endif; ?>
|
310 |
+
</td>
|
311 |
+
</tr>
|
312 |
+
<tr>
|
313 |
+
<th class="a-center wrap"><?php echo $this->__('Discount Amount') ?></th>
|
314 |
+
<td class="a-right"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
|
315 |
+
</tr>
|
316 |
+
<tr>
|
317 |
+
<th class="a-right wrap"><?php echo $this->__('Row Total') ?></th>
|
318 |
+
<td class="last a-right">
|
319 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()+$_item->getWeeeTaxAppliedRowAmount()) ?>
|
320 |
+
</td>
|
321 |
+
</tr>
|
322 |
+
</tbody>
|
app/design/frontend/default/iphone/template/sales/order/history.phtml
CHANGED
@@ -20,46 +20,41 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
28 |
<?php $_orders = $this->getOrders(); ?>
|
29 |
<div class="page-title">
|
30 |
<h1><?php echo $this->__('My Orders') ?></h1>
|
31 |
</div>
|
32 |
-
|
33 |
-
<?php
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
<
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
<?php echo $this->getPagerHtml(); ?>
|
63 |
-
<?php else: ?>
|
64 |
-
<p><?php echo $this->__('You have placed no orders.'); ?></p>
|
65 |
-
<?php endif ?>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
|
|
27 |
<?php $_orders = $this->getOrders(); ?>
|
28 |
<div class="page-title">
|
29 |
<h1><?php echo $this->__('My Orders') ?></h1>
|
30 |
</div>
|
31 |
+
<div class="recent-orders">
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<?php echo $this->getChildHtml('info');?>
|
34 |
+
<?php echo $this->getPagerHtml(); ?>
|
35 |
+
<?php if($_orders->getSize()): ?>
|
36 |
+
<table class="data-table" id="my-orders-table">
|
37 |
+
<thead>
|
38 |
+
<tr>
|
39 |
+
<th><?php echo $this->__('Order #') ?></th>
|
40 |
+
<th><?php echo $this->__('Date') ?></th>
|
41 |
+
<th><span class="nobr"><?php echo $this->__('Total') ?></span></th>
|
42 |
+
<th><span class="nobr"><?php echo $this->__('Status') ?></span></th>
|
43 |
+
</tr>
|
44 |
+
</thead>
|
45 |
+
<tbody>
|
46 |
+
<?php $_odd = ''; ?>
|
47 |
+
<?php foreach ($_orders as $_order): ?>
|
48 |
+
<tr>
|
49 |
+
<td><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $_order->getRealOrderId() ?></a></td>
|
50 |
+
<td><span class="nobr"><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></span></td>
|
51 |
+
<td><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
|
52 |
+
<td><em><?php echo $_order->getStatusLabel() ?></em></td>
|
53 |
+
</tr>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
</tbody>
|
56 |
+
</table>
|
57 |
+
<?php else: ?>
|
58 |
+
<p><?php echo $this->__('You have placed no orders.'); ?></p>
|
59 |
+
<?php endif ?>
|
60 |
+
</div>
|
|
|
|
|
|
|
|
app/design/frontend/default/iphone/template/sales/order/invoice/items.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_order = $this->getOrder() ?>
|
28 |
+
<p class="order-links"><a href="<?php echo $this->getPrintAllInvoicesUrl($_order) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print All Invoices') ?></a></p>
|
29 |
+
<?php foreach ($_order->getInvoiceCollection() as $_invoice): ?>
|
30 |
+
<h2 class="sub-title"><?php echo $this->__('Invoice #') ?><?php echo $_invoice->getIncrementId(); ?> <span class="separator">|</span> <a href="<?php echo $this->getPrintInvoiceUrl($_invoice) ?>" onclick="this.target='_blank'" class="link-print"><?php echo $this->__('Print Invoice') ?></a></h2>
|
31 |
+
<h3 class="table-caption"><?php echo $this->__('Items Invoiced') ?></h3>
|
32 |
+
<table class="data-table" id="my-invoice-table-<?php echo $_invoice->getId(); ?>">
|
33 |
+
<tfoot>
|
34 |
+
<?php echo $this->getInvoiceTotalsHtml($_invoice)?>
|
35 |
+
</tfoot>
|
36 |
+
<?php $_items = $_invoice->getAllItems(); ?>
|
37 |
+
<?php $_count = count($_items) ?>
|
38 |
+
<?php foreach ($_items as $_item): ?>
|
39 |
+
<?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
|
40 |
+
<?php echo $this->getItemHtml($_item) ?>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</table>
|
43 |
+
<?php echo $this->getInvoiceCommentsHtml($_invoice)?>
|
44 |
+
<?php endforeach; ?>
|
app/design/frontend/default/iphone/template/sales/order/invoice/items/renderer/default.phtml
ADDED
@@ -0,0 +1,312 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
|
29 |
+
<tbody>
|
30 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
31 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
32 |
+
<td><h4 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h4>
|
33 |
+
<?php if($_options = $this->getItemOptions()): ?>
|
34 |
+
<dl class="item-options">
|
35 |
+
<?php foreach ($_options as $_option) : ?>
|
36 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
37 |
+
<?php if (!$this->getPrintStatus()): ?>
|
38 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
39 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
40 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
41 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
42 |
+
<div class="truncated_full_value">
|
43 |
+
<dl class="item-options">
|
44 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
45 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
46 |
+
</dl>
|
47 |
+
</div>
|
48 |
+
<?php endif; ?>
|
49 |
+
</dd>
|
50 |
+
<?php else: ?>
|
51 |
+
<dd><?php echo $this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
</dl>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
57 |
+
<?php if ($addInfoBlock) :?>
|
58 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
61 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
|
62 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
63 |
+
<?php endif; ?>
|
64 |
+
</td>
|
65 |
+
</tr>
|
66 |
+
<th><?php echo $this->__('SKU') ?></th>
|
67 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
68 |
+
</tr>
|
69 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
70 |
+
<td class="a-right">
|
71 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
72 |
+
<span class="price-excl-tax">
|
73 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
74 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
75 |
+
<span class="cart-price">
|
76 |
+
<?php endif; ?>
|
77 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
78 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
79 |
+
</span>
|
80 |
+
<?php endif; ?>
|
81 |
+
<?php endif; ?>
|
82 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
83 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
84 |
+
<?php else: ?>
|
85 |
+
<span class="cart-price">
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
89 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
90 |
+
<?php else: ?>
|
91 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
92 |
+
<?php endif; ?>
|
93 |
+
|
94 |
+
</span>
|
95 |
+
|
96 |
+
|
97 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
98 |
+
|
99 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
101 |
+
<small>
|
102 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
103 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
104 |
+
<?php endforeach; ?>
|
105 |
+
</small>
|
106 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
108 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
111 |
+
<small>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
113 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
114 |
+
<?php endforeach; ?>
|
115 |
+
</small>
|
116 |
+
<?php endif; ?>
|
117 |
+
</span>
|
118 |
+
|
119 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
120 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
121 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
|
122 |
+
</span>
|
123 |
+
<?php endif; ?>
|
124 |
+
<?php endif; ?>
|
125 |
+
</span>
|
126 |
+
<br />
|
127 |
+
<?php endif; ?>
|
128 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
129 |
+
<span class="price-incl-tax">
|
130 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
131 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
132 |
+
<span class="cart-price">
|
133 |
+
<?php endif; ?>
|
134 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
135 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
136 |
+
</span>
|
137 |
+
<?php endif; ?>
|
138 |
+
<?php endif; ?>
|
139 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
140 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
142 |
+
<?php else: ?>
|
143 |
+
<span class="cart-price">
|
144 |
+
<?php endif; ?>
|
145 |
+
|
146 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
147 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
148 |
+
<?php else: ?>
|
149 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
150 |
+
<?php endif; ?>
|
151 |
+
|
152 |
+
</span>
|
153 |
+
|
154 |
+
|
155 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
156 |
+
|
157 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
158 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
159 |
+
<small>
|
160 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
161 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
162 |
+
<?php endforeach; ?>
|
163 |
+
</small>
|
164 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
165 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
166 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
167 |
+
<?php endforeach; ?>
|
168 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
169 |
+
<small>
|
170 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
171 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
172 |
+
<?php endforeach; ?>
|
173 |
+
</small>
|
174 |
+
<?php endif; ?>
|
175 |
+
</span>
|
176 |
+
|
177 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
178 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
179 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
180 |
+
</span>
|
181 |
+
<?php endif; ?>
|
182 |
+
<?php endif; ?>
|
183 |
+
</span>
|
184 |
+
<?php endif; ?>
|
185 |
+
</td>
|
186 |
+
</tr>
|
187 |
+
<tr>
|
188 |
+
<th class="a-center"><span class="nobr"><?php echo $this->__('Qty Invoiced') ?></span></th>
|
189 |
+
<td class="a-center"><?php echo $_item->getQty()*1 ?> </td>
|
190 |
+
</tr>
|
191 |
+
<tr>
|
192 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
193 |
+
<td class="a-right">
|
194 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
195 |
+
<span class="price-excl-tax">
|
196 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
197 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
198 |
+
<span class="cart-price">
|
199 |
+
<?php endif; ?>
|
200 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
201 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
202 |
+
</span>
|
203 |
+
<?php endif; ?>
|
204 |
+
<?php endif; ?>
|
205 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
206 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
207 |
+
<?php else: ?>
|
208 |
+
<span class="cart-price">
|
209 |
+
<?php endif; ?>
|
210 |
+
|
211 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
212 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
213 |
+
<?php else: ?>
|
214 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
215 |
+
<?php endif; ?>
|
216 |
+
|
217 |
+
</span>
|
218 |
+
|
219 |
+
|
220 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
221 |
+
|
222 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
223 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
224 |
+
<small>
|
225 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
226 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
227 |
+
<?php endforeach; ?>
|
228 |
+
</small>
|
229 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
230 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
231 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
232 |
+
<?php endforeach; ?>
|
233 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
234 |
+
<small>
|
235 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
236 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
237 |
+
<?php endforeach; ?>
|
238 |
+
</small>
|
239 |
+
<?php endif; ?>
|
240 |
+
</span>
|
241 |
+
|
242 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
244 |
+
<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>
|
245 |
+
</span>
|
246 |
+
<?php endif; ?>
|
247 |
+
<?php endif; ?>
|
248 |
+
</span>
|
249 |
+
<br />
|
250 |
+
<?php endif; ?>
|
251 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
252 |
+
<span class="price-incl-tax">
|
253 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
254 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
255 |
+
<span class="cart-price">
|
256 |
+
<?php endif; ?>
|
257 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
258 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
259 |
+
</span>
|
260 |
+
<?php endif; ?>
|
261 |
+
<?php endif; ?>
|
262 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
263 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
264 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
265 |
+
<?php else: ?>
|
266 |
+
<span class="cart-price">
|
267 |
+
<?php endif; ?>
|
268 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
269 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
270 |
+
<?php else: ?>
|
271 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
272 |
+
<?php endif; ?>
|
273 |
+
|
274 |
+
</span>
|
275 |
+
|
276 |
+
|
277 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
278 |
+
|
279 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
280 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
281 |
+
<small>
|
282 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
283 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
284 |
+
<?php endforeach; ?>
|
285 |
+
</small>
|
286 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
287 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
288 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
289 |
+
<?php endforeach; ?>
|
290 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
291 |
+
<small>
|
292 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
293 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
294 |
+
<?php endforeach; ?>
|
295 |
+
</small>
|
296 |
+
<?php endif; ?>
|
297 |
+
</span>
|
298 |
+
|
299 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
300 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
301 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
302 |
+
</span>
|
303 |
+
<?php endif; ?>
|
304 |
+
<?php endif; ?>
|
305 |
+
|
306 |
+
|
307 |
+
|
308 |
+
</span>
|
309 |
+
<?php endif; ?>
|
310 |
+
</td>
|
311 |
+
</tr>
|
312 |
+
</tbody>
|
app/design/frontend/default/iphone/template/sales/order/items.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_order = $this->getOrder() ?>
|
28 |
+
<table class="data-table" id="my-orders-table" summary="<?php echo $this->__('Items Ordered') ?>">
|
29 |
+
<tfoot>
|
30 |
+
<?php echo $this->getChildHtml('order_totals') ?>
|
31 |
+
</tfoot>
|
32 |
+
<?php $_items = $_order->getItemsCollection(); ?>
|
33 |
+
<?php $_index = 0; ?>
|
34 |
+
<?php $_count = $_items->count(); ?>
|
35 |
+
<?php foreach ($_items as $_item): ?>
|
36 |
+
<?php if ($_item->getParentItem()) continue; ?>
|
37 |
+
<?php echo $this->getItemHtml($_item) ?>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</table>
|
app/design/frontend/default/iphone/template/sales/order/items/renderer/default.phtml
ADDED
@@ -0,0 +1,331 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_item = $this->getItem();
|
29 |
+
$_options = $this->getItemOptions();
|
30 |
+
?>
|
31 |
+
<tbody>
|
32 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
33 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
34 |
+
<td><h3 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h3>
|
35 |
+
<?php if($_options): ?>
|
36 |
+
<dl class="item-options">
|
37 |
+
<?php foreach ($_options as $_option) : ?>
|
38 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
39 |
+
<?php if (!$this->getPrintStatus()): ?>
|
40 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
41 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
42 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
43 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
44 |
+
<div class="truncated_full_value">
|
45 |
+
<dl class="item-options">
|
46 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
47 |
+
<dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
|
48 |
+
</dl>
|
49 |
+
</div>
|
50 |
+
<?php endif; ?>
|
51 |
+
</dd>
|
52 |
+
<?php else: ?>
|
53 |
+
<dd>
|
54 |
+
<?php echo nl2br($this->escapeHtml( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) )) ?>
|
55 |
+
</dd>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php endforeach; ?>
|
58 |
+
</dl>
|
59 |
+
<?php endif; ?>
|
60 |
+
<?php $addtInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
61 |
+
<?php if ($addtInfoBlock) :?>
|
62 |
+
<?php echo $addtInfoBlock->setItem($_item)->toHtml(); ?>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
65 |
+
<?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
66 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
67 |
+
<?php endif; ?>
|
68 |
+
</td>
|
69 |
+
</tr>
|
70 |
+
<tr>
|
71 |
+
<th><?php echo $this->__('SKU') ?></th>
|
72 |
+
<td><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
73 |
+
</tr>
|
74 |
+
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
75 |
+
<td class="a-right">
|
76 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
77 |
+
<span class="price-excl-tax">
|
78 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
79 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
80 |
+
<span class="cart-price">
|
81 |
+
<?php endif; ?>
|
82 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
83 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
84 |
+
</span>
|
85 |
+
<?php endif; ?>
|
86 |
+
<?php endif; ?>
|
87 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
88 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
89 |
+
<?php else: ?>
|
90 |
+
<span class="cart-price">
|
91 |
+
<?php endif; ?>
|
92 |
+
|
93 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
94 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
|
95 |
+
<?php else: ?>
|
96 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
97 |
+
<?php endif; ?>
|
98 |
+
|
99 |
+
</span>
|
100 |
+
|
101 |
+
|
102 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
103 |
+
|
104 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
105 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
106 |
+
<small>
|
107 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
108 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
109 |
+
<?php endforeach; ?>
|
110 |
+
</small>
|
111 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
113 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
114 |
+
<?php endforeach; ?>
|
115 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
116 |
+
<small>
|
117 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
118 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
119 |
+
<?php endforeach; ?>
|
120 |
+
</small>
|
121 |
+
<?php endif; ?>
|
122 |
+
</span>
|
123 |
+
|
124 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
125 |
+
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
126 |
+
<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>
|
127 |
+
</span>
|
128 |
+
<?php endif; ?>
|
129 |
+
<?php endif; ?>
|
130 |
+
</span>
|
131 |
+
<br />
|
132 |
+
<?php endif; ?>
|
133 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
134 |
+
<span class="price-incl-tax">
|
135 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
136 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
137 |
+
<span class="cart-price">
|
138 |
+
<?php endif; ?>
|
139 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
140 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
141 |
+
</span>
|
142 |
+
<?php endif; ?>
|
143 |
+
<?php endif; ?>
|
144 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
145 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
146 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->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($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
152 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
|
153 |
+
<?php else: ?>
|
154 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
|
155 |
+
<?php endif; ?>
|
156 |
+
|
157 |
+
</span>
|
158 |
+
|
159 |
+
|
160 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
161 |
+
|
162 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
163 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, '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']); ?></span>
|
167 |
+
<?php endforeach; ?>
|
168 |
+
</small>
|
169 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
170 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
171 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
172 |
+
<?php endforeach; ?>
|
173 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
174 |
+
<small>
|
175 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
176 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
177 |
+
<?php endforeach; ?>
|
178 |
+
</small>
|
179 |
+
<?php endif; ?>
|
180 |
+
</span>
|
181 |
+
|
182 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
183 |
+
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
184 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
|
185 |
+
</span>
|
186 |
+
<?php endif; ?>
|
187 |
+
<?php endif; ?>
|
188 |
+
</span>
|
189 |
+
<?php endif; ?>
|
190 |
+
</td>
|
191 |
+
</tr>
|
192 |
+
<tr>
|
193 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
194 |
+
<td class="a-right">
|
195 |
+
<span class="nobr">
|
196 |
+
<?php if ($this->getItem()->getQtyOrdered() > 0): ?>
|
197 |
+
<?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
|
198 |
+
<?php endif; ?>
|
199 |
+
<?php if ($this->getItem()->getQtyShipped() > 0): ?>
|
200 |
+
<?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
|
201 |
+
<?php endif; ?>
|
202 |
+
<?php if ($this->getItem()->getQtyCanceled() > 0): ?>
|
203 |
+
<?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
|
204 |
+
<?php endif; ?>
|
205 |
+
<?php if ($this->getItem()->getQtyRefunded() > 0): ?>
|
206 |
+
<?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
|
207 |
+
<?php endif; ?>
|
208 |
+
</span>
|
209 |
+
</td>
|
210 |
+
</tr>
|
211 |
+
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
212 |
+
<td class="a-right">
|
213 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
214 |
+
<span class="price-excl-tax">
|
215 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
216 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
217 |
+
<span class="cart-price">
|
218 |
+
<?php endif; ?>
|
219 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
220 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
221 |
+
</span>
|
222 |
+
<?php endif; ?>
|
223 |
+
<?php endif; ?>
|
224 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
225 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
226 |
+
<?php else: ?>
|
227 |
+
<span class="cart-price">
|
228 |
+
<?php endif; ?>
|
229 |
+
|
230 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
231 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
|
232 |
+
<?php else: ?>
|
233 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
|
234 |
+
<?php endif; ?>
|
235 |
+
|
236 |
+
</span>
|
237 |
+
|
238 |
+
|
239 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
240 |
+
|
241 |
+
<span class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
242 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
243 |
+
<small>
|
244 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
245 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
246 |
+
<?php endforeach; ?>
|
247 |
+
</small>
|
248 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
249 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
250 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
251 |
+
<?php endforeach; ?>
|
252 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
253 |
+
<small>
|
254 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
255 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
256 |
+
<?php endforeach; ?>
|
257 |
+
</small>
|
258 |
+
<?php endif; ?>
|
259 |
+
</span>
|
260 |
+
|
261 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
262 |
+
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
263 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
264 |
+
</span>
|
265 |
+
<?php endif; ?>
|
266 |
+
<?php endif; ?>
|
267 |
+
</span>
|
268 |
+
<br />
|
269 |
+
<?php endif; ?>
|
270 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
271 |
+
<span class="price-incl-tax">
|
272 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
273 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
274 |
+
<span class="cart-price">
|
275 |
+
<?php endif; ?>
|
276 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
277 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
278 |
+
</span>
|
279 |
+
<?php endif; ?>
|
280 |
+
<?php endif; ?>
|
281 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
282 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
283 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
284 |
+
<?php else: ?>
|
285 |
+
<span class="cart-price">
|
286 |
+
<?php endif; ?>
|
287 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
288 |
+
<?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
|
289 |
+
<?php else: ?>
|
290 |
+
<?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
|
291 |
+
<?php endif; ?>
|
292 |
+
|
293 |
+
</span>
|
294 |
+
|
295 |
+
|
296 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
297 |
+
|
298 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display:none;">
|
299 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
300 |
+
<small>
|
301 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
302 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
303 |
+
<?php endforeach; ?>
|
304 |
+
</small>
|
305 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
306 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
307 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
308 |
+
<?php endforeach; ?>
|
309 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
310 |
+
<small>
|
311 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
312 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
313 |
+
<?php endforeach; ?>
|
314 |
+
</small>
|
315 |
+
<?php endif; ?>
|
316 |
+
</span>
|
317 |
+
|
318 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
319 |
+
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
320 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
|
321 |
+
</span>
|
322 |
+
<?php endif; ?>
|
323 |
+
<?php endif; ?>
|
324 |
+
|
325 |
+
|
326 |
+
|
327 |
+
</span>
|
328 |
+
<?php endif; ?>
|
329 |
+
</td>
|
330 |
+
</tr>
|
331 |
+
</tbody>
|
app/design/frontend/default/iphone/template/sales/order/recent.phtml
CHANGED
@@ -20,34 +20,29 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<div class="box
|
28 |
<?php $_orders = $this->getOrders(); ?>
|
29 |
-
<
|
30 |
-
|
31 |
-
|
32 |
-
</div>
|
33 |
<?php if( sizeof($_orders->getItems()) > 0 ): ?>
|
34 |
<table class="data-table" id="my-orders-table">
|
35 |
-
<col width="1" />
|
36 |
-
<col width="1" />
|
37 |
-
<col />
|
38 |
-
<col width="1" />
|
39 |
<thead>
|
40 |
<tr>
|
41 |
<th><?php echo $this->__('Order #') ?></th>
|
42 |
<th><?php echo $this->__('Date') ?></th>
|
43 |
-
<th><span class="nobr"><?php echo $this->__('
|
44 |
<th><?php echo $this->__('Status') ?></th>
|
45 |
</tr>
|
46 |
</thead>
|
47 |
<tbody>
|
48 |
<?php foreach ($_orders as $_order): ?>
|
49 |
<tr>
|
50 |
-
<td><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $_order->getRealOrderId() ?></a></td>
|
51 |
<td><span class="nobr"><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></span></td>
|
52 |
<td><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
|
53 |
<td><em><?php echo $_order->getStatusLabel() ?></em></td>
|
@@ -55,8 +50,8 @@
|
|
55 |
<?php endforeach; ?>
|
56 |
</tbody>
|
57 |
</table>
|
58 |
-
<script type="text/javascript">decorateTable('my-orders-table')</script>
|
59 |
<?php else: ?>
|
60 |
<p><?php echo $this->__('You have placed no orders.'); ?></p>
|
61 |
<?php endif; ?>
|
|
|
62 |
</div>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<div class="info-box recent-orders">
|
28 |
<?php $_orders = $this->getOrders(); ?>
|
29 |
+
<h3 class="box-title"><?php echo $this->__('Recent Orders') ?><?php if( sizeof($_orders->getItems()) > 0 ): ?> <span class="separator">|</span> <a href="<?php echo $this->getUrl('sales/order/history') ?>"><?php echo $this->__('View All') ?></a><?php endif; ?></h3>
|
30 |
+
<div class="box-content">
|
31 |
+
<?php echo $this->getChildHtml()?>
|
|
|
32 |
<?php if( sizeof($_orders->getItems()) > 0 ): ?>
|
33 |
<table class="data-table" id="my-orders-table">
|
|
|
|
|
|
|
|
|
34 |
<thead>
|
35 |
<tr>
|
36 |
<th><?php echo $this->__('Order #') ?></th>
|
37 |
<th><?php echo $this->__('Date') ?></th>
|
38 |
+
<th><span class="nobr"><?php echo $this->__('Total') ?></span></th>
|
39 |
<th><?php echo $this->__('Status') ?></th>
|
40 |
</tr>
|
41 |
</thead>
|
42 |
<tbody>
|
43 |
<?php foreach ($_orders as $_order): ?>
|
44 |
<tr>
|
45 |
+
<td><a href="<?php echo $this->getViewUrl($_order) ?>" class="nobr"><?php echo $_order->getRealOrderId() ?></a></td>
|
46 |
<td><span class="nobr"><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></span></td>
|
47 |
<td><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
|
48 |
<td><em><?php echo $_order->getStatusLabel() ?></em></td>
|
50 |
<?php endforeach; ?>
|
51 |
</tbody>
|
52 |
</table>
|
|
|
53 |
<?php else: ?>
|
54 |
<p><?php echo $this->__('You have placed no orders.'); ?></p>
|
55 |
<?php endif; ?>
|
56 |
+
</div>
|
57 |
</div>
|
app/design/frontend/default/iphone/template/sales/order/totals.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/**
|
27 |
+
* @var $this Mage_Sales_Block_Order_Totals
|
28 |
+
* @see Mage_Sales_Block_Order_Totals
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php foreach ($this->getTotals() as $_code => $_total): ?>
|
32 |
+
<?php if ($_total->getBlockName()): ?>
|
33 |
+
<?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
|
34 |
+
<?php else:?>
|
35 |
+
<tr class="<?php echo $_code?>">
|
36 |
+
<td>
|
37 |
+
<?php if ($_total->getStrong()):?>
|
38 |
+
<strong><?php echo $this->escapeHtml($_total->getLabel());?></strong>
|
39 |
+
<?php else:?>
|
40 |
+
<?php echo $this->escapeHtml($_total->getLabel());?>
|
41 |
+
<?php endif?>
|
42 |
+
</td>
|
43 |
+
<td>
|
44 |
+
<?php if ($_total->getStrong()):?>
|
45 |
+
<strong><?php echo $this->formatValue($_total) ?></strong>
|
46 |
+
<?php else:?>
|
47 |
+
<?php echo $this->formatValue($_total) ?>
|
48 |
+
<?php endif?>
|
49 |
+
</td>
|
50 |
+
</tr>
|
51 |
+
<?php endif?>
|
52 |
+
<?php endforeach?>
|
app/design/frontend/default/iphone/template/shipping/tracking/popup.phtml
CHANGED
@@ -20,7 +20,7 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/default/iphone/template/tag/list.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if($this->getCount()): ?>
|
28 |
+
<div class="box-collateral box-tags">
|
29 |
+
<div class="box-title">
|
30 |
+
<h2><?php echo $this->__('Product Tags'); ?></h2>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getChildHtml('list_before')?>
|
33 |
+
<div class="box-content">
|
34 |
+
<ul id="<?php echo $this->getUniqueHtmlId('tags-list_'); ?>" class="tags-list">
|
35 |
+
<?php echo $this->renderTags('<li><a href="%1$s">%2$s</a> (%3$s)</li>') ?>
|
36 |
+
</ul>
|
37 |
+
</div>
|
38 |
+
</div>
|
39 |
+
<?php endif; ?>
|
app/design/frontend/default/iphone/template/tax/order/tax.phtml
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_order = $this->getOrder();
|
29 |
+
$_source = $this->getSource();
|
30 |
+
$_fullInfo = $_order->getFullTaxInfo();
|
31 |
+
global $taxIter; $taxIter++;
|
32 |
+
?>
|
33 |
+
<?php ?>
|
34 |
+
|
35 |
+
<?php if ($this->displayFullSummary()): ?>
|
36 |
+
<?php $isTop = 1; ?>
|
37 |
+
<?php if ($_fullInfo) foreach ($_fullInfo as $info): ?>
|
38 |
+
<?php if (isset($info['hidden']) && $info['hidden']) continue; ?>
|
39 |
+
<?php
|
40 |
+
$percent = $info['percent'];
|
41 |
+
$amount = $info['amount'];
|
42 |
+
$rates = $info['rates'];
|
43 |
+
$isFirst = 1;
|
44 |
+
?>
|
45 |
+
<?php foreach ($rates as $rate): ?>
|
46 |
+
<tr class="summary-details-<?php echo $taxIter; ?> summary-details<?php if ($isTop): echo ' summary-details-first'; endif; ?>"<?php if (!$this->getIsPlaneMode()):?> style="display:none;"<?php endif;?>>
|
47 |
+
<td <?php echo $this->getLabelProperties()?>>
|
48 |
+
<?php echo $this->escapeHtml($rate['title']); ?>
|
49 |
+
<?php if (!is_null($rate['percent'])): ?>
|
50 |
+
(<?php echo (float)$rate['percent']; ?>%)
|
51 |
+
<?php endif; ?>
|
52 |
+
<br />
|
53 |
+
</td>
|
54 |
+
<?php if ($isFirst): ?>
|
55 |
+
<td <?php echo $this->getValueProperties()?> rowspan="<?php echo count($rates); ?>">
|
56 |
+
<?php echo $_order->formatPrice($amount); ?>
|
57 |
+
</td>
|
58 |
+
<?php endif; ?>
|
59 |
+
</tr>
|
60 |
+
<?php $isFirst = 0; ?>
|
61 |
+
<?php $isTop = 0; ?>
|
62 |
+
<?php endforeach; ?>
|
63 |
+
<?php endforeach; ?>
|
64 |
+
<?php endif;?>
|
65 |
+
|
66 |
+
<?php if ($this->displayFullSummary() && $_fullInfo && !$this->getIsPlaneMode()): ?>
|
67 |
+
<tr class="summary-total" onclick="expandDetails(this, '.summary-details-<?php echo $taxIter;?>')">
|
68 |
+
<?php elseif ($this->displayFullSummary() && $_fullInfo && $this->getIsPlaneMode()): ?>
|
69 |
+
<tr class="show-details">
|
70 |
+
<?php else: ?>
|
71 |
+
<tr>
|
72 |
+
<?php endif; ?>
|
73 |
+
<td>
|
74 |
+
<?php if ($this->displayFullSummary()): ?>
|
75 |
+
<div class="summary-collapse"><?php echo $this->__('Tax'); ?></div>
|
76 |
+
<?php else: ?>
|
77 |
+
<?php echo $this->__('Tax'); ?>
|
78 |
+
<?php endif;?>
|
79 |
+
</td>
|
80 |
+
<td <?php echo $this->getValueProperties()?>><?php echo $_order->formatPrice($_source->getTaxAmount()) ?></td>
|
81 |
+
</tr>
|
app/design/frontend/default/iphone/template/wishlist/item/column/cart.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var $this Mage_Wishlist_Block_Customer_Wishlist_Item_Column_Cart */
|
28 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
29 |
+
$item = $this->getItem();
|
30 |
+
$product = $item->getProduct();
|
31 |
+
?>
|
32 |
+
<h3 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a></h3>
|
33 |
+
<div class="cart-cell">
|
34 |
+
<?php echo $this->getPriceHtml($product);?>
|
35 |
+
<div class="add-to-cart-alt">
|
36 |
+
<?php if ($item->canHaveQty() && $item->getProduct()->isVisibleInSiteVisibility()): ?>
|
37 |
+
<input type="text" class="input-text qty validate-not-negative-number" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" />
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php if ($product->isSaleable()): ?>
|
40 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId()?>);" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
41 |
+
<?php else: ?>
|
42 |
+
<?php if ($product->getIsSalable()): ?>
|
43 |
+
<p class="availability in-stock"><span><?php echo $this->__('In stock') ?></span></p>
|
44 |
+
<?php else: ?>
|
45 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
46 |
+
<?php endif; ?>
|
47 |
+
<?php endif; ?>
|
48 |
+
</div>
|
49 |
+
<?php foreach($this->getSortedChildren() as $childName):?>
|
50 |
+
<?php echo $this->getChildHtml($childName, false);?>
|
51 |
+
<?php endforeach;?>
|
52 |
+
</div>
|
app/design/frontend/default/iphone/template/wishlist/item/column/image.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
28 |
+
$item = $this->getItem();
|
29 |
+
$product = $item->getProduct();
|
30 |
+
?>
|
31 |
+
<div class="product-image">
|
32 |
+
<a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>">
|
33 |
+
<img src="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(226); ?>" width="113" alt="<?php echo $this->escapeHtml($product->getName()) ?>" />
|
34 |
+
</a>
|
35 |
+
<?php if ($product->isVisibleInSiteVisibility()): ?>
|
36 |
+
<a class="link-edit" href="<?php echo $this->getItemConfigureUrl($item) ?>"><?php echo $this->__('Edit') ?></a>
|
37 |
+
<?php endif ?>
|
38 |
+
</div>
|
app/design/frontend/default/iphone/template/wishlist/item/column/info.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/* @var Mage_Wishlist_Model_Item $item */
|
28 |
+
$item = $this->getItem();
|
29 |
+
$product = $item->getProduct();
|
30 |
+
?>
|
31 |
+
<?php if($this->getSortedChildren()): ?>
|
32 |
+
<div class="item-manage">
|
33 |
+
<?php foreach($this->getSortedChildren() as $childName):?>
|
34 |
+
<?php echo $this->getChildHtml($childName, false);?>
|
35 |
+
<?php endforeach;?>
|
36 |
+
</div>
|
37 |
+
<?php endif; ?>
|
38 |
+
<div class="description std"><div class="inner"><?php echo $this->escapeHtml($this->stripTags($product->getShortDescription()));?></div></div>
|
39 |
+
<textarea name="description[<?php echo $item->getWishlistItemId() ?>]" rows="3" cols="5" onfocus="focusComment(this)" onblur="focusComment(this)" placeholder="<?php echo $this->__('Comment') ?>"><?php echo ($this->escapeHtml($item->getDescription())) ?></textarea>
|
app/design/frontend/default/iphone/template/{catalog/product/view/addtowishlist.phtml → wishlist/item/configure/addto.phtml}
RENAMED
@@ -20,12 +20,15 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
-
|
27 |
-
/** @var $this Mage_Catalog_Block_Product_View */
|
28 |
?>
|
29 |
-
|
30 |
-
<?php $
|
31 |
-
|
|
|
|
|
|
|
|
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
|
|
|
|
26 |
?>
|
27 |
+
|
28 |
+
<?php $_wishlistItem = $this->getWishlistItem(); ?>
|
29 |
+
<?php $_wishlistSubmitUrl = $this->helper('wishlist')->getUpdateUrl($_wishlistItem); ?>
|
30 |
+
<ul class="add-to-links">
|
31 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
32 |
+
<li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-compare"><?php echo $this->__('Update Wishlist') ?></a></li>
|
33 |
+
<?php endif; ?>
|
34 |
+
</ul>
|
app/design/frontend/default/iphone/template/wishlist/item/list.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$columns = $this->getColumns();
|
29 |
+
?>
|
30 |
+
<table class="data-table" id="wishlist-table">
|
31 |
+
<tbody>
|
32 |
+
<?php if (count($this->getItems())): ?>
|
33 |
+
<?php foreach ($this->getItems() as $item): ?>
|
34 |
+
<tr id="item_<?php echo $item->getId();?>">
|
35 |
+
<td>
|
36 |
+
<?php foreach ($columns as $column): ?>
|
37 |
+
<?php $column->setItem($item); echo $column->toHtml($item);?>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</td>
|
40 |
+
</tr>
|
41 |
+
<?php endforeach ?>
|
42 |
+
<?php else: ?>
|
43 |
+
<td colspan="<?php echo count($columns);?>" class="wishlist-empty"><?php echo $this->__('This Wishlist has no Items');?></td>
|
44 |
+
<?php endif; ?>
|
45 |
+
</tbody>
|
46 |
+
</table>
|
47 |
+
<?php foreach ($columns as $column): ?>
|
48 |
+
<?php echo $column->getAdditionalHtml();?>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
<script type="text/javascript">
|
51 |
+
//<![CDATA[
|
52 |
+
<?php foreach ($columns as $column): ?>
|
53 |
+
<?php echo $column->getJs();?>
|
54 |
+
<?php endforeach; ?>
|
55 |
+
//]]>
|
56 |
+
</script>
|
app/design/frontend/default/iphone/template/wishlist/shared.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 default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
/* @var $this Mage_Wishlist_Block_Share_Wishlist */
|
27 |
+
?>
|
28 |
+
<div class="my-wishlist">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->escapeHtml($this->getHeader()) ?></h1>
|
31 |
+
</div>
|
32 |
+
<div class="wishlist-view">
|
33 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
34 |
+
<?php if ($this->hasWishlistItems()): ?>
|
35 |
+
<form action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
|
36 |
+
<fieldset>
|
37 |
+
<table class="data-table" id="wishlist-table">
|
38 |
+
<?php foreach($this->getWishlistItems() as $item): ?>
|
39 |
+
<?php
|
40 |
+
$product = $item->getProduct();
|
41 |
+
$isVisibleProduct = $product->isVisibleInSiteVisibility();
|
42 |
+
?>
|
43 |
+
<tr>
|
44 |
+
<td>
|
45 |
+
<a class="product-image" href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($product, 'small_image')->resize(113, 113); ?>" width="113" height="113" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a>
|
46 |
+
<h2 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>"><?php echo $this->escapeHtml($product->getName()) ?></a></h2>
|
47 |
+
<?php echo $this->getPriceHtml($product) ?>
|
48 |
+
<?php echo $this->getDetailsHtml($item) ?>
|
49 |
+
|
50 |
+
<?php if ($product->isSaleable()): ?>
|
51 |
+
<?php if ($isVisibleProduct): ?>
|
52 |
+
<a href="<?php echo $this->getSharedItemAddToCartUrl($item) ?>"><?php echo $this->__('Add to Cart') ?></a>
|
53 |
+
<?php endif ?>
|
54 |
+
<?php endif; ?>
|
55 |
+
<p><a href="<?php echo $this->getAddToWishlistUrl($item) ?>" onclick="setLocation(this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></p>
|
56 |
+
|
57 |
+
<div class="comment"><?php echo $this->getEscapedDescription($item) ?></div>
|
58 |
+
</td>
|
59 |
+
</tr>
|
60 |
+
<?php endforeach ?>
|
61 |
+
</table>
|
62 |
+
</fieldset>
|
63 |
+
<?php if($this->isSaleable()):?>
|
64 |
+
<div class="buttons-set">
|
65 |
+
<button type="button" title="<?php echo $this->__('Add All to Cart') ?>" onclick="setLocation('<?php echo $this->getUrl('*/*/allcart', array('_current'=>true)) ?>')" class="button"><?php echo $this->__('Add All to Cart') ?></button>
|
66 |
+
</div>
|
67 |
+
<?php endif;?>
|
68 |
+
</form>
|
69 |
+
<?php else: ?>
|
70 |
+
<p><?php echo $this->__('Wishlist is empty now.') ?></p>
|
71 |
+
<?php endif ?>
|
72 |
+
</div>
|
73 |
+
</div>
|
app/design/frontend/default/iphone/template/wishlist/view.phtml
CHANGED
@@ -20,125 +20,50 @@
|
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
-
* @copyright Copyright (c)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Wishlist */
|
27 |
?>
|
28 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
-
<div class="my-wishlist">
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
<?php
|
34 |
-
<h1><?php echo $this->__('My Wishlist') ?></h1>
|
35 |
-
</div>
|
36 |
-
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
37 |
-
<?php if ($this->hasWishlistItems()): ?>
|
38 |
-
<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
|
39 |
-
<fieldset>
|
40 |
-
<?php echo $this->getBlockHtml('formkey')?>
|
41 |
-
<table class="data-table" id="wishlist-table">
|
42 |
-
<col width="1" />
|
43 |
-
<col width="1" />
|
44 |
-
<col width="1" />
|
45 |
-
<col width="1" />
|
46 |
-
<thead>
|
47 |
-
<tr>
|
48 |
-
<th><?php echo $this->__('Product') ?></th>
|
49 |
-
<th class="a-center"><span class="nobr"><?php echo $this->__('Added On') ?></span></th>
|
50 |
-
<th class="a-center"><span class="nobr"><?php echo $this->__('Add to Cart') ?></span></th>
|
51 |
-
</tr>
|
52 |
-
</thead>
|
53 |
-
<tbody>
|
54 |
-
<?php foreach ($this->getWishlistItems() as $item): ?>
|
55 |
-
<tr>
|
56 |
-
<td>
|
57 |
-
<a class="product-image" href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->escapeHtml($item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($item, 'small_image')->resize(113, 113); ?>" width="113" height="113" alt="<?php echo $this->escapeHtml($item->getName()) ?>" /></a>
|
58 |
-
<h2 class="product-name"><a href="<?php echo $this->getProductUrl($item) ?>"><?php echo $this->escapeHtml($item->getName()) ?></a></h2>
|
59 |
-
<?php echo $this->getPriceHtml($item) ?>
|
60 |
-
</td>
|
61 |
-
<td>
|
62 |
-
<span class="nobr"><?php echo $this->getFormatedDate($item->getAddedAt()) ?></span>
|
63 |
-
</td>
|
64 |
-
<td class="a-center">
|
65 |
-
<?php if ($item->canHaveQty()): ?>
|
66 |
-
<p><input type="text" class="input-text qty" name="qty[<?php echo $item->getId() ?>]" value="<?php echo $this->getAddToCartQty($item) * 1 ?>" /></p>
|
67 |
-
<?php endif; ?>
|
68 |
-
<?php if($item->isSaleable()): ?>
|
69 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" onclick="addWItemToCart(<?php echo $item->getId(); ?>)" class="button btn-cart"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
70 |
-
<?php else: ?>
|
71 |
-
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
72 |
-
<?php endif; ?>
|
73 |
-
<p><a href="<?php echo $this->getItemConfigureUrl($item) ?>"><?php echo $this->__('Edit') ?></a></p>
|
74 |
-
<a href="<?php echo $this->getItemRemoveUrl($item) ?>" title="<?php echo $this->__('Remove Item') ?>" onclick="return confirmRemoveWishlistItem();" class="btn-remove2"><?php echo $this->__('Remove item')?></a>
|
75 |
-
</td>
|
76 |
-
</tr>
|
77 |
-
<tr>
|
78 |
-
<td colspan="3">
|
79 |
-
<span><?php echo $this->__('Comment:') ?></span>
|
80 |
-
<textarea name="description[<?php echo $item->getWishlistItemId() ?>]" rows="3" cols="5" onfocus="focusComment(this)" onblur="focusComment(this)" title="<?php echo $this->__('Comment') ?>"><?php echo $this->getCommentValue($item); ?></textarea>
|
81 |
-
</td>
|
82 |
-
</tr>
|
83 |
-
<?php endforeach ?>
|
84 |
-
</tbody>
|
85 |
-
</table>
|
86 |
-
<script type="text/javascript">decorateTable('wishlist-table')</script>
|
87 |
-
<div class="buttons-set buttons-set2">
|
88 |
-
<button type="submit" onclick="this.name='save_and_share'" title="<?php echo $this->__('Share Wishlist') ?>" class="button btn-share"><span><span><?php echo $this->__('Share Wishlist') ?></span></span></button>
|
89 |
-
<?php if($this->isSaleable()):?>
|
90 |
-
<button type="button" title="<?php echo $this->__('Add All to Cart') ?>" onclick="addAllWItemsToCart()" class="button btn-add"><span><span><?php echo $this->__('Add All to Cart') ?></span></span></button>
|
91 |
-
<?php endif;?>
|
92 |
-
<button type="submit" onclick="this.name='do'" title="<?php echo $this->__('Update Wishlist') ?>" class="button btn-update"><span><span><?php echo $this->__('Update Wishlist') ?></span></span></button>
|
93 |
-
</div>
|
94 |
-
</fieldset>
|
95 |
-
</form>
|
96 |
-
<?php else: ?>
|
97 |
-
<p><?php echo $this->__('You have no items in your wishlist.') ?></p>
|
98 |
-
<?php endif ?>
|
99 |
-
<script type="text/javascript">
|
100 |
-
//<![CDATA[
|
101 |
-
function confirmRemoveWishlistItem() {
|
102 |
-
return confirm('<?php echo $this->__('Are you sure you want to remove this product from your wishlist?') ?>');
|
103 |
-
}
|
104 |
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
var
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
|
|
|
|
|
|
123 |
}
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
var url = '<?php echo $this->getUrl('*/*/allcart') ?>';
|
129 |
-
var separator = (url.indexOf('?') >= 0) ? '&' : '?';
|
130 |
-
$$('#wishlist-view-form .qty').each(
|
131 |
-
function (input, index) {
|
132 |
-
url += separator + input.name + '=' + encodeURIComponent(input.value);
|
133 |
-
separator = '&';
|
134 |
-
}
|
135 |
-
);
|
136 |
-
setLocation(url);
|
137 |
-
}
|
138 |
-
//]]>
|
139 |
-
</script>
|
140 |
-
</div>
|
141 |
-
<div class="buttons-set">
|
142 |
-
<p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
143 |
-
</div>
|
144 |
<?php endif ?>
|
20 |
*
|
21 |
* @category design
|
22 |
* @package default_iphone
|
23 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Wishlist */
|
27 |
?>
|
28 |
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
29 |
+
<div class="my-wishlist">
|
30 |
+
<div class="page-title title-buttons">
|
31 |
+
<h1><?php echo $this->getTitle(); ?></h1>
|
32 |
+
</div>
|
33 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
|
35 |
+
<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
|
36 |
+
<?php echo $this->getChildHtml('top'); ?>
|
37 |
+
<fieldset>
|
38 |
+
<?php if ($this->hasWishlistItems()): ?>
|
39 |
+
<?php echo $this->getBlockHtml('formkey');?>
|
40 |
+
<?php $this->getChild('items')->setItems($this->getWishlistItems()); ?>
|
41 |
+
<?php echo $this->getChildHtml('items');?>
|
42 |
+
<?php else: ?>
|
43 |
+
<p class="wishlist-empty"><?php echo $this->__('You have no items in your wishlist.') ?></p>
|
44 |
+
<?php endif ?>
|
45 |
+
<div class="buttons-set">
|
46 |
+
<?php echo $this->getChild('control_buttons')->toHtml();?>
|
47 |
+
</div>
|
48 |
+
</fieldset>
|
49 |
+
</form>
|
50 |
|
51 |
+
<script type="text/javascript">
|
52 |
+
//<![CDATA[
|
53 |
+
var wishlistForm = new Validation($('wishlist-view-form'));
|
54 |
+
function addAllWItemsToCart() {
|
55 |
+
var url = '<?php echo $this->getUrl('*/*/allcart', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>';
|
56 |
+
var separator = (url.indexOf('?') >= 0) ? '&' : '?';
|
57 |
+
$$('#wishlist-view-form .qty').each(
|
58 |
+
function (input, index) {
|
59 |
+
url += separator + input.name + '=' + encodeURIComponent(input.value);
|
60 |
+
separator = '&';
|
61 |
+
}
|
62 |
+
);
|
63 |
+
setLocation(url);
|
64 |
}
|
65 |
+
//]]>
|
66 |
+
</script>
|
67 |
+
</div>
|
68 |
+
<?php echo $this->getChildHtml('bottom'); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
<?php endif ?>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Interface_Frontend_Default_Iphone</name>
|
4 |
-
<version>1.
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This is a new iPhone optimized theme to the Magento default interface.</summary>
|
10 |
<description>This is a new iPhone optimized theme to the Magento default interface.</description>
|
11 |
-
<notes>1.
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
-
<date>
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="iphone"><dir name="etc"><file name="widget.xml" hash="9c4d18745a41198c0f5538a7c505a8fe"/></dir><dir name="layout"><file name="catalog.xml" hash="52c60a7c46de252922c5245e0ce9104b"/><file name="checkout.xml" hash="8211471c2e269b008772b7fc0a2d1c17"/><file name="cms.xml" hash="40c5f912a988752195255c26f03e8f16"/><file name="customer.xml" hash="8e8b63bf7b6d78376ca346b407e89510"/><file name="page.xml" hash="496c1783b825d3035d1475046daab470"/><file name="persistent.xml" hash="6dbc1c3d5127ec4e2bff0853a6b60f69"/><file name="review.xml" hash="20cb9a1113b35fc73f44e94b272ef801"/><file name="tag.xml" hash="f611b05cabc69fa43ce045ac36171a49"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="eaac56acd7b5e71edab1ba5a394d9e9d"/></dir></dir><dir name="template"><dir name="catalog"><dir name="product"><dir name="list"><file name="toolbar.phtml" hash="ee74304e1563c74c4849909bd1654546"/></dir><dir name="view"><file name="addtowishlist.phtml" hash="03c5754e47c30882f099b4039b226821"/></dir></dir></dir><dir name="catalogsearch"><file name="form.mini.phtml" hash="9f1f066d285a83ee94425a55c1c826a1"/></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="ef5787335c3d2556703bbcf50f740832"/></dir></dir><file name="cart.phtml" hash="7fdd29bff24ec35741bae1b444380ed8"/></dir><dir name="customer"><dir name="form"><file name="forgotpassword.phtml" hash="44ae15314a2e802b04afd3967a08e3b6"/><file name="login.phtml" hash="3204574bb4ae2e1dce87e50c595c884b"/></dir></dir><dir name="page"><file name="1column.phtml" hash="aebc45a22f043560a85cdeb1a6804394"/><dir name="html"><file name="footer.phtml" hash="6a5a95192399e6d7d77051c5c8d9e801"/><file name="head.phtml" hash="91afb60b9b7e0cdd5e245fc64fadfdc0"/><file name="header.phtml" hash="9cf699f5b61cf5f45d722688b012bdcb"/></dir><file name="one-column.phtml" hash="4bd291aa5dbdbd576fcb9d7fce6a096e"/></dir><dir name="persistent"><dir name="customer"><dir name="form"><file name="login.phtml" hash="eb27e391405e0fce209ad2687bcb7482"/></dir></dir></dir><dir name="sales"><dir name="order"><file name="history.phtml" hash="2a8b3addaf9a5f36d1dab52ca379f098"/><file name="recent.phtml" hash="280232aaa354ce5980584e625502d531"/></dir></dir><dir name="shipping"><dir name="tracking"><file name="ajax.phtml" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="popup.phtml" hash="1656b2ddc9e15023d54b016f7c83c100"/></dir></dir><dir name="wishlist"><file name="view.phtml" hash="4ccbfefc1926b82733c382a36a1ecf63"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="iphone"><dir name="css"><file name="iphone.css" hash="eebec6803fcc6dbbd2296f01d0475f8e"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="bkg_rating.gif" hash="f9d0374fd12e2e7c91c280d565dcdccd"/><file name="btn_google_checkout.gif" hash="843d75249ce05b5d87ca5419f37b1c3b"/><file name="btn_paypal_checkout.gif" hash="6edd61270b7b5632eafad10557129114"/><file name="btn_place_order.gif" hash="d35219f86ae2c983ee1a31557e37b612"/><file name="btn_proceed_to_checkout.gif" hash="4daac687b514fecfd1068539500ac3d7"/><file name="btn_proceed_to_checkout.png" hash="a65868bfdf37e6c9bc8651fc402c43b3"/><file name="btn_proceed_to_checkout_bg.gif" hash="d1f61b4cd9db50e0322d23b291f1f4c4"/><file name="btn_proceed_to_checkout_rad.gif" hash="ee0f96c5b22aab80149238c210d1bf95"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="chart_remove.gif" hash="234bddc4c5878c5ef16407a944824236"/><file name="error_msg_icon.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="footer-bg.gif" hash="7c474892fe9d3afbe9fc11415ec4d9b9"/><file name="free_shipping_callout.jpg" hash="cbf2e494ef7ca50acf8826321d739559"/><file name="gift-message-close.gif" hash="346e26eece27449a2f224aef76ae372e"/><file name="header-bg.gif" hash="d661bbd09fe352388114770522ab2c55"/><file name="i_notice.gif" hash="ebd56dc80b8346e10e93628bc0e6c372"/><file name="link_separator.gif" hash="0995b801ce2a89ed32fddd91831d5d15"/><file name="list_remove_btn.gif" hash="6182e723aa2a253dc6cf334a3dfaaa84"/><file name="logo.gif" hash="2ad825be80e0cbff4d5669607d8f89cd"/><file name="logo_email.gif" hash="6b5211b7de79a89b162de049b224e56a"/><file name="logo_print.gif" hash="6b5211b7de79a89b162de049b224e56a"/><file name="menu-arrow.gif" hash="7a86f6b349c436db0d43fa2ebafadf86"/><file name="menu-bg.gif" hash="216ac10d06b04fcacb8e0d98db74e539"/><file name="np_cart_thumb.gif" hash="e9fdd943e0947e15f0638506f477e358"/><file name="np_more_img.gif" hash="ace357bfe3e81ffb62137cd5b25ae5e1"/><file name="np_product_main.gif" hash="d0cccda76de50efa025215ce85dacb1c"/><file name="np_thumb.gif" hash="e46270c89358ecc8341d1565c14644b8"/><file name="np_thumb2.gif" hash="8502866cdabc5c74aca7d7bd32a06a03"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="opc_off_head_bg.gif" hash="f69b40b5331ab3760f54d038daf287eb"/><file name="opc_on_box_bg.gif" hash="065d507000e7d0b887fcb324bb9d5995"/><file name="page-bg.gif" hash="3f018fdfa3c3c67c3f536d09e843c20a"/><file name="pager_arrow_left.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="pager_arrow_right.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="pager_bg.gif" hash="e6967716de8c4bc4c96c206a0dbd2c5f"/><file name="ph.gif" hash="77d96eebccea5801290ad68b3ccb4199"/><file name="place_order_container_bg.gif" hash="8eebd513ac0d9c02cc566cff649799ce"/><file name="product_rating_blank_star.gif" hash="5e20a299c0ff16168be38b6dde580eda"/><file name="product_rating_full_star.gif" hash="dd5aae332178d928a7f49dea7691b5f6"/><file name="search-bg.gif" hash="254aed2532aba555b56fd70ee48a4f41"/><file name="search-close-but.gif" hash="52516dcd783c5447bb88b2a65f8fbcfc"/><file name="search-end.gif" hash="cab21c2667c72cf78d5379073f7268fe"/><file name="search-go-but.gif" hash="a07b060825a1463eb2a44053081d3cb7"/><file name="search-md.gif" hash="5875a13f1b8aa787b48bf9047c545a38"/><file name="search-st.gif" hash="4b82821fac3dc5073af9ceb297dc4e61"/><file name="search_criteria.gif" hash="cf67b9cc5c311ae3f99e68cd29ae17be"/><file name="shipping_method_pointer.gif" hash="17d68b5449adaa87dafc62ae0afa1b9a"/><file name="sort_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="sort_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="success_msg_icon.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/></dir><dir name="js"><file name="opcheckout.js" hash="bdaabef11172e39cb9225509024ce5e2"/><file name="search.js" hash="6ded108069efcb147cd5efb380a18d48"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
-
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Interface_Frontend_Default_Iphone</name>
|
4 |
+
<version>1.7.0.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
|
7 |
<channel>community</channel>
|
8 |
<extends/>
|
9 |
<summary>This is a new iPhone optimized theme to the Magento default interface.</summary>
|
10 |
<description>This is a new iPhone optimized theme to the Magento default interface.</description>
|
11 |
+
<notes>1.7.0.0</notes>
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
+
<date>2012-04-23</date>
|
14 |
+
<time>13:47:46</time>
|
15 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="iphone"><dir name="etc"><file name="widget.xml" hash="d6c165d854d5eced1aa614316507aacf"/></dir><dir name="layout"><file name="bundle.xml" hash="76cd8bd1cdee078807fd0ecdee752e70"/><file name="catalog.xml" hash="1eeda04c2e3ef73e933512fd030f2da9"/><file name="catalogsearch.xml" hash="5a774ba8c5cb948a2b8bbd97d5652733"/><file name="checkout.xml" hash="33b51cf4517b9896601c2b5b43966919"/><file name="cms.xml" hash="d1f9f7ebb2ed29bfb92aa9a4ce83c32d"/><file name="contacts.xml" hash="7b188c8aac1cebf79aa08a3acca1b54e"/><file name="customer.xml" hash="b5277a99b266e52e7187d9a72f9d2b1e"/><file name="newsletter.xml" hash="9ecf02067fcbb5091ed00eabe0543340"/><file name="page.xml" hash="4878e9f52abcf5ad3c763916229ef8fb"/><file name="review.xml" hash="da42a0a6a98d3c29f959b1249a9b036f"/><file name="rss.xml" hash="d1c668d52a05b7f4adee8692792c8543"/><dir name="sales"><file name="billing_agreement.xml" hash="fb37960b7fcdc7abac259e6bff2cd252"/><file name="recurring_profile.xml" hash="e4903d1e879a5dd4b6a60bd863d54215"/></dir><file name="sales.xml" hash="3e26de949490004ced41a4b0afcf0aef"/><file name="sendfriend.xml" hash="7034f491598f43dd7b99f7e9bdbcaa49"/><file name="tag.xml" hash="79d06c1d4b573781c7ad5c6770caf11d"/><file name="wishlist.xml" hash="677fd30e2f9433b864c2a1b9f365918d"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="d41d8cd98f00b204e9800998ecf8427e"/></dir></dir><dir name="template"><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><file name="bundle.phtml" hash="de61a8f442283b04f716966fd7dd4b17"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><file name="renderer.phtml" hash="7a73754ec08c652c9569699d061a2e76"/></dir></dir></dir></dir><dir name="catalog"><dir name="category"><file name="view.phtml" hash="9bee44fafbe3e78b6d0f74b326d70c5a"/></dir><dir name="layer"><file name="view.phtml" hash="982c67c16ead9e6763d0ad0b977771f2"/></dir><dir name="navigation"><file name="top.phtml" hash="b614192a42cc21f28eb3d84b4d2ca4cd"/></dir><dir name="product"><file name="gallery.phtml" hash="67551bb744ebe8942fd89434f3fcdf52"/><dir name="list"><file name="toolbar.phtml" hash="d8d93bb9a2d2d7321ce1f8e6188a0e1d"/><file name="upsell.phtml" hash="eaf7e6a2e8d85dec6244f85ddf4ea134"/></dir><file name="list.phtml" hash="83609a75c1cd3aa1563b5b75655b9ec3"/><file name="price.phtml" hash="e07e62bf8de80c29e90272e4fabe004a"/><file name="price_msrp.phtml" hash="7622ea078e7a5f53f8f02e6330dd7b91"/><file name="price_msrp_noform.phtml" hash="7622ea078e7a5f53f8f02e6330dd7b91"/><dir name="view"><file name="addto.phtml" hash="54b114a3c0efc53491516dc8a8743b27"/><file name="media.phtml" hash="cae7077ae46b90b0e495d727e63eccc2"/><dir name="options"><file name="wrapper.phtml" hash="0110677dc2b827fbad9355b5e96fffef"/></dir></dir><file name="view.phtml" hash="fce428f04700a8462d651cce06877bf8"/></dir></dir><dir name="catalogsearch"><file name="form.mini.phtml" hash="fbea4609cc44cd5c54cee01f5b43532a"/><file name="result.phtml" hash="889b2dcec525c5e7c14b9c5631802e5c"/></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="093b3d27841cbc2b6e8c5c8cdf926c3b"/></dir></dir><file name="cart.phtml" hash="5c281b49f28299649f330a8e82c8dedf"/><dir name="onepage"><dir name="review"><file name="info.phtml" hash="d76b4377d507b31c7cde05e9dc13ceea"/><file name="item.phtml" hash="18ef2322c52a3b4d9ee9030bf64fa448"/><file name="totals.phtml" hash="647e2b6798ff354cf632119a1b68a9cb"/></dir></dir><file name="success.phtml" hash="47811864ff1cda84b2bf081a1cfdd8aa"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="a138b1e8eda08ba7ccfc3a95c3bcb143"/></dir><file name="navigation.phtml" hash="fd5d8d594b8b5540ae51761ed4e0fbd8"/></dir><dir name="address"><file name="book.phtml" hash="e9bea2f063a330db26812f0b1d1af489"/></dir><dir name="form"><file name="login.phtml" hash="3b3fa6448c745db947a5d1583bc44d95"/></dir></dir><dir name="downloadable"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="5a300b3309bbe98f8c9b1d03a286358a"/></dir></dir><dir name="onepage"><dir name="review"><file name="item.phtml" hash="19f1115d8be687db868e01ff13c0a87b"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="16dd24c77b9a4854f8909752d65ef07d"/></dir></dir><dir name="sales"><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="d35d25d168ab257087c5bbf2e6d2c340"/></dir></dir></dir><dir name="invoice"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="6c19a1bb765585d6bb8fb5e8efc5ca5e"/></dir></dir></dir><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="8c68e84732c65b3ea1398597673ac2f5"/></dir></dir></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="90718f5393d2a5e406b89117acb1cb7a"/></dir><dir name="page"><file name="1column.phtml" hash="6286c0bcdf559b60646f725383100ed7"/><dir name="html"><file name="footer.phtml" hash="4eef3daff42b8851288870ab3d395dd5"/><file name="head.phtml" hash="7ea8d79d35e59c3ad3dcaeca6d1b7fc3"/><file name="header.phtml" hash="cf54383b641ddaeed06537842b59b59c"/><file name="pager.phtml" hash="fe2d017c8871c4a9647e2d0e4647720b"/></dir><dir name="switch"><file name="languages.phtml" hash="3ca455b99bcea5f4c40f0420f6bd17e4"/><file name="stores.phtml" hash="097ceed917c7bc3bdfe8f0cc6e7db94a"/></dir><dir name="template"><file name="links.phtml" hash="3a6cdb86d7bb506c3cbdafe8e0e8a21f"/></dir></dir><dir name="paypal"><dir name="express"><dir name="review"><file name="details.phtml" hash="f131280e110821b434dcbabec8ced7b9"/></dir><file name="review.phtml" hash="a770b884f75f3b73453471838f603a0c"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="login.phtml" hash="d83fae66ca3796b73ade05da0f27dab0"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="4d8bbbab4a2c0d30cf9b02bb501fff71"/></dir></dir><file name="remember_me_tooltip.phtml" hash="50e33e4da39f6083def4622daa289ed5"/></dir><dir name="review"><dir name="customer"><file name="list.phtml" hash="02783d95fc88538fd72ad713125aa27d"/></dir></dir><dir name="sales"><dir name="billing"><dir name="agreement"><file name="view.phtml" hash="16e690b2d4e027ee2b91a1fe5e20c871"/></dir><file name="agreements.phtml" hash="95f719802e49acf19e289ae6f57c7028"/></dir><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="475ed69e6f1d5e91b6ad6df3ae7d7d33"/></dir></dir><file name="items.phtml" hash="29311c2791aa4f31a00b3f55fd4108f5"/></dir><file name="history.phtml" hash="c80c5224cfe9da6a06b22070a63bf8f1"/><dir name="invoice"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="04c5520c34bb42f318ec89c281d96b8d"/></dir></dir><file name="items.phtml" hash="9c6d5baa77ba2e843883fc9360cd8df1"/></dir><dir name="items"><dir name="renderer"><file name="default.phtml" hash="4b54eea5eb2200e928d98708df83815f"/></dir></dir><file name="items.phtml" hash="14df24f6e9b7430a536b0ae0bbbbba80"/><file name="recent.phtml" hash="b5dd82409548037a023b661eb866ed75"/><file name="totals.phtml" hash="49114a1f0124f37e9a8dc59ab61dd94b"/></dir></dir><dir name="shipping"><dir name="tracking"><file name="ajax.phtml" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="popup.phtml" hash="2be2fba70cbb7a53827da419cbb64bf8"/></dir></dir><dir name="tag"><file name="list.phtml" hash="3a2e0e97778a2191fdd9c1dd89213ce0"/></dir><dir name="tax"><dir name="order"><file name="tax.phtml" hash="39c4a0029457ef9bd9da6fb0a1d74fca"/></dir></dir><dir name="wishlist"><dir name="item"><dir name="column"><file name="cart.phtml" hash="f1584e22d713057a3476236695080524"/><file name="image.phtml" hash="1c675fcac715b939a6fdd04ab021ca05"/><file name="info.phtml" hash="bc4fae8d244aac6d7474acb74e4cb3a8"/></dir><dir name="configure"><file name="addto.phtml" hash="4661d15442b043b3838150a28c174bfe"/></dir><file name="list.phtml" hash="b62d7a954a41725c1594b6e5bf36466a"/></dir><file name="shared.phtml" hash="b2642100414d197a55060b66baf7be18"/><file name="view.phtml" hash="f87a4f6d645ab499e1da38818de4b522"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="iphone"><dir name="css"><file name="custom.css" hash="c904b5df80ff557f632bb42c593e040a"/><file name="iphone.css" hash="68bd794039201ec50af8ccdf6002dc40"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="arrow_left.png" hash="7081d0d3d7729c8df6aaffa67d55f41a"/><file name="arrow_left_retina.png" hash="2c0839350a1cece23755e5a0ed00ebf5"/><file name="arrow_right.png" hash="bec6839d4fbbfed074f8fa46da82583f"/><file name="arrow_right_retina.png" hash="372ce000e7b115d1bdace341d8e896f1"/><file name="bg_back_btn.png" hash="3a6212d4447198e7ca9cc9990255a919"/><file name="bg_back_btn_retina.png" hash="b6894134cd3d8860df912f8df0d5111f"/><file name="bg_checkbox.png" hash="64d515d23e7661a69ac58713d1c73f9c"/><file name="bg_checkout_step_passed.png" hash="b49944bf8104345375978a40c7a7c92d"/><file name="bg_divider.png" hash="ba2a43d9e360c99ce443d4bdf5b85ffd"/><file name="bg_divider_dark.png" hash="bdefe066741b9019e7f2f831d78326c2"/><file name="bg_divider_dark_retina.png" hash="b2cb3058c08726a83b1feb0c3d1170ed"/><file name="bg_divider_retina.png" hash="20c5b12f6477e1aea2c943fcc707daa0"/><file name="bg_gradient.png" hash="117891b39d6944afee56441d832695aa"/><file name="bg_gradient_retina.png" hash="d562372c4c0a82c3166aa6429e224134"/><file name="bg_shadow.png" hash="ff56f0eba3cbf7d453b98ec6f0dff762"/><file name="bg_shadow_retina.png" hash="f7fbd64eef2e917e2510c02701f3dcdd"/><file name="btn_edit.png" hash="b5db4c39106c54b8a398dd0cd7456ca6"/><file name="btn_edit_retina.png" hash="afb469a5300d50178f97827e6d81b3a6"/><file name="btn_remove.png" hash="85a455dbc19b798db021f49a233a0074"/><file name="btn_remove_retina.png" hash="3753999730503155256ee20cd75aeba1"/><dir name="custom"><file name="arrow.png" hash="86fe4be42cf815703b281f7cd60e3b47"/><file name="arrow_retina.png" hash="45fee5f79b118e9a48521419ac530ba7"/><file name="bg_header.png" hash="bdef8eb94b88c1131ba458b55965bbc6"/><file name="bg_header_retina.png" hash="fd4f83a9ce8e59b02a559da09b0bf574"/><file name="bg_logo.png" hash="baef4dfa239d520769dd2fd3eaa9171c"/><file name="bg_logo_retina.png" hash="fab8c423be5133e45e5fff72680396fc"/></dir><file name="i_cart.png" hash="df5a51680821193b78c1987ea32ce985"/><file name="i_cart_retina.png" hash="52108f042de6dcebcab30c0e6fb54096"/><file name="i_dropdown.png" hash="2417495ef0c87816f949c338fd0dfd79"/><file name="i_dropdown_retina.png" hash="5acb1effecb2fde5772adce02f110196"/><file name="i_menu.png" hash="f67f56724a8c2952929e0286ed414fe1"/><file name="i_menu_retina.png" hash="6f42380e1a22d054a16f89f16d8fe79b"/><file name="i_search.png" hash="32494d8a4c080d5c7a3f44457e9568d5"/><file name="i_search_retina.png" hash="c8865e46ca3851fc481ce24b63121849"/><file name="i_star.png" hash="f10afff0ab8fe39aa06e4b70b6117749"/><file name="i_star_blank.png" hash="d430896eaf6f887e27270603f733411d"/><file name="i_star_blank_retina.png" hash="f97de532ec2b88cf0790b73e9e1910fe"/><file name="i_star_retina.png" hash="40f3234c69c224de618b023d2a7a008c"/><file name="i_zoom.png" hash="8caede3901588dcdf9b88ed860141cbf"/><file name="i_zoom_retina.png" hash="24e0813f2a9b0dd8397697099a1a2b77"/><file name="loader.gif" hash="0402daa1f96d4f651346d98cde610fca"/><file name="logo.gif" hash="83ed0d84a9436a76fd9cc200e8fcab83"/><dir name="media"><file name="cell_phone_landing_banner1.jpg" hash="b25562360fc470f1091ca7ea014a3290"/></dir><file name="opc-ajax-loader.gif" hash="3eb92a9317c81f5a7d67e8534f1d6ff9"/></dir><dir name="js"><file name="dnd.js" hash="31c42fed4a09818480d265beeea86e08"/><file name="iphone.js" hash="8e627d8853a272731279d173818f8eb5"/><file name="modernizr.js" hash="770dda507a72bbb3b9cc82273b8f4159"/></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
+
<dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.7.0.0</min><max>1.8.0.0</max></package></required></dependencies>
|
18 |
</package>
|
skin/frontend/default/iphone/css/custom.css
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_iphone
|
22 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
/* Theme options */
|
26 |
+
|
27 |
+
/* Links Color */
|
28 |
+
a { color:#1394ca; }
|
29 |
+
|
30 |
+
/* Main color */
|
31 |
+
body > header,
|
32 |
+
body > footer ul,
|
33 |
+
body > address.copyright { background-color:#e76212; }
|
34 |
+
|
35 |
+
/* Button Color */
|
36 |
+
.map-popup-checkout button,
|
37 |
+
.more-button,
|
38 |
+
.btn-checkout,
|
39 |
+
.account-login button,
|
40 |
+
.add-to-links > li > a,
|
41 |
+
.cart-table tfoot button,
|
42 |
+
.opc .buttons-set button,
|
43 |
+
.checkout-success button,
|
44 |
+
.box-reviews .buttons-set button,
|
45 |
+
.my-account .form-buttons button,
|
46 |
+
#contactForm .buttons-set button,
|
47 |
+
.giftregistry .buttons-set button,
|
48 |
+
.wishlist-view .buttons-set button,
|
49 |
+
.send-to-friend .buttons-set button,
|
50 |
+
.account-create .buttons-set button,
|
51 |
+
.add-to-links > li .split-button strong,
|
52 |
+
.catalog-product-gallery .buttons-set a,
|
53 |
+
.my-account .my-rewards .buttons-set button,
|
54 |
+
.my-account .my-wishlist .buttons-set button,
|
55 |
+
.product-view .product-shop .add-to-box button,
|
56 |
+
.popup-block .block-content .buttons-set button,
|
57 |
+
.customer-account-forgotpassword .buttons-set button,
|
58 |
+
.product-view .product-options-bottom .add-to-cart button,
|
59 |
+
.my-account .billing-agreements .box-content .form-list select + button { background-color:#e76212; }
|
60 |
+
|
61 |
+
/* Main Page Navigation links color */
|
62 |
+
#nav-container li a { color:#111; }
|
63 |
+
|
64 |
+
/* Buttons background color */
|
65 |
+
.form-subscribe button { background:green; }
|
skin/frontend/default/iphone/css/iphone.css
CHANGED
@@ -19,493 +19,2088 @@
|
|
19 |
*
|
20 |
* @category design
|
21 |
* @package default_iphone
|
22 |
-
* @copyright Copyright (c)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
|
26 |
-
/* Reset
|
27 |
-
|
28 |
-
body,
|
29 |
-
|
30 |
-
|
31 |
-
li,
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
/* Forms */
|
45 |
-
input,
|
46 |
-
select,
|
47 |
-
textarea,
|
48 |
-
button { vertical-align:middle; }
|
49 |
-
fieldset { border:0; }
|
50 |
legend { display:none; }
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
.
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
.no-display { display:none; }
|
90 |
-
.nowrap,
|
91 |
.nobr { white-space:nowrap; }
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
.
|
111 |
-
.
|
112 |
-
.
|
113 |
-
|
114 |
-
.
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
.
|
122 |
-
.
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
#
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
.
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
.
|
164 |
-
|
165 |
-
.
|
166 |
-
|
167 |
-
.
|
168 |
-
.
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
.
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
.
|
233 |
-
.
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
.
|
255 |
-
|
256 |
-
|
257 |
-
.
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
.
|
263 |
-
.
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
.
|
268 |
-
.
|
269 |
-
|
270 |
-
.
|
271 |
-
|
272 |
-
|
273 |
-
.
|
274 |
-
|
275 |
-
.
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
.
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
.
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
.
|
336 |
-
.
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
.
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
.
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
.
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
.
|
434 |
-
|
435 |
-
.
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
.
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
.
|
456 |
-
.
|
457 |
-
.
|
458 |
-
.
|
459 |
-
.
|
460 |
-
.
|
461 |
-
.
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
.
|
482 |
-
.
|
483 |
-
.
|
484 |
-
.
|
485 |
-
.
|
486 |
-
|
487 |
-
.
|
488 |
-
.
|
489 |
-
|
490 |
-
.
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
.
|
495 |
-
.page-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
.
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
*
|
20 |
* @category design
|
21 |
* @package default_iphone
|
22 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
|
26 |
+
/* Reset
|
27 |
+
-----------------------------*/
|
28 |
+
html, body, header, footer,
|
29 |
+
h1, h2, h3, h4, h5, h6, p,
|
30 |
+
form, fieldset,
|
31 |
+
ul, li, dl, dt, dd { background:transparent; border:0; font-size:100%; margin:0; outline:0; padding:0; vertical-align:baseline; }
|
32 |
+
img { vertical-align:bottom; }
|
33 |
+
ul { list-style:none; }
|
34 |
+
a { color:#1394ca; text-decoration:none; }
|
35 |
+
|
36 |
+
|
37 |
+
/* Page
|
38 |
+
-----------------------------*/
|
39 |
+
html { -webkit-text-size-adjust:none; overflow-y:scroll; }
|
40 |
+
html, body { height:100%; }
|
41 |
+
|
42 |
+
body { background:#fff; font:15px/18px HelveticaNeue, Helvetica, sans-serif; min-height:100%; }
|
43 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
legend { display:none; }
|
45 |
+
|
46 |
+
.std { clear:both; margin:10px 0; }
|
47 |
+
|
48 |
+
.a-left { text-align:left; }
|
49 |
+
.a-center { text-align:center; }
|
50 |
+
.a-right { text-align:right; }
|
51 |
+
|
52 |
+
.global-site-notice { background:#444; border-bottom:1px solid #333; color:#fff; font-size:13px; padding:10px; text-shadow:0 1px 0 #111; }
|
53 |
+
.global-site-notice p { margin:0 0 10px; }
|
54 |
+
.global-site-notice a { color:#f90; text-decoration:underline; text-shadow:none; }
|
55 |
+
.global-site-notice .actions { text-align:center; }
|
56 |
+
.global-site-notice .actions button { background:none; border:1px solid #ccc; color:#fff; cursor:pointer; padding:5px 10px; text-shadow:0 1px 0 #333; }
|
57 |
+
|
58 |
+
input.input-text,
|
59 |
+
input[type="text"],
|
60 |
+
input[type="password"],
|
61 |
+
input[type="email"] {
|
62 |
+
background:#fff;
|
63 |
+
border:1px solid #e4e4e4;
|
64 |
+
border-radius:2px;
|
65 |
+
font-size:15px;
|
66 |
+
margin:0;
|
67 |
+
padding:5px;
|
68 |
+
width:100%;
|
69 |
+
-webkit-appearance:none;
|
70 |
+
-webkit-box-sizing:border-box;
|
71 |
+
box-sizing:border-box;
|
72 |
+
-webkit-box-shadow:inset 1px 1px 3px rgba(0, 0, 0, .05);
|
73 |
+
-moz-box-shadow:inset 1px 1px 3px rgba(0, 0, 0, .05);
|
74 |
+
box-shadow:inset 1px 1px 3px rgba(0, 0, 0, .05);
|
75 |
+
}
|
76 |
+
|
77 |
+
textarea {
|
78 |
+
border:1px solid;
|
79 |
+
border-color:#e4e4e4;
|
80 |
+
border-radius:2px;
|
81 |
+
padding:5px;
|
82 |
+
font:15px/18px HelveticaNeue, Helvetica, sans-serif;
|
83 |
+
height:100px;
|
84 |
+
width:100%;
|
85 |
+
resize:vertical;
|
86 |
+
-webkit-appearance:none;
|
87 |
+
-webkit-box-sizing:border-box;
|
88 |
+
box-sizing:border-box;
|
89 |
+
-webkit-box-shadow:inset 1px 1px 3px rgba(0, 0, 0, .05);
|
90 |
+
-moz-box-shadow:inset 1px 1px 3px rgba(0, 0, 0, .05);
|
91 |
+
box-shadow:inset 1px 1px 3px rgba(0, 0, 0, .05);
|
92 |
+
}
|
93 |
+
|
94 |
+
|
95 |
+
select, .select-multiple {
|
96 |
+
background:url(../images/i_dropdown.png) no-repeat right #fefefe;
|
97 |
+
border:1px solid #e4e4e4;
|
98 |
+
-webkit-border-radius:2px;
|
99 |
+
-moz-border-radius:2px;
|
100 |
+
border-radius:2px;
|
101 |
+
color:#333;
|
102 |
+
font:15px/18px HelveticaNeue, Helvetica, sans-serif;
|
103 |
+
padding:5px 30px 5px 5px;
|
104 |
+
width:100%;
|
105 |
+
-webkit-appearance:none;
|
106 |
+
-moz-appearance:none;
|
107 |
+
appearance:none;
|
108 |
+
-webkit-box-sizing:border-box;
|
109 |
+
-moz-box-sizing:border-box;
|
110 |
+
box-sizing:border-box;
|
111 |
+
-webkit-box-shadow:inset 1px 1px 1px rgba(0, 0, 0, .1);
|
112 |
+
-moz-box-shadow:inset 1px 1px 1px rgba(0, 0, 0, .1);
|
113 |
+
box-shadow:inset 1px 1px 1px rgba(0, 0, 0, .1);
|
114 |
+
}
|
115 |
+
select:disabled { background:#f5f5f5; }
|
116 |
+
.select-multiple-wrap { position:relative; }
|
117 |
+
.select-multiple { max-width:100%; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; position:relative; }
|
118 |
+
.select-multiple-options-wrap {
|
119 |
+
background:#fff;
|
120 |
+
border:1px solid #e4e4e4;
|
121 |
+
border-radius:2px;
|
122 |
+
position:absolute;
|
123 |
+
top:-5px;
|
124 |
+
left:-5px;
|
125 |
+
right:-5px;
|
126 |
+
visibility:hidden;
|
127 |
+
-webkit-box-shadow:0 3px 6px rgba(0, 0, 0, .25);
|
128 |
+
-moz-box-shadow:0 3px 6px rgba(0, 0, 0, .25);
|
129 |
+
box-shadow:0 3px 6px rgba(0, 0, 0, .25);
|
130 |
+
z-index:1;
|
131 |
+
}
|
132 |
+
.select-multiple-options-wrap .select-heading {
|
133 |
+
border-bottom:1px solid #e4e4e4;
|
134 |
+
color:#424242;
|
135 |
+
font-weight:bold;
|
136 |
+
font-size:15px;
|
137 |
+
line-height:20px;
|
138 |
+
padding:10px;
|
139 |
+
white-space:nowrap;
|
140 |
+
overflow:hidden;
|
141 |
+
text-overflow:ellipsis;
|
142 |
+
}
|
143 |
+
.select-multiple-options-wrap .select-close {
|
144 |
+
cursor:pointer;
|
145 |
+
color:#999;
|
146 |
+
display:inline-block;
|
147 |
+
float:right;
|
148 |
+
font-size:18px;
|
149 |
+
line-height:1;
|
150 |
+
text-align:center;
|
151 |
+
height:20px;
|
152 |
+
width:20px;
|
153 |
+
}
|
154 |
+
.select-multiple .selected-counter {
|
155 |
+
background:#fff;
|
156 |
+
color:#999;
|
157 |
+
display:inline-block;
|
158 |
+
font-size:12px;
|
159 |
+
font-weight:bold;
|
160 |
+
padding:2px 5px 5px 10px;
|
161 |
+
position:absolute;
|
162 |
+
top:3px;
|
163 |
+
bottom:0;
|
164 |
+
right:25px;
|
165 |
+
}
|
166 |
+
.select-multiple-options {
|
167 |
+
list-style:none;
|
168 |
+
margin:0 auto;
|
169 |
+
padding:0;
|
170 |
+
}
|
171 |
+
.select-multiple-options li {
|
172 |
+
border-bottom:1px solid #e4e4e4;
|
173 |
+
cursor:pointer;
|
174 |
+
margin:0 !important;
|
175 |
+
padding:10px 10px 10px 38px;
|
176 |
+
position:relative;
|
177 |
+
}
|
178 |
+
.select-multiple-options li.active {
|
179 |
+
background:#f5f5f5;
|
180 |
+
}
|
181 |
+
.select-multiple-options li:after {
|
182 |
+
content:'';
|
183 |
+
display:block;
|
184 |
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKCAYAAABv7tTEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDAxRDg0NzcxQjdEMTFFMUE1RjVCOUQyODJGQTNDMEMiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDAxRDg0NzgxQjdEMTFFMUE1RjVCOUQyODJGQTNDMEMiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEMDFEODQ3NTFCN0QxMUUxQTVGNUI5RDI4MkZBM0MwQyIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEMDFEODQ3NjFCN0QxMUUxQTVGNUI5RDI4MkZBM0MwQyIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pv02V7QAAABZSURBVHjalM5BDoAwCATAfUXj/7/Dbzx43QppCW0U5bAh0AwUJPEnItIA8K4lcCqyFMFlfRXo3B/m4AsY8n8GmIF56dhhBgyNzREyA44e4CtYUIQZ0HQBBgCyITMDEAMA1AAAAABJRU5ErkJggg==) no-repeat 0 0;
|
185 |
+
height:10px;
|
186 |
+
width:13px;
|
187 |
+
position:absolute;
|
188 |
+
top:15px;
|
189 |
+
left:15px;
|
190 |
+
opacity:0.2;
|
191 |
+
}
|
192 |
+
.select-multiple-options li.active:after {
|
193 |
+
opacity:1;
|
194 |
+
}
|
195 |
+
.select-multiple-options li:last-child {
|
196 |
+
border-bottom:none;
|
197 |
+
}
|
198 |
+
.select-multiple-options li + li {
|
199 |
+
border-top:1px linear #fff;
|
200 |
+
}
|
201 |
+
|
202 |
+
.pager select { width:auto; }
|
203 |
+
|
204 |
+
a.btn-remove,
|
205 |
+
.btn-remove2 { background:url(../images/btn_remove.png) no-repeat center; display:inline-block; overflow:hidden; text-indent:-100%; height:25px; width:25px; }
|
206 |
+
a.link-edit { background:url(../images/btn_edit.png) no-repeat left; display:inline-block; font-size:11px; font-weight:normal; line-height:18px; padding:0 0 0 23px; }
|
207 |
+
|
208 |
+
.reward-message,
|
209 |
+
.messages .note-msg,
|
210 |
+
.messages .error-msg,
|
211 |
+
.messages .notice-msg,
|
212 |
+
.messages .success-msg { background:#444; color:#fff; padding:10px; text-shadow:0 1px 0 #111; }
|
213 |
+
|
214 |
.no-display { display:none; }
|
|
|
215 |
.nobr { white-space:nowrap; }
|
216 |
+
|
217 |
+
.window-overlay { display:none; }
|
218 |
+
|
219 |
+
.map-popup,
|
220 |
+
.popup-block,
|
221 |
+
.remember-me-popup {
|
222 |
+
background:#fcfcfc;
|
223 |
+
position:absolute;
|
224 |
+
left:15px !important;
|
225 |
+
right:15px !important;
|
226 |
+
margin:-18px 0 0;
|
227 |
+
padding:15px;
|
228 |
+
-webkit-box-shadow:0 2px 6px rgba(0, 0, 0, .25);
|
229 |
+
-moz-box-shadow:0 2px 6px rgba(0, 0, 0, .25);
|
230 |
+
box-shadow:0 2px 6px rgba(0, 0, 0, .25);
|
231 |
+
}
|
232 |
+
.popup-block { background:#fff; display:none; position:fixed; top:50%; left:50%; margin:-60px 0 0 -140px; width:250px; }
|
233 |
+
.popup-block .form-list { margin:0 0 15px; }
|
234 |
+
.popup-block .block-title { display:none; }
|
235 |
+
.popup-block .buttons-set button { display:inline-block !important; margin-right:1px !important; width:49% !important; }
|
236 |
+
.popup-block.active { display:block; }
|
237 |
+
|
238 |
+
.map-popup-close { float:right; }
|
239 |
+
.map-popup-heading,
|
240 |
+
.map-popup-checkout,
|
241 |
+
.map-popup-price { margin:0 0 10px; }
|
242 |
+
.map-popup-price .special-price .price-label { color:#222; }
|
243 |
+
.map-popup-price .special-price .price { font-weight:bold; }
|
244 |
+
|
245 |
+
.remember-me-popup-body { line-height:20px; }
|
246 |
+
.remember-me-popup-close {
|
247 |
+
background:#fff;
|
248 |
+
border:1px solid #e4e4e4;
|
249 |
+
color:#424242;
|
250 |
+
display:block;
|
251 |
+
margin:15px auto 0;
|
252 |
+
text-align:center;
|
253 |
+
font-weight:bold;
|
254 |
+
font-variant:small-caps;
|
255 |
+
text-transform:lowercase;
|
256 |
+
text-shadow:0 -1px 0 #eee;
|
257 |
+
padding:5px 10px;
|
258 |
+
width:100px;
|
259 |
+
-webkit-box-shadow:0 1px 2px rgba(0, 0, 0, .1);
|
260 |
+
-moz-box-shadow:0 1px 2px rgba(0, 0, 0, .1);
|
261 |
+
box-shadow:0 1px 2px rgba(0, 0, 0, .1); }
|
262 |
+
|
263 |
+
#remember-me-box a { font-weight:bold; border-bottom:1px dashed; }
|
264 |
+
|
265 |
+
/* Header
|
266 |
+
-----------------------------*/
|
267 |
+
body > header {
|
268 |
+
background:url(../images/bg_gradient.png) repeat-x 0 0; /* Theme color1 */
|
269 |
+
box-sizing:border-box;
|
270 |
+
display:table;
|
271 |
+
position:relative;
|
272 |
+
width:100%;
|
273 |
+
height:45px;
|
274 |
+
z-index:102;
|
275 |
+
-webkit-user-select:none;
|
276 |
+
-webkit-transform:translate3d(0, 0, 1px);
|
277 |
+
-webkit-transform-style:preserve-3d;
|
278 |
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
279 |
+
-webkit-touch-callout:none;
|
280 |
+
}
|
281 |
+
|
282 |
+
body > header.no-shadow {
|
283 |
+
-webkit-box-shadow:none;
|
284 |
+
box-shadow:none;
|
285 |
+
}
|
286 |
+
|
287 |
+
.global-site-notice { -webkit-transform:translate3d(0, 0, 1px); }
|
288 |
+
|
289 |
+
.cart-empty { padding:15px; }
|
290 |
+
|
291 |
+
.header-bg {
|
292 |
+
background:url(../images/custom/bg_header.png) no-repeat center #fff;
|
293 |
+
height:45px;
|
294 |
+
-webkit-user-select:none;
|
295 |
+
-webkit-transform:translate3d(0, 0, 1px);
|
296 |
+
-webkit-transform-style:preserve-3d;
|
297 |
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
298 |
+
-webkit-touch-callout:none;
|
299 |
+
}
|
300 |
+
|
301 |
+
.header-bg .header-logo { background:url(../images/custom/bg_logo.png) no-repeat 0 0; display:block; height:45px; position:absolute; width:100%; }
|
302 |
+
|
303 |
+
body > header .menu-wrapper {
|
304 |
+
display:table;
|
305 |
+
width:100%;
|
306 |
+
}
|
307 |
+
|
308 |
+
body > header .menu-wrapper {
|
309 |
+
vertical-align:bottom;
|
310 |
+
}
|
311 |
+
|
312 |
+
body > header dl {
|
313 |
+
display:table-cell;
|
314 |
+
min-width:100px;
|
315 |
+
width:100px;
|
316 |
+
vertical-align:top;
|
317 |
+
}
|
318 |
+
|
319 |
+
body > header dt,
|
320 |
+
body > header dd {
|
321 |
+
display:block;
|
322 |
+
}
|
323 |
+
|
324 |
+
body > header dt { background:url(../images/bg_divider.png) no-repeat right; float:left; padding:0 1px 0 0; height:45px; text-indent:-100%; width:49px; }
|
325 |
+
|
326 |
+
body > header dd {
|
327 |
+
position:absolute;
|
328 |
+
top:0;
|
329 |
+
left:0;
|
330 |
+
padding:10px;
|
331 |
+
white-space:normal;
|
332 |
+
margin-top:44px;
|
333 |
+
visibility:hidden;
|
334 |
+
-webkit-box-sizing:border-box;
|
335 |
+
box-sizing:border-box;
|
336 |
+
-webkit-transition:-webkit-transform 250ms ease-out;
|
337 |
+
}
|
338 |
+
|
339 |
+
@media all and (-webkit-transform-3d) {
|
340 |
+
body > header dd { -webkit-transform:translate3d(0, -100%, -1px); }
|
341 |
+
}
|
342 |
+
|
343 |
+
body > header .search {
|
344 |
+
display:table-cell;
|
345 |
+
padding:5px 15px;
|
346 |
+
vertical-align:middle;
|
347 |
+
}
|
348 |
+
|
349 |
+
input[type="search"]::-webkit-search-decoration,
|
350 |
+
input[type="search"]::-webkit-search-cancel-button,
|
351 |
+
input[type="search"]::-webkit-search-results-button,
|
352 |
+
input[type="search"]::-webkit-search-results-decoration {
|
353 |
+
display: none;
|
354 |
+
}
|
355 |
+
|
356 |
+
body > header .search input {
|
357 |
+
background:url(../images/i_search.png) no-repeat 8px 6px #fff;
|
358 |
+
border:none;
|
359 |
+
box-sizing:border-box;
|
360 |
+
color:#949494;
|
361 |
+
outline:none;
|
362 |
+
font-size:18px;
|
363 |
+
line-height:1;
|
364 |
+
margin:0;
|
365 |
+
padding:4px 5px 4px 30px;
|
366 |
+
width:100%;
|
367 |
+
|
368 |
+
border-radius:15px;
|
369 |
+
|
370 |
+
-webkit-appearance:none;
|
371 |
+
appearance:none;
|
372 |
+
|
373 |
+
-webkit-box-shadow:inset 0 1px 1px #555;
|
374 |
+
-moz-box-shadow:inset 0 1px 1px #555;
|
375 |
+
box-shadow:inset 0 1px 1px #555;
|
376 |
+
}
|
377 |
+
|
378 |
+
.search-autocomplete {
|
379 |
+
background:#333;
|
380 |
+
}
|
381 |
+
.search-autocomplete li {
|
382 |
+
color:#fff;
|
383 |
+
font-size:14px;
|
384 |
+
padding:5px;
|
385 |
+
}
|
386 |
+
.search-autocomplete li + li { border-bottom:1px solid #999; }
|
387 |
+
.search-autocomplete .amount { background:#fff; border-radius:15px; color:#111; display:inline-block; font-size:8px; margin-right:10px; padding:0 5px; vertical-align:middle; }
|
388 |
+
|
389 |
+
body > header dt a {}
|
390 |
+
|
391 |
+
body > header dt.cart-icon { position:relative; white-space:nowrap; overflow:hidden; }
|
392 |
+
body > header dt.cart-icon > a { background:url(../images/i_cart.png) no-repeat center; display:block; height:45px; }
|
393 |
+
|
394 |
+
body > header dt.menu > a { background:url(../images/i_menu.png) no-repeat center; display:block; height:45px; position:relative; }
|
395 |
+
|
396 |
+
body > header dt.cart-icon.active > a,
|
397 |
+
body > header dt.menu.active > a { background-color:rgba(0, 0, 0, .10); }
|
398 |
+
|
399 |
+
body > header dt.cart-icon > span:nth-child(2),
|
400 |
+
body > header .badge {
|
401 |
+
background:none;
|
402 |
+
display:inline-block;
|
403 |
+
color:#fff;
|
404 |
+
height:auto;
|
405 |
+
font-size:12px;
|
406 |
+
font-weight:bold;
|
407 |
+
line-height:14px;
|
408 |
+
position:absolute;
|
409 |
+
text-indent:0;
|
410 |
+
right:4px;
|
411 |
+
top:4px;
|
412 |
+
z-index:100;
|
413 |
+
text-shadow:0 1px 0 #444;
|
414 |
+
}
|
415 |
+
|
416 |
+
|
417 |
+
body > header dt.menu .badge {
|
418 |
+
top:1px;
|
419 |
+
right:5px;
|
420 |
+
}
|
421 |
+
|
422 |
+
body > header dd.menu-box {
|
423 |
+
padding:0;
|
424 |
+
-webkit-transition:-webkit-transfrom 300ms linear;
|
425 |
+
-webkit-box-shadow:3px 3px 3px rgba(0, 0, 0, .2);
|
426 |
+
-moz-box-shadow:3px 3px 3px rgba(0, 0, 0, .2);
|
427 |
+
box-shadow:3px 3px 3px rgba(0, 0, 0, .2);
|
428 |
+
}
|
429 |
+
|
430 |
+
body > header dd.menu-box a,
|
431 |
+
body > header dd.menu-box strong {
|
432 |
+
background-color:rgba(255, 255, 255, .92) !important;
|
433 |
+
color:#444444;
|
434 |
+
font-size:18px;
|
435 |
+
padding:10px;
|
436 |
+
display:block;
|
437 |
+
}
|
438 |
+
body > header dd.menu-box .compare-clear {
|
439 |
+
float:right;
|
440 |
+
line-height:18px;
|
441 |
+
}
|
442 |
+
body > header dd.menu-box .badge {
|
443 |
+
color:#fff;
|
444 |
+
text-shadow:0 1px 0 rgba(0, 0, 0, 0.25);
|
445 |
+
background:transparent;
|
446 |
+
border:1px solid #ccc;
|
447 |
+
font-weight:normal;
|
448 |
+
font-size:10px;
|
449 |
+
line-height:10px;
|
450 |
+
padding:0 3px 2px;
|
451 |
+
text-align:right;
|
452 |
+
top:-5px;
|
453 |
+
left:0;
|
454 |
+
position:relative;
|
455 |
+
-webkit-box-shadow:0 3px 3px rgba(0, 0, 0, 0.5), inset 0 3px 3px rgba(255, 255, 255, 0.35);
|
456 |
+
box-shadow:0 3px 3px rgba(0, 0, 0, 0.5), inset 0 3px 3px rgba(255, 255, 255, 0.35);
|
457 |
+
}
|
458 |
+
|
459 |
+
body > header dd.menu-box .welcome-msg {
|
460 |
+
background:url(../images/bg_drop.jpg) repeat-x 0 0;
|
461 |
+
border-bottom:2px solid #585858;
|
462 |
+
font-weight:bold;
|
463 |
+
padding:10px;
|
464 |
+
text-shadow:0 -1px 0 #000;
|
465 |
+
-webkit-box-shadow:inset 0 -2px 2px rgba(0, 0, 0, 0.35);
|
466 |
+
box-shadow:inset 0 -2px 2px rgba(0, 0, 0, 0.35);
|
467 |
+
}
|
468 |
+
|
469 |
+
body > header dd.menu-box .welcome-msg a {
|
470 |
+
color:#fb6b36;
|
471 |
+
background:none;
|
472 |
+
border:none;
|
473 |
+
padding:0;
|
474 |
+
display:inline;
|
475 |
+
}
|
476 |
+
|
477 |
+
body > header dd.menu-box ol {
|
478 |
+
background:#fff;
|
479 |
+
box-shadow:inset 0 0 3px #000;
|
480 |
+
list-style:none;
|
481 |
+
margin:5px;
|
482 |
+
padding:5px;
|
483 |
+
-webkit-box-shadow:inset 0 0 3px #000;
|
484 |
+
box-shadow:inset 0 0 3px #000;
|
485 |
+
}
|
486 |
+
|
487 |
+
body > header dd.menu-box ol li a {
|
488 |
+
background:transparent;
|
489 |
+
border-bottom:1px solid #eee;
|
490 |
+
color:#111;
|
491 |
+
padding:5px 5px 5px 20px;
|
492 |
+
}
|
493 |
+
|
494 |
+
body > header dd.menu-box ol li:last-child a {
|
495 |
+
border:none;
|
496 |
+
}
|
497 |
+
|
498 |
+
body > header dd.menu-box ol li.selected {
|
499 |
+
font-weight:bold;
|
500 |
+
}
|
501 |
+
|
502 |
+
body > header dd.menu-box ol li.selected a {
|
503 |
+
background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA0AAAAKCAYAAABv7tTEAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYxIDY0LjE0MDk0OSwgMjAxMC8xMi8wNy0xMDo1NzowMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNS4xIFdpbmRvd3MiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjdEODVBMkI5Mzc4MTFFMEE2MDE5MzgwM0I5RkE1QjIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjdEODVBMkM5Mzc4MTFFMEE2MDE5MzgwM0I5RkE1QjIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGN0Q4NUEyOTkzNzgxMUUwQTYwMTkzODAzQjlGQTVCMiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGN0Q4NUEyQTkzNzgxMUUwQTYwMTkzODAzQjlGQTVCMiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnMJ/AIAAABLSURBVHjaYmAgHgQAsQAJ6hkSgPg/EJ8nViNMAwwHwCQUiNSQgC6RQKwGEHiPRQKvBhAwQNM4n5AGXBoJasClMYHY+IBpxKsBIMAAi14oP6lEWTAAAAAASUVORK5CYII=) no-repeat left;
|
504 |
+
}
|
505 |
+
|
506 |
+
/* Navigation
|
507 |
+
-----------------------------*/
|
508 |
+
body > nav {
|
509 |
+
background:-webkit-gradient(linear, 0 0, 0 100%, from(#1a1a1a), to(#000));
|
510 |
+
background:-o-linear-gradient(top, #1a1a1a 0%, #000 100%);
|
511 |
+
border-bottom:5px solid #3a3a3a;
|
512 |
+
padding:10px 5px 0;
|
513 |
+
}
|
514 |
+
body > nav a { color:#fff; display:block; padding:9px 2px 7px; position:relative; font-size:16px; }
|
515 |
+
|
516 |
+
body > nav ul {
|
517 |
+
display:table;
|
518 |
+
width:100%;
|
519 |
+
}
|
520 |
+
|
521 |
+
body > nav li {
|
522 |
+
border-width:0 7px 0 7px;
|
523 |
+
-webkit-border-image:url(../images/bg_nav_brd_inactive.png) 0 7 0 repeat stretch;
|
524 |
+
display:table-cell;
|
525 |
+
text-align:center;
|
526 |
+
text-shadow:0 1px 1px rgba(0, 0, 0, 0.8);
|
527 |
+
vertical-align:top;
|
528 |
+
width:25%;
|
529 |
+
-webkit-box-sizing:border-box;
|
530 |
+
}
|
531 |
+
|
532 |
+
body > nav span {
|
533 |
+
background:-webkit-gradient(
|
534 |
+
linear,
|
535 |
+
0 0,
|
536 |
+
0 100%,
|
537 |
+
color-stop(1, #af0002),
|
538 |
+
color-stop(0.62, #e1262f),
|
539 |
+
color-stop(0.6, #e75159),
|
540 |
+
color-stop(0, #f6bec1)
|
541 |
+
);
|
542 |
+
border:2px solid #fff;
|
543 |
+
border-radius:15px;
|
544 |
+
display:inline-block;
|
545 |
+
color:#fff;
|
546 |
+
font-size:14px;
|
547 |
+
font-weight:bold;
|
548 |
+
line-height:16px;
|
549 |
+
padding:0 5px;
|
550 |
+
position:absolute;
|
551 |
+
right:-5px;
|
552 |
+
top:-5px;
|
553 |
+
-webkit-box-shadow:0 3px 3px #000;
|
554 |
+
box-shadow:0 3px 3px #000;
|
555 |
+
}
|
556 |
+
|
557 |
+
body > nav .active {
|
558 |
+
border-width:0 12px 0 12px;
|
559 |
+
-webkit-border-image:url(../images/bg_nav_brd.png) 0 13 0 13 stretch stretch;
|
560 |
+
font-weight:bold;
|
561 |
+
}
|
562 |
+
|
563 |
+
body > nav .active a {
|
564 |
+
color:#000;
|
565 |
+
font-weight:normal;
|
566 |
+
text-shadow:0 1px 1px #ccc;
|
567 |
+
}
|
568 |
+
|
569 |
+
/* Footer
|
570 |
+
-----------------------------*/
|
571 |
+
body > footer { min-height:100px; }
|
572 |
+
body > address.copyright { color:#fff; line-height:18px; padding:15px; }
|
573 |
+
body > address.copyright .logo { float:left; margin:0 10px 0 0; }
|
574 |
+
body > footer ul { line-height:27px; padding:10px 15px 0; overflow:hidden; }
|
575 |
+
body > footer ul + ul { padding:0 15px 10px; }
|
576 |
+
body > footer ul li { box-sizing:border-box; float:left; width:50%; }
|
577 |
+
body > footer ul li a { color:#fff; display:inline-block; padding:2px; }
|
578 |
+
|
579 |
+
.block-subscribe { padding:10px 15px; }
|
580 |
+
.block-subscribe .block-title { display:none; }
|
581 |
+
.block-subscribe .form-subscribe-header { margin:0 0 5px; padding-left:12px; }
|
582 |
+
.block-subscribe .input-box { display:inline-block; vertical-align:top; width:60%; }
|
583 |
+
.block-subscribe .input-box input { border-radius:15px; border-color:#ccc; font-size:18px; padding:5px 10px; }
|
584 |
+
.block-subscribe .validation-advice { padding:10px 0 0 12px; width:150%; }
|
585 |
+
.block-subscribe .actions { display:inline-block; vertical-align:top; width:38%; }
|
586 |
+
.block-subscribe button {
|
587 |
+
border:none;
|
588 |
+
-webkit-border-radius:20px;
|
589 |
+
-moz-border-radius:20px;
|
590 |
+
border-radius:20px;
|
591 |
+
color:#fff;
|
592 |
+
font-size:18px;
|
593 |
+
padding:5px 10px;
|
594 |
+
vertical-align:top;
|
595 |
+
|
596 |
+
-webkit-appearance:none;
|
597 |
+
appearance:none;
|
598 |
+
}
|
599 |
+
|
600 |
+
/* Content
|
601 |
+
-----------------------------*/
|
602 |
+
body > section:before, body > section:after { content: ""; display: table; }
|
603 |
+
body > section:after { clear:both; }
|
604 |
+
body > section img { max-width:100%; }
|
605 |
+
body > section > .category-image { margin:0 -10px; }
|
606 |
+
body > section > .category-image img { min-width:100%; }
|
607 |
+
body > section > .std,
|
608 |
+
body > section > form > .fieldset { margin:0; padding:15px; }
|
609 |
+
body > section > form > .buttons-set { padding:15px; }
|
610 |
+
body > section > form > .buttons-set p.required { font-size:10px; line-height:12px; margin:10px 0; text-align:right; }
|
611 |
+
body > section > form > .required { padding:15px; }
|
612 |
+
body > section > form > .fieldset h2 { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
613 |
+
|
614 |
+
.front-banner {
|
615 |
+
text-align:center;
|
616 |
+
}
|
617 |
+
|
618 |
+
.page-sitemap { padding:15px; }
|
619 |
+
.page-sitemap .page-title { display:none; }
|
620 |
+
|
621 |
+
/* Categories
|
622 |
+
-----------------------------*/
|
623 |
+
.nav-wrap {
|
624 |
+
overflow:hidden;
|
625 |
+
}
|
626 |
+
#nav-container {
|
627 |
+
overflow:hidden;
|
628 |
+
padding:0 0 1px;
|
629 |
+
position:relative;
|
630 |
+
width:9000px;
|
631 |
+
-webkit-transform:translate3d(0, 0, 0);
|
632 |
+
-webkit-transition:-webkit-transform 250ms linear;
|
633 |
+
-o-transition:-o-transform 250ms linear;
|
634 |
+
transition:transform 250ms linear;
|
635 |
+
}
|
636 |
+
#nav-container ul > li > ul { display:none; }
|
637 |
+
#nav-container:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
|
638 |
+
#nav-container ul { font-size:21px; margin:0; width:100%; float:left; }
|
639 |
+
#nav-container li.subcategory-header { background:url(../images/bg_gradient.png) repeat-x 0 0 #d9d9d9; height:28px; padding:6px 10px; text-align:center; font-weight:bold; }
|
640 |
+
#nav-container li.subcategory-header span { color:#414141; line-height:28px; }
|
641 |
+
#nav-container li.subcategory-header .button-wrap { float:left; position:absolute; }
|
642 |
+
#nav-container li.subcategory-header .button-wrap button {
|
643 |
+
background:url(../images/bg_back_btn.png) no-repeat right top;
|
644 |
+
border:none;
|
645 |
+
height:27px;
|
646 |
+
width:47px;
|
647 |
+
color:#fff;
|
648 |
+
display:inline-block;
|
649 |
+
font-size:11px;
|
650 |
+
font-weight:bold;
|
651 |
+
line-height:27px;
|
652 |
+
margin:0;
|
653 |
+
padding:0 0 0 7px;
|
654 |
+
position:relative;
|
655 |
+
z-index:3;
|
656 |
+
-webkit-appearance:none;
|
657 |
+
appearance:none;
|
658 |
+
}
|
659 |
+
#nav-container li a {
|
660 |
+
background-color:#fff !important;
|
661 |
+
display:block;
|
662 |
+
}
|
663 |
+
#nav-container li a span {
|
664 |
+
background:url(../images/custom/arrow.png) no-repeat right;
|
665 |
+
display:block;
|
666 |
+
line-height:20px;
|
667 |
+
padding:10px 15px;
|
668 |
+
-webkit-background-origin:content-box;
|
669 |
+
background-origin:content-box;
|
670 |
+
}
|
671 |
+
|
672 |
+
|
673 |
+
/* Form-list
|
674 |
+
-----------------------------*/
|
675 |
+
.form-list li { margin:0 0 15px; }
|
676 |
+
.form-list li:last-child { margin:0; }
|
677 |
+
.form-list label { color:#424242; display:block; font-weight:bold; margin:0 0 2px; }
|
678 |
+
.form-list label em { color:#f9721f; margin-right:2px; }
|
679 |
+
.form-list .field { margin:0 0 15px; }
|
680 |
+
.form-list .field:last-child { margin:0; }
|
681 |
+
.form-list .add-row .btn-remove { float:right; }
|
682 |
+
.form-list .add-row .btn-remove a { vertical-align:top; }
|
683 |
+
.form-list .control .input-box { vertical-align:top; }
|
684 |
+
.form-list .control .input-box,
|
685 |
+
.form-list .control label { display:inline-block; }
|
686 |
+
.form-list .control label { max-width:90%; }
|
687 |
+
.form-list .validation-advice { font-size:14px; padding:2px 0; }
|
688 |
+
.form-list img[src*="calendar.gif"] { position:absolute; padding:7px; }
|
689 |
+
.form-list input.datetime-picker { padding-left:30px; }
|
690 |
+
.form-list input[type="radio"] + label { display:inline-block; }
|
691 |
+
.form-list input[type="text"]::-webkit-input-placeholder,
|
692 |
+
.form-list input[type="password"]::-webkit-input-placeholder,
|
693 |
+
.form-list input[type="email"]::-webkit-input-placeholder { color:#444; }
|
694 |
+
/*--------------------------*/
|
695 |
+
input[type="checkbox"] {
|
696 |
+
background:url(../images/bg_checkbox.png) no-repeat 0 0;
|
697 |
+
border:1px solid #e4e4e4;
|
698 |
+
border-radius:2px;
|
699 |
+
margin:0 3px 0 0;
|
700 |
+
height:20px;
|
701 |
+
width:20px;
|
702 |
+
vertical-align:top;
|
703 |
+
-webkit-appearance:none;
|
704 |
+
}
|
705 |
+
input[type="checkbox"]:checked {
|
706 |
+
background-position:0 -19px;
|
707 |
+
}
|
708 |
+
|
709 |
+
/* Account
|
710 |
+
-----------------------------*/
|
711 |
+
.account-login .col-1,
|
712 |
+
.account-login .col-2,
|
713 |
+
.account-create .fieldset,
|
714 |
+
.customer-account-forgotpassword .fieldset,
|
715 |
+
.customer-account-logoutsuccess .page-title + p { padding:15px; }
|
716 |
+
.account-login h2,
|
717 |
+
.account-login .legend,
|
718 |
+
.account-create .legend { color:#424242; font-size:18px; font-weight:bold; margin:0 0 15px; }
|
719 |
+
.account-login .legend + p { display:none; }
|
720 |
+
.account-login p.required,
|
721 |
+
.account-create p.required,
|
722 |
+
.customer-account-forgotpassword p.required { font-size:10px; line-height:12px; margin:10px 0 0; text-align:right; }
|
723 |
+
.account-create p.required,
|
724 |
+
.customer-account-forgotpassword p.required { padding:0 15px 15px; }
|
725 |
+
|
726 |
+
.account-create .buttons-set,
|
727 |
+
.customer-account-forgotpassword .buttons-set { padding:0 15px 15px; }
|
728 |
+
.account-create .buttons-set .back-link,
|
729 |
+
.customer-account-forgotpassword .buttons-set .back-link { display:none; }
|
730 |
+
|
731 |
+
.customer-account-forgotpassword .fieldset p { margin:0 0 10px; }
|
732 |
+
|
733 |
+
/* Captcha
|
734 |
+
-----------------------------*/
|
735 |
+
.captcha-image { position:relative; }
|
736 |
+
.captcha-image .captcha-img { border:1px solid #e1e1e1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; }
|
737 |
+
.captcha-reload { position:absolute; top:5px; left:0; padding:10px; }
|
738 |
+
|
739 |
+
/* Breadcrumbs
|
740 |
+
-----------------------------*/
|
741 |
+
.breadcrumbs { display:none; }
|
742 |
+
.product-tags-list .page-title h1,
|
743 |
+
.catalogsearch-result-index .page-title h1 { padding-right:55px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
|
744 |
+
.catalogsearch-result-index .page-title h1 { padding-right:85px; }
|
745 |
+
|
746 |
+
.page-title {
|
747 |
+
background-color:#fff !important;
|
748 |
+
color:#424242;
|
749 |
+
height:25px;
|
750 |
+
margin:0;
|
751 |
+
padding:10px 15px;
|
752 |
+
}
|
753 |
+
|
754 |
+
.page-title h1 {
|
755 |
+
font-size:18px;
|
756 |
+
line-height:25px;
|
757 |
+
text-align:left;
|
758 |
+
overflow:hidden;
|
759 |
+
white-space:nowrap;
|
760 |
+
text-overflow:ellipsis;
|
761 |
+
}
|
762 |
+
|
763 |
+
/* Catalog List
|
764 |
+
-----------------------------*/
|
765 |
+
.category-description { display:none; margin:0; padding:10px; }
|
766 |
+
|
767 |
+
.more { padding:15px 10px; text-align:center; }
|
768 |
+
.more-button { background:url(../images/bg_gradient.png) repeat-x #1394ca center; color:#fff; font-size:21px; line-height:25px; display:inline-block; padding:5px 25px; position:relative; vertical-align:top; }
|
769 |
+
.more-button.loading:before { background:url(../images/loader.gif) no-repeat center; background-size:24px 24px; content:''; display:inline-block; height:24px; width:24px; left:-30px; position:absolute; }
|
770 |
+
|
771 |
+
.filters-block ol,
|
772 |
+
.filters-block li,
|
773 |
+
.filters-block dl,
|
774 |
+
.filters-block dt,
|
775 |
+
.filters-block dd {
|
776 |
+
margin:0;
|
777 |
+
padding:0;
|
778 |
+
}
|
779 |
+
|
780 |
+
.filters-block-wrap {}
|
781 |
+
|
782 |
+
.filters-block { color:#424242; margin:0; padding:10px 10px 15px; }
|
783 |
+
.filters-block dl { display:inline-block; vertical-align:top; width:49%; }
|
784 |
+
|
785 |
+
@media(orientation:landscape) {
|
786 |
+
.filters-block dl { width:33%; }
|
787 |
+
}
|
788 |
+
|
789 |
+
.filters-block dt { color:#424242; font-weight:bold; margin:8px 0 0; }
|
790 |
+
.filters-block h3 { color:#424242; font-size:18px; line-height:20px; }
|
791 |
+
.filters-block .currently { color:#424242; }
|
792 |
+
.filters-block .actions { margin:0 0 18px; }
|
793 |
+
.filters-block .currently .block-subtitle { font-weight:bold; font-size:18px; line-height:20px; margin:5px 0 8px; }
|
794 |
+
.filters-block .currently .btn-remove { height:20px; width:20px; vertical-align:top; }
|
795 |
+
.filters-block .currently li { line-height:20px; }
|
796 |
+
.filters-block dd {}
|
797 |
+
.filters-block ol { list-style:none; line-height:17px; width:99%; }
|
798 |
+
.filters-block li { padding:9px 0; }
|
799 |
+
.filters-block a { color:#1394ca; font-weight:bold; }
|
800 |
+
|
801 |
+
.toolbar {
|
802 |
+
font-size:12px;
|
803 |
+
padding:7px 5px 3px;
|
804 |
+
height:35px;
|
805 |
+
overflow:hidden;
|
806 |
+
text-align:right;
|
807 |
+
position:relative;
|
808 |
+
top:-45px;
|
809 |
+
margin:0 0 -45px;
|
810 |
+
}
|
811 |
+
.toolbar .pager,
|
812 |
+
.toolbar .pager .amount,
|
813 |
+
.toolbar .pager .pages,
|
814 |
+
.toolbar .limiter {
|
815 |
+
float:right;
|
816 |
+
}
|
817 |
+
.toolbar .amount,
|
818 |
+
.toolbar .view-mode {
|
819 |
+
line-height:23px;
|
820 |
+
padding:0 4px;
|
821 |
+
}
|
822 |
+
.toolbar .view-mode label {
|
823 |
+
font-weight:bold;
|
824 |
+
position:relative;
|
825 |
+
top:1px;
|
826 |
+
vertical-align:middle;
|
827 |
+
}
|
828 |
+
.toolbar .pager { display:none; }
|
829 |
+
.toolbar .pager .pages strong {
|
830 |
+
margin-right:5px;
|
831 |
+
vertical-align:middle;
|
832 |
+
}
|
833 |
+
.toolbar .pager .pages select
|
834 |
+
.toolbar .limiter select {
|
835 |
+
background:-webkit-gradient(linear, 0 0, 0 100%, from(#fff), to(#dedede));
|
836 |
+
background:-o-linear-gradient(top, #fff 0%, #dedede 100%);
|
837 |
+
border:1px solid #bbb;
|
838 |
+
border-radius:4px;
|
839 |
+
color:#707070;
|
840 |
+
margin:0;
|
841 |
+
padding:5px 10px;
|
842 |
+
font-size:12px;
|
843 |
+
line-height:17px;
|
844 |
+
vertical-align:middle;
|
845 |
+
-webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
|
846 |
+
box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
|
847 |
+
-webkit-background-clip:padding-box;
|
848 |
+
background-clip:padding-box;
|
849 |
+
}
|
850 |
+
.toolbar .limiter select {
|
851 |
+
vertical-align:baseline;
|
852 |
+
}
|
853 |
+
.toolbar .sort-by-wrap {
|
854 |
+
position:absolute;
|
855 |
+
top:7px;
|
856 |
+
right:5px;
|
857 |
+
}
|
858 |
+
.toolbar .sort-by select {
|
859 |
+
background:none;
|
860 |
+
border:none;
|
861 |
+
margin:0;
|
862 |
+
padding:4px 5px 5px;
|
863 |
+
opacity:0;
|
864 |
+
width:50px;
|
865 |
+
max-width:50px;
|
866 |
+
vertical-align:middle;
|
867 |
+
}
|
868 |
+
.toolbar .sort-by > label {
|
869 |
+
background:url(../images/bg_gradient.png) repeat-x 0 0 #4c4c4c;
|
870 |
+
background-size:1px 30px;
|
871 |
+
color:#fff;
|
872 |
+
display:inline-block;
|
873 |
+
font-size:14px;
|
874 |
+
font-weight:bold;
|
875 |
+
line-height:30px;
|
876 |
+
padding:0 11px;
|
877 |
+
text-align:center;
|
878 |
+
vertical-align:middle;
|
879 |
+
width:28px;
|
880 |
+
-webkit-border-radius:5px;
|
881 |
+
-moz-border-radius:5px;
|
882 |
+
border-radius:5px;
|
883 |
+
-webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
|
884 |
+
box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
|
885 |
+
}
|
886 |
+
|
887 |
+
.toolbar .order {
|
888 |
+
background:url(../images/bg_gradient.png) repeat-x 0 0 #4c4c4c;
|
889 |
+
background-size:1px 30px;
|
890 |
+
display:inline-block;
|
891 |
+
vertical-align:top;
|
892 |
+
border-radius:5px;
|
893 |
+
vertical-align:top;
|
894 |
+
text-align:center;
|
895 |
+
margin:0;
|
896 |
+
position:relative;
|
897 |
+
line-height:30px;
|
898 |
+
height:30px;
|
899 |
+
width:30px;
|
900 |
+
text-indent:-999em;
|
901 |
+
-webkit-box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
|
902 |
+
box-shadow:0 0 5px rgba(0, 0, 0, 0.15);
|
903 |
+
}
|
904 |
+
.toolbar .order:after {
|
905 |
+
content:'';
|
906 |
+
position:absolute;
|
907 |
+
top:10px;
|
908 |
+
z-index:2;
|
909 |
+
font-size:0;
|
910 |
+
line-height:0;
|
911 |
+
width:0;
|
912 |
+
}
|
913 |
+
.toolbar .order.asc:after {
|
914 |
+
border-left:5px solid transparent;
|
915 |
+
border-right:5px solid transparent;
|
916 |
+
border-bottom:10px solid #fff;
|
917 |
+
right:10px;
|
918 |
+
}
|
919 |
+
.toolbar .order.desc:after {
|
920 |
+
border-left:5px solid transparent;
|
921 |
+
border-right:5px solid transparent;
|
922 |
+
border-top:10px solid #fff;
|
923 |
+
right:10px;
|
924 |
+
}
|
925 |
+
.toolbar a {
|
926 |
+
color:#707070;
|
927 |
+
}
|
928 |
+
|
929 |
+
.c-list > li {
|
930 |
+
background-color:#fff !important;
|
931 |
+
color:#424242;
|
932 |
+
position:relative;
|
933 |
+
border-bottom:1px solid #ebe9eb;
|
934 |
+
}
|
935 |
+
.c-list > li:last-child { display:block; border-bottom:none; }
|
936 |
+
.c-list > li > a {
|
937 |
+
background:url(../images/custom/arrow.png) no-repeat right;
|
938 |
+
-webkit-background-origin:content-box;
|
939 |
+
background-origin:content-box;
|
940 |
+
color:#2f2f2f;
|
941 |
+
display:block;
|
942 |
+
padding:10px;
|
943 |
+
-webkit-user-select:none;
|
944 |
+
user-select:none;
|
945 |
+
-webkit-touch-callout:none;
|
946 |
+
touch-callout:none;
|
947 |
+
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
948 |
+
}
|
949 |
+
.c-list > li > a:after {
|
950 |
+
content:".";
|
951 |
+
display:block;
|
952 |
+
clear:both;
|
953 |
+
visibility:hidden;
|
954 |
+
line-height:0;
|
955 |
+
height:0;
|
956 |
+
}
|
957 |
+
|
958 |
+
.c-list h1 { font-size:16px; line-height:20px; font-weight:bold; }
|
959 |
+
.c-list .cloned-wrap { position:absolute; padding:10px; opacity:0; }
|
960 |
+
.c-list .cloned-wrap .product-image img { -webkit-box-shadow:none; box-shadow:none; }
|
961 |
+
.c-list .product-image { float:left; margin-right:10px; -webkit-transform:translate3d(0,0,0); }
|
962 |
+
.c-list .product-shop { overflow:hidden; padding:0 30px 0 0; }
|
963 |
+
.c-list .product-shop h1 { font-weight:bold; text-align:left; margin:0 0 7px; }
|
964 |
+
.c-list .product-shop .price-box { margin:0 0 5px; }
|
965 |
+
|
966 |
+
.to-cart-animate {
|
967 |
+
-webkit-animation:bounce-rotate 200ms infinite
|
968 |
+
}
|
969 |
+
|
970 |
+
.drop-start { -webkit-transform:scale(1.2); opacity:0.9; }
|
971 |
+
|
972 |
+
@-webkit-keyframes bounce-rotate {
|
973 |
+
0% { -webkit-transform:rotate(3deg) skew(1deg) scale(1.2); }
|
974 |
+
25% { -webkit-transform:rotate(0) skew(0) scale(1.2); }
|
975 |
+
50% { -webkit-transform:rotate(-3deg) skew(-1deg) scale(1.2); }
|
976 |
+
75% { -webkit-transform:rotate(0) skew(0) scale(1.2); }
|
977 |
+
100% { -webkit-transform:rotate(3deg) skew(1deg) scale(1.2); }
|
978 |
+
}
|
979 |
+
|
980 |
+
/* Product Info Box
|
981 |
+
-----------------------------*/
|
982 |
+
|
983 |
+
.price-box .price-including-tax,
|
984 |
+
.price-box .price-excluding-tax { display:block; }
|
985 |
+
.price-box .price-including-tax .price { font-weight:bold; }
|
986 |
+
|
987 |
+
.product-view {}
|
988 |
+
.product-view .product-name h1 { color:#424242; font-size:18px; font-weight:bold; text-align:left; line-height:20px; margin:0 0 9px; }
|
989 |
+
.product-view .product-image-wrap { padding:10px; position:relative; }
|
990 |
+
.product-view .product-image { position:relative;; }
|
991 |
+
.product-view .product-image li { text-align:center; }
|
992 |
+
.product-view .product-image li a { display:block; }
|
993 |
+
|
994 |
+
.product-view .product-image-wrap img { position:relative; }
|
995 |
+
.product-view .product-image-wrap img.cloned { position:absolute; top:10px; left:50%; margin:0 0 0 -72px; -webkit-transition:all ease-in 400ms; -moz-transition:all ease-in 400ms; -o-transition:all ease-in 400ms; transition:all ease-in 400ms; }
|
996 |
+
.product-view .product-image-wrap img.animate { z-index:101; }
|
997 |
+
|
998 |
+
.product-view .product-shop { padding:15px; }
|
999 |
+
.product-view .product-shop .buttons-set { margin:10px 0 0; }
|
1000 |
+
.product-view .product-shop .product-main-info .price-box { color:#424242; font-size:18px; line-height:26px; margin:10px 0; }
|
1001 |
+
.product-view .product-shop .product-main-info .price-box-bundle .price-box {}
|
1002 |
+
.product-view .product-shop .product-main-info .item-options { margin:10px 0 0; }
|
1003 |
+
.product-view .product-shop .product-main-info .item-options dt { color:#424242; font-style:15px; font-weight:bold; }
|
1004 |
+
.product-view .product-shop .product-main-info + .options-container-small { margin:15px 0 0; }
|
1005 |
+
|
1006 |
+
.product-view .product-shop .availability { color:#424242; font-size:13px; font-weight:bold; margin:0 0 9px; }
|
1007 |
+
.product-view .product-shop .availability span { font-weight:normal; }
|
1008 |
+
.product-view .product-shop .tier-prices { margin:10px 0; }
|
1009 |
+
|
1010 |
+
.product-view .product-shop .add-to-box {}
|
1011 |
+
.product-view .product-shop .add-to-box .qty,
|
1012 |
+
.product-view .product-shop .add-to-box label { display:none; }
|
1013 |
+
.product-view .price-box .price-label { vertical-align:baseline; }
|
1014 |
+
.product-view .price-box .old-price { color:#ccc; }
|
1015 |
+
.product-view .price-box .special-price .price-label { color:#222; }
|
1016 |
+
.product-view .price-box .special-price .price { font-weight:bold; }
|
1017 |
+
|
1018 |
+
.product-view .add-to-cart label[for="qty"],
|
1019 |
+
.product-view .add-to-cart input.qty { display:none; }
|
1020 |
+
|
1021 |
+
.product-view .product-img-box .product-image:before { background:url(../images/i_zoom.png) no-repeat 0 0; content:''; display:block; position:absolute; top:15px; right:25px; height:14px; width:14px; }
|
1022 |
+
.product-view .product-img-box .controls .prev,
|
1023 |
+
.product-view .product-img-box .controls .next { height:auto; top:40px; bottom:40px; width:auto; z-index:101; }
|
1024 |
+
.product-view .product-img-box .controls .prev { left:0; right:80%; }
|
1025 |
+
.product-view .product-img-box .controls .next { left:80%; right:0; }
|
1026 |
+
|
1027 |
+
.product-view .short-description { margin:0; padding:15px; }
|
1028 |
+
|
1029 |
+
.product-view .product-add-to { padding:0 15px 15px; }
|
1030 |
+
|
1031 |
+
.send-friend .fieldset,
|
1032 |
+
.send-friend .buttons-set { padding:15px; }
|
1033 |
+
.send-friend .buttons-set .back-link { display:none; }
|
1034 |
+
.send-friend .fieldset .btn-remove { float:right; position:relative; top:-4px; right:-4px; }
|
1035 |
+
.send-friend .fieldset .legend { color:#424242; font-size:18px; margin:0 0 10px; }
|
1036 |
+
.send-friend #max_recipient_message,
|
1037 |
+
.send-friend #add_recipient_button { margin:10px 0 0; }
|
1038 |
+
|
1039 |
+
.product-collateral { clear:both; }
|
1040 |
+
.product-collateral .box-collateral { padding:15px; }
|
1041 |
+
|
1042 |
+
.product-collateral .box-additional { background:none; padding:0; }
|
1043 |
+
.product-collateral .box-additional h2 { display:none; }
|
1044 |
+
.product-collateral .box-additional .data-table { color:#424242; border-collapse:collapse; width:100%; }
|
1045 |
+
.product-collateral .box-additional .data-table th,
|
1046 |
+
.product-collateral .box-additional .data-table td { padding:15px; text-align:left !important; vertical-align:top; }
|
1047 |
+
.product-collateral .box-additional .data-table th { font-weight:bold; }
|
1048 |
+
|
1049 |
+
.rating-box { background:url(../images/i_star_blank.png) repeat-x center left; height:18px; width:100px; }
|
1050 |
+
.rating-box .rating { height:18px; background:url(../images/i_star.png) repeat-x center left; }
|
1051 |
+
|
1052 |
+
.product-view .rating-box { margin:0 0 10px; }
|
1053 |
+
.product-view .rating-links { color:#666; text-align:right; }
|
1054 |
+
.product-view .rating-links a { color:#1394ca; display:inline-block; text-decoration:underline; }
|
1055 |
+
.product-view .rating-links a:first-child { float:left; margin-right:10px; }
|
1056 |
+
.product-view .rating-links .separator { display:none; }
|
1057 |
+
|
1058 |
+
.product-view .box-description .std { margin:0; }
|
1059 |
+
|
1060 |
+
.product-view .product-shop .add-to-box button,
|
1061 |
+
.product-view .product-options-bottom .add-to-cart button { background:url(../images/bg_gradient.png) repeat-x 0 0 #1394ca; color:#fff; font-size:24px; display:block; border:0; height:45px; line-height:45px; margin:15px 0 0; padding:0; -webkit-appearance:none; appearance:none; text-shadow:0 -1px 0 rgba(0, 0, 0, .45); width:100%; }
|
1062 |
+
.product-view .product-options-bottom .add-to-cart + .add-to-links { margin:10px 0 0; }
|
1063 |
+
.product-view .product-options-bottom .add-to-cart + .add-to-links li:first-child a { width:100%; }
|
1064 |
+
|
1065 |
+
.paypal-logo { text-align:center; }
|
1066 |
+
.paypal-or { display:block; padding:10px 0; text-align:center; }
|
1067 |
+
|
1068 |
+
/* Carousel */
|
1069 |
+
|
1070 |
+
.carousel-wrap {}
|
1071 |
+
.carousel-wrap li { display:inline-block; vertical-align:top; white-space:normal; }
|
1072 |
+
.carousel-wrap .box-title { max-width:80%; }
|
1073 |
+
.carousel-wrap .ratings { display:none; }
|
1074 |
+
.carousel-wrap .carousel-items { white-space:nowrap; -webkit-transition:all 150ms linear; -moz-transition:all 250ms linear; -o-transition:all 250ms linear; transition:all 250ms linear; }
|
1075 |
+
.carousel-wrap .carousel-items-wrap { overflow:hidden; }
|
1076 |
+
|
1077 |
+
@media all and (-webkit-transform-3d) {
|
1078 |
+
.carousel-wrap .carousel-items { -webkit-transform:translateX(0); -webkit-perspective:1000; -webkit-backface-visibility:hidden; }
|
1079 |
+
}
|
1080 |
+
|
1081 |
+
.box-up-sell { position:relative; padding:15px; }
|
1082 |
+
.box-up-sell h2 { color:#424242; font-size:18px; font-weight:bold; line-height:25px; margin:0 0 10px; }
|
1083 |
+
.box-up-sell .item { color:#424242; font-size:15px; line-height:18px; }
|
1084 |
+
.box-up-sell .item a { color:#424242; }
|
1085 |
+
.box-up-sell .item h3 { max-height:36px; margin:0 0 5px; overflow:hidden; text-overflow:ellipsis; width:100%; }
|
1086 |
+
.box-up-sell .item img { margin:0 0 5px; }
|
1087 |
+
.box-up-sell .price-box .price { font-weight:bold; }
|
1088 |
+
.box-up-sell .product-image {}
|
1089 |
+
.box-up-sell .controls { background:url(../images/bg_divider_dark.png) no-repeat center; position:absolute; top:15px; right:15px; height:24px; width:49px; }
|
1090 |
+
|
1091 |
+
.controls .prev,
|
1092 |
+
.controls .next { display:block; position:absolute; top:0; right:0; height:24px; width:24px; }
|
1093 |
+
.controls .prev { background:url(../images/arrow_left.png) no-repeat center; }
|
1094 |
+
.controls .next { background:url(../images/arrow_right.png) no-repeat center; }
|
1095 |
+
.controls .prev.disabled,
|
1096 |
+
.controls .next.disabled { opacity:.25; }
|
1097 |
+
.controls .prev { right:25px; }
|
1098 |
+
|
1099 |
+
.counter { padding:5px 0 0; text-align:center; }
|
1100 |
+
.counter span { margin:0 2px; }
|
1101 |
+
.counter span:before { content:'\2022'; color:#ddd; font-size:20px; display:inline-block; -webkit-text-stroke:1px #ddd; }
|
1102 |
+
.counter span.active:before { color:#fff; }
|
1103 |
+
|
1104 |
+
.product-shop .grouped-items-table { border:none; border-spacing:0; font-size:15px; margin:0; -webkit-border-radius:0; width:100%; }
|
1105 |
+
.product-shop .grouped-items-table th,
|
1106 |
+
.product-shop .grouped-items-table td { padding:5px 0; }
|
1107 |
+
.product-shop .grouped-items-table th { display:none; }
|
1108 |
+
.product-shop .grouped-items-table td { background:none; border:none; border-bottom:1px solid #e4e4e4; text-align:left; vertical-align:middle; }
|
1109 |
+
.product-shop .grouped-items-table tr:last-child td { border-bottom:none; }
|
1110 |
+
.product-shop .grouped-items-table input.qty { text-align:center; width:40px; }
|
1111 |
+
|
1112 |
+
/* ------------ */
|
1113 |
+
|
1114 |
+
.product-view .box-tags { padding:15px; }
|
1115 |
+
.product-view .box-tags a { color:#1394ca; display:inline-block; font-weight:bold; }
|
1116 |
+
.product-view .box-tags li { display:inline; margin-right:10px; }
|
1117 |
+
.product-view .box-tags h2 { color:#424242; font-size:18px; font-weight:bold; margin:0 0 10px; }
|
1118 |
+
.product-view .box-tags h3,
|
1119 |
+
.product-view .form-add-tags { display:none; }
|
1120 |
+
|
1121 |
+
/* ------------ */
|
1122 |
+
|
1123 |
+
.add-to-links { display:table; font-size:12px; margin:0; position:relative; width:100%; text-align:center; }
|
1124 |
+
.add-to-links > li { display:table-cell; text-align:center; line-height:1; vertical-align:top; }
|
1125 |
+
.add-to-links > li > a,
|
1126 |
+
.add-to-links > li .split-button strong { background:url(../images/bg_gradient.png) repeat-x 0 0 #1394ca; background-size:auto 30px; color:#fff; display:inline-block; font-weight:normal; height:30px; line-height:30px; text-shadow:0 -1px 0 rgba(0, 0, 0, .45); width:99.5%; }
|
1127 |
+
.add-to-links > li .split-button strong + a { display:block; height:30px; margin:0 0 -30px; position:relative; top:-30px; overflow:hidden; text-indent:-200%; }
|
1128 |
+
.add-to-links > li .split-button.active .list-container { display:block; }
|
1129 |
+
.add-to-links > li .split-button .list-container { border:1px solid #e4e4e4; display:none; position:absolute; top:0; left:0; text-align:left; }
|
1130 |
+
.add-to-links > li .split-button .list-container li { background:#fff; border-bottom:1px solid #e4e4e4; height:30px; line-height:30px; padding:0 10px; box-shadow:0 0 3px rgba(0, 0, 0, .15); }
|
1131 |
+
.add-to-links > li .split-button .list-container li:last-child { border:none; }
|
1132 |
+
.add-to-links > li .split-button .list-container .new { background:#e4e4e4; color:#424242; text-shadow:0 1px 0 #fff; }
|
1133 |
+
.add-to-links > li .split-button .list-container .new:before { content:'+'; display:inline-block; margin-right:5px; }
|
1134 |
+
.add-to-links .separator { display:none; }
|
1135 |
+
|
1136 |
+
.product-view .options-container-big .product-options { padding:15px; }
|
1137 |
+
.product-view .options-container-big .product-options-bottom { padding:0 15px 15px; }
|
1138 |
+
.product-view .options-container-small .product-options {}
|
1139 |
+
.product-view .options-container-small .product-options-bottom .price-box,
|
1140 |
+
.product-view .options-container-small .product-options-bottom .price-box { display:none; }
|
1141 |
+
|
1142 |
+
.product-view .product-options dt { margin:0 0 10px; }
|
1143 |
+
.product-view .product-options dt label { color:#424242; font-size:15px; font-weight:bold; }
|
1144 |
+
.product-view .product-options dt label em { color:#f9721f; margin-right:5px; }
|
1145 |
+
.product-view .product-options dd { font-size:14px; border-bottom:1px solid #ccc; padding:0 0 15px; }
|
1146 |
+
.product-view .product-options dd + dt { padding:15px 0 0; }
|
1147 |
+
.product-view .product-options dd:last-child { border:none; padding:0; }
|
1148 |
+
.product-view .product-options dd:last-child .input-box { margin:0; }
|
1149 |
+
.product-view .product-options select { width:100%; }
|
1150 |
+
.product-view .product-options input.qty { width:20%; }
|
1151 |
+
.product-view .product-options input.qty:disabled { background:#f5f5f5; }
|
1152 |
+
.product-view .product-options .input-box { margin:0 0 10px; }
|
1153 |
+
.product-view .product-options .qty-holder { display:block; margin:5px 0 0; }
|
1154 |
+
.product-view .product-options .qty-holder label,
|
1155 |
+
.product-view .product-options .qty-holder label + input { vertical-align:middle; }
|
1156 |
+
.product-view .product-options .options-list {}
|
1157 |
+
.product-view .product-options .options-list li { margin:0 0 8px; }
|
1158 |
+
.product-view .product-options .options-list li:last-child { margin:0; }
|
1159 |
+
.product-view .product-options .options-list input,
|
1160 |
+
.product-view .product-options .options-list input + label,
|
1161 |
+
.product-view .product-options .options-list input + .label { vertical-align:middle; }
|
1162 |
+
.product-view .product-options .options-list input { float:left; margin-right:10px; }
|
1163 |
+
.product-view .product-options .options-list input + label,
|
1164 |
+
.product-view .product-options .options-list input + .label { display:table; }
|
1165 |
+
.product-view .product-options .options-list a { text-decoration:underline; }
|
1166 |
+
|
1167 |
+
.giftcard-send-form { padding:15px 0 0; }
|
1168 |
+
.giftcard-send-form em { color:#f9721f; }
|
1169 |
+
.giftcard-send-form label { color:#424242; display:block; font-size:15px; font-weight:bold; }
|
1170 |
+
.giftcard-send-form .gift-card-amount-field { padding:0; }
|
1171 |
+
|
1172 |
+
.giftcard-amount-form .notice { padding:5px 0 10px; text-align:right; }
|
1173 |
+
.giftcard-amount-form .notice span { float:left; font-size:12px; display:block; }
|
1174 |
+
.giftcard-amount-form .notice span:last-child { float:none; }
|
1175 |
+
|
1176 |
+
.product-view .product-options-bottom .required { font-size:10px; line-height:12px; margin:10px 0 0; text-align:right; }
|
1177 |
+
.product-view .product-options-bottom .price-box { color:#424242; font-size:18px; line-height:24px; }
|
1178 |
+
|
1179 |
+
.catalog-product-gallery .buttons-set { padding:10px; }
|
1180 |
+
.catalog-product-gallery .buttons-set a { text-align:center; }
|
1181 |
+
.catalog-product-gallery .product-gallery { background-color:#fff !important; padding:10px 0 0; position:relative; overflow:hidden; height:300px; width:100%; }
|
1182 |
+
.catalog-product-gallery .product-gallery .prev,
|
1183 |
+
.catalog-product-gallery .product-gallery .next { background-color:#fff; background-position:center; border:1px solid #e4e4e4; border-radius:100%; box-shadow:0 0 3px rgba(0, 0, 0, .15); top:50%; z-index:101; }
|
1184 |
+
.catalog-product-gallery .product-gallery .prev { right:80%; }
|
1185 |
+
.catalog-product-gallery .product-gallery .next { left:80%; }
|
1186 |
+
.catalog-product-gallery .product-gallery ul { display:table; width:200%; }
|
1187 |
+
.catalog-product-gallery .product-gallery li { display:table-cell; padding:0; text-align:center; overflow:hidden; max-width:100%; }
|
1188 |
+
.catalog-product-gallery .product-gallery li img { vertical-align:bottom; }
|
1189 |
+
|
1190 |
+
.catalog-product-gallery .add-to-cart {}
|
1191 |
+
|
1192 |
+
/* Catalog Search */
|
1193 |
+
|
1194 |
+
.catalogsearch-result-index .note-msg { padding:15px; }
|
1195 |
+
|
1196 |
+
/* Product review
|
1197 |
+
-----------------------------*/
|
1198 |
+
|
1199 |
+
.product-review { padding:15px; }
|
1200 |
+
.product-review .product-img-box { text-align:center; }
|
1201 |
+
|
1202 |
+
.box-reviews .box-title,
|
1203 |
+
.box-reviews .box-content .product-name { display:none; }
|
1204 |
+
.box-reviews .box-content { padding:15px; }
|
1205 |
+
.box-reviews .form-list { margin:0 0 10px; }
|
1206 |
+
.box-reviews p.required { font-size:10px; line-height:12px; margin:10px 0 0; text-align:right; }
|
1207 |
+
.box-reviews .form-add h4 { display:none; }
|
1208 |
+
|
1209 |
+
#product-reviews-list { display:none; }
|
1210 |
+
#customer-reviews:target #product-reviews-list { display:block; }
|
1211 |
+
|
1212 |
+
.ratings-table { margin:0 0 10px; }
|
1213 |
+
.ratings-table th,
|
1214 |
+
.ratings-table td.label { color:#424242; font-weight:bold; text-align:left; }
|
1215 |
+
.ratings-table th,
|
1216 |
+
.ratings-table td { padding:3px 15px 5px 0; }
|
1217 |
+
.ratings-table td { vertical-align:middle; }
|
1218 |
+
|
1219 |
+
#product-review-table { margin:10px 0; }
|
1220 |
+
#product-review-table thead th { display:none; }
|
1221 |
+
#product-review-table tbody th { color:#424242; text-align:left; padding:0 5px 5px 0; }
|
1222 |
+
#product-review-table tbody td input { background:url(../images/i_star.png) no-repeat center; border:none; display:inline-block; height:18px; width:20px; opacity:0.25; margin:0; -webkit-appearance:none; -webkit-transition:all 100ms ease-in-out; }
|
1223 |
+
#product-review-table tbody td input:checked,
|
1224 |
+
#product-review-table tbody td.checked input { opacity:1; }
|
1225 |
+
|
1226 |
+
.review-product-list .breadcrumbs .product { display:none; }
|
1227 |
+
.review-product-list label { display:inline-block; font-weight:bold; padding:0 0 5px; }
|
1228 |
+
.review-product-list label em { margin:0 5px 0 0; color: #F4641E; }
|
1229 |
+
.review-product-list .pager { display:none; }
|
1230 |
+
|
1231 |
+
.product-view .box-reviews { padding:15px; }
|
1232 |
+
.product-view .box-reviews h2 { color:#424242; font-size:18px; margin:0 0 15px; }
|
1233 |
+
.product-view .box-reviews h3 { margin:10px 0; }
|
1234 |
+
.product-view .box-reviews dl { margin:0 0 15px; }
|
1235 |
+
.product-view .box-reviews dt { color:#666; font-size:12px; margin:0 0 10px; }
|
1236 |
+
.product-view .box-reviews dt h3 { color:#424242; display:inline; font-size:15px; }
|
1237 |
+
.product-view .box-reviews dd { margin:0 0 20px; }
|
1238 |
+
.product-view .box-reviews dd:last-child { margin:0; }
|
1239 |
+
.product-view .box-reviews dd .date { color:#666; font-size:11px; display:block; }
|
1240 |
+
.product-view .box-reviews dd + dt { border-top:1px solid #e4e4e4; padding:20px 0 0; }
|
1241 |
+
|
1242 |
+
.review-product-page .product-review,
|
1243 |
+
.review-product-page .product-essential { display:none; }
|
1244 |
+
|
1245 |
+
/* User account
|
1246 |
+
-----------------------------*/
|
1247 |
+
.my-account {}
|
1248 |
+
.my-account .breadcrumbs {}
|
1249 |
+
|
1250 |
+
.account-links a,
|
1251 |
+
.account-links strong { padding-left:30px !important; }
|
1252 |
+
|
1253 |
+
.my-account .page-title {}
|
1254 |
+
.my-account .page-title.title-buttons { height:auto; }
|
1255 |
+
.my-account .page-title.title-buttons h1 { display:inline; white-space:normal; }
|
1256 |
+
.my-account .page-title.title-buttons button {
|
1257 |
+
background:none;
|
1258 |
+
border:none;
|
1259 |
+
color:#424242;
|
1260 |
+
display:inline;
|
1261 |
+
float:right;
|
1262 |
+
font-size:15px;
|
1263 |
+
font-weight:normal;
|
1264 |
+
margin:0;
|
1265 |
+
padding:5px;
|
1266 |
+
text-decoration:underline;
|
1267 |
+
}
|
1268 |
+
.my-account .box-head,
|
1269 |
+
.my-account .sub-title,
|
1270 |
+
.my-account .table-caption { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
1271 |
+
.my-account .welcome-msg { margin:-10px 0 0; padding:0 15px 15px; }
|
1272 |
+
.my-account .welcome-msg p { display:none; }
|
1273 |
+
.my-account .welcome-msg .sub-title { font-weight:normal; margin:0; }
|
1274 |
+
.my-account .messages + .welcome-msg { margin:15px 0 0; }
|
1275 |
+
|
1276 |
+
.cart-collaterals,
|
1277 |
+
.my-account > p,
|
1278 |
+
.my-account > .col2-set,
|
1279 |
+
.my-account > .order-info,
|
1280 |
+
.my-account .fieldset,
|
1281 |
+
.my-account .my-rewards,
|
1282 |
+
.my-account .box-account,
|
1283 |
+
.my-account .storecredit,
|
1284 |
+
.my-account .order-history,
|
1285 |
+
.my-account .order-details,
|
1286 |
+
.my-account .review-history,
|
1287 |
+
.my-account .giftregistry > p,
|
1288 |
+
.my-account .recent-orders > p,
|
1289 |
+
.my-account .review-history > p,
|
1290 |
+
.my-account .recurring-profiles,
|
1291 |
+
.my-account .billing-agreements,
|
1292 |
+
.my-account .dashboard .reviews,
|
1293 |
+
.my-account .order-page .order-info,
|
1294 |
+
.my-account .order-page .order-date,
|
1295 |
+
.my-account .product-review .product-details,
|
1296 |
+
.my-account .dashboard .recent-orders,
|
1297 |
+
.my-account .review-history .list-item,
|
1298 |
+
.my-account .product-review .product-img-box,
|
1299 |
+
.my-account .downloadable-products-history > p,
|
1300 |
+
.my-account .downloadable-products-history .list-item { padding:15px; }
|
1301 |
+
|
1302 |
+
.my-account .box,
|
1303 |
+
.my-account .info-box { margin:0 0 10px; }
|
1304 |
+
.my-account .box .box-title,
|
1305 |
+
.my-account .info-box .box-title,
|
1306 |
+
.my-account .order-history .pager,
|
1307 |
+
.my-account .review-history .pager { background:url(../images/bg_gradient.png) repeat-x center #7f7f7f; color:#fff; height:30px; line-height:30px; padding:5px 8px; }
|
1308 |
+
.my-account .box .box-title a,
|
1309 |
+
.my-account .info-box .box-title a,
|
1310 |
+
.my-account .recent-orders table a,
|
1311 |
+
.my-account .order-history table a {
|
1312 |
+
background:#3f3e3f;
|
1313 |
+
-webkit-border-radius:5px;
|
1314 |
+
-moz-border-radius:5px;
|
1315 |
+
border-radius:5px;
|
1316 |
+
color:#fff;
|
1317 |
+
display:inline-block;
|
1318 |
+
float:right;
|
1319 |
+
font-size:11px;
|
1320 |
+
font-weight:bold;
|
1321 |
+
line-height:11px;
|
1322 |
+
padding:9px 15px;
|
1323 |
+
}
|
1324 |
+
.my-account .box .box-title h3 { display:inline; }
|
1325 |
+
|
1326 |
+
.my-account .info-table th,
|
1327 |
+
.my-account .info-table td { text-align:left; padding:2px; vertical-align:top; }
|
1328 |
+
.my-account .box-content table { border-spacing:0; margin:10px 0; }
|
1329 |
+
.my-account .box-content table th,
|
1330 |
+
.my-account .box-content table td { padding:2px 5px 2px 0; text-align:left; vertical-align:top; }
|
1331 |
+
|
1332 |
+
.my-account .order-history .pager,
|
1333 |
+
.my-account .review-history .pager { height:auto; line-height:34px; text-align:right; }
|
1334 |
+
.my-account .order-history .pager .amount,
|
1335 |
+
.my-account .review-history .pager .amount { float:left; }
|
1336 |
+
.my-account .info-box .box-title .separator { display:none; }
|
1337 |
+
.my-account .box .box-content,
|
1338 |
+
.my-account .info-box .box-content { padding:10px 5px; }
|
1339 |
+
.my-account .info-box .box-content a {}
|
1340 |
+
|
1341 |
+
.my-account .fieldset > .fieldset { background:none; padding:0; }
|
1342 |
+
.my-account .fieldset > .fieldset + .fieldset { margin:15px 0; }
|
1343 |
+
.my-account .fieldset > .fieldset > .buttons-set { padding:15px 0; }
|
1344 |
+
.my-account .fieldset h2,
|
1345 |
+
.my-account .fieldset h2.legend { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
1346 |
+
.my-account form > .buttons-set { padding:15px; }
|
1347 |
+
.my-account form > .buttons-set button + button { margin:10px 0 0 !important; }
|
1348 |
+
.my-account .back-link { display:none; }
|
1349 |
+
.my-account p.required { font-size:10px; line-height:12px; padding:0 15px 15px; text-align:right; }
|
1350 |
+
.my-account > .buttons-set { padding:15px; }
|
1351 |
+
|
1352 |
+
.my-account .dashboard > .sub-title { padding:15px 15px 0; margin:0; }
|
1353 |
+
.my-account .dashboard > .sub-title + .col2-set { background:none; }
|
1354 |
+
.my-account .dashboard .box .box-title:before,
|
1355 |
+
.my-account .dashboard .info-box .box-title:before {
|
1356 |
+
background:rgba(0, 0, 0, .5);
|
1357 |
+
border-radius:5px;
|
1358 |
+
content:'+';
|
1359 |
+
font-family:Arial;
|
1360 |
+
display:inline-block;
|
1361 |
+
line-height:15px;
|
1362 |
+
padding:5px 0;
|
1363 |
+
text-align:center;
|
1364 |
+
margin:2px 5px 0 0;
|
1365 |
+
vertical-align:top;
|
1366 |
+
width:20px;
|
1367 |
+
}
|
1368 |
+
.my-account .dashboard .box .box-title.collapsed:before,
|
1369 |
+
.my-account .dashboard .info-box .box-title.collapsed:before { content:'−'; }
|
1370 |
+
.my-account .dashboard .box-reviews ol { list-style:none; padding:0; }
|
1371 |
+
.my-account .dashboard .box-reviews li + li { margin:10px 0 0; }
|
1372 |
+
.my-account .dashboard .box-reviews .number { float:left; margin:0 10px 0 0; }
|
1373 |
+
.my-account .dashboard .box-reviews .details { display:table; width:90%; }
|
1374 |
+
.my-account .dashboard .box-reviews .details p { display:inline-block; vertical-align:middle; }
|
1375 |
+
.my-account .dashboard .box-reviews .details .rating-box { display:inline-block; vertical-align:middle; }
|
1376 |
+
|
1377 |
+
.my-account .dashboard .recent-orders .box-content { padding:0; }
|
1378 |
+
|
1379 |
+
.my-account .order-details .data-table + .order-additional { margin:15px 0 0; }
|
1380 |
+
|
1381 |
+
/* My Orders */
|
1382 |
+
.my-account .recent-orders .pager,
|
1383 |
+
.my-account .recent-orders + .buttons-set { display:none; }
|
1384 |
+
|
1385 |
+
/* My Downloadable Products, My Reviews */
|
1386 |
+
.my-account .review-history { padding:0; }
|
1387 |
+
|
1388 |
+
.my-account .downloadable-products-history .list,
|
1389 |
+
.my-account .review-history .list { color:#424242; font-size:12px; list-style:none; margin:0; padding:0; }
|
1390 |
+
.my-account .downloadable-products-history .list-item,
|
1391 |
+
.my-account .review-history .list-item { margin:0; }
|
1392 |
+
.my-account .downloadable-products-history .list-item dt,
|
1393 |
+
.my-account .review-history .list-item dt { font-size:15px; line-height:18px; font-weight:bold; margin:0 0 10px; }
|
1394 |
+
.my-account .downloadable-products-history .pager,
|
1395 |
+
.my-account .review-history .pager { display:none; }
|
1396 |
+
|
1397 |
+
.my-account .review-history .list-item h2 { display:inline; }
|
1398 |
+
.my-account .review-history .list-item dd { padding:5px 0; }
|
1399 |
+
.my-account .review-history .list-item .date { font-size:12px; }
|
1400 |
+
|
1401 |
+
.my-account .review-history table { border-collapse:collapse; }
|
1402 |
+
.my-account .review-history table td { padding:4px; vertical-align:top; }
|
1403 |
+
.my-account .review-history table td .rating-box { margin:0 0 10px; }
|
1404 |
+
|
1405 |
+
.my-account .recent-orders table,
|
1406 |
+
.my-account .order-history table { border-collapse:collapse; color:#4c4c4c; font-size:12px; width:100%; }
|
1407 |
+
.my-account .recent-orders th,
|
1408 |
+
.my-account .order-history table th,
|
1409 |
+
.my-account .recent-orders td,
|
1410 |
+
.my-account .order-history table td { padding:4px; text-align:left; vertical-align:middle; }
|
1411 |
+
.my-account .recent-orders th,
|
1412 |
+
.my-account .order-history table th { font-weight:bold; padding:11px 8px; }
|
1413 |
+
.my-account .recent-orders td a,
|
1414 |
+
.my-account .order-history td a { font-size:12px; float:none; padding:6px 8px; }
|
1415 |
+
|
1416 |
+
/* My Billing Agreements */
|
1417 |
+
.billing-agreement-view .my-account .page-title { height:auto; }
|
1418 |
+
.billing-agreement-view .my-account .page-title h1 { display:block; margin:0 0 10px; white-space:normal; }
|
1419 |
+
.billing-agreement-view .my-account .page-title h1 span { display:block; }
|
1420 |
+
|
1421 |
+
.my-account .billing-agreements > p { padding:15px; }
|
1422 |
+
.my-account .billing-agreements .box-content > p + .form-list { margin:10px 0 0; }
|
1423 |
+
.my-account .billing-agreements .box-content .form-list select { margin:0 0 15px; }
|
1424 |
+
|
1425 |
+
.my-account .box-recent .data-table { border-spacing:0; width:100%; }
|
1426 |
+
.my-account .box-recent .data-table th,
|
1427 |
+
.my-account .box-recent .data-table td { padding:2px 5px; }
|
1428 |
+
.my-account .box-recent .data-table th {}
|
1429 |
+
.my-account .box-recent .data-table tr:nth-child(odd) {}
|
1430 |
+
.my-account .box-recent .data-table tr td:nth-child(3) {}
|
1431 |
+
.my-account .box-recent .data-table tr td:first-child a {}
|
1432 |
+
|
1433 |
+
.my-account .order-details .data-table { border-collapse:collapse; width:100%; }
|
1434 |
+
.my-account .order-details .data-table th,
|
1435 |
+
.my-account .order-details .data-table td { padding:10px; text-align:left; vertical-align:top; }
|
1436 |
+
.my-account .order-details .data-table tbody tr:first-child { }
|
1437 |
+
.my-account .order-details .data-table tbody th,
|
1438 |
+
.my-account .order-details .data-table tbody td { border-bottom:1px solid #e4e4e4; }
|
1439 |
+
.my-account .order-details .data-table tfoot { background:#f5f5f5; }
|
1440 |
+
|
1441 |
+
.my-account .product-review { padding:0; }
|
1442 |
+
.my-account .product-review .ratings { text-align:center; }
|
1443 |
+
.my-account .product-review .ratings .rating-box { display:inline-block; padding:15px 0; }
|
1444 |
+
.my-account .product-review .ratings .rating-links { color:#424242; }
|
1445 |
+
.my-account .product-review .product-details .product-name { color:#424242; font-size:18px; font-weight:bold; line-height:22px; margin:0 0 15px; }
|
1446 |
+
.my-account .product-review .product-details .date,
|
1447 |
+
.my-account .product-review .product-img-box > p,
|
1448 |
+
.my-account .product-review .product-details .product-name + strong { display:none; }
|
1449 |
+
|
1450 |
+
.my-account .storecredit .account-balance { margin:0 0 10px; }
|
1451 |
+
|
1452 |
+
.customer-address-index .addresses-list ol { list-style:none; margin:0; padding:0; }
|
1453 |
+
|
1454 |
+
.my-account .my-rewards .info-box { position:relative; }
|
1455 |
+
.my-account .my-rewards .info-box .box-content { padding-bottom:50px; }
|
1456 |
+
.my-account .my-rewards .info-box .box-title a { position:absolute; bottom:10px; left:5px; }
|
1457 |
+
|
1458 |
+
/* Order
|
1459 |
+
-----------------------------*/
|
1460 |
+
.my-account .order-page .order-info {}
|
1461 |
+
|
1462 |
+
/* Wishlist
|
1463 |
+
-----------------------------*/
|
1464 |
+
.my-wishlist .data-table { border-spacing:0; border-collapse:collapse; width:100%; }
|
1465 |
+
.my-wishlist .data-table th,
|
1466 |
+
.my-wishlist .data-table td { padding:15px; text-align:left; vertical-align:top; }
|
1467 |
+
.my-wishlist .data-table tr { }
|
1468 |
+
.my-wishlist .data-table .select { display:none; }
|
1469 |
+
.my-wishlist .data-table .btn-remove { float:right; }
|
1470 |
+
.my-wishlist .data-table .product-name { font-size:18px; margin:3px 0 10px; }
|
1471 |
+
.my-wishlist .data-table .product-image { float:left; margin:0 10px 10px 0; }
|
1472 |
+
.my-wishlist .data-table .product-image img { display:block; margin:0 0 10px; }
|
1473 |
+
.my-wishlist .data-table .price-box { margin:10px 0; }
|
1474 |
+
.my-wishlist .data-table .comment { clear:left; margin:10px 0 0; }
|
1475 |
+
.my-wishlist .data-table .btn-cart { background:transparent; border:none; color:#1394ca; font-size:15px; height:16px; display:inline-block; margin:0 5px; padding:0; text-decoration:underline; -webkit-appearance:none; vertical-align:middle; }
|
1476 |
+
.my-wishlist .data-table .added-on { font-size:11px; }
|
1477 |
+
.my-wishlist .data-table .qty { vertical-align:middle; width:50px; }
|
1478 |
+
.my-wishlist .buttons-set { padding:15px 15px 10px; }
|
1479 |
+
.my-wishlist .buttons-set:empty,
|
1480 |
+
.my-wishlist .wishlist-empty + .buttons-set { display:none; }
|
1481 |
+
.my-wishlist .buttons-set button { margin:10px 0 !important; }
|
1482 |
+
|
1483 |
+
.my-wishlist .cart-cell { display:table; margin:0 0 10px; }
|
1484 |
+
.my-wishlist .item-manage { display:table; }
|
1485 |
+
.my-wishlist .item-manage .split-button {
|
1486 |
+
background:#ececec;
|
1487 |
+
border:1px solid;
|
1488 |
+
border-color:#e4e4e4 #e4e4e4 #dcdcdc;
|
1489 |
+
border-radius:2px;
|
1490 |
+
color:#555;
|
1491 |
+
margin:0 0 10px;
|
1492 |
+
box-shadow:0 1px 3px #eee;
|
1493 |
+
position:relative;
|
1494 |
+
}
|
1495 |
+
.my-wishlist .item-manage .split-button .list-container {
|
1496 |
+
background:#fff;
|
1497 |
+
border:1px solid #e4e4e4;
|
1498 |
+
font-size:12px;
|
1499 |
+
display:none;
|
1500 |
+
top:100%;
|
1501 |
+
right:0;
|
1502 |
+
position:absolute;
|
1503 |
+
margin:2px 0 0;
|
1504 |
+
min-width:100%;
|
1505 |
+
white-space:nowrap;
|
1506 |
+
z-index:10;
|
1507 |
+
box-shadow:0 0 6px rgba(0, 0, 0, .15);
|
1508 |
+
}
|
1509 |
+
.my-wishlist .item-manage .split-button .list-container li {
|
1510 |
+
border-bottom:1px solid #e4e4e4;
|
1511 |
+
color:#1394ca;
|
1512 |
+
padding:8px;
|
1513 |
+
}
|
1514 |
+
.my-wishlist .item-manage .split-button .list-container li:last-child {
|
1515 |
+
border-bottom:none;
|
1516 |
+
}
|
1517 |
+
.my-wishlist .item-manage .split-button .list-container li.new { background:#e4e4e4; color:#424242; text-shadow:0 1px 0 #fff; }
|
1518 |
+
.my-wishlist .item-manage .split-button .list-container li.new:before { content:'+'; display:inline-block; margin-right:5px; }
|
1519 |
+
|
1520 |
+
.my-wishlist .item-manage .split-button strong { background:#fff; border-radius:2px; display:block; border-right:1px solid #e4e4e4; font-size:12px; margin:0 25px 0 0; padding:5px 10px 5px 10px; }
|
1521 |
+
.my-wishlist .item-manage .split-button strong:after {
|
1522 |
+
content:'';
|
1523 |
+
position:absolute;
|
1524 |
+
border-left:3px solid transparent;
|
1525 |
+
border-right:3px solid transparent;
|
1526 |
+
border-top:6px solid #555;
|
1527 |
+
position:absolute;
|
1528 |
+
font-size:0;
|
1529 |
+
line-height:0;
|
1530 |
+
width:0;
|
1531 |
+
top:11px;
|
1532 |
+
right:11px;
|
1533 |
+
z-index:2;
|
1534 |
+
}
|
1535 |
+
.my-wishlist .item-manage .split-button strong + a { display:block; text-align:center; line-height:28px; overflow:hidden; position:absolute; top:0; left:0; right:0; text-indent:-200%; }
|
1536 |
+
|
1537 |
+
.my-wishlist .truncated .details { display:none; }
|
1538 |
+
.my-wishlist .truncated .item-options p { font-weight:bold; margin:10px 0; }
|
1539 |
+
|
1540 |
+
.wishlist-empty { padding:0 15px 15px; }
|
1541 |
+
|
1542 |
+
.item-manage .split-button {}
|
1543 |
+
.item-manage .split-button .change { text-decoration:underline; }
|
1544 |
+
.item-manage .split-button.active .change { color:#424242; text-decoration:none; }
|
1545 |
+
.item-manage .split-button.active .list-container { display:block; }
|
1546 |
+
|
1547 |
+
.item-options { font-size:13px; }
|
1548 |
+
.item-options .price { font-weight:bold; }
|
1549 |
+
.item-options dt { color:#424242; font-weight:bold; margin:0 0 2px; }
|
1550 |
+
.item-options dd + dt { margin:12px 0 0; }
|
1551 |
+
|
1552 |
+
.wishlist-management { padding:15px; }
|
1553 |
+
.wishlist-management .sub-title h2 { display:inline-block; line-height:18px; position:relative; }
|
1554 |
+
.wishlist-management .sub-title .item-count { margin:0 5px; }
|
1555 |
+
.wishlist-management .table-caption .label { display:inline-block; vertical-align:top; }
|
1556 |
+
|
1557 |
+
#wishlists-move,
|
1558 |
+
#wishlists-copy { display:none; }
|
1559 |
+
#wishlists-select { display:inline-block; position:relative; }
|
1560 |
+
#wishlists-select + p { margin:10px 0 0; }
|
1561 |
+
#wishlists-select.active .list-container { display:block; }
|
1562 |
+
#wishlists-select .list-container { background:#fff; border:1px solid #e4e4e4; display:none; margin:5px 0 0; position:absolute; white-space:nowrap; box-shadow:0 2px 6px rgba(0, 0, 0, .25); }
|
1563 |
+
#wishlists-select .list-container li { border-bottom:1px solid #e4e4e4; }
|
1564 |
+
#wishlists-select .list-container li:last-child { border-bottom:none; }
|
1565 |
+
#wishlists-select .list-container li a { display:block; padding:5px 10px; }
|
1566 |
+
#wishlists-select .list-container li.new { background:#e4e4e4; color:#424242; padding:5px 10px; text-shadow:0 1px 0 #fff; }
|
1567 |
+
#wishlists-select .list-container li.new:before { content:'+'; display:inline-block; margin-right:5px; }
|
1568 |
+
|
1569 |
+
/* Gift Card Account */
|
1570 |
+
.my-account .giftcardaccount .error-msg { background:#333; color:#fff; padding:15px; text-shadow:0 1px 0 #111; }
|
1571 |
+
.my-account .giftcardaccount .please-wait { position:absolute; top:103px; left:103px; }
|
1572 |
+
.my-account .giftcardaccount .buttons-set button:last-child { margin:10px 0 0 !important; }}
|
1573 |
+
|
1574 |
+
/* Cart
|
1575 |
+
-----------------------------*/
|
1576 |
+
.cart .page-title.title-buttons { height:auto; padding:0; }
|
1577 |
+
.cart .page-title.title-buttons h1 { padding:10px 15px; }
|
1578 |
+
.cart .page-title.title-buttons .checkout-types { padding:15px; }
|
1579 |
+
|
1580 |
+
.cart-table { border-spacing:0; border-collapse:collapse; width:100%; }
|
1581 |
+
.cart-table td { padding:10px; vertical-align:top; }
|
1582 |
+
.cart-table td:first-child { width:75px; }
|
1583 |
+
.cart-table .price-box { display:table; width:100%; }
|
1584 |
+
.cart-table .cart-price-box { display:table-cell; text-align:left; vertical-align:middle; }
|
1585 |
+
.cart-table .cart-price-box .cart-price { font-size:12px; display:block; }
|
1586 |
+
.cart-table .cart-price-box .cart-price + .cart-price { margin:5px 0 0; padding:5px 0 0; }
|
1587 |
+
.cart-table .cart-price-box + .cart-price-box { margin-left:10px; text-align:right; }
|
1588 |
+
.cart-table .cart-price-box + .cart-price-box .cart-price { color:#424242; font-size:15px; font-weight:bold; }
|
1589 |
+
.cart-table .qty-wrap { display:table-cell; vertical-align:top; width:55px; }
|
1590 |
+
.cart-table .qty { font-size:13px; text-align:center; vertical-align:middle; width:35px; }
|
1591 |
+
.cart-table .qty + span { font-size:12px; margin:0 2px; vertical-align:middle; }
|
1592 |
+
.cart-table .gift-registry-name { font-size:12px; margin:-12px 0 10px; }
|
1593 |
+
.cart-table .btn-remove { float:right; position:relative; top:0; right:-5px; }
|
1594 |
+
.cart-table .messages td { background-color:#444 !important; color:#fff; font-size:12px; padding:0 10px 10px; text-shadow:0 1px 0 #111; }
|
1595 |
+
.cart-table .messages p { margin:10px 0 0; }
|
1596 |
+
.cart-table .product-image { display:block; margin:0 0 10px; vertical-align:top; }
|
1597 |
+
.cart-table .product-name { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
1598 |
+
.cart-table .product-name a { color:#424242; }
|
1599 |
+
|
1600 |
+
.cart-table tfoot button + button { margin:10px 0 0; }
|
1601 |
+
|
1602 |
+
.cart-table .downloadable { margin:10px 0 0; }
|
1603 |
+
.cart-table .product-options td { background:none; padding:0; }
|
1604 |
+
.cart-table .product-options .toggle { color:#1394ca; cursor:pointer; display:inline-block; margin:10px; }
|
1605 |
+
.cart-table .product-options .item-options { padding:10px; }
|
1606 |
+
|
1607 |
+
.cart-table .toggle { font-size:13px; display:inline-block; }
|
1608 |
+
|
1609 |
+
.cart-collaterals h2 { color:#424242; font-size:15px; font-weight:normal; line-height:18px; margin:0 0 5px; }
|
1610 |
+
.cart-collaterals label { display:none; }
|
1611 |
+
.cart-collaterals button { background:none; color:#1394ca; display:inline-block; border:0; font-size:15px; margin:0; padding:5px; text-decoration:underline; vertical-align:middle; }
|
1612 |
+
.cart-collaterals button + button { padding:5px 0; }
|
1613 |
+
.cart-collaterals .v-fix { display:inline-block; margin-right:5px; vertical-align:middle; width:60%; }
|
1614 |
+
.cart-collaterals .v-fix + button { vertical-align:top; }
|
1615 |
+
|
1616 |
+
.cart-collaterals .discount { margin:0 0 10px; }
|
1617 |
+
.cart-collaterals .giftcard .error-msg,
|
1618 |
+
.cart-collaterals .giftcard .please-wait { display:block; font-size:12px; line-height:15px; margin:0 0 5px; }
|
1619 |
+
.cart-collaterals .btn-gift-registry { margin:10px 0 0; }
|
1620 |
+
|
1621 |
+
.cart .totals,
|
1622 |
+
.cart .checkout-types { padding:15px; }
|
1623 |
+
.cart .checkout-types a { font-size:12px; display:block; margin:5px 0 0; padding:5px; text-decoration:underline; }
|
1624 |
+
.cart .checkout-types li { margin:0 0 10px; text-align:center; }
|
1625 |
+
.cart .checkout-types li .paypal-or { padding:5px 0; }
|
1626 |
+
|
1627 |
+
.cart .totals table { border-spacing:0; border-collapse:collapse; font-size:13px; width:100%; }
|
1628 |
+
.cart .totals table th,
|
1629 |
+
.cart .totals table td { padding:5px; }
|
1630 |
+
.cart .totals table .price { white-space:nowrap; }
|
1631 |
+
.cart .totals table .btn-remove { height:20px; width:20px; vertical-align:bottom; }
|
1632 |
+
.cart .totals table .btn-remove img { display:none; }
|
1633 |
+
.cart .totals table .summary-total .summary-collapse { display:inline-block; border-bottom:1px dashed; }
|
1634 |
+
.cart .totals table .summary-total .summary-collapse:before { content:'+'; display:inline-block; margin-right:5px; }
|
1635 |
+
.cart .totals table .summary-total.show-details .summary-collapse:before { content:'-'; }
|
1636 |
+
|
1637 |
+
.failed-products { border-bottom:1px solid #eae8ea; margin:10px 0 0; padding:0 0 10px; }
|
1638 |
+
.failed-products h2 { font-weight:bold; }
|
1639 |
+
.failed-products .cart-table thead { display:none; }
|
1640 |
+
|
1641 |
+
.checkout-success,
|
1642 |
+
.paypal-review-order { padding:15px; }
|
1643 |
+
.paypal-review-order select { width:100% !important; }
|
1644 |
+
.paypal-review-order .sub-title { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
1645 |
+
.paypal-review-order .legend { font-size:16px; line-height:20px; margin:15px 0; }
|
1646 |
+
.paypal-review-order .info-set { margin:0 0 15px; }
|
1647 |
+
.paypal-review-order .buttons-set button + button { margin:10px 0 0; }
|
1648 |
+
.paypal-review-order .buttons-set .please-wait { display:block; font-size:12px; padding:10px; text-align:center; }
|
1649 |
+
|
1650 |
+
.paypal-review-order .data-table { border:1px solid #eee; border-spacing:0; border-collapse:collapse; font-size:13px; margin:15px 0; width:100%; }
|
1651 |
+
.paypal-review-order .data-table tfoot { background:#eee; }
|
1652 |
+
.paypal-review-order .data-table th { text-align:left; }
|
1653 |
+
.paypal-review-order .data-table th:last-child { text-align:right; }
|
1654 |
+
.paypal-review-order .data-table th { border-bottom:1px solid #eee; padding:5px; }
|
1655 |
+
.paypal-review-order .data-table td { border-bottom:1px solid #eee; padding:5px; vertical-align:top; }
|
1656 |
+
|
1657 |
+
.checkout-success .sub-title { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
1658 |
+
.checkout-success p { margin:10px 0; }
|
1659 |
+
|
1660 |
+
/* Checkout
|
1661 |
+
-----------------------------*/
|
1662 |
+
.opc { list-style:none; margin:0; padding:10px 10px 0; }
|
1663 |
+
|
1664 |
+
.opc p.required { font-size:10px; line-height:12px; margin:10px 0; text-align:right; }
|
1665 |
+
.opc .back-link { display:none; }
|
1666 |
+
.opc .v-middle { vertical-align:middle; }
|
1667 |
+
.opc .please-wait { display:block; font-size:12px; padding:10px; text-align:center; }
|
1668 |
+
|
1669 |
+
.opc .step-title { background:url(../images/bg_gradient.png) repeat-x center #7f7f7f; color:#fff; height:30px; line-height:30px; padding:5px 8px; }
|
1670 |
+
.opc .step-title h2 { font-size:15px; font-weight:bold; }
|
1671 |
+
.opc .step-title a,
|
1672 |
+
.opc .step-title .number { display:none; }
|
1673 |
+
|
1674 |
+
.opc .step { background-color:#fff !important; padding:10px; position:relative; }
|
1675 |
+
.opc .step .form-list { margin:0 0 15px; }
|
1676 |
+
|
1677 |
+
.opc .section { margin:0 0 10px; opacity:.5; }
|
1678 |
+
.opc .section.allow.active { opacity:1; }
|
1679 |
+
.opc .section.allow .step-title h2:before {
|
1680 |
+
background:rgba(0, 0, 0, .5);
|
1681 |
+
border-radius:5px;
|
1682 |
+
content:'+';
|
1683 |
+
font-family:Arial;
|
1684 |
+
display:inline-block;
|
1685 |
+
line-height:15px;
|
1686 |
+
padding:5px 0;
|
1687 |
+
text-align:center;
|
1688 |
+
margin:2px 5px 0 0;
|
1689 |
+
vertical-align:top;
|
1690 |
+
width:20px;
|
1691 |
+
}
|
1692 |
+
.opc .section.allow.active .step-title h2:before { display:none; }
|
1693 |
+
|
1694 |
+
.checkout-onepage-payment-additional-giftcardaccount { margin:15px 0; }
|
1695 |
+
|
1696 |
+
#checkout-step-login h4 { color:#424242; margin:0 0 10px; }
|
1697 |
+
#checkout-step-login p { font-size:14px; margin:0 0 10px; }
|
1698 |
+
|
1699 |
+
.opc .sp-methods > dt { color:#424242; font-size:15px; font-weight:bold; line-height:18px; margin:0 0 10px; }
|
1700 |
+
.opc .sp-methods > dd + dt { margin:10px 0; }
|
1701 |
+
|
1702 |
+
.opc .tool-tip { background:#fff; position:absolute; padding:10px; -webkit-box-shadow:0 0 10px rgba(0, 0, 0, .5); }
|
1703 |
+
.opc .tool-tip .btn-close { padding:0 0 15px 0; text-align:right; font-size:13px; }
|
1704 |
+
.opc .tool-tip .btn-close a { color:#DF2327; }
|
1705 |
+
.opc .tool-tip .tool-tip-content img { width:100%; }
|
1706 |
+
|
1707 |
+
.opc .cvv-what-is-this { border-bottom:1px dashed; display:inline-block; margin:5px 5px 0; font-size:13px; vertical-align:top; }
|
1708 |
+
|
1709 |
+
.opc li:last-child .step { padding:0; }
|
1710 |
+
|
1711 |
+
#checkoutSteps li .step .input-box .v-fix { display:inline-block; width:49%; }
|
1712 |
+
#checkoutSteps li .step .input-box .v-fix .year { width:auto; }
|
1713 |
+
|
1714 |
+
.tool-tip .btn-close { padding:0 0 5px 0; text-align:right; font-size:13px; }
|
1715 |
+
.tool-tip .btn-close a { color:#DF2327; }
|
1716 |
+
.tool-tip .tool-tip-content img { width:100%; }
|
1717 |
+
|
1718 |
+
.opc .order-review .data-table { font-size:13px; border-spacing:0; border-collapse:collapse; margin:0 0 15px; width:100%; }
|
1719 |
+
.opc .order-review .data-table thead tr,
|
1720 |
+
.opc .order-review .data-table tbody tr:first-child { text-align:left; }
|
1721 |
+
.opc .order-review .data-table tbody tr:last-child td:last-child { font-weight:bold; }
|
1722 |
+
.opc .order-review .data-table th { text-align:left; }
|
1723 |
+
.opc .order-review .data-table th:last-child { float:right; }
|
1724 |
+
.opc .order-review .data-table th,
|
1725 |
+
.opc .order-review .data-table td { padding:5px; }
|
1726 |
+
.opc .order-review .data-table tfoot { background:#eee; }
|
1727 |
+
.opc .order-review .data-table tfoot th { font-weight:normal; text-align:right; }
|
1728 |
+
.opc .order-review .data-table .product-name { color:#424242; }
|
1729 |
+
.opc .order-review .data-table .item-options { font-size:12px; margin:10px 0 0; }
|
1730 |
+
|
1731 |
+
.checkout-review-table { padding:0; }
|
1732 |
+
|
1733 |
+
.opc .order-review .buttons-set > p { margin:15px 0; }
|
1734 |
+
|
1735 |
+
#checkoutSteps #customerbalance_placer { padding:0 0 10px; }
|
1736 |
+
|
1737 |
+
.opc .gift-messages,
|
1738 |
+
.opc .gift-messages-form { margin:10px 0 20px; }
|
1739 |
+
|
1740 |
+
.opc .gift-message-form .price,
|
1741 |
+
.opc .gift-wrapping-form label { font-weight:bold; }
|
1742 |
+
.opc .gift-wrapping-form label { color:#424242; }
|
1743 |
+
|
1744 |
+
.opc .gift-options-for-order { border:1px solid #e4e4e4; border-radius:2px; box-shadow:0 0 3px rgba(0, 0, 0, .15); margin:10px 0; padding:10px; }
|
1745 |
+
.opc .gift-options-for-order div > a { display:inline-block; margin:10px 0 0; }
|
1746 |
+
.opc .gift-options-for-order .fieldset { margin:10px 0 0; }
|
1747 |
+
|
1748 |
+
.opc .gift-wrapping-design { padding:10px 0 0; overflow:hidden; }
|
1749 |
+
.opc .gift-wrapping-design .image-box { float:left; margin:0 10px 10px 0; }
|
1750 |
+
|
1751 |
+
.opc .gift-messages h3,
|
1752 |
+
.opc .gift-messages-form h4 { color:#424242; font-weight:bold; line-height:18px; margin:0 0 10px; }
|
1753 |
+
.opc .gift-messages-form p { margin:0 0 10px; }
|
1754 |
+
.opc .gift-messages-form ol { list-style:none; margin:0 0 10px; padding:0; }
|
1755 |
+
|
1756 |
+
.opc .gift-messages-form .number { display:none; }
|
1757 |
+
.opc .gift-messages-form .product-image { margin:0 0 2px; }
|
1758 |
+
.opc .gift-messages-form .product-name { color:#424242; margin:0 0 10px; }
|
1759 |
+
|
1760 |
+
.extra-options-container { clear:both; }
|
1761 |
+
|
1762 |
+
.checkout-agreements { border:1px solid #e4e4e4; list-style:none; padding:10px; }
|
1763 |
+
.checkout-agreements .agree { font-weight:bold; margin:10px 0 0; text-align:center; }
|
1764 |
+
.checkout-agreements .agree input,
|
1765 |
+
.checkout-agreements .agree label { margin-right:10px; vertical-align:middle; }
|
1766 |
+
|
1767 |
+
/* Advanced search
|
1768 |
+
-----------------------------*/
|
1769 |
+
.catalogsearch-advanced-result .search-summary,
|
1770 |
+
.catalogsearch-advanced-result .page-title + p { display:none; }
|
1771 |
+
.catalogsearch-advanced-result .toolbar { top:-100px; }
|
1772 |
+
|
1773 |
+
.catalogsearch-advanced-index .fieldset,
|
1774 |
+
.catalogsearch-advanced-index .buttons-set { padding:15px; }
|
1775 |
+
.catalogsearch-advanced-index .fieldset .legend { color:#424242; font-size:18px; line-height:22px; margin:0 0 15px; }
|
1776 |
+
|
1777 |
+
/* CMS */
|
1778 |
+
.cms-home .std { display:none; }
|
1779 |
+
.cms-home section { padding-bottom:0; }
|
1780 |
+
|
1781 |
+
.std ul,
|
1782 |
+
.std ol,
|
1783 |
+
.std dl,
|
1784 |
+
.std p,
|
1785 |
+
.std address,
|
1786 |
+
.std blockquote,
|
1787 |
+
.std table { margin-bottom:1em; }
|
1788 |
+
.std ul { list-style:disc outside; padding-left:1.5em; }
|
1789 |
+
.std ol { list-style:decimal outside; padding-left:1.5em; }
|
1790 |
+
.std ul ul { list-style-type:circle; }
|
1791 |
+
.std ul ul,
|
1792 |
+
.std ol ol,
|
1793 |
+
.std ul ol,
|
1794 |
+
.std ol ul { margin:.5em 0; }
|
1795 |
+
.std dt { font-weight:bold; }
|
1796 |
+
.std dd { padding:0 0 0 1.5em; }
|
1797 |
+
.std blockquote { font-style:italic; padding:0 0 0 1.5em; }
|
1798 |
+
.std address { font-style:normal; }
|
1799 |
+
.std b,
|
1800 |
+
.std strong { font-weight:bold; }
|
1801 |
+
.std i,
|
1802 |
+
.std em { font-style:italic; }
|
1803 |
+
.std hr { margin:1.5em 0; color:#d9d9d9; }
|
1804 |
+
.std table { width:100%; max-width:100%; }
|
1805 |
+
.std table thead { background:#e8e8e8; }
|
1806 |
+
.std table th { background:#f7f7f7; word-break:break-word; font-weight:bold; }
|
1807 |
+
.std table thead th { background:#e8e8e8; font-weight:bold; }
|
1808 |
+
.std table th,
|
1809 |
+
.std table td { padding:2px 4px; border:1px solid #d9d9d9; }
|
1810 |
+
.std table[border="0"] { border-width:0; }
|
1811 |
+
.std table[border="0"] th,
|
1812 |
+
.std table[border="0"] td { border-width:0; }
|
1813 |
+
|
1814 |
+
ul.disc li { padding-left:10px; background:url(../images/bkg_bulletsm.gif) no-repeat 0 0.5em; }
|
1815 |
+
.std ul.disc li { padding-left:0; background:none; }
|
1816 |
+
|
1817 |
+
|
1818 |
+
/* Common Buttons Design */
|
1819 |
+
|
1820 |
+
.btn-checkout,
|
1821 |
+
.account-login button,
|
1822 |
+
.cart-table tfoot button,
|
1823 |
+
.opc .buttons-set button,
|
1824 |
+
.checkout-success button,
|
1825 |
+
.box-reviews .buttons-set button,
|
1826 |
+
.my-account form > .buttons-set button,
|
1827 |
+
#contactForm .buttons-set button,
|
1828 |
+
.giftregistry .buttons-set button,
|
1829 |
+
.wishlist-view .buttons-set button,
|
1830 |
+
.send-to-friend .buttons-set button,
|
1831 |
+
.account-create .buttons-set button,
|
1832 |
+
.catalog-product-gallery .buttons-set a,
|
1833 |
+
.my-account .my-rewards .buttons-set button,
|
1834 |
+
.my-account .my-wishlist .buttons-set button,
|
1835 |
+
.popup-block .block-content .buttons-set button,
|
1836 |
+
.customer-account-forgotpassword .buttons-set button,
|
1837 |
+
.my-account .billing-agreements .box-content .form-list select + button {
|
1838 |
+
background:url(../images/bg_gradient.png) repeat-x center;
|
1839 |
+
color:#fff;
|
1840 |
+
font-size:21px;
|
1841 |
+
display:block;
|
1842 |
+
border:0;
|
1843 |
+
height:35px;
|
1844 |
+
line-height:35px;
|
1845 |
+
margin:0;
|
1846 |
+
padding:0;
|
1847 |
+
-webkit-appearance:none;
|
1848 |
+
appearance:none;
|
1849 |
+
text-shadow:0 -1px 0 rgba(0, 0, 0, .45);
|
1850 |
+
width:100%;
|
1851 |
+
}
|
1852 |
+
|
1853 |
+
/* Theme options */
|
1854 |
+
|
1855 |
+
/* Custom colors */
|
1856 |
+
/* Main color */
|
1857 |
+
body > header,
|
1858 |
+
body > footer ul,
|
1859 |
+
body > address.copyright { background-color:#e76212; }
|
1860 |
+
|
1861 |
+
.map-popup-checkout button,
|
1862 |
+
.more-button,
|
1863 |
+
.btn-checkout,
|
1864 |
+
.account-login button,
|
1865 |
+
.add-to-links > li > a,
|
1866 |
+
.cart-table tfoot button,
|
1867 |
+
.opc .buttons-set button,
|
1868 |
+
.checkout-success button,
|
1869 |
+
.box-reviews .buttons-set button,
|
1870 |
+
.my-account form > .buttons-set button,
|
1871 |
+
#contactForm .buttons-set button,
|
1872 |
+
.giftregistry .buttons-set button,
|
1873 |
+
.wishlist-view .buttons-set button,
|
1874 |
+
.send-to-friend .buttons-set button,
|
1875 |
+
.account-create .buttons-set button,
|
1876 |
+
.add-to-links > li .split-button strong,
|
1877 |
+
.catalog-product-gallery .buttons-set a,
|
1878 |
+
.my-account .my-rewards .buttons-set button,
|
1879 |
+
.my-account .my-wishlist .buttons-set button,
|
1880 |
+
.product-view .product-shop .add-to-box button,
|
1881 |
+
.popup-block .block-content .buttons-set button,
|
1882 |
+
.customer-account-forgotpassword .buttons-set button,
|
1883 |
+
.product-view .product-options-bottom .add-to-cart button,
|
1884 |
+
.my-account .billing-agreements .box-content .form-list select + button { background-color:#e76212; }
|
1885 |
+
|
1886 |
+
/* Links color */
|
1887 |
+
#nav-container li a { color:#111; }
|
1888 |
+
|
1889 |
+
/* Buttons background color */
|
1890 |
+
.block-subscribe button { background:green; }
|
1891 |
+
|
1892 |
+
body > header dd.menu-box a,
|
1893 |
+
body > header dd.menu-box strong,
|
1894 |
+
#nav-container li a,
|
1895 |
+
.page-title,
|
1896 |
+
.c-list > li,
|
1897 |
+
.catalog-product-gallery .product-gallery,
|
1898 |
+
.cart-table .messages td,
|
1899 |
+
.opc .step,
|
1900 |
+
.cart-empty,
|
1901 |
+
body > section > form > .fieldset,
|
1902 |
+
.account-login .col-1,
|
1903 |
+
.account-login .col-2,
|
1904 |
+
.account-create .fieldset,
|
1905 |
+
.customer-account-forgotpassword .fieldset,
|
1906 |
+
.customer-account-logoutsuccess .page-title + p,
|
1907 |
+
.more,
|
1908 |
+
.filters-block,
|
1909 |
+
.product-view .product-shop,
|
1910 |
+
.product-view .short-description,
|
1911 |
+
.send-friend .fieldset,
|
1912 |
+
.send-friend .buttons-set,
|
1913 |
+
.product-collateral .box-collateral,
|
1914 |
+
.product-collateral .box-additional .data-table th,
|
1915 |
+
.product-collateral .box-additional .data-table td,
|
1916 |
+
.box-up-sell,
|
1917 |
+
.product-view .box-tags,
|
1918 |
+
.product-view .options-container-big .product-options,
|
1919 |
+
.catalog-product-gallery .buttons-set,
|
1920 |
+
.catalogsearch-result-index .note-msg,
|
1921 |
+
.product-review,
|
1922 |
+
.box-reviews .box-content,
|
1923 |
+
.cart-collaterals,
|
1924 |
+
.my-account > p,
|
1925 |
+
.my-account > .col2-set,
|
1926 |
+
.my-account > .order-info,
|
1927 |
+
.my-account .fieldset,
|
1928 |
+
.my-account .my-rewards,
|
1929 |
+
.my-account .box-account,
|
1930 |
+
.my-account .storecredit,
|
1931 |
+
.my-account .order-history,
|
1932 |
+
.my-account .order-details,
|
1933 |
+
.my-account .review-history,
|
1934 |
+
.my-account .giftregistry > p,
|
1935 |
+
.my-account .recent-orders > p,
|
1936 |
+
.my-account .review-history > p,
|
1937 |
+
.my-account .recurring-profiles,
|
1938 |
+
.my-account .billing-agreements,
|
1939 |
+
.my-account .dashboard .reviews,
|
1940 |
+
.my-account .order-page .order-info,
|
1941 |
+
.my-account .order-page .order-date,
|
1942 |
+
.my-account .product-review .product-details,
|
1943 |
+
.my-account .dashboard .recent-orders,
|
1944 |
+
.my-account .review-history .list-item,
|
1945 |
+
.my-account .product-review .product-img-box,
|
1946 |
+
.my-account .downloadable-products-history > p,
|
1947 |
+
.my-account .downloadable-products-history .list-item,
|
1948 |
+
.my-account .info-box .box-content,
|
1949 |
+
.my-account .dashboard > .sub-title,
|
1950 |
+
.my-account .review-history table td,
|
1951 |
+
.my-account .recent-orders th,
|
1952 |
+
.my-account .order-history table th,
|
1953 |
+
.my-account .recent-orders td,
|
1954 |
+
.my-account .order-history table td,
|
1955 |
+
.my-account .order-details .data-table tbody tr:first-child,
|
1956 |
+
.my-wishlist .data-table tr,
|
1957 |
+
.my-wishlist .buttons-set,
|
1958 |
+
.cart-table td,
|
1959 |
+
.cart-table .product-options .item-options,
|
1960 |
+
.cart .totals,
|
1961 |
+
.cart .checkout-types,
|
1962 |
+
.checkout-success,
|
1963 |
+
.paypal-review-order,
|
1964 |
+
.paypal-review-order .data-table,
|
1965 |
+
.opc,
|
1966 |
+
.opc .order-review .data-table thead tr,
|
1967 |
+
.opc .order-review .data-table tbody tr:first-child { background:url(../images/bg_shadow.png) repeat-x 0 0; }
|
1968 |
+
|
1969 |
+
@media
|
1970 |
+
only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
1971 |
+
only screen and (-o-min-device-pixel-ratio: 3/2),
|
1972 |
+
only screen and (min--moz-device-pixel-ratio: 1.5),
|
1973 |
+
only screen and (min-device-pixel-ratio: 1.5) {
|
1974 |
+
|
1975 |
+
#nav-container li.subcategory-header { background-image:url(../images/bg_gradient_retina.png); background-size:auto 45px; }
|
1976 |
+
#nav-container li.subcategory-header .button-wrap button { background-image:url(../images/bg_back_btn_retina.png); background-size:47px 27px; }
|
1977 |
+
|
1978 |
+
#nav-container li a span,
|
1979 |
+
.c-list > li > a { background-image:url(../images/custom/arrow_retina.png); background-size:7px 12px; }
|
1980 |
+
|
1981 |
+
body > header dt { background-image:url(../images/bg_divider_retina.png); background-size:1px 45px; }
|
1982 |
+
body > header dt.menu a { background-image:url(../images/i_menu_retina.png); background-size:50%; }
|
1983 |
+
body > header dt.cart-icon a { background-image:url(../images/i_cart_retina.png); background-size:50%; }
|
1984 |
+
body > header { background-image:url(../images/bg_gradient_retina.png); background-size:auto 45px; }
|
1985 |
+
body > header .search input { background-image:url(../images/i_search_retina.png); background-size:17px 17px; }
|
1986 |
+
.header-bg { background:url(../images/custom/bg_header_retina.png) no-repeat center; background-size:auto 45px; }
|
1987 |
+
.header-bg .header-logo { background-image:url(../images/custom/bg_logo_retina.png); background-size:45px 45px; }
|
1988 |
+
|
1989 |
+
.toolbar .sort-by > label { background-image:url(../images/bg_gradient_retina.png); }
|
1990 |
+
|
1991 |
+
body > header dd.menu-box a { background-image:url(../images/bg_shadow_retina.png); background-size:1px 40px; }
|
1992 |
+
|
1993 |
+
.rating-box { background-image:url(../images/i_star_blank_retina.png); background-size:20px 18px; }
|
1994 |
+
.rating-box .rating,
|
1995 |
+
#product-review-table tbody td input { background-image:url(../images/i_star_retina.png); background-size:20px 18px; }
|
1996 |
+
|
1997 |
+
.controls { background-image:url(../images/bg_divider_dark_retina.png); background-size:1px 30px; }
|
1998 |
+
.controls .prev { background-image:url(../images/arrow_left_retina.png); background-size:7px 12px; }
|
1999 |
+
.controls .next { background-image:url(../images/arrow_right_retina.png); background-size:7px 12px; }
|
2000 |
+
|
2001 |
+
select, .select-multiple { background-image:url(../images/i_dropdown_retina.png); background-size:30px auto; }
|
2002 |
+
|
2003 |
+
a.btn-remove, .btn-remove2 { background-image:url(../images/btn_remove_retina.png); background-size:11px 11px; }
|
2004 |
+
a.link-edit { background-image:url(../images/btn_edit_retina.png); background-size:18px 18px; }
|
2005 |
+
|
2006 |
+
.product-view .product-img-box .product-image:before { background-image:url(../images/i_zoom_retina.png); background-size:14px 14px; }
|
2007 |
+
|
2008 |
+
.map-popup-checkout button,
|
2009 |
+
.btn-checkout,
|
2010 |
+
.account-login button,
|
2011 |
+
.cart-table tfoot button,
|
2012 |
+
.opc .buttons-set button,
|
2013 |
+
.checkout-success button,
|
2014 |
+
.box-reviews .buttons-set button,
|
2015 |
+
.my-account form > .buttons-set button,
|
2016 |
+
#contactForm .buttons-set button,
|
2017 |
+
.giftregistry .buttons-set button,
|
2018 |
+
.wishlist-view .buttons-set button,
|
2019 |
+
.send-to-friend .buttons-set button,
|
2020 |
+
.account-create .buttons-set button,
|
2021 |
+
.my-account .my-rewards .buttons-set button,
|
2022 |
+
.my-account .my-wishlist .buttons-set button,
|
2023 |
+
.popup-block .block-content .buttons-set button,
|
2024 |
+
.customer-account-forgotpassword .buttons-set button,
|
2025 |
+
.my-account .billing-agreements .box-content .form-list select + button {
|
2026 |
+
background-size:1px 35px;
|
2027 |
+
}
|
2028 |
+
|
2029 |
+
body > header dd.menu-box a,
|
2030 |
+
body > header dd.menu-box strong,
|
2031 |
+
#nav-container li a,
|
2032 |
+
.page-title,
|
2033 |
+
.c-list > li,
|
2034 |
+
.catalog-product-gallery .product-gallery,
|
2035 |
+
.cart-table .messages td,
|
2036 |
+
.opc .step,
|
2037 |
+
.cart-empty,
|
2038 |
+
body > section > form > .fieldset,
|
2039 |
+
.account-login .col-1,
|
2040 |
+
.account-login .col-2,
|
2041 |
+
.account-create .fieldset,
|
2042 |
+
.customer-account-forgotpassword .fieldset,
|
2043 |
+
.customer-account-logoutsuccess .page-title + p,
|
2044 |
+
.more,
|
2045 |
+
.filters-block,
|
2046 |
+
.product-view .product-shop,
|
2047 |
+
.product-view .short-description,
|
2048 |
+
.send-friend .fieldset,
|
2049 |
+
.send-friend .buttons-set,
|
2050 |
+
.product-collateral .box-collateral,
|
2051 |
+
.product-collateral .box-additional .data-table th,
|
2052 |
+
.product-collateral .box-additional .data-table td,
|
2053 |
+
.box-up-sell,
|
2054 |
+
.product-view .box-tags,
|
2055 |
+
.product-view .options-container-big .product-options,
|
2056 |
+
.catalog-product-gallery .buttons-set,
|
2057 |
+
.catalogsearch-result-index .note-msg,
|
2058 |
+
.product-review,
|
2059 |
+
.box-reviews .box-content,
|
2060 |
+
.cart-collaterals,
|
2061 |
+
.my-account > p,
|
2062 |
+
.my-account > .col2-set,
|
2063 |
+
.my-account > .order-info,
|
2064 |
+
.my-account .fieldset,
|
2065 |
+
.my-account .my-rewards,
|
2066 |
+
.my-account .box-account,
|
2067 |
+
.my-account .storecredit,
|
2068 |
+
.my-account .order-history,
|
2069 |
+
.my-account .order-details,
|
2070 |
+
.my-account .review-history,
|
2071 |
+
.my-account .giftregistry > p,
|
2072 |
+
.my-account .recent-orders > p,
|
2073 |
+
.my-account .review-history > p,
|
2074 |
+
.my-account .recurring-profiles,
|
2075 |
+
.my-account .billing-agreements,
|
2076 |
+
.my-account .dashboard .reviews,
|
2077 |
+
.my-account .order-page .order-info,
|
2078 |
+
.my-account .order-page .order-date,
|
2079 |
+
.my-account .product-review .product-details,
|
2080 |
+
.my-account .dashboard .recent-orders,
|
2081 |
+
.my-account .review-history .list-item,
|
2082 |
+
.my-account .product-review .product-img-box,
|
2083 |
+
.my-account .downloadable-products-history > p,
|
2084 |
+
.my-account .downloadable-products-history .list-item,
|
2085 |
+
.my-account .info-box .box-content,
|
2086 |
+
.my-account .dashboard > .sub-title,
|
2087 |
+
.my-account .review-history table td,
|
2088 |
+
.my-account .recent-orders th,
|
2089 |
+
.my-account .order-history table th,
|
2090 |
+
.my-account .recent-orders td,
|
2091 |
+
.my-account .order-history table td,
|
2092 |
+
.my-account .order-details .data-table tbody tr:first-child,
|
2093 |
+
.my-wishlist .data-table tr,
|
2094 |
+
.my-wishlist .buttons-set,
|
2095 |
+
.cart-table td,
|
2096 |
+
.cart-table .product-options .item-options,
|
2097 |
+
.cart .totals,
|
2098 |
+
.cart .checkout-types,
|
2099 |
+
.checkout-success,
|
2100 |
+
.paypal-review-order,
|
2101 |
+
.paypal-review-order .data-table,
|
2102 |
+
.opc,
|
2103 |
+
.opc .order-review .data-table thead tr,
|
2104 |
+
.opc .order-review .data-table tbody tr:first-child { background-image:url(../images/bg_shadow_retina.png); background-size:1px 40px; }
|
2105 |
+
|
2106 |
+
}
|
skin/frontend/default/iphone/images/arrow_left.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/arrow_left_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/arrow_right.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/arrow_right_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_back_btn.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_back_btn_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_checkbox.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_checkout_step_passed.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_divider.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_divider_dark.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_divider_dark_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_divider_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_gradient.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_gradient_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_shadow.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bg_shadow_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/bkg_rating.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_edit.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/btn_edit_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/btn_google_checkout.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_paypal_checkout.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_place_order.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_proceed_to_checkout.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_proceed_to_checkout.png
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_proceed_to_checkout_bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_proceed_to_checkout_rad.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_remove.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/btn_remove_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/btn_trash.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/btn_window_close.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/chart_remove.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/custom/arrow.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/custom/arrow_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/custom/bg_header.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/custom/bg_header_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/custom/bg_logo.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/custom/bg_logo_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/error_msg_icon.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/footer-bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/free_shipping_callout.jpg
DELETED
Binary file
|
skin/frontend/default/iphone/images/gift-message-close.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/header-bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/i_cart.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_cart_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_dropdown.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_dropdown_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_menu.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_menu_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_notice.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/i_search.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_search_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_star.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_star_blank.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_star_blank_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_star_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_zoom.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/i_zoom_retina.png
ADDED
Binary file
|
skin/frontend/default/iphone/images/link_separator.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/list_remove_btn.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/loader.gif
ADDED
Binary file
|
skin/frontend/default/iphone/images/logo.gif
CHANGED
Binary file
|
skin/frontend/default/iphone/images/logo_email.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/logo_print.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/media/cell_phone_landing_banner1.jpg
ADDED
Binary file
|
skin/frontend/default/iphone/images/menu-arrow.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/menu-bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/np_cart_thumb.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/np_more_img.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/np_product_main.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/np_thumb.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/np_thumb2.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/opc-ajax-loader.gif
CHANGED
Binary file
|
skin/frontend/default/iphone/images/opc_off_head_bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/opc_on_box_bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/page-bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/pager_arrow_left.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/pager_arrow_right.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/pager_bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/ph.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/place_order_container_bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/product_rating_blank_star.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/product_rating_full_star.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search-bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search-close-but.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search-end.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search-go-but.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search-md.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search-st.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/search_criteria.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/shipping_method_pointer.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/sort_asc_arrow.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/sort_desc_arrow.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/success_msg_icon.gif
DELETED
Binary file
|
skin/frontend/default/iphone/images/validation_advice_bg.gif
DELETED
Binary file
|
skin/frontend/default/iphone/js/dnd.js
ADDED
@@ -0,0 +1,688 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_iphone
|
22 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
// webkitdragdrop.js v1.0, Mon May 15 2010
|
26 |
+
//
|
27 |
+
// Copyright (c) 2010 Tommaso Buvoli (http://www.tommasobuvoli.com)
|
28 |
+
// No Extra Libraries are required, simply download this file, add it to your pages!
|
29 |
+
//
|
30 |
+
// To See this library in action, grab an ipad and head over to http://www.gotproject.com
|
31 |
+
// webkitdragdrop is freely distributable under the terms of an MIT-style license.
|
32 |
+
|
33 |
+
|
34 |
+
//Description
|
35 |
+
// Because this library was designed to run without requiring any other libraries, several basic helper functions were implemented
|
36 |
+
// 6 helper functons in this webkit_tools class have been taked directly from Prototype 1.6.1 (http://prototypejs.org/) (c) 2005-2009 Sam Stephenson
|
37 |
+
|
38 |
+
var webkit_tools =
|
39 |
+
{
|
40 |
+
//$ function - simply a more robust getElementById
|
41 |
+
|
42 |
+
$:function(e)
|
43 |
+
{
|
44 |
+
if(typeof(e) == 'string')
|
45 |
+
{
|
46 |
+
return document.getElementById(e);
|
47 |
+
}
|
48 |
+
return e;
|
49 |
+
},
|
50 |
+
|
51 |
+
//extend function - copies the values of b into a (Shallow copy)
|
52 |
+
|
53 |
+
extend:function(a,b)
|
54 |
+
{
|
55 |
+
for (var key in b)
|
56 |
+
{
|
57 |
+
a[key] = b[key];
|
58 |
+
}
|
59 |
+
return a;
|
60 |
+
},
|
61 |
+
|
62 |
+
//empty function - used as defaut for events
|
63 |
+
|
64 |
+
empty:function()
|
65 |
+
{
|
66 |
+
|
67 |
+
},
|
68 |
+
|
69 |
+
//remove null values from an array
|
70 |
+
|
71 |
+
compact:function(a)
|
72 |
+
{
|
73 |
+
var b = []
|
74 |
+
var l = a.length;
|
75 |
+
for(var i = 0; i < l; i ++)
|
76 |
+
{
|
77 |
+
if(a[i] !== null)
|
78 |
+
{
|
79 |
+
b.push(a[i]);
|
80 |
+
}
|
81 |
+
}
|
82 |
+
return b;
|
83 |
+
},
|
84 |
+
|
85 |
+
//DESCRIPTION
|
86 |
+
// This function was taken from the internet (http://robertnyman.com/2006/04/24/get-the-rendered-style-of-an-element/) and returns
|
87 |
+
// the computed style of an element independantly from the browser
|
88 |
+
//INPUT
|
89 |
+
// oELM (DOM ELEMENT) element whose style should be extracted
|
90 |
+
// strCssRule element
|
91 |
+
|
92 |
+
getCalculatedStyle:function(oElm, strCssRule)
|
93 |
+
{
|
94 |
+
var strValue = "";
|
95 |
+
if(document.defaultView && document.defaultView.getComputedStyle){
|
96 |
+
strValue = document.defaultView.getComputedStyle(oElm, "").getPropertyValue(strCssRule);
|
97 |
+
}
|
98 |
+
else if(oElm.currentStyle){
|
99 |
+
strCssRule = strCssRule.replace(/\-(\w)/g, function (strMatch, p1){
|
100 |
+
return p1.toUpperCase();
|
101 |
+
});
|
102 |
+
strValue = oElm.currentStyle[strCssRule];
|
103 |
+
}
|
104 |
+
return strValue;
|
105 |
+
},
|
106 |
+
|
107 |
+
//bindAsEventListener function - used to bind events
|
108 |
+
|
109 |
+
bindAsEventListener:function(f,object)
|
110 |
+
{
|
111 |
+
var __method = f;
|
112 |
+
return function(event) {
|
113 |
+
__method.call(object, event || window.event);
|
114 |
+
};
|
115 |
+
},
|
116 |
+
|
117 |
+
//cumulative offset - courtesy of Prototype (http://www.prototypejs.org)
|
118 |
+
|
119 |
+
cumulativeOffset:function(element)
|
120 |
+
{
|
121 |
+
var valueT = 0, valueL = 0;
|
122 |
+
do {
|
123 |
+
valueT += element.offsetTop || 0;
|
124 |
+
valueL += element.offsetLeft || 0;
|
125 |
+
if (element.offsetParent == document.body)
|
126 |
+
if (element.style.position == 'absolute') break;
|
127 |
+
|
128 |
+
element = element.offsetParent;
|
129 |
+
} while (element);
|
130 |
+
|
131 |
+
return {left : valueL, top : valueT};
|
132 |
+
},
|
133 |
+
|
134 |
+
//getDimensions - courtesy of Prototype (http://www.prototypejs.org)
|
135 |
+
|
136 |
+
getDimensions: function(element)
|
137 |
+
{
|
138 |
+
var display = element.style.display;
|
139 |
+
if (display != 'none' && display != null) // Safari bug
|
140 |
+
return {width: element.offsetWidth, height: element.offsetHeight};
|
141 |
+
|
142 |
+
var els = element.style;
|
143 |
+
var originalVisibility = els.visibility;
|
144 |
+
var originalPosition = els.position;
|
145 |
+
var originalDisplay = els.display;
|
146 |
+
els.visibility = 'hidden';
|
147 |
+
if (originalPosition != 'fixed') // Switching fixed to absolute causes issues in Safari
|
148 |
+
els.position = 'absolute';
|
149 |
+
els.display = 'block';
|
150 |
+
var originalWidth = element.clientWidth;
|
151 |
+
var originalHeight = element.clientHeight;
|
152 |
+
els.display = originalDisplay;
|
153 |
+
els.position = originalPosition;
|
154 |
+
els.visibility = originalVisibility;
|
155 |
+
return {width: originalWidth, height: originalHeight};
|
156 |
+
},
|
157 |
+
|
158 |
+
//hasClassName - courtesy of Prototype (http://www.prototypejs.org)
|
159 |
+
|
160 |
+
hasClassName: function(element, className)
|
161 |
+
{
|
162 |
+
var elementClassName = element.className;
|
163 |
+
return (elementClassName.length > 0 && (elementClassName == className ||
|
164 |
+
new RegExp("(^|\\s)" + className + "(\\s|$)").test(elementClassName)));
|
165 |
+
},
|
166 |
+
|
167 |
+
//addClassName - courtesy of Prototype (http://www.prototypejs.org)
|
168 |
+
|
169 |
+
addClassName: function(element, className)
|
170 |
+
{
|
171 |
+
if (!this.hasClassName(element, className))
|
172 |
+
element.className += (element.className ? ' ' : '') + className;
|
173 |
+
return element;
|
174 |
+
},
|
175 |
+
|
176 |
+
//removeClassName - courtesy of Prototype (http://www.prototypejs.org)
|
177 |
+
|
178 |
+
removeClassName: function(element, className)
|
179 |
+
{
|
180 |
+
element.className = this.strip(element.className.replace(new RegExp("(^|\\s+)" + className + "(\\s+|$)"), ' '));
|
181 |
+
return element;
|
182 |
+
},
|
183 |
+
|
184 |
+
//strip - courtesy of Prototype (http://www.prototypejs.org)
|
185 |
+
|
186 |
+
strip:function(s)
|
187 |
+
{
|
188 |
+
return s.replace(/^\s+/, '').replace(/\s+$/, '');
|
189 |
+
}
|
190 |
+
|
191 |
+
}
|
192 |
+
|
193 |
+
//Description
|
194 |
+
// Droppable fire events when a draggable is dropped on them
|
195 |
+
|
196 |
+
var webkit_droppables = function()
|
197 |
+
{
|
198 |
+
this.initialize = function()
|
199 |
+
{
|
200 |
+
this.droppables = [];
|
201 |
+
this.droppableRegions = [];
|
202 |
+
}
|
203 |
+
|
204 |
+
this.add = function(root, instance_props)
|
205 |
+
{
|
206 |
+
root = webkit_tools.$(root);
|
207 |
+
var default_props = {accept : [], hoverClass : null, onDrop : webkit_tools.empty, onOver : webkit_tools.empty, onOut : webkit_tools.empty};
|
208 |
+
default_props = webkit_tools.extend(default_props, instance_props || {});
|
209 |
+
this.droppables.push({r : root, p : default_props});
|
210 |
+
}
|
211 |
+
|
212 |
+
this.remove = function(root)
|
213 |
+
{
|
214 |
+
root = webkit_tools.$(root);
|
215 |
+
var d = this.droppables;
|
216 |
+
var i = d.length;
|
217 |
+
while(i--)
|
218 |
+
{
|
219 |
+
if(d[i].r == root)
|
220 |
+
{
|
221 |
+
d[i] = null;
|
222 |
+
this.droppables = webkit_tools.compact(d);
|
223 |
+
return true;
|
224 |
+
}
|
225 |
+
}
|
226 |
+
return false;
|
227 |
+
}
|
228 |
+
|
229 |
+
//calculate position and size of all droppables
|
230 |
+
|
231 |
+
this.prepare = function()
|
232 |
+
{
|
233 |
+
var d = this.droppables;
|
234 |
+
var i = d.length;
|
235 |
+
var dR = [];
|
236 |
+
var r = null;
|
237 |
+
|
238 |
+
while(i--)
|
239 |
+
{
|
240 |
+
r = d[i].r;
|
241 |
+
if(r.style.display != 'none')
|
242 |
+
{
|
243 |
+
dR.push({i : i, size : webkit_tools.getDimensions(r), offset : webkit_tools.cumulativeOffset(r)})
|
244 |
+
}
|
245 |
+
}
|
246 |
+
|
247 |
+
this.droppableRegions = dR;
|
248 |
+
}
|
249 |
+
|
250 |
+
this.finalize = function(x,y,r,e)
|
251 |
+
{
|
252 |
+
var indices = this.isOver(x,y);
|
253 |
+
var index = this.maxZIndex(indices);
|
254 |
+
var over = this.process(index,r);
|
255 |
+
if(over)
|
256 |
+
{
|
257 |
+
this.drop(index, r,e);
|
258 |
+
}
|
259 |
+
this.process(-1,r);
|
260 |
+
return over;
|
261 |
+
}
|
262 |
+
|
263 |
+
this.check = function(x,y,r,e)
|
264 |
+
{
|
265 |
+
var indices = this.isOver(x,y);
|
266 |
+
var index = this.maxZIndex(indices);
|
267 |
+
return this.process(index,r, e);
|
268 |
+
}
|
269 |
+
|
270 |
+
this.isOver = function(x, y)
|
271 |
+
{
|
272 |
+
var dR = this.droppableRegions;
|
273 |
+
var i = dR.length;
|
274 |
+
var active = [];
|
275 |
+
var r = 0;
|
276 |
+
var maxX = 0;
|
277 |
+
var minX = 0;
|
278 |
+
var maxY = 0;
|
279 |
+
var minY = 0;
|
280 |
+
|
281 |
+
while(i--)
|
282 |
+
{
|
283 |
+
r = dR[i];
|
284 |
+
|
285 |
+
minY = r.offset.top;
|
286 |
+
maxY = minY + r.size.height;
|
287 |
+
|
288 |
+
if((y > minY) && (y < maxY))
|
289 |
+
{
|
290 |
+
minX = r.offset.left;
|
291 |
+
maxX = minX + r.size.width;
|
292 |
+
|
293 |
+
if((x > minX) && (x < maxX))
|
294 |
+
{
|
295 |
+
active.push(r.i);
|
296 |
+
}
|
297 |
+
}
|
298 |
+
}
|
299 |
+
|
300 |
+
return active;
|
301 |
+
}
|
302 |
+
|
303 |
+
this.maxZIndex = function(indices)
|
304 |
+
{
|
305 |
+
var d = this.droppables;
|
306 |
+
var l = indices.length;
|
307 |
+
var index = -1;
|
308 |
+
|
309 |
+
var maxZ = -100000000;
|
310 |
+
var curZ = 0;
|
311 |
+
|
312 |
+
while(l--)
|
313 |
+
{
|
314 |
+
curZ = parseInt(d[indices[l]].r.style.zIndex || 0);
|
315 |
+
if(curZ > maxZ)
|
316 |
+
{
|
317 |
+
maxZ = curZ;
|
318 |
+
index = indices[l];
|
319 |
+
}
|
320 |
+
}
|
321 |
+
|
322 |
+
return index;
|
323 |
+
}
|
324 |
+
|
325 |
+
this.process = function(index, draggableRoot, e)
|
326 |
+
{
|
327 |
+
//only perform update if a change has occured
|
328 |
+
if(this.lastIndex != index)
|
329 |
+
{
|
330 |
+
//remove previous
|
331 |
+
if(this.lastIndex != null)
|
332 |
+
{
|
333 |
+
var d = this.droppables[this.lastIndex]
|
334 |
+
var p = d.p;
|
335 |
+
var r = d.r;
|
336 |
+
|
337 |
+
if(p.hoverClass)
|
338 |
+
{
|
339 |
+
webkit_tools.removeClassName(r,p.hoverClass);
|
340 |
+
}
|
341 |
+
p.onOut(draggableRoot, e);
|
342 |
+
this.lastIndex = null;
|
343 |
+
this.lastOutput = false;
|
344 |
+
}
|
345 |
+
|
346 |
+
//add new
|
347 |
+
if(index != -1)
|
348 |
+
{
|
349 |
+
var d = this.droppables[index]
|
350 |
+
var p = d.p;
|
351 |
+
var r = d.r;
|
352 |
+
|
353 |
+
if(this.hasClassNames(draggableRoot, p.accept))
|
354 |
+
{
|
355 |
+
if(p.hoverClass)
|
356 |
+
{
|
357 |
+
webkit_tools.addClassName(r,p.hoverClass);
|
358 |
+
}
|
359 |
+
p.onOver(draggableRoot, e);
|
360 |
+
this.lastIndex = index;
|
361 |
+
this.lastOutput = true;
|
362 |
+
}
|
363 |
+
}
|
364 |
+
}
|
365 |
+
return this.lastOutput;
|
366 |
+
}
|
367 |
+
|
368 |
+
this.drop = function(index, r, e)
|
369 |
+
{
|
370 |
+
if(index != -1)
|
371 |
+
{
|
372 |
+
this.droppables[index].p.onDrop(r,e);
|
373 |
+
}
|
374 |
+
}
|
375 |
+
|
376 |
+
this.hasClassNames = function(r, names)
|
377 |
+
{
|
378 |
+
var l = names.length;
|
379 |
+
if(l == 0){return true}
|
380 |
+
while(l--)
|
381 |
+
{
|
382 |
+
if(webkit_tools.hasClassName(r,names[l]))
|
383 |
+
{
|
384 |
+
return true;
|
385 |
+
}
|
386 |
+
}
|
387 |
+
return false;
|
388 |
+
}
|
389 |
+
|
390 |
+
this.initialize();
|
391 |
+
}
|
392 |
+
|
393 |
+
webkit_drop = new webkit_droppables();
|
394 |
+
|
395 |
+
//Description
|
396 |
+
//webkit draggable - allows users to drag elements with their hands
|
397 |
+
|
398 |
+
var webkit_draggable = function(r, ip)
|
399 |
+
{
|
400 |
+
this.ready = false;
|
401 |
+
this.timeout = undefined;
|
402 |
+
this.initialize = function(root, instance_props)
|
403 |
+
{
|
404 |
+
this.root = webkit_tools.$(root);
|
405 |
+
var default_props = {scroll : false, revert : false, handle : this.root, zIndex : 1000, onStart : webkit_tools.empty, onEnd : webkit_tools.empty};
|
406 |
+
|
407 |
+
this.p = webkit_tools.extend(default_props, instance_props || {});
|
408 |
+
default_props.handle = webkit_tools.$(default_props.handle);
|
409 |
+
this.prepare();
|
410 |
+
this.bindEvents();
|
411 |
+
}
|
412 |
+
|
413 |
+
this.prepare = function()
|
414 |
+
{
|
415 |
+
var rs = this.root.style;
|
416 |
+
|
417 |
+
//set position
|
418 |
+
if(webkit_tools.getCalculatedStyle(this.root,'position') != 'absolute')
|
419 |
+
{
|
420 |
+
rs.position = 'relative';
|
421 |
+
}
|
422 |
+
|
423 |
+
//set top, right, bottom, left
|
424 |
+
rs.top = rs.top || '0px';
|
425 |
+
rs.left = rs.left || '0px';
|
426 |
+
rs.right = "";
|
427 |
+
rs.bottom = "";
|
428 |
+
|
429 |
+
//set zindex;
|
430 |
+
rs.zIndex = rs.zIndex || '0';
|
431 |
+
}
|
432 |
+
|
433 |
+
this.bindEvents = function()
|
434 |
+
{
|
435 |
+
var handle = this.p.handle;
|
436 |
+
|
437 |
+
this.ts = webkit_tools.bindAsEventListener(this.touchStart, this);
|
438 |
+
this.tm = webkit_tools.bindAsEventListener(this.touchMove, this);
|
439 |
+
this.te = webkit_tools.bindAsEventListener(this.touchEnd, this);
|
440 |
+
|
441 |
+
handle.addEventListener("touchstart", this.ts, false);
|
442 |
+
handle.addEventListener("touchmove", this.tm, false);
|
443 |
+
handle.addEventListener("touchend", this.te, false);
|
444 |
+
}
|
445 |
+
|
446 |
+
this.destroy = function()
|
447 |
+
{
|
448 |
+
var handle = this.p.handle;
|
449 |
+
|
450 |
+
handle.removeEventListener("touchstart", this.ts);
|
451 |
+
handle.removeEventListener("touchmove", this.tm);
|
452 |
+
handle.removeEventListener("touchend", this.te);
|
453 |
+
}
|
454 |
+
|
455 |
+
this.set = function(key, value)
|
456 |
+
{
|
457 |
+
this.p[key] = value;
|
458 |
+
}
|
459 |
+
|
460 |
+
this.touchStart = function(event)
|
461 |
+
{
|
462 |
+
this.timeout = setTimeout(function () {
|
463 |
+
//prepare needed variables
|
464 |
+
var p = this.p;
|
465 |
+
var r = this.root;
|
466 |
+
var rs = r.style;
|
467 |
+
var t = event.targetTouches[0];
|
468 |
+
|
469 |
+
//get position of touch
|
470 |
+
touchX = t.pageX;
|
471 |
+
touchY = t.pageY;
|
472 |
+
|
473 |
+
//set base values for position of root
|
474 |
+
rs.top = this.root.style.top || '0px';
|
475 |
+
rs.left = this.root.style.left || '0px';
|
476 |
+
rs.bottom = null;
|
477 |
+
rs.right = null;
|
478 |
+
|
479 |
+
var rootP = webkit_tools.cumulativeOffset(r);
|
480 |
+
var cp = this.getPosition();
|
481 |
+
|
482 |
+
//save event properties
|
483 |
+
p.rx = cp.x;
|
484 |
+
p.ry = cp.y;
|
485 |
+
p.tx = touchX;
|
486 |
+
p.ty = touchY;
|
487 |
+
p.z = parseInt(this.root.style.zIndex);
|
488 |
+
|
489 |
+
//boost zIndex
|
490 |
+
rs.zIndex = p.zIndex;
|
491 |
+
webkit_drop.prepare();
|
492 |
+
p.onStart(r, event);
|
493 |
+
|
494 |
+
this.ready = true;
|
495 |
+
|
496 |
+
}.bind(this), 500);
|
497 |
+
}
|
498 |
+
|
499 |
+
this.touchMove = function(event)
|
500 |
+
{
|
501 |
+
if ( this.ready ) {
|
502 |
+
event.preventDefault();
|
503 |
+
event.stopPropagation();
|
504 |
+
|
505 |
+
//prepare needed variables
|
506 |
+
var p = this.p;
|
507 |
+
var r = this.root;
|
508 |
+
var rs = r.style;
|
509 |
+
var t = event.targetTouches[0];
|
510 |
+
if(t == null){return}
|
511 |
+
|
512 |
+
var curX = t.pageX;
|
513 |
+
var curY = t.pageY;
|
514 |
+
|
515 |
+
var delX = curX - p.tx;
|
516 |
+
var delY = curY - p.ty;
|
517 |
+
|
518 |
+
rs.webkitTransform = 'translate3d(' + (p.rx + delX) + 'px,' + (p.ry + delY) + 'px, 1px)';
|
519 |
+
|
520 |
+
//scroll window
|
521 |
+
if(p.scroll)
|
522 |
+
{
|
523 |
+
s = this.getScroll(curX, curY);
|
524 |
+
if((s[0] != 0) || (s[1] != 0))
|
525 |
+
{
|
526 |
+
window.scrollTo(window.scrollX + s[0], window.scrollY + s[1]);
|
527 |
+
}
|
528 |
+
}
|
529 |
+
|
530 |
+
//check droppables
|
531 |
+
webkit_drop.check(curX, curY, r, event);
|
532 |
+
|
533 |
+
//save position for touchEnd
|
534 |
+
this.lastCurX = curX;
|
535 |
+
this.lastCurY = curY;
|
536 |
+
}
|
537 |
+
}
|
538 |
+
|
539 |
+
this.touchEnd = function(event)
|
540 |
+
{
|
541 |
+
clearTimeout(this.timeout);
|
542 |
+
if ( this.ready ) {
|
543 |
+
event.preventSwipe = true;
|
544 |
+
var r = this.root;
|
545 |
+
var p = this.p;
|
546 |
+
var dropped = webkit_drop.finalize(this.lastCurX, this.lastCurY, r, event);
|
547 |
+
|
548 |
+
if(((p.revert) && (!dropped)) || (p.revert === 'always'))
|
549 |
+
{
|
550 |
+
//revert root
|
551 |
+
var rs = r.style;
|
552 |
+
rs.webkitTransform = 'translate3d(' + p.rx + 'px,' + p.ry + 'px, 1px)';
|
553 |
+
//rs.top = (p.ry + 'px');
|
554 |
+
//rs.left = (p.rx + 'px');
|
555 |
+
}
|
556 |
+
|
557 |
+
r.style.zIndex = this.p.z;
|
558 |
+
this.p.onEnd(r, event);
|
559 |
+
this.ready = false;
|
560 |
+
}
|
561 |
+
}
|
562 |
+
|
563 |
+
this.getPosition = function()
|
564 |
+
{
|
565 |
+
var rs = this.root.style;
|
566 |
+
return {x : parseInt(rs.left || 0), y : parseInt(rs.top || 0)}
|
567 |
+
}
|
568 |
+
|
569 |
+
this.getScroll = function(pX, pY)
|
570 |
+
{
|
571 |
+
//read window variables
|
572 |
+
var sX = window.scrollX;
|
573 |
+
var sY = window.scrollY;
|
574 |
+
|
575 |
+
var wX = window.innerWidth;
|
576 |
+
var wY = window.innerHeight;
|
577 |
+
|
578 |
+
//set contants
|
579 |
+
var scroll_amount = 10; //how many pixels to scroll
|
580 |
+
var scroll_sensitivity = 100; //how many pixels from border to start scrolling from.
|
581 |
+
|
582 |
+
var delX = 0;
|
583 |
+
var delY = 0;
|
584 |
+
|
585 |
+
//process vertical y scroll
|
586 |
+
if(pY - sY < scroll_sensitivity)
|
587 |
+
{
|
588 |
+
delY = -scroll_amount;
|
589 |
+
}
|
590 |
+
else
|
591 |
+
if((sY + wY) - pY < scroll_sensitivity)
|
592 |
+
{
|
593 |
+
delY = scroll_amount;
|
594 |
+
}
|
595 |
+
|
596 |
+
//process horizontal x scroll
|
597 |
+
if(pX - sX < scroll_sensitivity)
|
598 |
+
{
|
599 |
+
delX = -scroll_amount;
|
600 |
+
}
|
601 |
+
else
|
602 |
+
if((sX + wX) - pX < scroll_sensitivity)
|
603 |
+
{
|
604 |
+
delX = scroll_amount;
|
605 |
+
}
|
606 |
+
|
607 |
+
return [delX, delY]
|
608 |
+
}
|
609 |
+
|
610 |
+
//contructor
|
611 |
+
this.initialize(r, ip);
|
612 |
+
}
|
613 |
+
|
614 |
+
//Description
|
615 |
+
//webkit_click class. manages click events for draggables
|
616 |
+
|
617 |
+
var webkit_click = function(r, ip)
|
618 |
+
{
|
619 |
+
this.initialize = function(root, instance_props)
|
620 |
+
{
|
621 |
+
var default_props = {onClick : webkit_tools.empty};
|
622 |
+
|
623 |
+
this.root = webkit_tools.$(root);
|
624 |
+
this.p = webkit_tools.extend(default_props, instance_props || {});
|
625 |
+
this.bindEvents();
|
626 |
+
}
|
627 |
+
|
628 |
+
this.bindEvents = function()
|
629 |
+
{
|
630 |
+
var root = this.root;
|
631 |
+
|
632 |
+
//bind events to local scope
|
633 |
+
this.ts = webkit_tools.bindAsEventListener(this.touchStart,this);
|
634 |
+
this.tm = webkit_tools.bindAsEventListener(this.touchMove,this);
|
635 |
+
this.te = webkit_tools.bindAsEventListener(this.touchEnd,this);
|
636 |
+
|
637 |
+
//add Listeners
|
638 |
+
root.addEventListener("touchstart", this.ts, false);
|
639 |
+
root.addEventListener("touchmove", this.tm, false);
|
640 |
+
root.addEventListener("touchend", this.te, false);
|
641 |
+
|
642 |
+
this.bound = true;
|
643 |
+
}
|
644 |
+
|
645 |
+
this.touchStart = function()
|
646 |
+
{
|
647 |
+
this.moved = false;
|
648 |
+
if(this.bound == false)
|
649 |
+
{
|
650 |
+
this.root.addEventListener("touchmove", this.tm, false);
|
651 |
+
this.bound = true;
|
652 |
+
}
|
653 |
+
}
|
654 |
+
|
655 |
+
this.touchMove = function()
|
656 |
+
{
|
657 |
+
this.moved = true;
|
658 |
+
this.root.removeEventListener("touchmove", this.tm);
|
659 |
+
this.bound = false;
|
660 |
+
}
|
661 |
+
|
662 |
+
this.touchEnd = function()
|
663 |
+
{e.preventSwipe = true;
|
664 |
+
if(this.moved == false)
|
665 |
+
{
|
666 |
+
this.p.onClick();
|
667 |
+
}
|
668 |
+
}
|
669 |
+
|
670 |
+
this.setEvent = function(f)
|
671 |
+
{
|
672 |
+
if(typeof(f) == 'function')
|
673 |
+
{
|
674 |
+
this.p.onClick = f;
|
675 |
+
}
|
676 |
+
}
|
677 |
+
|
678 |
+
this.unbind = function()
|
679 |
+
{
|
680 |
+
var root = this.root;
|
681 |
+
root.removeEventListener("touchstart", this.ts);
|
682 |
+
root.removeEventListener("touchmove", this.tm);
|
683 |
+
root.removeEventListener("touchend", this.te);
|
684 |
+
}
|
685 |
+
|
686 |
+
//call constructor
|
687 |
+
this.initialize(r, ip);
|
688 |
+
}
|
skin/frontend/default/iphone/js/iphone.js
ADDED
@@ -0,0 +1,1133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_iphone
|
22 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
|
26 |
+
// Homepage categories and subcategories slider
|
27 |
+
document.observe("dom:loaded", function() {
|
28 |
+
|
29 |
+
transEndEventNames = {
|
30 |
+
'WebkitTransition' : 'webkitTransitionEnd',
|
31 |
+
'MozTransition' : 'transitionend',
|
32 |
+
'OTransition' : 'oTransitionEnd',
|
33 |
+
'msTransition' : 'MSTransitionEnd',
|
34 |
+
'transition' : 'transitionend'
|
35 |
+
},
|
36 |
+
transEndEventName = transEndEventNames[ Modernizr.prefixed('transition') ];
|
37 |
+
|
38 |
+
function handler(position) {
|
39 |
+
var lat = position.coords.latitude,
|
40 |
+
lng = position.coords.longitude;
|
41 |
+
|
42 |
+
//alert(latitude + ' ' + longitude);
|
43 |
+
|
44 |
+
var geocoder = new google.maps.Geocoder();
|
45 |
+
|
46 |
+
function codeLatLng() {
|
47 |
+
var latlng = new google.maps.LatLng(lat, lng);
|
48 |
+
geocoder.geocode({'latLng': latlng}, function(results, status) {
|
49 |
+
if (status == google.maps.GeocoderStatus.OK) {
|
50 |
+
if (results[0]) {
|
51 |
+
alert(results[0].formatted_address);
|
52 |
+
}
|
53 |
+
} else {
|
54 |
+
alert("Geocoder failed due to: " + status);
|
55 |
+
}
|
56 |
+
});
|
57 |
+
}
|
58 |
+
|
59 |
+
//codeLatLng();
|
60 |
+
|
61 |
+
}
|
62 |
+
|
63 |
+
var loadMore = Class.create({
|
64 |
+
initialize: function (list, href, pattern) {
|
65 |
+
var that = this;
|
66 |
+
|
67 |
+
this.list = list;
|
68 |
+
this.list.insert({ after : '<div class="more"><span id="more_button" class="more-button">More</span></div>'});
|
69 |
+
this.href = href.readAttribute('href');
|
70 |
+
this.button = $('more_button');
|
71 |
+
this.holder = new Element('div', { 'class': 'response-holder' });
|
72 |
+
|
73 |
+
this.button.observe('click', function () {
|
74 |
+
if ( !that.button.hasClassName('loading') ) {
|
75 |
+
new Ajax.Request(that.href, {
|
76 |
+
onCreate: function () {
|
77 |
+
that.button.addClassName('loading');
|
78 |
+
},
|
79 |
+
onComplete: function(response) {
|
80 |
+
if (200 == response.status) {
|
81 |
+
that.holder.update(response.responseText).select(pattern).each(function(elem) {
|
82 |
+
that.list.insert({ bottom : elem });
|
83 |
+
});
|
84 |
+
that.href = that.holder.select('.next-page')[0].readAttribute('href');
|
85 |
+
that.button.removeClassName('loading');
|
86 |
+
if ( !that.href ) {
|
87 |
+
that.button.up().remove();
|
88 |
+
}
|
89 |
+
}
|
90 |
+
|
91 |
+
}
|
92 |
+
});
|
93 |
+
}
|
94 |
+
});
|
95 |
+
}
|
96 |
+
});
|
97 |
+
|
98 |
+
if ( $$('.c-list')[0] && $$('.next-page')[0] ) {
|
99 |
+
var loadMoreCategory = new loadMore(
|
100 |
+
$$('.c-list')[0],
|
101 |
+
$$('.next-page')[0],
|
102 |
+
'.c-list > li'
|
103 |
+
)
|
104 |
+
}
|
105 |
+
|
106 |
+
if ( $$('.downloadable-products-history .list')[0] && $$('.next-page')[0] ) {
|
107 |
+
var loadMoreCategory = new loadMore(
|
108 |
+
$$('.downloadable-products-history .list')[0],
|
109 |
+
$$('.next-page')[0],
|
110 |
+
'.downloadable-products-history .list > li'
|
111 |
+
)
|
112 |
+
}
|
113 |
+
|
114 |
+
if ( $$('.review-history .list')[0] && $$('.next-page')[0] ) {
|
115 |
+
var loadMoreCategory = new loadMore(
|
116 |
+
$$('.review-history .list')[0],
|
117 |
+
$$('.next-page')[0],
|
118 |
+
'.review-history .list > li'
|
119 |
+
)
|
120 |
+
}
|
121 |
+
|
122 |
+
if ( $$('.recent-orders .data-table')[0] && $$('.next-page')[0] ) {
|
123 |
+
var loadMoreCategory = new loadMore(
|
124 |
+
$$('.recent-orders .data-table')[0],
|
125 |
+
$$('.next-page')[0],
|
126 |
+
'.recent-orders .data-table tbody > tr'
|
127 |
+
)
|
128 |
+
}
|
129 |
+
|
130 |
+
//-----------------------------//
|
131 |
+
|
132 |
+
$$('label[for]').each(function(label) {
|
133 |
+
label.observe('click', function() {});
|
134 |
+
});
|
135 |
+
|
136 |
+
$$('input.validate-email').each(function (input) {
|
137 |
+
input.writeAttribute('type', 'email');
|
138 |
+
});
|
139 |
+
|
140 |
+
$$('.form-list img[src*="calendar.gif"]').each(function (img) {
|
141 |
+
img.up().insert({ 'top' : img });
|
142 |
+
});
|
143 |
+
|
144 |
+
if ( navigator.geolocation ) {
|
145 |
+
//navigator.geolocation.getCurrentPosition(handler);
|
146 |
+
}
|
147 |
+
|
148 |
+
if ( $('my-reviews-table') ) {
|
149 |
+
$('my-reviews-table').wrap('div', { 'class' : 'my-reviews-table-wrap' });
|
150 |
+
}
|
151 |
+
|
152 |
+
$$('.my-account .dashboard .box-title').each(function (elem) {
|
153 |
+
elem.observe('click', function (e) {
|
154 |
+
if ( e.target.hasClassName('box-title') ) {
|
155 |
+
this.toggleClassName('collapsed').next().toggle();
|
156 |
+
}
|
157 |
+
}).next().hide();
|
158 |
+
});
|
159 |
+
|
160 |
+
var transformPref = Modernizr.prefixed('transform');
|
161 |
+
|
162 |
+
function supportsTouchCallout () {
|
163 |
+
var div = document.createElement('div'),
|
164 |
+
supports = div.style['webkitTouchCallout'] !== undefined || div.style['touchCallout'] !== undefined;
|
165 |
+
|
166 |
+
return supports
|
167 |
+
}
|
168 |
+
|
169 |
+
$$('input[name=qty], input[name*=super_group], input[name*=qty]').each(function (el) {
|
170 |
+
var defaultValue = el.value;
|
171 |
+
el.observe('focus', function () {
|
172 |
+
if (this.value == defaultValue) this.value = '';
|
173 |
+
});
|
174 |
+
el.observe('blur', function () {
|
175 |
+
if (this.value == "") this.value = defaultValue;
|
176 |
+
});
|
177 |
+
});
|
178 |
+
|
179 |
+
if ( $('product-review-table') ) {
|
180 |
+
$('product-review-table').wrap('div', {'class' : 'review-table-wrap'}).on('click', 'input[type="radio"]', function (e) {
|
181 |
+
|
182 |
+
$this = e.target;
|
183 |
+
|
184 |
+
$this.up('tr').select('td').invoke('removeClassName', 'checked');
|
185 |
+
|
186 |
+
$this.up().previousSiblings().each(function (td) {
|
187 |
+
if ( td.hasClassName('value') ) {
|
188 |
+
td.addClassName('checked');
|
189 |
+
}
|
190 |
+
});
|
191 |
+
|
192 |
+
});
|
193 |
+
}
|
194 |
+
|
195 |
+
function is_touch_device() {
|
196 |
+
try {
|
197 |
+
document.createEvent("TouchEvent");
|
198 |
+
return true;
|
199 |
+
} catch (e) {
|
200 |
+
return false;
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
+
var touch = is_touch_device();
|
205 |
+
|
206 |
+
$$('select[multiple]').each(function (select) {
|
207 |
+
var select_options = new Element('ol', {'class': 'select-multiple-options'}).wrap('div', { 'class' : 'select-multiple-options-wrap' }),
|
208 |
+
selected;
|
209 |
+
|
210 |
+
select.wrap('div', { 'class': 'select-multiple-wrap' });
|
211 |
+
select.select('option').each(function(option) {
|
212 |
+
select_options.down().insert({ bottom : new Element('li', { 'class' : 'select-option', 'data-option-value' : option.value }).update(option.text) });
|
213 |
+
});
|
214 |
+
|
215 |
+
select_options.insert({ top : new Element('div', { 'class' : 'select-heading' }).update('Choose options...').insert({ top : new Element('span', { 'class' : 'select-close' }).update('×') }) });
|
216 |
+
|
217 |
+
var closeSelect = function() {
|
218 |
+
select_options.setStyle({ 'visibility' : 'hidden' });
|
219 |
+
selected = [];
|
220 |
+
select.select('option').each(function (option) {
|
221 |
+
if (option.selected) {
|
222 |
+
selected.push(option.text)
|
223 |
+
}
|
224 |
+
});
|
225 |
+
|
226 |
+
if (selected.size() > 0) {
|
227 |
+
select.previous().update('<span class="selected-counter"></span>' + selected.join(', ')).addClassName('filled');
|
228 |
+
select.previous().select('span')[0].update(selected.size());
|
229 |
+
} else {
|
230 |
+
select.previous().update('Choose options...').removeClassName('filled');
|
231 |
+
}
|
232 |
+
document.stopObserving('click', closeSelect);
|
233 |
+
}
|
234 |
+
|
235 |
+
select_options.select('.select-close')[0].observe('click', closeSelect );
|
236 |
+
|
237 |
+
select_options.on('click', '.select-option', function(e, elem) {
|
238 |
+
var option = select.select('option[value=' + elem.readAttribute('data-option-value') + ']')[0];
|
239 |
+
elem.toggleClassName('active');
|
240 |
+
if (option.selected) {
|
241 |
+
option.selected = false
|
242 |
+
} else {
|
243 |
+
option.selected = true;
|
244 |
+
}
|
245 |
+
if (typeof bundle !== 'undefined') bundle.changeSelection(select);
|
246 |
+
});
|
247 |
+
|
248 |
+
select.insert({ before : select_options });
|
249 |
+
select.insert({
|
250 |
+
before: new Element('div', {'class': 'select-multiple'}).update("Choose options...").observe('click', function(e) {
|
251 |
+
select.previous('.select-multiple-options-wrap').setStyle({ 'visibility' : 'visible' }).observe('click', function(e) {
|
252 |
+
e.stopPropagation();
|
253 |
+
});
|
254 |
+
setTimeout(function() {
|
255 |
+
document.observe('click', closeSelect)
|
256 |
+
}, 1);
|
257 |
+
})
|
258 |
+
});
|
259 |
+
select.setStyle({ 'visibility' : 'hidden', 'position' : 'absolute' });
|
260 |
+
});
|
261 |
+
|
262 |
+
var supportsOrientationChange = "onorientationchange" in window,
|
263 |
+
orientationEvent = supportsOrientationChange ? "orientationchange" : "resize";
|
264 |
+
|
265 |
+
Event.observe(window, orientationEvent, function() {
|
266 |
+
var orientation, page, transformValue = {};
|
267 |
+
|
268 |
+
switch(window.orientation){
|
269 |
+
case 0:
|
270 |
+
orientation = "portrait";
|
271 |
+
break;
|
272 |
+
|
273 |
+
case -90:
|
274 |
+
orientation = "landscape";
|
275 |
+
break;
|
276 |
+
|
277 |
+
case 90:
|
278 |
+
orientation = "landscape";
|
279 |
+
break;
|
280 |
+
}
|
281 |
+
|
282 |
+
if ( $('nav-container') ) {
|
283 |
+
|
284 |
+
setTimeout(function () {
|
285 |
+
$$("#nav-container ul").each(function(ul) {
|
286 |
+
ul.setStyle({'width' : document.body.offsetWidth + "px"});
|
287 |
+
});
|
288 |
+
|
289 |
+
page = Math.floor(Math.abs(sliderPosition/viewportWidth));
|
290 |
+
sliderPosition = (sliderPosition + viewportWidth*page) - document.body.offsetWidth*page;
|
291 |
+
viewportWidth = document.body.offsetWidth;
|
292 |
+
|
293 |
+
if ( Modernizr.csstransforms3d ) {
|
294 |
+
transformValue[transformPref] = "translate3d(" + sliderPosition + "px, 0, 0)";
|
295 |
+
} else if ( Modernizr.csstransforms ) {
|
296 |
+
transformValue[transformPref] = "translate(" + sliderPosition + "px, 0)";
|
297 |
+
}
|
298 |
+
$("nav-container").setStyle(transformValue);
|
299 |
+
|
300 |
+
if ( upSellCarousel ) {
|
301 |
+
if (orientation === 'landscape') {
|
302 |
+
upSellCarousel.resize(3);
|
303 |
+
} else {
|
304 |
+
upSellCarousel.resize(2);
|
305 |
+
}
|
306 |
+
}
|
307 |
+
}, 400);
|
308 |
+
|
309 |
+
}
|
310 |
+
|
311 |
+
});
|
312 |
+
|
313 |
+
//alert(Modernizr.prefixed('transform'));
|
314 |
+
|
315 |
+
// Home Page Slider
|
316 |
+
|
317 |
+
//alert(transformPref);
|
318 |
+
var sliderPosition = 0,
|
319 |
+
viewportWidth = document.body.offsetWidth,
|
320 |
+
last,
|
321 |
+
diff;
|
322 |
+
|
323 |
+
$$("#nav-container ul").each(function(ul) { ul.style.width = document.body.offsetWidth + "px"; });
|
324 |
+
|
325 |
+
$$("#nav a").each(function(sliderLink) {
|
326 |
+
if (sliderLink.next(0) !== undefined) {
|
327 |
+
sliderLink.clonedSubmenuList = sliderLink.next(0);
|
328 |
+
|
329 |
+
sliderLink.observe('click', function(e) {
|
330 |
+
|
331 |
+
e.preventDefault();
|
332 |
+
var transformValue = {}
|
333 |
+
|
334 |
+
//homeLink.hasClassName('disabled') ? homeLink.removeClassName('disabled') : '';
|
335 |
+
|
336 |
+
if (last) {
|
337 |
+
diff = e.timeStamp - last
|
338 |
+
}
|
339 |
+
last = e.timeStamp;
|
340 |
+
if (diff && diff < 200) {
|
341 |
+
return
|
342 |
+
}
|
343 |
+
if (!this.clonedSubmenuList.firstDescendant().hasClassName('subcategory-header')) {
|
344 |
+
var subcategoryHeader = new Element('li', {'class': 'subcategory-header'});
|
345 |
+
subcategoryHeader.insert({
|
346 |
+
top: new Element('button', {'class': 'previous-category'}).update("Back").wrap('div', {'class':'button-wrap'}),
|
347 |
+
bottom: this.innerHTML
|
348 |
+
});
|
349 |
+
this.clonedSubmenuList.insert({
|
350 |
+
top: subcategoryHeader
|
351 |
+
});
|
352 |
+
subcategoryHeader.insert({ after : new Element('li').update('<a href="' + sliderLink.href + '"><span>All Products</span></a>') });
|
353 |
+
|
354 |
+
this.clonedSubmenuList.firstDescendant().firstDescendant().observe('click', function(e) {
|
355 |
+
if (last) {
|
356 |
+
diff = e.timeStamp - last
|
357 |
+
}
|
358 |
+
last = e.timeStamp;
|
359 |
+
if (diff && diff < 200) {
|
360 |
+
return
|
361 |
+
}
|
362 |
+
if ( Modernizr.csstransforms3d ) {
|
363 |
+
transformValue[transformPref] = "translate3d(" + (document.body.offsetWidth + sliderPosition) + "px, 0, 0)";
|
364 |
+
} else if ( Modernizr.csstransforms ) {
|
365 |
+
transformValue[transformPref] = "translate(" + (document.body.offsetWidth + sliderPosition) + "px, 0)";
|
366 |
+
}
|
367 |
+
$("nav-container").setStyle(transformValue);
|
368 |
+
sliderPosition = sliderPosition + document.body.offsetWidth;
|
369 |
+
setTimeout(function() { $$("#nav-container > ul:last-child")[0].remove(); $("nav-container").setStyle({'height' : 'auto'}) }, 250)
|
370 |
+
});
|
371 |
+
new NoClickDelay(this.clonedSubmenuList);
|
372 |
+
};
|
373 |
+
|
374 |
+
$("nav-container").insert(this.clonedSubmenuList.setStyle({'width' : document.body.offsetWidth + 'px'}));
|
375 |
+
$('nav-container').setStyle({'height' : this.clonedSubmenuList.getHeight() + 'px'});
|
376 |
+
|
377 |
+
if ( Modernizr.csstransforms3d ) {
|
378 |
+
|
379 |
+
transformValue[transformPref] = "translate3d(" + (sliderPosition - document.body.offsetWidth) + "px, 0, 0)";
|
380 |
+
|
381 |
+
} else if ( Modernizr.csstransforms ) {
|
382 |
+
|
383 |
+
transformValue[transformPref] = "translate(" + (sliderPosition - document.body.offsetWidth) + "px, 0)";
|
384 |
+
|
385 |
+
}
|
386 |
+
|
387 |
+
$("nav-container").setStyle(transformValue);
|
388 |
+
|
389 |
+
sliderPosition = sliderPosition - document.body.offsetWidth;
|
390 |
+
});
|
391 |
+
};
|
392 |
+
});
|
393 |
+
|
394 |
+
function getSupportedProp(proparray){
|
395 |
+
var root = document.documentElement;
|
396 |
+
for ( var i = 0; i < proparray.length; i++ ) {
|
397 |
+
if ( typeof root.style[proparray[i]] === "string") {
|
398 |
+
return proparray[i];
|
399 |
+
}
|
400 |
+
}
|
401 |
+
}
|
402 |
+
|
403 |
+
function NoClickDelay(el) {
|
404 |
+
if ( getSupportedProp(['OTransform']) ) {
|
405 |
+
return
|
406 |
+
}
|
407 |
+
this.element = typeof el == 'object' ? el : document.getElementById(el);
|
408 |
+
if( window.Touch ) this.element.addEventListener('touchstart', this, false);
|
409 |
+
}
|
410 |
+
|
411 |
+
NoClickDelay.prototype = {
|
412 |
+
handleEvent: function(e) {
|
413 |
+
switch(e.type) {
|
414 |
+
case 'touchstart': this.onTouchStart(e); break;
|
415 |
+
case 'touchmove': this.onTouchMove(e); break;
|
416 |
+
case 'touchend': this.onTouchEnd(e); break;
|
417 |
+
}
|
418 |
+
},
|
419 |
+
|
420 |
+
onTouchStart: function(e) {
|
421 |
+
this.moved = false;
|
422 |
+
|
423 |
+
this.theTarget = document.elementFromPoint(e.targetTouches[0].clientX, e.targetTouches[0].clientY);
|
424 |
+
if(this.theTarget.nodeType == 3) this.theTarget = theTarget.parentNode;
|
425 |
+
this.theTarget.className+= ' pressed';
|
426 |
+
|
427 |
+
this.element.addEventListener('touchmove', this, false);
|
428 |
+
this.element.addEventListener('touchend', this, false);
|
429 |
+
},
|
430 |
+
|
431 |
+
onTouchMove: function() {
|
432 |
+
this.moved = true;
|
433 |
+
this.theTarget.className = this.theTarget.className.replace(/ ?pressed/gi, '');
|
434 |
+
},
|
435 |
+
|
436 |
+
onTouchEnd: function(e) {
|
437 |
+
e.preventDefault();
|
438 |
+
|
439 |
+
this.element.removeEventListener('touchmove', this, false);
|
440 |
+
this.element.removeEventListener('touchend', this, false);
|
441 |
+
|
442 |
+
if( !this.moved && this.theTarget ) {
|
443 |
+
this.theTarget.className = this.theTarget.className.replace(/ ?pressed/gi, '');
|
444 |
+
var theEvent = document.createEvent('MouseEvents');
|
445 |
+
theEvent.initEvent('click', true, true);
|
446 |
+
this.theTarget.dispatchEvent(theEvent);
|
447 |
+
}
|
448 |
+
|
449 |
+
this.theTarget = undefined;
|
450 |
+
}
|
451 |
+
};
|
452 |
+
|
453 |
+
if (document.getElementById('nav')) {
|
454 |
+
new NoClickDelay(document.getElementById('nav'));
|
455 |
+
}
|
456 |
+
|
457 |
+
//iPhone header menu
|
458 |
+
|
459 |
+
$$('dt.menu a')[0].observe('click', function(e) {
|
460 |
+
var parent = this.up(), transformValue = {};
|
461 |
+
if (parent.hasClassName('active')) {
|
462 |
+
parent.removeClassName('active');
|
463 |
+
|
464 |
+
if ( Modernizr.csstransforms3d ) {
|
465 |
+
transformValue[transformPref] = 'translate3d(0, -100%, -1px)';
|
466 |
+
} else if ( Modernizr.csstransforms ) {
|
467 |
+
transformValue[transformPref] = 'translate3d(0, -100%)';
|
468 |
+
transformValue['visibility'] = 'hidden';
|
469 |
+
}
|
470 |
+
|
471 |
+
$$('.menu-box')[0].setStyle(transformValue);
|
472 |
+
|
473 |
+
} else {
|
474 |
+
|
475 |
+
this.removeClassName('active');
|
476 |
+
|
477 |
+
if ( Modernizr.csstransforms3d ) {
|
478 |
+
transformValue[transformPref] = 'translate3d(0, -100%, -1px)';
|
479 |
+
} else if ( Modernizr.csstransforms ) {
|
480 |
+
transformValue[transformPref] = 'translate3d(0, -100%)';
|
481 |
+
transformValue['visibility'] = 'hidden';
|
482 |
+
}
|
483 |
+
|
484 |
+
$$('.menu-box')[0].setStyle(transformValue);
|
485 |
+
|
486 |
+
parent.addClassName('active');
|
487 |
+
|
488 |
+
if ( Modernizr.csstransforms3d ) {
|
489 |
+
transformValue[transformPref] = 'translate3d(0, 0%, -1px)';
|
490 |
+
transformValue['visibility'] = 'visible';
|
491 |
+
} else if ( Modernizr.csstransforms ) {
|
492 |
+
transformValue[transformPref] = 'translate3d(0, 0%)';
|
493 |
+
transformValue['visibility'] = 'visible';
|
494 |
+
}
|
495 |
+
parent.next().setStyle(transformValue);
|
496 |
+
};
|
497 |
+
e.preventDefault();
|
498 |
+
});
|
499 |
+
|
500 |
+
if ( $('menu') ) {
|
501 |
+
$('menu').select('dd').each(function (elem) {
|
502 |
+
elem.observe('webkitTransitionEnd', function (e) {
|
503 |
+
if ( !elem.previous().hasClassName('active') ) {
|
504 |
+
elem.setStyle({'visibility' : 'hidden'});
|
505 |
+
} else {
|
506 |
+
elem.setStyle({'top' : '1px'});
|
507 |
+
}
|
508 |
+
});
|
509 |
+
});
|
510 |
+
}
|
511 |
+
|
512 |
+
//iPhone header menu switchers
|
513 |
+
if( $$('#language-switcher li.selected a')[0] ) {
|
514 |
+
var curLang = $$('#language-switcher li.selected a')[0].innerHTML;
|
515 |
+
$('current-language').update(curLang);
|
516 |
+
|
517 |
+
$$('#language-switcher > a')[0].observe('click', function (e) {
|
518 |
+
if ( !this.next().visible() )
|
519 |
+
$$('.switcher-options').invoke('hide');
|
520 |
+
this.next().toggle().toggleClassName('visible');
|
521 |
+
e.preventDefault();
|
522 |
+
});
|
523 |
+
}
|
524 |
+
|
525 |
+
if( $$('#store-switcher li.selected a')[0] ) {
|
526 |
+
var curStore = $$('#store-switcher li.selected a')[0].innerHTML;
|
527 |
+
$('current-store').update(curStore);
|
528 |
+
|
529 |
+
$$('#store-switcher > a')[0].observe('click', function (e) {
|
530 |
+
if ( !ithis.next().visible() )
|
531 |
+
$$('.switcher-options').invoke('hide');
|
532 |
+
this.next().toggle().toggleClassName('visible');
|
533 |
+
e.preventDefault();
|
534 |
+
});
|
535 |
+
}
|
536 |
+
|
537 |
+
//Slider
|
538 |
+
|
539 |
+
var Carousel = Class.create({
|
540 |
+
initialize: function (carousel, itemsContainer, options) {
|
541 |
+
this.options = Object.extend({
|
542 |
+
visibleElements: 3,
|
543 |
+
threshold: {
|
544 |
+
x: 30,
|
545 |
+
y: 40
|
546 |
+
},
|
547 |
+
preventDefaultEvents: false
|
548 |
+
}, options || {});
|
549 |
+
|
550 |
+
this.carousel = carousel;
|
551 |
+
this.items = itemsContainer.addClassName('carousel-items');
|
552 |
+
this.itemsWrap = this.items.wrap('div', {'class' : 'carousel-items-wrap'});
|
553 |
+
this.itemsLength = this.items.childElements().size();
|
554 |
+
this.counter = this.carousel.insert(new Element('div', {'class' : 'counter'})).select('.counter')[0];
|
555 |
+
this.controls = carousel.select('.controls')[0] || this.carousel.insert({ top: new Element('div', { 'class' : 'controls'}) }).select('.controls')[0];
|
556 |
+
this.prevButton = carousel.select('.prev')[0] || this.controls.insert({ top: new Element('span', { 'class' : 'prev'}) }).select('.prev')[0].addClassName('disabled');
|
557 |
+
this.nextButton = carousel.select('.next')[0] || this.controls.insert({ top: new Element('span', { 'class' : 'next'}) }).select('.next')[0];
|
558 |
+
this.originalCoord = { x: 0, y: 0 };
|
559 |
+
this.finalCoord = { x: 0, y: 0 };
|
560 |
+
|
561 |
+
this.carousel.wrap('div', { 'class' : 'carousel-wrap' });
|
562 |
+
|
563 |
+
this.nextButton.observe('click', this.moveRight.bind(this));
|
564 |
+
this.prevButton.observe('click', this.moveLeft.bind(this));
|
565 |
+
this.itemsWrap.observe('touchstart', this.touchStart.bind(this));
|
566 |
+
this.itemsWrap.observe('touchmove', this.touchMove.bind(this));
|
567 |
+
this.itemsWrap.observe('touchend', this.touchEnd.bind(this));
|
568 |
+
},
|
569 |
+
init: function () {
|
570 |
+
this.itemPos = 0;
|
571 |
+
this.lastItemPos = (this.itemsLength-this.options.visibleElements) * 100/this.options.visibleElements;
|
572 |
+
this.itemWidth = 100/this.options.visibleElements + '%';
|
573 |
+
this.screens = Math.ceil(this.itemsLength/this.options.visibleElements);
|
574 |
+
|
575 |
+
this.resizeChilds();
|
576 |
+
this.drawCounter();
|
577 |
+
|
578 |
+
return this;
|
579 |
+
},
|
580 |
+
resize: function(visibleElements) {
|
581 |
+
var transformValue = {};
|
582 |
+
this.options.visibleElements = visibleElements;
|
583 |
+
this.counter.childElements().invoke('remove');
|
584 |
+
if ( Modernizr.csstransforms3d ) {
|
585 |
+
transformValue[transformPref] = 'translateX(' + 0 + '%)';
|
586 |
+
} else if ( Modernizr.csstransforms ) {
|
587 |
+
transformValue[transformPref] = 'translate(' + 0 + '%, 0)';
|
588 |
+
}
|
589 |
+
this.items.setStyle(transformValue);
|
590 |
+
this.prevButton.addClassName('disabled');
|
591 |
+
this.nextButton.removeClassName('disabled');
|
592 |
+
this.init();
|
593 |
+
},
|
594 |
+
resizeChilds: function () {
|
595 |
+
this.items.childElements().each( function(n) {
|
596 |
+
n.setStyle({
|
597 |
+
'width': this.itemWidth
|
598 |
+
});
|
599 |
+
}, this);
|
600 |
+
},
|
601 |
+
drawCounter: function () {
|
602 |
+
if (this.screens > 1) {
|
603 |
+
if (this.controls)
|
604 |
+
this.controls.show()
|
605 |
+
for (var i = 0; i < this.screens; i++) {
|
606 |
+
if (i === 0) {
|
607 |
+
this.counter.insert(new Element('span', {'class': 'active'}));
|
608 |
+
} else {
|
609 |
+
this.counter.insert(new Element('span'));
|
610 |
+
}
|
611 |
+
};
|
612 |
+
} else {
|
613 |
+
if (this.controls)
|
614 |
+
this.controls.hide();
|
615 |
+
}
|
616 |
+
},
|
617 |
+
moveRight: function (e) {
|
618 |
+
if(Math.abs(this.itemPos) < this.lastItemPos) {
|
619 |
+
var transformValue = {};
|
620 |
+
this.itemPos -= 100/this.options.visibleElements * this.options.visibleElements;
|
621 |
+
if ( Modernizr.csstransforms3d ) {
|
622 |
+
transformValue[transformPref] = 'translateX(' + this.itemPos + '%)';
|
623 |
+
transformValue['position'] = 'relative';
|
624 |
+
} else if ( Modernizr.csstransforms ) {
|
625 |
+
transformValue[transformPref] = 'translate(' + this.itemPos + '%, 0)';
|
626 |
+
transformValue['position'] = 'relative';
|
627 |
+
}
|
628 |
+
this.items.setStyle(transformValue);
|
629 |
+
if (Math.abs(this.itemPos) >= this.lastItemPos) {
|
630 |
+
this.nextButton.addClassName('disabled');
|
631 |
+
}
|
632 |
+
|
633 |
+
if (this.prevButton.hasClassName('disabled')) {
|
634 |
+
this.prevButton.removeClassName('disabled');
|
635 |
+
};
|
636 |
+
this.counter.select('.active')[0].removeClassName('active').next().addClassName('active');
|
637 |
+
}
|
638 |
+
},
|
639 |
+
moveLeft: function (e) {
|
640 |
+
if (this.itemPos !== 0) {
|
641 |
+
var transformValue = {};
|
642 |
+
this.itemPos += 100/this.options.visibleElements * this.options.visibleElements;
|
643 |
+
if ( Modernizr.csstransforms3d ) {
|
644 |
+
transformValue[transformPref] = 'translateX(' + this.itemPos + '%)';
|
645 |
+
transformValue['position'] = 'relative';
|
646 |
+
} else if ( Modernizr.csstransforms ) {
|
647 |
+
transformValue[transformPref] = 'translate(' + this.itemPos + '%, 0)';
|
648 |
+
transformValue['position'] = 'relative';
|
649 |
+
}
|
650 |
+
this.items.setStyle(transformValue);
|
651 |
+
|
652 |
+
if(this.itemPos === 0) {
|
653 |
+
this.prevButton.addClassName('disabled');
|
654 |
+
};
|
655 |
+
|
656 |
+
if (this.nextButton.hasClassName('disabled')) {
|
657 |
+
this.nextButton.removeClassName('disabled');
|
658 |
+
};
|
659 |
+
this.counter.select('.active')[0].removeClassName('active').previous().addClassName('active');
|
660 |
+
}
|
661 |
+
},
|
662 |
+
touchStart: function (e) {
|
663 |
+
this.originalCoord.x = event.targetTouches[0].pageX;
|
664 |
+
this.originalCoord.y = event.targetTouches[0].pageY;
|
665 |
+
},
|
666 |
+
touchMove: function (e) {
|
667 |
+
this.finalCoord.x = e.targetTouches[0].pageX;
|
668 |
+
this.finalCoord.y = e.targetTouches[0].pageY;
|
669 |
+
|
670 |
+
var changeX = 0;
|
671 |
+
changeX = this.originalCoord.x - this.finalCoord.x;
|
672 |
+
|
673 |
+
if(Math.abs(changeX) > this.options.threshold.x) {
|
674 |
+
e.preventDefault();
|
675 |
+
}
|
676 |
+
},
|
677 |
+
touchEnd: function (e) {
|
678 |
+
if ( e.preventSwipe ) {
|
679 |
+
return
|
680 |
+
}
|
681 |
+
var changeX;
|
682 |
+
changeX = this.originalCoord.x - this.finalCoord.x;
|
683 |
+
if(changeX > this.options.threshold.x) {
|
684 |
+
this.moveRight(e);
|
685 |
+
}
|
686 |
+
if(changeX < this.options.threshold.x * -1) {
|
687 |
+
this.moveLeft(e);
|
688 |
+
}
|
689 |
+
}
|
690 |
+
});
|
691 |
+
|
692 |
+
if ( $$('.box-up-sell')[0] ) {
|
693 |
+
var upSellCarousel = new Carousel($$('.box-up-sell')[0], $$('.products-grid')[0], {
|
694 |
+
visibleElements: 2,
|
695 |
+
preventDefaultEvents: true
|
696 |
+
}).init();
|
697 |
+
}
|
698 |
+
|
699 |
+
/*
|
700 |
+
if ( $$('.product-gallery')[0] ) {
|
701 |
+
var galleryCarousel = new Carousel($$('.product-gallery')[0], $$('.product-gallery > ul')[0], {
|
702 |
+
visibleElements: 1,
|
703 |
+
preventDefaultEvents: false
|
704 |
+
}).init();
|
705 |
+
}
|
706 |
+
*/
|
707 |
+
|
708 |
+
if ( $$('.product-view .product-image li').size() > 1 ) {
|
709 |
+
var productGallery = new Carousel($$('.product-view .product-image')[0], $$('.product-image ul')[0], {
|
710 |
+
visibleElements: 1,
|
711 |
+
preventDefaults: false
|
712 |
+
}).init();
|
713 |
+
}
|
714 |
+
|
715 |
+
// Swipe Functionality
|
716 |
+
|
717 |
+
var Swipe = Class.create( Carousel, {
|
718 |
+
initialize: function (elem, swipeLeft, swipeRight, options) {
|
719 |
+
this.options = Object.extend({
|
720 |
+
threshold: {
|
721 |
+
x: 50,
|
722 |
+
y: 20
|
723 |
+
},
|
724 |
+
preventDefaultEvents: false
|
725 |
+
}, options || {});
|
726 |
+
|
727 |
+
this.elem = elem;
|
728 |
+
this.originalCoord = { x: 0, y: 0 };
|
729 |
+
this.finalCoord = { x: 0, y: 0 };
|
730 |
+
|
731 |
+
this.elem.observe('touchstart', this.touchStart.bind(this));
|
732 |
+
this.elem.observe('touchmove', this.touchMove.bind(this));
|
733 |
+
this.elem.observe('touchend', this.touchEnd.bind(this));
|
734 |
+
this.moveLeft = swipeRight;
|
735 |
+
this.moveRight = swipeLeft;
|
736 |
+
}
|
737 |
+
});
|
738 |
+
|
739 |
+
/*
|
740 |
+
|
741 |
+
var verticalSwipe = Class.create( Carousel, {
|
742 |
+
initialize: function (elem, swipeUp, swipeDown, options) {
|
743 |
+
this.options = Object.extend({
|
744 |
+
threshold: {
|
745 |
+
x: 10,
|
746 |
+
y: 10
|
747 |
+
},
|
748 |
+
preventDefaultEvents: false
|
749 |
+
}, options || {});
|
750 |
+
|
751 |
+
this.elem = elem;
|
752 |
+
this.originalCoord = { x: 0, y: 0 };
|
753 |
+
this.finalCoord = { x: 0, y: 0 };
|
754 |
+
|
755 |
+
this.elem.observe('touchstart', this.touchStart.bind(this));
|
756 |
+
this.elem.observe('touchmove', this.touchMove.bind(this));
|
757 |
+
this.elem.observe('touchend', this.touchEnd.bind(this));
|
758 |
+
this.moveLeft = swipeDown;
|
759 |
+
this.moveRight = swipeUp;
|
760 |
+
},
|
761 |
+
touchStart: function (e) {
|
762 |
+
e.preventDefault();
|
763 |
+
this.originalCoord.x = event.targetTouches[0].pageX;
|
764 |
+
this.originalCoord.y = event.targetTouches[0].pageY;
|
765 |
+
},
|
766 |
+
touchMove: function (e) {
|
767 |
+
this.finalCoord.x = e.targetTouches[0].pageX;
|
768 |
+
this.finalCoord.y = e.targetTouches[0].pageY;
|
769 |
+
},
|
770 |
+
touchEnd: function (e) {
|
771 |
+
var changeY = this.originalCoord.y - this.finalCoord.y;
|
772 |
+
if(changeY > this.options.threshold.y) {
|
773 |
+
this.moveRight();
|
774 |
+
}
|
775 |
+
if(changeY < this.options.threshold.y * -1) {
|
776 |
+
this.moveLeft();
|
777 |
+
}
|
778 |
+
}
|
779 |
+
});
|
780 |
+
|
781 |
+
if ( $$('.block-cart')[0] ) {
|
782 |
+
new verticalSwipe($$('dt.cart')[0],
|
783 |
+
function () {
|
784 |
+
},
|
785 |
+
function () {
|
786 |
+
$$('.block-cart')[0].setStyle({'webkitTransform':'translate3d(0, 42px, 0)'})
|
787 |
+
}
|
788 |
+
);
|
789 |
+
};
|
790 |
+
|
791 |
+
*/
|
792 |
+
|
793 |
+
zoomGallery = Class.create({
|
794 |
+
initialize: function (gallery, options) {
|
795 |
+
this.options = Object.extend({
|
796 |
+
threshold: {
|
797 |
+
x: 30,
|
798 |
+
y: 40
|
799 |
+
}
|
800 |
+
}, options || {});
|
801 |
+
|
802 |
+
this.gallery = gallery;
|
803 |
+
this.counter = this.gallery.insert({after : new Element('div', {'class' : 'counter'})}).next();
|
804 |
+
this.controls = gallery.select('.controls')[0] || this.gallery.insert({ bottom: new Element('div', { 'class' : 'controls'}) }).select('.controls')[0];
|
805 |
+
this.prevButton = gallery.select('.prev')[0] || this.controls.insert({ top: new Element('span', { 'class' : 'prev'}) }).select('.prev')[0].addClassName('disabled');
|
806 |
+
this.nextButton = gallery.select('.next')[0] || this.controls.insert({ top: new Element('span', { 'class' : 'next'}) }).select('.next')[0];
|
807 |
+
this.wrap = this.gallery.down();
|
808 |
+
this.scale = 1.0;
|
809 |
+
this.dimensions;
|
810 |
+
this.items = gallery.select('img');
|
811 |
+
this.itemsLength = this.items.size();
|
812 |
+
this.pos = 0;
|
813 |
+
this.step = (100/this.itemsLength).toFixed(2) * 1;
|
814 |
+
this.lastPos = this.step * this.itemsLength;
|
815 |
+
this.originalCoord = { x: 0, y: 0 };
|
816 |
+
this.finalCoord = { x: 0, y: 0 };
|
817 |
+
this.offset = { x: 0, y: 0 };
|
818 |
+
this.ret = { x: 0, y: 0 };
|
819 |
+
|
820 |
+
this.nextButton.observe('click', this.moveRight.bind(this));
|
821 |
+
this.prevButton.observe('click', this.moveLeft.bind(this));
|
822 |
+
|
823 |
+
if (this.itemsLength < 2) {
|
824 |
+
this.controls.hide();
|
825 |
+
}
|
826 |
+
|
827 |
+
this.items.each(function (item) {
|
828 |
+
item.observe('touchstart', this.touchStart.bind(this));
|
829 |
+
item.observe('touchmove', this.touchMove.bind(this));
|
830 |
+
item.observe('touchend', this.touchEnd.bind(this));
|
831 |
+
item.observe('gesturestart', this.gestureStart.bind(this));
|
832 |
+
item.observe('gesturechange', this.gestureChange.bind(this));
|
833 |
+
item.observe('gestureend', this.gestureEnd.bind(this));
|
834 |
+
}.bind(this));
|
835 |
+
|
836 |
+
this.wrap.setStyle({
|
837 |
+
'width' : this.itemsLength * 100 + '%'
|
838 |
+
});
|
839 |
+
|
840 |
+
this.drawCounter();
|
841 |
+
},
|
842 |
+
drawCounter: function () {
|
843 |
+
if (this.itemsLength > 1) {
|
844 |
+
for (var i = 0; i < this.itemsLength; i++) {
|
845 |
+
if (i === 0) {
|
846 |
+
this.counter.insert(new Element('span', {'class': 'active'}));
|
847 |
+
} else {
|
848 |
+
this.counter.insert(new Element('span'));
|
849 |
+
}
|
850 |
+
};
|
851 |
+
}
|
852 |
+
},
|
853 |
+
moveRight: function (elem) {
|
854 |
+
|
855 |
+
if (this.pos !== this.lastPos - this.step) {
|
856 |
+
|
857 |
+
if(elem == event) {
|
858 |
+
this.items.each(function (elm) {
|
859 |
+
elm.setStyle({
|
860 |
+
'webkitTransition' : '300ms linear',
|
861 |
+
'webkitTransform' : 'scale3d(1, 1, 1)'
|
862 |
+
});
|
863 |
+
});
|
864 |
+
} else {
|
865 |
+
elem.setStyle({
|
866 |
+
'webkitTransition' : '300ms linear',
|
867 |
+
'webkitTransform' : 'scale3d(1, 1, 1)'
|
868 |
+
});
|
869 |
+
}
|
870 |
+
|
871 |
+
this.scale = 1.0;
|
872 |
+
|
873 |
+
this.pos += this.step;
|
874 |
+
|
875 |
+
var transformValue = {};
|
876 |
+
if ( Modernizr.csstransforms3d ) {
|
877 |
+
this.wrap.setStyle({
|
878 |
+
'webkitTransition' : '300ms linear',
|
879 |
+
'webkitTransform' : 'translate3d(' + this.pos*-1 + '%, 0, 0)'
|
880 |
+
});
|
881 |
+
} else if ( Modernizr.csstransforms ) {
|
882 |
+
transformValue[transformPref] = 'translate(' + this.pos*-1 + '%, 0)';
|
883 |
+
this.wrap.setStyle(transformValue);
|
884 |
+
}
|
885 |
+
|
886 |
+
if (this.pos == this.lastPos - this.step) {
|
887 |
+
this.nextButton.addClassName('disabled');
|
888 |
+
}
|
889 |
+
|
890 |
+
if (this.prevButton.hasClassName('disabled')) {
|
891 |
+
this.prevButton.removeClassName('disabled');
|
892 |
+
};
|
893 |
+
|
894 |
+
this.counter.select('.active')[0].removeClassName('active').next().addClassName('active');
|
895 |
+
|
896 |
+
}
|
897 |
+
},
|
898 |
+
moveLeft: function (elem) {
|
899 |
+
|
900 |
+
if (this.pos !== 0) {
|
901 |
+
|
902 |
+
if(elem == event) {
|
903 |
+
this.items.each(function (elm) {
|
904 |
+
elm.setStyle({
|
905 |
+
'webkitTransition' : '300ms linear',
|
906 |
+
'webkitTransform' : 'scale3d(1, 1, 1)'
|
907 |
+
});
|
908 |
+
});
|
909 |
+
} else {
|
910 |
+
elem.setStyle({
|
911 |
+
'webkitTransition' : '300ms linear',
|
912 |
+
'webkitTransform' : 'scale3d(1, 1, 1)'
|
913 |
+
});
|
914 |
+
}
|
915 |
+
|
916 |
+
this.scale = 1.0;
|
917 |
+
|
918 |
+
this.pos -= this.step;
|
919 |
+
|
920 |
+
var transformValue = {};
|
921 |
+
if ( Modernizr.csstransforms3d ) {
|
922 |
+
this.wrap.setStyle({
|
923 |
+
'webkitTransition' : '300ms linear',
|
924 |
+
'webkitTransform' : 'translate3d(' + this.pos*-1 + '%, 0, 0)'
|
925 |
+
});
|
926 |
+
} else if ( Modernizr.csstransforms ) {
|
927 |
+
transformValue[transformPref] = 'translate(' + this.pos*-1 + '%, 0)';
|
928 |
+
this.wrap.setStyle(transformValue);
|
929 |
+
}
|
930 |
+
|
931 |
+
if (this.pos == 0) {
|
932 |
+
this.prevButton.addClassName('disabled');
|
933 |
+
}
|
934 |
+
|
935 |
+
if (this.nextButton.hasClassName('disabled')) {
|
936 |
+
this.nextButton.removeClassName('disabled');
|
937 |
+
};
|
938 |
+
|
939 |
+
|
940 |
+
this.counter.select('.active')[0].removeClassName('active').previous().addClassName('active');
|
941 |
+
}
|
942 |
+
//console.log('moveLeft()');
|
943 |
+
},
|
944 |
+
gestureStart : function (e) {
|
945 |
+
var $this = e.target;
|
946 |
+
|
947 |
+
e.preventDefault();
|
948 |
+
|
949 |
+
this.gestureStart = true;
|
950 |
+
this.dimensions = $this.getDimensions();
|
951 |
+
},
|
952 |
+
gestureChange : function (e) {
|
953 |
+
e.preventDefault();
|
954 |
+
var $this = e.target
|
955 |
+
|
956 |
+
if ( (e.scale * this.scale) > 2 )
|
957 |
+
return
|
958 |
+
|
959 |
+
$this.setStyle({
|
960 |
+
'webkitTransition' : '',
|
961 |
+
'webkitTransform' : 'scale3d(' + (e.scale * this.scale) + ', ' + (e.scale * this.scale) + ', 1)',
|
962 |
+
});
|
963 |
+
},
|
964 |
+
gestureEnd : function (e) {
|
965 |
+
var $this = e.target;
|
966 |
+
|
967 |
+
if ( (e.scale * this.scale) < 1 ) {
|
968 |
+
$this.setStyle({
|
969 |
+
'webkitTransition' : '300ms linear',
|
970 |
+
'webkitTransform' : 'scale3d(1, 1, 1)'
|
971 |
+
});
|
972 |
+
this.scale = 1.0;
|
973 |
+
} else if ( e.scale > 2 ) {
|
974 |
+
this.scale = 2;
|
975 |
+
} else {
|
976 |
+
this.scale *= e.scale;
|
977 |
+
}
|
978 |
+
|
979 |
+
setTimeout(function () {
|
980 |
+
this.gestureStart = false;
|
981 |
+
}.bind(this), 50);
|
982 |
+
|
983 |
+
this.originalCoord.x = this.originalCoord.y = this.finalCoord.x = this.finalCoord.y = this.offset.x = this.offset.y = 0;
|
984 |
+
},
|
985 |
+
touchStart: function (e) {
|
986 |
+
var $this = e.target;
|
987 |
+
|
988 |
+
if (e.targetTouches.length != 1) {
|
989 |
+
return false
|
990 |
+
}
|
991 |
+
|
992 |
+
this.t1 = Date.now();
|
993 |
+
|
994 |
+
this.originalCoord.x = e.targetTouches[0].clientX;
|
995 |
+
this.originalCoord.y = e.targetTouches[0].clientY;
|
996 |
+
|
997 |
+
$this.setStyle({ 'webkitTransition' : '' });
|
998 |
+
},
|
999 |
+
touchMove: function (e) {
|
1000 |
+
|
1001 |
+
this.finalCoord.x = e.targetTouches[0].clientX;
|
1002 |
+
this.finalCoord.y = e.targetTouches[0].clientY;
|
1003 |
+
|
1004 |
+
if (e.targetTouches.length != 1 || this.scale === 1.0 || this.gestureStart)
|
1005 |
+
return false
|
1006 |
+
|
1007 |
+
e.preventDefault();
|
1008 |
+
|
1009 |
+
var $this = e.target;
|
1010 |
+
|
1011 |
+
var changeX = this.offset.x + this.finalCoord.x - this.originalCoord.x,
|
1012 |
+
changeY = this.offset.y + this.finalCoord.y - this.originalCoord.y,
|
1013 |
+
topX = (this.dimensions.width * (this.scale - 1))/2,
|
1014 |
+
topY = (this.dimensions.height * (this.scale - 1))/2,
|
1015 |
+
tension = 1.55;
|
1016 |
+
|
1017 |
+
if ( topX < Math.abs(changeX) ) {
|
1018 |
+
if ( changeX < 0 ) {
|
1019 |
+
changeX = changeX - (changeX + topX)/tension;
|
1020 |
+
} else {
|
1021 |
+
changeX = changeX - (changeX - topX)/tension;
|
1022 |
+
}
|
1023 |
+
}
|
1024 |
+
|
1025 |
+
if ( topY < Math.abs(changeY) ) {
|
1026 |
+
if ( changeY < 0 ) {
|
1027 |
+
changeY = changeY - (changeY + topY)/tension;
|
1028 |
+
} else {
|
1029 |
+
changeY = changeY - (changeY - topY)/tension;
|
1030 |
+
}
|
1031 |
+
}
|
1032 |
+
|
1033 |
+
$this.setStyle({
|
1034 |
+
'webkitTransform' : 'translate3d(' + changeX + 'px,' + changeY + 'px, 0) scale3d(' + this.scale + ',' + this.scale + ',1)'
|
1035 |
+
});
|
1036 |
+
|
1037 |
+
},
|
1038 |
+
touchEnd: function (e) {
|
1039 |
+
|
1040 |
+
this.t2 = Date.now();
|
1041 |
+
|
1042 |
+
var $this = e.target,
|
1043 |
+
timeDelta = this.t2 - this.t1,
|
1044 |
+
changeX = this.originalCoord.x - this.finalCoord.x,
|
1045 |
+
changeY = this.originalCoord.y - this.finalCoord.y;
|
1046 |
+
|
1047 |
+
if(changeX > this.options.threshold.x && Math.abs(changeY) < 40 && timeDelta < 300) {
|
1048 |
+
this.moveRight($this);
|
1049 |
+
}
|
1050 |
+
if(changeX < this.options.threshold.x * -1 && Math.abs(changeY) < 40 && timeDelta < 300) {
|
1051 |
+
|
1052 |
+
this.moveLeft($this);
|
1053 |
+
}
|
1054 |
+
|
1055 |
+
if (e.targetTouches.length > 0 || this.gestureStart || timeDelta < 100)
|
1056 |
+
return false;
|
1057 |
+
|
1058 |
+
this.offset.x += this.finalCoord.x - this.originalCoord.x;
|
1059 |
+
this.offset.y += this.finalCoord.y - this.originalCoord.y;
|
1060 |
+
|
1061 |
+
var topX = (this.dimensions.width * (this.scale - 1))/2,
|
1062 |
+
topY = (this.dimensions.height * (this.scale - 1))/2,
|
1063 |
+
moved = false;
|
1064 |
+
|
1065 |
+
if ( Math.abs(this.offset.x) > topX ) {
|
1066 |
+
|
1067 |
+
moved = true;
|
1068 |
+
$this.setStyle({
|
1069 |
+
'webkitTransition' : '-webkit-transform 100ms ease-out',
|
1070 |
+
'webkitTransform' : 'translate3d(' + (this.offset.x < 0 ? topX*-1 : topX) + 'px,' + this.offset.y + 'px, 0) scale3d(' + this.scale + ',' + this.scale + ',1)'
|
1071 |
+
});
|
1072 |
+
|
1073 |
+
this.offset.x = this.offset.x < 0 ? topX*-1 : topX;
|
1074 |
+
|
1075 |
+
}
|
1076 |
+
|
1077 |
+
if ( Math.abs(this.offset.y) > topY ) {
|
1078 |
+
moved = true;
|
1079 |
+
$this.setStyle({
|
1080 |
+
'webkitTransition' : '-webkit-transform 100ms ease-out',
|
1081 |
+
'webkitTransform' : 'translate3d(' + this.offset.x + 'px,' + (this.offset.y < 0 ? topY*-1 : topY) + 'px, 0) scale3d(' + this.scale + ',' + this.scale + ',1)'
|
1082 |
+
});
|
1083 |
+
|
1084 |
+
this.offset.y = this.offset.y < 0 ? topY*-1 : topY;
|
1085 |
+
|
1086 |
+
}
|
1087 |
+
|
1088 |
+
if ( Math.abs(this.offset.x) > topX && Math.abs(this.offset.y) > topY && !moved ) {
|
1089 |
+
|
1090 |
+
$this.setStyle({
|
1091 |
+
'webkitTransition' : '-webkit-transform 100ms ease-out',
|
1092 |
+
'webkitTransform' : 'translate3d(' + (this.offset.x < 0 ? topX*-1 : topX) + 'px,' + (this.offset.y < 0 ? topY*-1 : topY) + 'px, 0) scale3d(' + this.scale + ',' + this.scale + ',1)'
|
1093 |
+
});
|
1094 |
+
|
1095 |
+
this.offset.x = this.offset.x < 0 ? topX*-1 : topX;
|
1096 |
+
this.offset.y = this.offset.y < 0 ? topY*-1 : topY;
|
1097 |
+
|
1098 |
+
}
|
1099 |
+
|
1100 |
+
},
|
1101 |
+
});
|
1102 |
+
|
1103 |
+
if ( $$('.c-list') && supportsTouchCallout() ) {
|
1104 |
+
|
1105 |
+
$$('.c-list .product-image').each(function(n) {
|
1106 |
+
var parent = n.up('a'),
|
1107 |
+
clone = n.up().clone(true).addClassName('cloned');
|
1108 |
+
parent.insert(clone.wrap('div', {'class' : 'cloned-wrap'}));
|
1109 |
+
|
1110 |
+
new webkit_draggable(clone.up(), { handle : clone.select('.product-image')[0], revert : true, scroll : true, onStart : function(r, e) {
|
1111 |
+
r.setStyle({'opacity':'100'}).down('.wrap').addClassName('drop-start');
|
1112 |
+
},
|
1113 |
+
onEnd : function(r, e) {
|
1114 |
+
r.setStyle({'opacity':'0'}).down('.wrap').removeClassName('drop-start');
|
1115 |
+
}
|
1116 |
+
});
|
1117 |
+
});
|
1118 |
+
webkit_drop.add($('menu'),
|
1119 |
+
{
|
1120 |
+
onDrop : function(elem, e) { e.preventDefault(); setLocation(elem.up('li').down('.actions li:last-child a').readAttribute('href')); elem.remove(); },
|
1121 |
+
onOver : function(elem, e) { e.preventDefault(); elem.down().addClassName('to-cart-animate'); },
|
1122 |
+
onOut : function(elem) { elem.down().removeClassName('to-cart-animate'); }
|
1123 |
+
});
|
1124 |
+
|
1125 |
+
}
|
1126 |
+
|
1127 |
+
if ( $('customer-reviews') ) {
|
1128 |
+
$('customer-reviews').select('dt > a').each(function (a) {
|
1129 |
+
a.replace('<h3>' + a.innerHTML + '</h3>');
|
1130 |
+
});
|
1131 |
+
}
|
1132 |
+
|
1133 |
+
});
|
skin/frontend/default/iphone/js/modernizr.js
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Magento
|
3 |
+
*
|
4 |
+
* NOTICE OF LICENSE
|
5 |
+
*
|
6 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
+
* It is also available through the world-wide-web at this URL:
|
9 |
+
* http://opensource.org/licenses/afl-3.0.php
|
10 |
+
* If you did not receive a copy of the license and are unable to
|
11 |
+
* obtain it through the world-wide-web, please send an email
|
12 |
+
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
+
*
|
14 |
+
* DISCLAIMER
|
15 |
+
*
|
16 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
+
* versions in the future. If you wish to customize Magento for your
|
18 |
+
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package default_iphone
|
22 |
+
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
/* Modernizr 2.0.6 (Custom Build) | MIT & BSD
|
26 |
+
* Build: http://www.modernizr.com/download/#-csstransforms-csstransforms3d-cssclasses-prefixed-teststyles-testprop-testallprops-prefixes-domprefixes
|
27 |
+
*/
|
28 |
+
;window.Modernizr=function(a,b,c){function C(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+o.join(c+" ")+c).split(" ");return B(d,b)}function B(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function A(a,b){return!!~(""+a).indexOf(b)}function z(a,b){return typeof a===b}function y(a,b){return x(n.join(a+";")+(b||""))}function x(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l,m=Object.prototype.toString,n=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),o="Webkit Moz O ms Khtml".split(" "),p={},q={},r={},s=[],t=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["­","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},u,v={}.hasOwnProperty,w;!z(v,c)&&!z(v.call,c)?w=function(a,b){return v.call(a,b)}:w=function(a,b){return b in a&&z(a.constructor.prototype[b],c)};var D=function(a,c){var d=a.join(""),f=c.length;t(d,function(a,c){var d=b.styleSheets[b.styleSheets.length-1],g=d.cssRules&&d.cssRules[0]?d.cssRules[0].cssText:d.cssText||"",h=a.childNodes,i={};while(f--)i[h[f].id]=h[f];e.csstransforms3d=i.csstransforms3d.offsetLeft===9},f,c)}([,["@media (",n.join("transform-3d),("),i,")","{#csstransforms3d{left:9px;position:absolute}}"].join("")],[,"csstransforms3d"]);p.csstransforms=function(){return!!B(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},p.csstransforms3d=function(){var a=!!B(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d);return a};for(var E in p)w(p,E)&&(u=E.toLowerCase(),e[u]=p[E](),s.push((e[u]?"":"no-")+u));x(""),j=l=null,e._version=d,e._prefixes=n,e._domPrefixes=o,e.testProp=function(a){return B([a])},e.testAllProps=C,e.testStyles=t,e.prefixed=function(a){return C(a,"pfx")},g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+s.join(" "):"");return e}(this,this.document);
|
skin/frontend/default/iphone/js/opcheckout.js
DELETED
@@ -1,872 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* Magento
|
3 |
-
*
|
4 |
-
* NOTICE OF LICENSE
|
5 |
-
*
|
6 |
-
* This source file is subject to the Academic Free License (AFL 3.0)
|
7 |
-
* that is bundled with this package in the file LICENSE_AFL.txt.
|
8 |
-
* It is also available through the world-wide-web at this URL:
|
9 |
-
* http://opensource.org/licenses/afl-3.0.php
|
10 |
-
* If you did not receive a copy of the license and are unable to
|
11 |
-
* obtain it through the world-wide-web, please send an email
|
12 |
-
* to license@magentocommerce.com so we can send you a copy immediately.
|
13 |
-
*
|
14 |
-
* DISCLAIMER
|
15 |
-
*
|
16 |
-
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
17 |
-
* versions in the future. If you wish to customize Magento for your
|
18 |
-
* needs please refer to http://www.magentocommerce.com for more information.
|
19 |
-
*
|
20 |
-
* @category design
|
21 |
-
* @package default_iphone
|
22 |
-
* @copyright Copyright (c) 2011 Magento Inc. (http://www.magentocommerce.com)
|
23 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
-
*/
|
25 |
-
|
26 |
-
var Checkout = Class.create();
|
27 |
-
Checkout.prototype = {
|
28 |
-
initialize: function(accordion, urls){
|
29 |
-
this.accordion = accordion;
|
30 |
-
this.progressUrl = urls.progress;
|
31 |
-
this.reviewUrl = urls.review;
|
32 |
-
this.saveMethodUrl = urls.saveMethod;
|
33 |
-
this.failureUrl = urls.failure;
|
34 |
-
this.billingForm = false;
|
35 |
-
this.shippingForm= false;
|
36 |
-
this.syncBillingShipping = false;
|
37 |
-
this.method = '';
|
38 |
-
this.payment = '';
|
39 |
-
this.loadWaiting = false;
|
40 |
-
|
41 |
-
this.steps = ['login', 'billing', 'shipping', 'shipping_method', 'payment', 'review'];
|
42 |
-
|
43 |
-
//this.onSetMethod = this.nextStep.bindAsEventListener(this);
|
44 |
-
|
45 |
-
this.accordion.disallowAccessToNextSections = true;
|
46 |
-
},
|
47 |
-
|
48 |
-
ajaxFailure: function(){
|
49 |
-
location.href = this.failureUrl;
|
50 |
-
},
|
51 |
-
|
52 |
-
reloadProgressBlock: function(){
|
53 |
-
// there is no checkout progress in iphone theme
|
54 |
-
},
|
55 |
-
|
56 |
-
reloadReviewBlock: function(){
|
57 |
-
var updater = new Ajax.Updater('checkout-review-load', this.reviewUrl, {method: 'get', onFailure: this.ajaxFailure.bind(this)});
|
58 |
-
},
|
59 |
-
|
60 |
-
_disableEnableAll: function(element, isDisabled) {
|
61 |
-
var descendants = element.descendants();
|
62 |
-
for (var k in descendants) {
|
63 |
-
descendants[k].disabled = isDisabled;
|
64 |
-
}
|
65 |
-
element.disabled = isDisabled;
|
66 |
-
},
|
67 |
-
|
68 |
-
setLoadWaiting: function(step, keepDisabled) {
|
69 |
-
if (step) {
|
70 |
-
if (this.loadWaiting) {
|
71 |
-
this.setLoadWaiting(false);
|
72 |
-
}
|
73 |
-
var container = $(step+'-buttons-container');
|
74 |
-
container.setStyle({opacity:.5});
|
75 |
-
this._disableEnableAll(container, true);
|
76 |
-
Element.show(step+'-please-wait');
|
77 |
-
} else {
|
78 |
-
if (this.loadWaiting) {
|
79 |
-
var container = $(this.loadWaiting+'-buttons-container');
|
80 |
-
var isDisabled = (keepDisabled ? true : false);
|
81 |
-
if (!isDisabled) {
|
82 |
-
container.setStyle({opacity:1});
|
83 |
-
}
|
84 |
-
this._disableEnableAll(container, isDisabled);
|
85 |
-
Element.hide(this.loadWaiting+'-please-wait');
|
86 |
-
}
|
87 |
-
}
|
88 |
-
this.loadWaiting = step;
|
89 |
-
},
|
90 |
-
|
91 |
-
gotoSection: function(section)
|
92 |
-
{
|
93 |
-
section = $('opc-'+section);
|
94 |
-
section.addClassName('allow');
|
95 |
-
this.accordion.openSection(section);
|
96 |
-
},
|
97 |
-
|
98 |
-
setMethod: function(){
|
99 |
-
if ($('login:guest') && $('login:guest').checked) {
|
100 |
-
this.method = 'guest';
|
101 |
-
var request = new Ajax.Request(
|
102 |
-
this.saveMethodUrl,
|
103 |
-
{method: 'post', onFailure: this.ajaxFailure.bind(this), parameters: {method:'guest'}}
|
104 |
-
);
|
105 |
-
Element.hide('register-customer-password');
|
106 |
-
this.gotoSection('billing');
|
107 |
-
}
|
108 |
-
else if($('login:register') && ($('login:register').checked || $('login:register').type == 'hidden')) {
|
109 |
-
this.method = 'register';
|
110 |
-
var request = new Ajax.Request(
|
111 |
-
this.saveMethodUrl,
|
112 |
-
{method: 'post', onFailure: this.ajaxFailure.bind(this), parameters: {method:'register'}}
|
113 |
-
);
|
114 |
-
Element.show('register-customer-password');
|
115 |
-
this.gotoSection('billing');
|
116 |
-
}
|
117 |
-
else{
|
118 |
-
alert(Translator.translate('Please choose to register or to checkout as a guest'));
|
119 |
-
return false;
|
120 |
-
}
|
121 |
-
},
|
122 |
-
|
123 |
-
setBilling: function() {
|
124 |
-
if (($('billing:use_for_shipping_yes')) && ($('billing:use_for_shipping_yes').checked)) {
|
125 |
-
shipping.syncWithBilling();
|
126 |
-
$('opc-shipping').addClassName('allow');
|
127 |
-
this.gotoSection('shipping_method');
|
128 |
-
} else if (($('billing:use_for_shipping_no')) && ($('billing:use_for_shipping_no').checked)) {
|
129 |
-
$('shipping:same_as_billing').checked = false;
|
130 |
-
this.gotoSection('shipping');
|
131 |
-
} else {
|
132 |
-
$('shipping:same_as_billing').checked = true;
|
133 |
-
this.gotoSection('shipping');
|
134 |
-
}
|
135 |
-
|
136 |
-
// this refreshes the checkout progress column
|
137 |
-
this.reloadProgressBlock();
|
138 |
-
|
139 |
-
// if ($('billing:use_for_shipping') && $('billing:use_for_shipping').checked){
|
140 |
-
// shipping.syncWithBilling();
|
141 |
-
// //this.setShipping();
|
142 |
-
// //shipping.save();
|
143 |
-
// $('opc-shipping').addClassName('allow');
|
144 |
-
// this.gotoSection('shipping_method');
|
145 |
-
// } else {
|
146 |
-
// $('shipping:same_as_billing').checked = false;
|
147 |
-
// this.gotoSection('shipping');
|
148 |
-
// }
|
149 |
-
// this.reloadProgressBlock();
|
150 |
-
// //this.accordion.openNextSection(true);
|
151 |
-
},
|
152 |
-
|
153 |
-
setShipping: function() {
|
154 |
-
this.reloadProgressBlock();
|
155 |
-
//this.nextStep();
|
156 |
-
this.gotoSection('shipping_method');
|
157 |
-
//this.accordion.openNextSection(true);
|
158 |
-
},
|
159 |
-
|
160 |
-
setShippingMethod: function() {
|
161 |
-
this.reloadProgressBlock();
|
162 |
-
//this.nextStep();
|
163 |
-
this.gotoSection('payment');
|
164 |
-
//this.accordion.openNextSection(true);
|
165 |
-
},
|
166 |
-
|
167 |
-
setPayment: function() {
|
168 |
-
this.reloadProgressBlock();
|
169 |
-
//this.nextStep();
|
170 |
-
this.gotoSection('review');
|
171 |
-
//this.accordion.openNextSection(true);
|
172 |
-
},
|
173 |
-
|
174 |
-
setReview: function() {
|
175 |
-
this.reloadProgressBlock();
|
176 |
-
//this.nextStep();
|
177 |
-
//this.accordion.openNextSection(true);
|
178 |
-
},
|
179 |
-
|
180 |
-
back: function(){
|
181 |
-
if (this.loadWaiting) return;
|
182 |
-
this.accordion.openPrevSection(true);
|
183 |
-
},
|
184 |
-
|
185 |
-
setStepResponse: function(response){
|
186 |
-
if (response.update_section) {
|
187 |
-
$('checkout-'+response.update_section.name+'-load').update(response.update_section.html);
|
188 |
-
}
|
189 |
-
if (response.allow_sections) {
|
190 |
-
response.allow_sections.each(function(e){
|
191 |
-
$('opc-'+e).addClassName('allow');
|
192 |
-
});
|
193 |
-
}
|
194 |
-
if (response.goto_section) {
|
195 |
-
this.reloadProgressBlock();
|
196 |
-
this.gotoSection(response.goto_section);
|
197 |
-
return true;
|
198 |
-
}
|
199 |
-
if (response.redirect) {
|
200 |
-
location.href = response.redirect;
|
201 |
-
return true;
|
202 |
-
}
|
203 |
-
return false;
|
204 |
-
}
|
205 |
-
}
|
206 |
-
|
207 |
-
// billing
|
208 |
-
var Billing = Class.create();
|
209 |
-
Billing.prototype = {
|
210 |
-
initialize: function(form, addressUrl, saveUrl){
|
211 |
-
this.form = form;
|
212 |
-
if ($(this.form)) {
|
213 |
-
$(this.form).observe('submit', function(event){this.save();Event.stop(event);}.bind(this));
|
214 |
-
}
|
215 |
-
this.addressUrl = addressUrl;
|
216 |
-
this.saveUrl = saveUrl;
|
217 |
-
this.onAddressLoad = this.fillForm.bindAsEventListener(this);
|
218 |
-
this.onSave = this.nextStep.bindAsEventListener(this);
|
219 |
-
this.onComplete = this.resetLoadWaiting.bindAsEventListener(this);
|
220 |
-
},
|
221 |
-
|
222 |
-
setAddress: function(addressId){
|
223 |
-
if (addressId) {
|
224 |
-
request = new Ajax.Request(
|
225 |
-
this.addressUrl+addressId,
|
226 |
-
{method:'get', onSuccess: this.onAddressLoad, onFailure: checkout.ajaxFailure.bind(checkout)}
|
227 |
-
);
|
228 |
-
}
|
229 |
-
else {
|
230 |
-
this.fillForm(false);
|
231 |
-
}
|
232 |
-
},
|
233 |
-
|
234 |
-
newAddress: function(isNew){
|
235 |
-
if (isNew) {
|
236 |
-
this.resetSelectedAddress();
|
237 |
-
Element.show('billing-new-address-form');
|
238 |
-
} else {
|
239 |
-
Element.hide('billing-new-address-form');
|
240 |
-
}
|
241 |
-
},
|
242 |
-
|
243 |
-
resetSelectedAddress: function(){
|
244 |
-
var selectElement = $('billing-address-select')
|
245 |
-
if (selectElement) {
|
246 |
-
selectElement.value='';
|
247 |
-
}
|
248 |
-
},
|
249 |
-
|
250 |
-
fillForm: function(transport){
|
251 |
-
var elementValues = {};
|
252 |
-
if (transport && transport.responseText){
|
253 |
-
try{
|
254 |
-
elementValues = eval('(' + transport.responseText + ')');
|
255 |
-
}
|
256 |
-
catch (e) {
|
257 |
-
elementValues = {};
|
258 |
-
}
|
259 |
-
}
|
260 |
-
else{
|
261 |
-
this.resetSelectedAddress();
|
262 |
-
}
|
263 |
-
arrElements = Form.getElements(this.form);
|
264 |
-
for (var elemIndex in arrElements) {
|
265 |
-
if (arrElements[elemIndex].id) {
|
266 |
-
var fieldName = arrElements[elemIndex].id.replace(/^billing:/, '');
|
267 |
-
arrElements[elemIndex].value = elementValues[fieldName] ? elementValues[fieldName] : '';
|
268 |
-
if (fieldName == 'country_id' && billingForm){
|
269 |
-
billingForm.elementChildLoad(arrElements[elemIndex]);
|
270 |
-
}
|
271 |
-
}
|
272 |
-
}
|
273 |
-
},
|
274 |
-
|
275 |
-
setUseForShipping: function(flag) {
|
276 |
-
$('shipping:same_as_billing').checked = flag;
|
277 |
-
},
|
278 |
-
|
279 |
-
save: function(){
|
280 |
-
if (checkout.loadWaiting!=false) return;
|
281 |
-
|
282 |
-
var validator = new Validation(this.form);
|
283 |
-
if (validator.validate()) {
|
284 |
-
checkout.setLoadWaiting('billing');
|
285 |
-
|
286 |
-
// if ($('billing:use_for_shipping') && $('billing:use_for_shipping').checked) {
|
287 |
-
// $('billing:use_for_shipping').value=1;
|
288 |
-
// }
|
289 |
-
|
290 |
-
var request = new Ajax.Request(
|
291 |
-
this.saveUrl,
|
292 |
-
{
|
293 |
-
method: 'post',
|
294 |
-
onComplete: this.onComplete,
|
295 |
-
onSuccess: this.onSave,
|
296 |
-
onFailure: checkout.ajaxFailure.bind(checkout),
|
297 |
-
parameters: Form.serialize(this.form)
|
298 |
-
}
|
299 |
-
);
|
300 |
-
}
|
301 |
-
},
|
302 |
-
|
303 |
-
resetLoadWaiting: function(transport){
|
304 |
-
checkout.setLoadWaiting(false);
|
305 |
-
},
|
306 |
-
|
307 |
-
/**
|
308 |
-
This method recieves the AJAX response on success.
|
309 |
-
There are 3 options: error, redirect or html with shipping options.
|
310 |
-
*/
|
311 |
-
nextStep: function(transport){
|
312 |
-
if (transport && transport.responseText){
|
313 |
-
try{
|
314 |
-
response = eval('(' + transport.responseText + ')');
|
315 |
-
}
|
316 |
-
catch (e) {
|
317 |
-
response = {};
|
318 |
-
}
|
319 |
-
}
|
320 |
-
|
321 |
-
if (response.error){
|
322 |
-
if ((typeof response.message) == 'string') {
|
323 |
-
alert(response.message);
|
324 |
-
} else {
|
325 |
-
if (window.billingRegionUpdater) {
|
326 |
-
billingRegionUpdater.update();
|
327 |
-
}
|
328 |
-
|
329 |
-
alert(response.message.join("\n"));
|
330 |
-
}
|
331 |
-
|
332 |
-
return false;
|
333 |
-
}
|
334 |
-
|
335 |
-
checkout.setStepResponse(response);
|
336 |
-
|
337 |
-
// DELETE
|
338 |
-
//alert('error: ' + response.error + ' / redirect: ' + response.redirect + ' / shipping_methods_html: ' + response.shipping_methods_html);
|
339 |
-
// This moves the accordion panels of one page checkout and updates the checkout progress
|
340 |
-
//checkout.setBilling();
|
341 |
-
}
|
342 |
-
}
|
343 |
-
|
344 |
-
// shipping
|
345 |
-
var Shipping = Class.create();
|
346 |
-
Shipping.prototype = {
|
347 |
-
initialize: function(form, addressUrl, saveUrl, methodsUrl){
|
348 |
-
this.form = form;
|
349 |
-
if ($(this.form)) {
|
350 |
-
$(this.form).observe('submit', function(event){this.save();Event.stop(event);}.bind(this));
|
351 |
-
}
|
352 |
-
this.addressUrl = addressUrl;
|
353 |
-
this.saveUrl = saveUrl;
|
354 |
-
this.methodsUrl = methodsUrl;
|
355 |
-
this.onAddressLoad = this.fillForm.bindAsEventListener(this);
|
356 |
-
this.onSave = this.nextStep.bindAsEventListener(this);
|
357 |
-
this.onComplete = this.resetLoadWaiting.bindAsEventListener(this);
|
358 |
-
},
|
359 |
-
|
360 |
-
setAddress: function(addressId){
|
361 |
-
if (addressId) {
|
362 |
-
request = new Ajax.Request(
|
363 |
-
this.addressUrl+addressId,
|
364 |
-
{method:'get', onSuccess: this.onAddressLoad, onFailure: checkout.ajaxFailure.bind(checkout)}
|
365 |
-
);
|
366 |
-
}
|
367 |
-
else {
|
368 |
-
this.fillForm(false);
|
369 |
-
}
|
370 |
-
},
|
371 |
-
|
372 |
-
newAddress: function(isNew){
|
373 |
-
if (isNew) {
|
374 |
-
this.resetSelectedAddress();
|
375 |
-
Element.show('shipping-new-address-form');
|
376 |
-
} else {
|
377 |
-
Element.hide('shipping-new-address-form');
|
378 |
-
}
|
379 |
-
shipping.setSameAsBilling(false);
|
380 |
-
},
|
381 |
-
|
382 |
-
resetSelectedAddress: function(){
|
383 |
-
var selectElement = $('shipping-address-select')
|
384 |
-
if (selectElement) {
|
385 |
-
selectElement.value='';
|
386 |
-
}
|
387 |
-
},
|
388 |
-
|
389 |
-
fillForm: function(transport){
|
390 |
-
var elementValues = {};
|
391 |
-
if (transport && transport.responseText){
|
392 |
-
try{
|
393 |
-
elementValues = eval('(' + transport.responseText + ')');
|
394 |
-
}
|
395 |
-
catch (e) {
|
396 |
-
elementValues = {};
|
397 |
-
}
|
398 |
-
}
|
399 |
-
else{
|
400 |
-
this.resetSelectedAddress();
|
401 |
-
}
|
402 |
-
arrElements = Form.getElements(this.form);
|
403 |
-
for (var elemIndex in arrElements) {
|
404 |
-
if (arrElements[elemIndex].id) {
|
405 |
-
var fieldName = arrElements[elemIndex].id.replace(/^shipping:/, '');
|
406 |
-
arrElements[elemIndex].value = elementValues[fieldName] ? elementValues[fieldName] : '';
|
407 |
-
if (fieldName == 'country_id' && shippingForm){
|
408 |
-
shippingForm.elementChildLoad(arrElements[elemIndex]);
|
409 |
-
}
|
410 |
-
}
|
411 |
-
}
|
412 |
-
},
|
413 |
-
|
414 |
-
setSameAsBilling: function(flag) {
|
415 |
-
$('shipping:same_as_billing').checked = flag;
|
416 |
-
// #5599. Also it hangs up, if the flag is not false
|
417 |
-
// $('billing:use_for_shipping_yes').checked = flag;
|
418 |
-
if (flag) {
|
419 |
-
this.syncWithBilling();
|
420 |
-
}
|
421 |
-
},
|
422 |
-
|
423 |
-
syncWithBilling: function () {
|
424 |
-
$('billing-address-select') && this.newAddress(!$('billing-address-select').value);
|
425 |
-
$('shipping:same_as_billing').checked = true;
|
426 |
-
if (!$('billing-address-select') || !$('billing-address-select').value) {
|
427 |
-
arrElements = Form.getElements(this.form);
|
428 |
-
for (var elemIndex in arrElements) {
|
429 |
-
if (arrElements[elemIndex].id) {
|
430 |
-
var sourceField = $(arrElements[elemIndex].id.replace(/^shipping:/, 'billing:'));
|
431 |
-
if (sourceField){
|
432 |
-
arrElements[elemIndex].value = sourceField.value;
|
433 |
-
}
|
434 |
-
}
|
435 |
-
}
|
436 |
-
//$('shipping:country_id').value = $('billing:country_id').value;
|
437 |
-
shippingRegionUpdater.update();
|
438 |
-
$('shipping:region_id').value = $('billing:region_id').value;
|
439 |
-
$('shipping:region').value = $('billing:region').value;
|
440 |
-
//shippingForm.elementChildLoad($('shipping:country_id'), this.setRegionValue.bind(this));
|
441 |
-
} else {
|
442 |
-
$('shipping-address-select').value = $('billing-address-select').value;
|
443 |
-
}
|
444 |
-
},
|
445 |
-
|
446 |
-
setRegionValue: function(){
|
447 |
-
$('shipping:region').value = $('billing:region').value;
|
448 |
-
},
|
449 |
-
|
450 |
-
save: function(){
|
451 |
-
if (checkout.loadWaiting!=false) return;
|
452 |
-
var validator = new Validation(this.form);
|
453 |
-
if (validator.validate()) {
|
454 |
-
checkout.setLoadWaiting('shipping');
|
455 |
-
var request = new Ajax.Request(
|
456 |
-
this.saveUrl,
|
457 |
-
{
|
458 |
-
method:'post',
|
459 |
-
onComplete: this.onComplete,
|
460 |
-
onSuccess: this.onSave,
|
461 |
-
onFailure: checkout.ajaxFailure.bind(checkout),
|
462 |
-
parameters: Form.serialize(this.form)
|
463 |
-
}
|
464 |
-
);
|
465 |
-
}
|
466 |
-
},
|
467 |
-
|
468 |
-
resetLoadWaiting: function(transport){
|
469 |
-
checkout.setLoadWaiting(false);
|
470 |
-
},
|
471 |
-
|
472 |
-
nextStep: function(transport){
|
473 |
-
if (transport && transport.responseText){
|
474 |
-
try{
|
475 |
-
response = eval('(' + transport.responseText + ')');
|
476 |
-
}
|
477 |
-
catch (e) {
|
478 |
-
response = {};
|
479 |
-
}
|
480 |
-
}
|
481 |
-
if (response.error){
|
482 |
-
if ((typeof response.message) == 'string') {
|
483 |
-
alert(response.message);
|
484 |
-
} else {
|
485 |
-
if (window.shippingRegionUpdater) {
|
486 |
-
shippingRegionUpdater.update();
|
487 |
-
}
|
488 |
-
alert(response.message.join("\n"));
|
489 |
-
}
|
490 |
-
|
491 |
-
return false;
|
492 |
-
}
|
493 |
-
|
494 |
-
checkout.setStepResponse(response);
|
495 |
-
|
496 |
-
/*
|
497 |
-
var updater = new Ajax.Updater(
|
498 |
-
'checkout-shipping-method-load',
|
499 |
-
this.methodsUrl,
|
500 |
-
{method:'get', onSuccess: checkout.setShipping.bind(checkout)}
|
501 |
-
);
|
502 |
-
*/
|
503 |
-
//checkout.setShipping();
|
504 |
-
}
|
505 |
-
}
|
506 |
-
|
507 |
-
// shipping method
|
508 |
-
var ShippingMethod = Class.create();
|
509 |
-
ShippingMethod.prototype = {
|
510 |
-
initialize: function(form, saveUrl){
|
511 |
-
this.form = form;
|
512 |
-
if ($(this.form)) {
|
513 |
-
$(this.form).observe('submit', function(event){this.save();Event.stop(event);}.bind(this));
|
514 |
-
}
|
515 |
-
this.saveUrl = saveUrl;
|
516 |
-
this.validator = new Validation(this.form);
|
517 |
-
this.onSave = this.nextStep.bindAsEventListener(this);
|
518 |
-
this.onComplete = this.resetLoadWaiting.bindAsEventListener(this);
|
519 |
-
},
|
520 |
-
|
521 |
-
validate: function() {
|
522 |
-
var methods = document.getElementsByName('shipping_method');
|
523 |
-
if (methods.length==0) {
|
524 |
-
alert(Translator.translate('Your order cannot be completed at this time as there is no shipping methods available for it. Please make necessary changes in your shipping address.'));
|
525 |
-
return false;
|
526 |
-
}
|
527 |
-
|
528 |
-
if(!this.validator.validate()) {
|
529 |
-
return false;
|
530 |
-
}
|
531 |
-
|
532 |
-
for (var i=0; i<methods.length; i++) {
|
533 |
-
if (methods[i].checked) {
|
534 |
-
return true;
|
535 |
-
}
|
536 |
-
}
|
537 |
-
alert(Translator.translate('Please specify shipping method.'));
|
538 |
-
return false;
|
539 |
-
},
|
540 |
-
|
541 |
-
save: function(){
|
542 |
-
|
543 |
-
if (checkout.loadWaiting!=false) return;
|
544 |
-
if (this.validate()) {
|
545 |
-
checkout.setLoadWaiting('shipping-method');
|
546 |
-
var request = new Ajax.Request(
|
547 |
-
this.saveUrl,
|
548 |
-
{
|
549 |
-
method:'post',
|
550 |
-
onComplete: this.onComplete,
|
551 |
-
onSuccess: this.onSave,
|
552 |
-
onFailure: checkout.ajaxFailure.bind(checkout),
|
553 |
-
parameters: Form.serialize(this.form)
|
554 |
-
}
|
555 |
-
);
|
556 |
-
}
|
557 |
-
},
|
558 |
-
|
559 |
-
resetLoadWaiting: function(transport){
|
560 |
-
checkout.setLoadWaiting(false);
|
561 |
-
},
|
562 |
-
|
563 |
-
nextStep: function(transport){
|
564 |
-
if (transport && transport.responseText){
|
565 |
-
try{
|
566 |
-
response = eval('(' + transport.responseText + ')');
|
567 |
-
}
|
568 |
-
catch (e) {
|
569 |
-
response = {};
|
570 |
-
}
|
571 |
-
}
|
572 |
-
|
573 |
-
if (response.error) {
|
574 |
-
alert(response.message);
|
575 |
-
return false;
|
576 |
-
}
|
577 |
-
|
578 |
-
if (response.update_section) {
|
579 |
-
$('checkout-'+response.update_section.name+'-load').update(response.update_section.html);
|
580 |
-
}
|
581 |
-
|
582 |
-
$$('.cvv-what-is-this').each(function(element){
|
583 |
-
Event.observe(element, 'click', toggleToolTip);
|
584 |
-
});
|
585 |
-
|
586 |
-
if (response.goto_section) {
|
587 |
-
checkout.gotoSection(response.goto_section);
|
588 |
-
checkout.reloadProgressBlock();
|
589 |
-
return;
|
590 |
-
}
|
591 |
-
|
592 |
-
if (response.payment_methods_html) {
|
593 |
-
$('checkout-payment-method-load').update(response.payment_methods_html);
|
594 |
-
}
|
595 |
-
|
596 |
-
checkout.setShippingMethod();
|
597 |
-
}
|
598 |
-
}
|
599 |
-
|
600 |
-
|
601 |
-
// payment
|
602 |
-
var Payment = Class.create();
|
603 |
-
Payment.prototype = {
|
604 |
-
beforeInitFunc:$H({}),
|
605 |
-
afterInitFunc:$H({}),
|
606 |
-
beforeValidateFunc:$H({}),
|
607 |
-
afterValidateFunc:$H({}),
|
608 |
-
initialize: function(form, saveUrl){
|
609 |
-
this.form = form;
|
610 |
-
this.saveUrl = saveUrl;
|
611 |
-
this.onSave = this.nextStep.bindAsEventListener(this);
|
612 |
-
this.onComplete = this.resetLoadWaiting.bindAsEventListener(this);
|
613 |
-
},
|
614 |
-
|
615 |
-
addBeforeInitFunction : function(code, func) {
|
616 |
-
this.beforeInitFunc.set(code, func);
|
617 |
-
},
|
618 |
-
|
619 |
-
beforeInit : function() {
|
620 |
-
(this.beforeInitFunc).each(function(init){
|
621 |
-
(init.value)();;
|
622 |
-
});
|
623 |
-
},
|
624 |
-
|
625 |
-
init : function () {
|
626 |
-
this.beforeInit();
|
627 |
-
var elements = Form.getElements(this.form);
|
628 |
-
if ($(this.form)) {
|
629 |
-
$(this.form).observe('submit', function(event){this.save();Event.stop(event);}.bind(this));
|
630 |
-
}
|
631 |
-
var method = null;
|
632 |
-
for (var i=0; i<elements.length; i++) {
|
633 |
-
if (elements[i].name=='payment[method]') {
|
634 |
-
if (elements[i].checked) {
|
635 |
-
method = elements[i].value;
|
636 |
-
}
|
637 |
-
} else {
|
638 |
-
elements[i].disabled = true;
|
639 |
-
}
|
640 |
-
elements[i].setAttribute('autocomplete','off');
|
641 |
-
}
|
642 |
-
if (method) this.switchMethod(method);
|
643 |
-
this.afterInit();
|
644 |
-
},
|
645 |
-
|
646 |
-
addAfterInitFunction : function(code, func) {
|
647 |
-
this.afterInitFunc.set(code, func);
|
648 |
-
},
|
649 |
-
|
650 |
-
afterInit : function() {
|
651 |
-
(this.afterInitFunc).each(function(init){
|
652 |
-
(init.value)();
|
653 |
-
});
|
654 |
-
},
|
655 |
-
|
656 |
-
switchMethod: function(method){
|
657 |
-
if (this.currentMethod && $('payment_form_'+this.currentMethod)) {
|
658 |
-
this.changeVisible(this.currentMethod, true);
|
659 |
-
}
|
660 |
-
if ($('payment_form_'+method)){
|
661 |
-
this.changeVisible(method, false);
|
662 |
-
$('payment_form_'+method).fire('payment-method:switched', {method_code : method});
|
663 |
-
} else {
|
664 |
-
//Event fix for payment methods without form like "Check / Money order"
|
665 |
-
document.body.fire('payment-method:switched', {method_code : method});
|
666 |
-
}
|
667 |
-
this.currentMethod = method;
|
668 |
-
},
|
669 |
-
|
670 |
-
changeVisible: function(method, mode) {
|
671 |
-
var block = 'payment_form_' + method;
|
672 |
-
[block + '_before', block, block + '_after'].each(function(el) {
|
673 |
-
element = $(el);
|
674 |
-
if (element) {
|
675 |
-
element.style.display = (mode) ? 'none' : '';
|
676 |
-
element.select('input', 'select', 'textarea').each(function(field) {
|
677 |
-
field.disabled = mode;
|
678 |
-
});
|
679 |
-
}
|
680 |
-
});
|
681 |
-
},
|
682 |
-
|
683 |
-
addBeforeValidateFunction : function(code, func) {
|
684 |
-
this.beforeValidateFunc.set(code, func);
|
685 |
-
},
|
686 |
-
|
687 |
-
beforeValidate : function() {
|
688 |
-
var validateResult = true;
|
689 |
-
var hasValidation = false;
|
690 |
-
(this.beforeValidateFunc).each(function(validate){
|
691 |
-
hasValidation = true;
|
692 |
-
if ((validate.value)() == false) {
|
693 |
-
validateResult = false;
|
694 |
-
}
|
695 |
-
}.bind(this));
|
696 |
-
if (!hasValidation) {
|
697 |
-
validateResult = false;
|
698 |
-
}
|
699 |
-
return validateResult;
|
700 |
-
},
|
701 |
-
|
702 |
-
validate: function() {
|
703 |
-
var result = this.beforeValidate();
|
704 |
-
if (result) {
|
705 |
-
return true;
|
706 |
-
}
|
707 |
-
var methods = document.getElementsByName('payment[method]');
|
708 |
-
if (methods.length==0) {
|
709 |
-
alert(Translator.translate('Your order cannot be completed at this time as there is no payment methods available for it.'));
|
710 |
-
return false;
|
711 |
-
}
|
712 |
-
for (var i=0; i<methods.length; i++) {
|
713 |
-
if (methods[i].checked) {
|
714 |
-
return true;
|
715 |
-
}
|
716 |
-
}
|
717 |
-
result = this.afterValidate();
|
718 |
-
if (result) {
|
719 |
-
return true;
|
720 |
-
}
|
721 |
-
alert(Translator.translate('Please specify payment method.'));
|
722 |
-
return false;
|
723 |
-
},
|
724 |
-
|
725 |
-
addAfterValidateFunction : function(code, func) {
|
726 |
-
this.afterValidateFunc.set(code, func);
|
727 |
-
},
|
728 |
-
|
729 |
-
afterValidate : function() {
|
730 |
-
var validateResult = true;
|
731 |
-
var hasValidation = false;
|
732 |
-
(this.afterValidateFunc).each(function(validate){
|
733 |
-
hasValidation = true;
|
734 |
-
if ((validate.value)() == false) {
|
735 |
-
validateResult = false;
|
736 |
-
}
|
737 |
-
}.bind(this));
|
738 |
-
if (!hasValidation) {
|
739 |
-
validateResult = false;
|
740 |
-
}
|
741 |
-
return validateResult;
|
742 |
-
},
|
743 |
-
|
744 |
-
save: function(){
|
745 |
-
if (checkout.loadWaiting!=false) return;
|
746 |
-
var validator = new Validation(this.form);
|
747 |
-
if (this.validate() && validator.validate()) {
|
748 |
-
checkout.setLoadWaiting('payment');
|
749 |
-
var request = new Ajax.Request(
|
750 |
-
this.saveUrl,
|
751 |
-
{
|
752 |
-
method:'post',
|
753 |
-
onComplete: this.onComplete,
|
754 |
-
onSuccess: this.onSave,
|
755 |
-
onFailure: checkout.ajaxFailure.bind(checkout),
|
756 |
-
parameters: Form.serialize(this.form)
|
757 |
-
}
|
758 |
-
);
|
759 |
-
}
|
760 |
-
},
|
761 |
-
|
762 |
-
resetLoadWaiting: function(){
|
763 |
-
checkout.setLoadWaiting(false);
|
764 |
-
},
|
765 |
-
|
766 |
-
nextStep: function(transport){
|
767 |
-
if (transport && transport.responseText){
|
768 |
-
try{
|
769 |
-
response = eval('(' + transport.responseText + ')');
|
770 |
-
}
|
771 |
-
catch (e) {
|
772 |
-
response = {};
|
773 |
-
}
|
774 |
-
}
|
775 |
-
/*
|
776 |
-
* if there is an error in payment, need to show error message
|
777 |
-
*/
|
778 |
-
if (response.error) {
|
779 |
-
if (response.fields) {
|
780 |
-
var fields = response.fields.split(',');
|
781 |
-
for (var i=0;i<fields.length;i++) {
|
782 |
-
var field = null;
|
783 |
-
if (field = $(fields[i])) {
|
784 |
-
Validation.ajaxError(field, response.error);
|
785 |
-
}
|
786 |
-
}
|
787 |
-
return;
|
788 |
-
}
|
789 |
-
alert(response.error);
|
790 |
-
return;
|
791 |
-
}
|
792 |
-
|
793 |
-
checkout.setStepResponse(response);
|
794 |
-
|
795 |
-
//checkout.setPayment();
|
796 |
-
}
|
797 |
-
}
|
798 |
-
|
799 |
-
var Review = Class.create();
|
800 |
-
Review.prototype = {
|
801 |
-
initialize: function(saveUrl, successUrl, agreementsForm){
|
802 |
-
this.saveUrl = saveUrl;
|
803 |
-
this.successUrl = successUrl;
|
804 |
-
this.agreementsForm = agreementsForm;
|
805 |
-
this.onSave = this.nextStep.bindAsEventListener(this);
|
806 |
-
this.onComplete = this.resetLoadWaiting.bindAsEventListener(this);
|
807 |
-
},
|
808 |
-
|
809 |
-
save: function(){
|
810 |
-
if (checkout.loadWaiting!=false) return;
|
811 |
-
checkout.setLoadWaiting('review');
|
812 |
-
var params = Form.serialize(payment.form);
|
813 |
-
if (this.agreementsForm) {
|
814 |
-
params += '&'+Form.serialize(this.agreementsForm);
|
815 |
-
}
|
816 |
-
params.save = true;
|
817 |
-
var request = new Ajax.Request(
|
818 |
-
this.saveUrl,
|
819 |
-
{
|
820 |
-
method:'post',
|
821 |
-
parameters:params,
|
822 |
-
onComplete: this.onComplete,
|
823 |
-
onSuccess: this.onSave,
|
824 |
-
onFailure: checkout.ajaxFailure.bind(checkout)
|
825 |
-
}
|
826 |
-
);
|
827 |
-
},
|
828 |
-
|
829 |
-
resetLoadWaiting: function(transport){
|
830 |
-
checkout.setLoadWaiting(false, this.isSuccess);
|
831 |
-
},
|
832 |
-
|
833 |
-
nextStep: function(transport){
|
834 |
-
if (transport && transport.responseText) {
|
835 |
-
try{
|
836 |
-
response = eval('(' + transport.responseText + ')');
|
837 |
-
}
|
838 |
-
catch (e) {
|
839 |
-
response = {};
|
840 |
-
}
|
841 |
-
if (response.redirect) {
|
842 |
-
this.isSuccess = true;
|
843 |
-
location.href = response.redirect;
|
844 |
-
return;
|
845 |
-
}
|
846 |
-
if (response.success) {
|
847 |
-
this.isSuccess = true;
|
848 |
-
window.location=this.successUrl;
|
849 |
-
}
|
850 |
-
else{
|
851 |
-
var msg = response.error_messages;
|
852 |
-
if (typeof(msg)=='object') {
|
853 |
-
msg = msg.join("\n");
|
854 |
-
}
|
855 |
-
if (msg) {
|
856 |
-
alert(msg);
|
857 |
-
}
|
858 |
-
}
|
859 |
-
|
860 |
-
if (response.update_section) {
|
861 |
-
$('checkout-'+response.update_section.name+'-load').update(response.update_section.html);
|
862 |
-
}
|
863 |
-
|
864 |
-
if (response.goto_section) {
|
865 |
-
checkout.gotoSection(response.goto_section);
|
866 |
-
checkout.reloadProgressBlock();
|
867 |
-
}
|
868 |
-
}
|
869 |
-
},
|
870 |
-
|
871 |
-
isSuccess: false
|
872 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|