Version Notes
1.9.1.0
Download this release
Release Info
Developer | Magento Core Team |
Extension | Interface_Frontend_Rwd_Default |
Version | 1.9.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.9.0.1 to 1.9.1.0
- app/design/frontend/rwd/default/etc/theme.xml +3 -3
- app/design/frontend/rwd/default/etc/widget.xml +3 -3
- app/design/frontend/rwd/default/layout/bundle.xml +3 -3
- app/design/frontend/rwd/default/layout/captcha.xml +0 -4
- app/design/frontend/rwd/default/layout/catalog.xml +3 -3
- app/design/frontend/rwd/default/layout/catalog_msrp.xml +5 -39
- app/design/frontend/rwd/default/layout/catalogsearch.xml +3 -3
- app/design/frontend/rwd/default/layout/checkout.xml +3 -3
- app/design/frontend/rwd/default/layout/cms.xml +3 -3
- app/design/frontend/rwd/default/layout/configurableswatches.xml +79 -0
- app/design/frontend/rwd/default/layout/contacts.xml +3 -3
- app/design/frontend/rwd/default/layout/customer.xml +3 -3
- app/design/frontend/rwd/default/layout/directory.xml +3 -3
- app/design/frontend/rwd/default/layout/downloadable.xml +3 -3
- app/design/frontend/rwd/default/layout/newsletter.xml +3 -3
- app/design/frontend/rwd/default/layout/oauth.xml +3 -3
- app/design/frontend/rwd/default/layout/page.xml +5 -4
- app/design/frontend/rwd/default/layout/paypal.xml +14 -14
- app/design/frontend/rwd/default/layout/persistent.xml +3 -3
- app/design/frontend/rwd/default/layout/poll.xml +0 -4
- app/design/frontend/rwd/default/layout/review.xml +3 -3
- app/design/frontend/rwd/default/layout/rss.xml +3 -3
- app/design/frontend/rwd/default/layout/sales.xml +24 -18
- app/design/frontend/rwd/default/layout/tag.xml +0 -4
- app/design/frontend/rwd/default/layout/wishlist.xml +4 -4
- app/design/frontend/rwd/default/locale/en_US/translate.csv +0 -20
- app/design/frontend/rwd/default/template/authorizenet/directpost/form.phtml +3 -3
- app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle.phtml +3 -3
- app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/availability.phtml +3 -3
- app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml +3 -3
- app/design/frontend/rwd/default/template/bundle/email/order/items/creditmemo/default.phtml +177 -0
- app/design/frontend/rwd/default/template/bundle/email/order/items/invoice/default.phtml +178 -0
- app/design/frontend/rwd/default/template/bundle/email/order/items/order/default.phtml +175 -0
- app/design/frontend/rwd/default/template/bundle/email/order/items/shipment/default.phtml +100 -0
- app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml +3 -3
- app/design/frontend/rwd/default/template/captcha/zend.phtml +51 -0
- app/design/frontend/rwd/default/template/catalog/layer/filter.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/layer/state.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/layer/view.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/navigation/left.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/compare/list.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/compare/sidebar.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/list.phtml +29 -22
- app/design/frontend/rwd/default/template/catalog/product/list/related.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/list/upsell.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/new.phtml +0 -64
- app/design/frontend/rwd/default/template/catalog/product/price.phtml +463 -0
- app/design/frontend/rwd/default/template/catalog/product/view.phtml +4 -4
- app/design/frontend/rwd/default/template/catalog/product/view/addto.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/view/media.phtml +11 -23
- app/design/frontend/rwd/default/template/catalog/product/view/sharing.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/view/type/availability/default.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/view/type/availability/grouped.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/view/type/default.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/view/type/grouped.phtml +4 -4
- app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml +4 -4
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml +3 -3
- app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_grid.phtml +6 -5
- app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml +3 -3
- app/design/frontend/rwd/default/template/cataloginventory/stockqty/composite.phtml +3 -3
- app/design/frontend/rwd/default/template/catalogsearch/advanced/form.phtml +4 -4
- app/design/frontend/rwd/default/template/catalogsearch/form.mini.phtml +3 -3
- app/design/frontend/rwd/default/template/catalogsearch/result.phtml +4 -4
- app/design/frontend/rwd/default/template/centinel/authentication/start.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart.phtml +5 -5
- app/design/frontend/rwd/default/template/checkout/cart/coupon.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart/crosssell.phtml +15 -13
- app/design/frontend/rwd/default/template/checkout/cart/item/configure/updatecart.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart/minicart.phtml +4 -4
- app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml +6 -6
- app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml +11 -10
- app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml +4 -4
- app/design/frontend/rwd/default/template/checkout/cart/sidebar.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/multishipping/addresses.phtml +81 -0
- app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml +4 -4
- app/design/frontend/rwd/default/template/checkout/multishipping/item/default.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/multishipping/overview.phtml +245 -0
- app/design/frontend/rwd/default/template/checkout/multishipping/overview/item.phtml +242 -0
- app/design/frontend/rwd/default/template/checkout/onepage.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/onepage/progress.phtml +3 -3
- app/design/frontend/rwd/default/template/checkout/onepage/review/info.phtml +5 -4
- app/design/frontend/rwd/default/template/checkout/onepage/review/item.phtml +11 -7
- app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml +3 -3
- app/design/frontend/rwd/default/template/configurableswatches/catalog/layer/filter/swatches.phtml +75 -0
- app/design/frontend/rwd/default/template/configurableswatches/catalog/layer/state/swatch.phtml +59 -0
- app/design/frontend/rwd/default/template/configurableswatches/catalog/media/js.phtml +39 -0
- app/design/frontend/rwd/default/template/configurableswatches/catalog/product/list/swatches.phtml +77 -0
- app/design/frontend/rwd/default/template/configurableswatches/catalog/product/view/type/configurable/swatch-js.phtml +31 -0
- app/design/frontend/rwd/default/template/configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml +86 -0
- app/design/frontend/rwd/default/template/contacts/form.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/account/dashboard.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/account/dashboard/address.phtml +3 -3
- app/design/frontend/rwd/default/template/customer/account/navigation.phtml +3 -3
- app/design/frontend/rwd/default/template/customer/address/edit.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/form/address.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/form/changepassword.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/form/confirmation.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/form/edit.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/form/forgotpassword.phtml +4 -4
- app/design/frontend/rwd/default/template/customer/form/mini.login.phtml +3 -3
- app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml +4 -4
- app/design/frontend/rwd/default/template/directory/currency.phtml +3 -3
- app/design/frontend/rwd/default/template/downloadable/catalog/product/type.phtml +3 -3
- app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml +3 -3
- app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml +3 -3
- app/design/frontend/rwd/default/template/downloadable/customer/products/list.phtml +4 -4
- app/design/frontend/rwd/default/template/downloadable/email/order/items/creditmemo/downloadable.phtml +138 -0
- app/design/frontend/rwd/default/template/downloadable/email/order/items/invoice/downloadable.phtml +146 -0
- app/design/frontend/rwd/default/template/downloadable/email/order/items/order/downloadable.phtml +148 -0
- app/design/frontend/rwd/default/template/downloadable/sales/order/items/renderer/downloadable.phtml +3 -3
- app/design/frontend/rwd/default/template/email/catalog/product/list.phtml +193 -0
- app/design/frontend/rwd/default/template/email/catalog/product/new.phtml +51 -0
- app/design/frontend/rwd/default/template/email/order/creditmemo/items.phtml +59 -0
- app/design/frontend/rwd/default/template/email/order/invoice/items.phtml +58 -0
- app/design/frontend/rwd/default/template/email/order/items.phtml +89 -0
- app/design/frontend/rwd/default/template/email/order/items/creditmemo/default.phtml +126 -0
- app/design/frontend/rwd/default/template/email/order/items/invoice/default.phtml +126 -0
- app/design/frontend/rwd/default/template/email/order/items/order/default.phtml +138 -0
- app/design/frontend/rwd/default/template/email/order/items/shipment/default.phtml +49 -0
- app/design/frontend/rwd/default/template/email/order/shipment/items.phtml +56 -0
- app/design/frontend/rwd/default/template/email/order/shipment/track.phtml +46 -0
- app/design/frontend/rwd/default/template/email/order/totals/wrapper.phtml +35 -0
- app/design/frontend/rwd/default/template/email/productalert/price.phtml +55 -0
- app/design/frontend/rwd/default/template/email/productalert/stock.phtml +55 -0
- app/design/frontend/rwd/default/template/newsletter/subscribe.phtml +3 -3
- app/design/frontend/rwd/default/template/oauth/authorize/form/login-simple.phtml +3 -3
- app/design/frontend/rwd/default/template/page/1column.phtml +8 -8
- app/design/frontend/rwd/default/template/page/2columns-left.phtml +8 -8
- app/design/frontend/rwd/default/template/page/2columns-right.phtml +8 -8
- app/design/frontend/rwd/default/template/page/3columns.phtml +8 -8
- app/design/frontend/rwd/default/template/page/empty.phtml +8 -8
- app/design/frontend/rwd/default/template/page/html/footer.phtml +3 -3
- app/design/frontend/rwd/default/template/page/html/header.phtml +12 -22
- app/design/frontend/rwd/default/template/page/html/pager.phtml +3 -3
- app/design/frontend/rwd/default/template/page/html/topmenu.phtml +3 -3
- app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml +5 -5
- app/design/frontend/rwd/default/template/page/popup.phtml +8 -8
- app/design/frontend/rwd/default/template/page/print.phtml +8 -8
- app/design/frontend/rwd/default/template/page/template/links.phtml +3 -3
- app/design/frontend/rwd/default/template/payment/form/cc.phtml +3 -3
- app/design/frontend/rwd/default/template/payment/form/ccsave.phtml +3 -3
- app/design/frontend/rwd/default/template/payment/info/default.phtml +3 -3
- app/design/frontend/rwd/default/template/paypal/bml.phtml +3 -3
- app/design/frontend/rwd/default/template/paypal/express/minicart/shortcut.phtml +4 -4
- app/design/frontend/rwd/default/template/paypal/express/product/shortcut.phtml +4 -4
- app/design/frontend/rwd/default/template/paypal/express/review.phtml +3 -3
- app/design/frontend/rwd/default/template/paypal/express/review/address.phtml +3 -3
- app/design/frontend/rwd/default/template/paypal/express/review/details.phtml +3 -3
- app/design/frontend/rwd/default/template/paypal/express/review/shipping/method.phtml +3 -3
- app/design/frontend/rwd/default/template/paypal/partner/us_logo.phtml +41 -0
- app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml +3 -3
- app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml +5 -5
- app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml +4 -4
- app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml +4 -4
- app/design/frontend/rwd/default/template/persistent/remember_me.phtml +3 -3
- app/design/frontend/rwd/default/template/persistent/remember_me_tooltip.phtml +5 -5
- app/design/frontend/rwd/default/template/rating/detailed.phtml +48 -0
- app/design/frontend/rwd/default/template/reports/product_viewed.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml +4 -4
- app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_default_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_images_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_names_list.phtml +3 -3
- app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_grid.phtml +4 -4
- app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_list.phtml +3 -3
- app/design/frontend/rwd/default/template/review/customer/view.phtml +3 -3
- app/design/frontend/rwd/default/template/review/form.phtml +3 -3
- app/design/frontend/rwd/default/template/review/product/view/list.phtml +7 -5
- app/design/frontend/rwd/default/template/review/view.phtml +3 -3
- app/design/frontend/rwd/default/template/sales/billing/agreement/view.phtml +110 -0
- app/design/frontend/rwd/default/template/sales/billing/agreements.phtml +99 -0
- app/design/frontend/rwd/default/template/sales/order/creditmemo/items.phtml +9 -9
- app/design/frontend/rwd/default/template/sales/order/creditmemo/items/renderer/default.phtml +3 -3
- app/design/frontend/rwd/default/template/sales/order/history.phtml +4 -4
- app/design/frontend/rwd/default/template/sales/order/invoice/items.phtml +61 -0
- app/design/frontend/rwd/default/template/sales/order/invoice/items/renderer/default.phtml +332 -0
- app/design/frontend/rwd/default/template/sales/order/items.phtml +3 -3
- app/design/frontend/rwd/default/template/sales/order/items/renderer/default.phtml +3 -3
- app/design/frontend/rwd/default/template/sales/order/recent.phtml +3 -3
- app/design/frontend/rwd/default/template/sales/order/shipment/items.phtml +3 -3
- app/design/frontend/rwd/default/template/sales/recurring/grid.phtml +80 -0
- app/design/frontend/rwd/default/template/sales/recurring/profile/view.phtml +109 -0
- app/design/frontend/rwd/default/template/sales/widget/guest/form.phtml +5 -5
- app/design/frontend/rwd/default/template/sendfriend/send.phtml +4 -4
- app/design/frontend/rwd/default/template/wishlist/button/update.phtml +3 -3
- app/design/frontend/rwd/default/template/wishlist/item/column/cart.phtml +3 -3
- app/design/frontend/rwd/default/template/wishlist/item/column/info.phtml +4 -4
- app/design/frontend/rwd/default/template/wishlist/item/column/price.phtml +3 -3
- app/design/frontend/rwd/default/template/wishlist/item/column/quantity.phtml +3 -3
- app/design/frontend/rwd/default/template/wishlist/item/list.phtml +17 -6
- app/design/frontend/rwd/default/template/wishlist/shared.phtml +4 -4
- app/design/frontend/rwd/default/template/wishlist/sidebar.phtml +3 -3
- app/design/frontend/rwd/default/template/wishlist/view.phtml +4 -4
- package.xml +6 -6
- skin/frontend/rwd/default/css/madisonisland-ie8.css +4 -4
- skin/frontend/rwd/default/css/madisonisland.css +4 -4
- skin/frontend/rwd/default/css/scaffold-forms.css +4 -4
- skin/frontend/rwd/default/css/styles-ie8.css +943 -295
- skin/frontend/rwd/default/css/styles.css +1249 -363
- skin/frontend/rwd/default/images/logo_email.gif +0 -0
- skin/frontend/rwd/default/js/app.js +709 -173
- skin/frontend/rwd/default/js/configurableswatches/product-media.js +235 -0
- skin/frontend/rwd/default/js/configurableswatches/swatches-list.js +77 -0
- skin/frontend/rwd/default/js/configurableswatches/swatches-product.js +803 -0
- skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js +1 -1
- skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevatezoom.js +1583 -1583
- skin/frontend/rwd/default/js/lib/enquire.js +1 -1
- skin/frontend/rwd/default/js/lib/fastclick.js +1 -1
- skin/frontend/rwd/default/js/lib/imagesloaded.js +1 -1
- skin/frontend/rwd/default/js/lib/jquery-1.10.2.js +0 -2713
app/design/frontend/rwd/default/etc/theme.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/rwd/default/etc/widget.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/rwd/default/layout/bundle.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/captcha.xml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout version="0.1.0">
|
3 |
-
<!-- Remove all captcha functionality from theme layout -->
|
4 |
-
</layout>
|
|
|
|
|
|
|
|
app/design/frontend/rwd/default/layout/catalog.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/catalog_msrp.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -30,54 +30,20 @@
|
|
30 |
<!--
|
31 |
Default layout, loads most of the pages
|
32 |
-->
|
33 |
-
<catalog_category_default>
|
34 |
-
<update handle="MAP_popup" />
|
35 |
-
</catalog_category_default>
|
36 |
-
<catalog_category_layered>
|
37 |
-
<update handle="MAP_popup" />
|
38 |
-
</catalog_category_layered>
|
39 |
-
<catalog_product_compare_index>
|
40 |
-
<update handle="MAP_popup" />
|
41 |
-
</catalog_product_compare_index>
|
42 |
<catalog_product_view>
|
43 |
-
<update handle="MAP_popup" />
|
44 |
<update handle="MAP_price_msrp_item" />
|
45 |
</catalog_product_view>
|
46 |
-
<checkout_cart_index>
|
47 |
-
<update handle="MAP_popup" />
|
48 |
-
</checkout_cart_index>
|
49 |
-
<checkout_onepage_success>
|
50 |
-
<update handle="MAP_popup" />
|
51 |
-
</checkout_onepage_success>
|
52 |
-
<checkout_onepage_failure>
|
53 |
-
<update handle="MAP_popup" />
|
54 |
-
</checkout_onepage_failure>
|
55 |
<wishlist_index_index>
|
56 |
-
<update handle="MAP_popup" />
|
57 |
<update handle="MAP_price_msrp_wishlist_item" />
|
58 |
</wishlist_index_index>
|
59 |
<wishlist_shared_index>
|
60 |
-
<update handle="MAP_popup" />
|
61 |
<update handle="MAP_price_msrp_wishlist_item" />
|
62 |
</wishlist_shared_index>
|
63 |
<review_product_list>
|
64 |
-
<update handle="MAP_popup" />
|
65 |
<update handle="MAP_price_msrp_item" />
|
66 |
</review_product_list>
|
67 |
-
<catalogsearch_result_index>
|
68 |
-
<update handle="MAP_popup" />
|
69 |
-
</catalogsearch_result_index>
|
70 |
-
<catalogsearch_advanced_result>
|
71 |
-
<update handle="MAP_popup" />
|
72 |
-
</catalogsearch_advanced_result>
|
73 |
-
<tag_product_list>
|
74 |
-
<update handle="MAP_popup" />
|
75 |
-
</tag_product_list>
|
76 |
-
<tag_customer_view>
|
77 |
-
<update handle="MAP_popup" />
|
78 |
-
</tag_customer_view>
|
79 |
|
80 |
-
<
|
81 |
<reference name="head">
|
82 |
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp.js</name></action>
|
83 |
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp_rwd.js</name></action>
|
@@ -85,7 +51,7 @@ Default layout, loads most of the pages
|
|
85 |
<reference name="content">
|
86 |
<block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"></block>
|
87 |
</reference>
|
88 |
-
</
|
89 |
<MAP_price_msrp_item>
|
90 |
<reference name="catalog_product_price_template">
|
91 |
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
30 |
<!--
|
31 |
Default layout, loads most of the pages
|
32 |
-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
<catalog_product_view>
|
|
|
34 |
<update handle="MAP_price_msrp_item" />
|
35 |
</catalog_product_view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
<wishlist_index_index>
|
|
|
37 |
<update handle="MAP_price_msrp_wishlist_item" />
|
38 |
</wishlist_index_index>
|
39 |
<wishlist_shared_index>
|
|
|
40 |
<update handle="MAP_price_msrp_wishlist_item" />
|
41 |
</wishlist_shared_index>
|
42 |
<review_product_list>
|
|
|
43 |
<update handle="MAP_price_msrp_item" />
|
44 |
</review_product_list>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
|
46 |
+
<default>
|
47 |
<reference name="head">
|
48 |
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp.js</name></action>
|
49 |
<action method="addItem" ifconfig="sales/msrp/enabled"><type>skin_js</type><name>js/msrp_rwd.js</name></action>
|
51 |
<reference name="content">
|
52 |
<block type="core/template" template="catalog/msrp/popup.phtml" name="product.tooltip"></block>
|
53 |
</reference>
|
54 |
+
</default>
|
55 |
<MAP_price_msrp_item>
|
56 |
<reference name="catalog_product_price_template">
|
57 |
<action method="addPriceBlockType"><type>msrp</type><block>catalog/product_price</block><template>catalog/product/price_msrp_item.phtml</template></action>
|
app/design/frontend/rwd/default/layout/catalogsearch.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/checkout.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/cms.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/rwd/default/layout/configurableswatches.xml
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<!--
|
3 |
+
/**
|
4 |
+
* Magento
|
5 |
+
*
|
6 |
+
* NOTICE OF LICENSE
|
7 |
+
*
|
8 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
9 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
10 |
+
* It is also available through the world-wide-web at this URL:
|
11 |
+
* http://opensource.org/licenses/afl-3.0.php
|
12 |
+
* If you did not receive a copy of the license and are unable to
|
13 |
+
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
+
*
|
16 |
+
* DISCLAIMER
|
17 |
+
*
|
18 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
+
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
+
*
|
22 |
+
* @category design
|
23 |
+
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
+
*/
|
27 |
+
-->
|
28 |
+
<layout version="0.1.0">
|
29 |
+
|
30 |
+
<product_list>
|
31 |
+
<reference name="head">
|
32 |
+
<action method="addItem"><type>skin_js</type><name>js/configurableswatches/product-media.js</name></action>
|
33 |
+
<action method="addItem"><type>skin_js</type><name>js/configurableswatches/swatches-list.js</name></action>
|
34 |
+
</reference>
|
35 |
+
<reference name="product_list.name.after">
|
36 |
+
<block type="core/template" name="product_list.swatches" template="configurableswatches/catalog/product/list/swatches.phtml" />
|
37 |
+
</reference>
|
38 |
+
<reference name="product_list.after">
|
39 |
+
<block type="configurableswatches/catalog_media_js_list" name="configurableswatches.media.js.list" />
|
40 |
+
</reference>
|
41 |
+
</product_list>
|
42 |
+
|
43 |
+
<catalog_category_default>
|
44 |
+
<update handle="product_list"/>
|
45 |
+
</catalog_category_default>
|
46 |
+
|
47 |
+
<catalog_category_layered>
|
48 |
+
<update handle="product_list"/>
|
49 |
+
</catalog_category_layered>
|
50 |
+
|
51 |
+
<catalogsearch_result_index>
|
52 |
+
<update handle="product_list"/>
|
53 |
+
</catalogsearch_result_index>
|
54 |
+
|
55 |
+
<catalogsearch_advanced_result>
|
56 |
+
<update handle="product_list"/>
|
57 |
+
</catalogsearch_advanced_result>
|
58 |
+
|
59 |
+
<PRODUCT_TYPE_configurable>
|
60 |
+
<reference name="head">
|
61 |
+
<action method="addItem"><type>skin_js</type><name>js/configurableswatches/product-media.js</name></action>
|
62 |
+
<action method="addItem"><type>skin_js</type><name>js/configurableswatches/swatches-product.js</name></action>
|
63 |
+
</reference>
|
64 |
+
<reference name="product.info.media">
|
65 |
+
<action method="setGalleryFilterHelper"><helper>configurableswatches/productimg</helper></action>
|
66 |
+
<action method="setGalleryFilterMethod"><method>filterImageInGallery</method></action>
|
67 |
+
</reference>
|
68 |
+
<reference name="product.info.media.after">
|
69 |
+
<block type="configurableswatches/catalog_media_js_product" name="configurableswatches.media.js.product" />
|
70 |
+
</reference>
|
71 |
+
<reference name="product.info.options.configurable.renderers">
|
72 |
+
<block type="configurableswatches/catalog_product_view_type_configurable_swatches" template="configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml" />
|
73 |
+
</reference>
|
74 |
+
<reference name="product.info.options.configurable.after">
|
75 |
+
<block type="core/template" template="configurableswatches/catalog/product/view/type/configurable/swatch-js.phtml" />
|
76 |
+
</reference>
|
77 |
+
</PRODUCT_TYPE_configurable>
|
78 |
+
|
79 |
+
</layout>
|
app/design/frontend/rwd/default/layout/contacts.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/rwd/default/layout/customer.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/directory.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/downloadable.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/newsletter.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/oauth.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/rwd/default/layout/page.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
@@ -36,6 +36,8 @@
|
|
36 |
|
37 |
<block type="page/html_head" name="head" as="head">
|
38 |
<action method="addJs"><script>prototype/prototype.js</script></action>
|
|
|
|
|
39 |
<action method="addJs"><script>lib/ccard.js</script></action>
|
40 |
<action method="addJs"><script>prototype/validation.js</script></action>
|
41 |
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
@@ -54,7 +56,6 @@
|
|
54 |
<action method="removeItem"><type>skin_js</type><name>js/ie6.js</name></action>
|
55 |
|
56 |
<!-- Add vendor dependencies -->
|
57 |
-
<action method="addItem"><type>skin_js</type><name>js/lib/jquery-1.10.2.min.js</name></action>
|
58 |
<action method="addItem"><type>skin_js</type><name>js/lib/modernizr.custom.min.js</name></action>
|
59 |
<action method="addItem"><type>skin_js</type><name>js/lib/selectivizr.js</name></action>
|
60 |
<action method="addItem"><type>skin_js</type><name>js/lib/matchMedia.js</name></action>
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
36 |
|
37 |
<block type="page/html_head" name="head" as="head">
|
38 |
<action method="addJs"><script>prototype/prototype.js</script></action>
|
39 |
+
<action method="addJs"><script>lib/jquery/jquery-1.10.2.min.js</script></action>
|
40 |
+
<action method="addJs"><script>lib/jquery/noconflict.js</script></action>
|
41 |
<action method="addJs"><script>lib/ccard.js</script></action>
|
42 |
<action method="addJs"><script>prototype/validation.js</script></action>
|
43 |
<action method="addJs"><script>scriptaculous/builder.js</script></action>
|
56 |
<action method="removeItem"><type>skin_js</type><name>js/ie6.js</name></action>
|
57 |
|
58 |
<!-- Add vendor dependencies -->
|
|
|
59 |
<action method="addItem"><type>skin_js</type><name>js/lib/modernizr.custom.min.js</name></action>
|
60 |
<action method="addItem"><type>skin_js</type><name>js/lib/selectivizr.js</name></action>
|
61 |
<action method="addItem"><type>skin_js</type><name>js/lib/matchMedia.js</name></action>
|
app/design/frontend/rwd/default/layout/paypal.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -103,24 +103,24 @@ Available logo types can be assigned with action="setLogoType":
|
|
103 |
</reference>
|
104 |
<update handle="SHORTCUT_popup" />
|
105 |
<reference name="right">
|
106 |
-
|
107 |
<!--action method="setLogoType"><value>wePrefer_150x60</value></action-->
|
108 |
-
|
109 |
</reference>
|
110 |
</catalog_product_view>
|
111 |
|
112 |
<catalog_category_default>
|
113 |
<update handle="SHORTCUT_popup" />
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
</catalog_category_default>
|
118 |
|
119 |
<catalog_category_layered>
|
120 |
<update handle="SHORTCUT_popup" />
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
</catalog_category_layered>
|
125 |
|
126 |
<catalog_product_compare_index>
|
@@ -157,9 +157,9 @@ Available logo types can be assigned with action="setLogoType":
|
|
157 |
</checkout_onepage_failure>
|
158 |
|
159 |
<cms_index_index>
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
</cms_index_index>
|
164 |
|
165 |
<default>
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
103 |
</reference>
|
104 |
<update handle="SHORTCUT_popup" />
|
105 |
<reference name="right">
|
106 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml">
|
107 |
<!--action method="setLogoType"><value>wePrefer_150x60</value></action-->
|
108 |
+
</block>
|
109 |
</reference>
|
110 |
</catalog_product_view>
|
111 |
|
112 |
<catalog_category_default>
|
113 |
<update handle="SHORTCUT_popup" />
|
114 |
+
<reference name="right">
|
115 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
|
116 |
+
</reference>
|
117 |
</catalog_category_default>
|
118 |
|
119 |
<catalog_category_layered>
|
120 |
<update handle="SHORTCUT_popup" />
|
121 |
+
<reference name="right">
|
122 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
|
123 |
+
</reference>
|
124 |
</catalog_category_layered>
|
125 |
|
126 |
<catalog_product_compare_index>
|
157 |
</checkout_onepage_failure>
|
158 |
|
159 |
<cms_index_index>
|
160 |
+
<reference name="right">
|
161 |
+
<block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
|
162 |
+
</reference>
|
163 |
</cms_index_index>
|
164 |
|
165 |
<default>
|
app/design/frontend/rwd/default/layout/persistent.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/poll.xml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout version="0.1.0">
|
3 |
-
<!-- Remove all poll functionality from theme layout -->
|
4 |
-
</layout>
|
|
|
|
|
|
|
|
app/design/frontend/rwd/default/layout/review.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
app/design/frontend/rwd/default/layout/rss.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
-->
|
app/design/frontend/rwd/default/layout/sales.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -273,11 +273,13 @@ Email layouts section
|
|
273 |
<block type="sales/order_email_items" name="items" template="email/order/items.phtml">
|
274 |
<action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
|
275 |
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
|
276 |
-
<block type="
|
277 |
-
<
|
278 |
-
|
279 |
-
|
280 |
-
<
|
|
|
|
|
281 |
</block>
|
282 |
</block>
|
283 |
</block>
|
@@ -288,11 +290,13 @@ Email layouts section
|
|
288 |
<block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
|
289 |
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
|
290 |
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
|
291 |
-
<block type="
|
292 |
-
<
|
293 |
-
|
294 |
-
|
295 |
-
<
|
|
|
|
|
296 |
</block>
|
297 |
</block>
|
298 |
</block>
|
@@ -310,11 +314,13 @@ Email layouts section
|
|
310 |
<block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
|
311 |
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
312 |
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
313 |
-
<block type="
|
314 |
-
<
|
315 |
-
|
316 |
-
|
317 |
-
<
|
|
|
|
|
318 |
</block>
|
319 |
</block>
|
320 |
</block>
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
273 |
<block type="sales/order_email_items" name="items" template="email/order/items.phtml">
|
274 |
<action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
|
275 |
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
|
276 |
+
<block type="core/template" name="order_totals_wrapper" as="order_totals" template="email/order/totals/wrapper.phtml">
|
277 |
+
<block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
|
278 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
279 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
280 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
281 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
282 |
+
</block>
|
283 |
</block>
|
284 |
</block>
|
285 |
</block>
|
290 |
<block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
|
291 |
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
|
292 |
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
|
293 |
+
<block type="core/template" name="invoice_totals_wrapper" as="invoice_totals" template="email/order/totals/wrapper.phtml">
|
294 |
+
<block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
|
295 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
296 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
297 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
298 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
299 |
+
</block>
|
300 |
</block>
|
301 |
</block>
|
302 |
</block>
|
314 |
<block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
|
315 |
<action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
316 |
<action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
|
317 |
+
<block type="core/template" name="creditmemo_totals_wrapper" as="creditmemo_totals" template="email/order/totals/wrapper.phtml">
|
318 |
+
<block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
|
319 |
+
<action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
|
320 |
+
<action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
|
321 |
+
<block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
|
322 |
+
<action method="setIsPlaneMode"><value>1</value></action>
|
323 |
+
</block>
|
324 |
</block>
|
325 |
</block>
|
326 |
</block>
|
app/design/frontend/rwd/default/layout/tag.xml
DELETED
@@ -1,4 +0,0 @@
|
|
1 |
-
<?xml version="1.0"?>
|
2 |
-
<layout version="0.1.0">
|
3 |
-
<!-- Remove all tags functionality from theme layout -->
|
4 |
-
</layout>
|
|
|
|
|
|
|
|
app/design/frontend/rwd/default/layout/wishlist.xml
CHANGED
@@ -11,17 +11,17 @@
|
|
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@
|
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.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
-
* @copyright Copyright (c) 2014
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
@@ -85,7 +85,7 @@ Wishlist pages
|
|
85 |
</block>
|
86 |
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.quantity" template="wishlist/item/column/quantity.phtml">
|
87 |
<action method="setTitle" translate="title">
|
88 |
-
<title>
|
89 |
</action>
|
90 |
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
91 |
</block>
|
11 |
* http://opensource.org/licenses/afl-3.0.php
|
12 |
* If you did not receive a copy of the license and are unable to
|
13 |
* obtain it through the world-wide-web, please send an email
|
14 |
+
* to license@magento.com so we can send you a copy immediately.
|
15 |
*
|
16 |
* DISCLAIMER
|
17 |
*
|
18 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
19 |
* versions in the future. If you wish to customize Magento for your
|
20 |
+
* needs please refer to http://www.magento.com for more information.
|
21 |
*
|
22 |
* @category design
|
23 |
* @package rwd_default
|
24 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
25 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
26 |
*/
|
27 |
|
85 |
</block>
|
86 |
<block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.quantity" template="wishlist/item/column/quantity.phtml">
|
87 |
<action method="setTitle" translate="title">
|
88 |
+
<title>Qty</title>
|
89 |
</action>
|
90 |
<block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
|
91 |
</block>
|
app/design/frontend/rwd/default/locale/en_US/translate.csv
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
"###","- - - - - - - - - - - - - - - - - - - - -"
|
2 |
-
"###","Custom phrases that exist only in this theme."
|
3 |
-
"###","- - - - - - - - - - - - - - - - - - - - -"
|
4 |
-
"###","Page Module"
|
5 |
-
"Results per page","Results per page"
|
6 |
-
"%s-%s of %s","%s-%s of %s"
|
7 |
-
"###","Catalog Module"
|
8 |
-
"Filter","Filter"
|
9 |
-
"View Details","View Details"
|
10 |
-
"Share on Facebook","Share on Facebook"
|
11 |
-
"Share on Twitter","Share on Twitter"
|
12 |
-
"###","Checkout Module"
|
13 |
-
"Are you sure you want to leave this page? You will need to go through the checkout steps again.","Are you sure you want to leave this page? You will need to go through the checkout steps again."
|
14 |
-
"Zip/Postal Code","Zip"
|
15 |
-
"Discount Codes?","Discount Codes?"
|
16 |
-
"###","Customer Module"
|
17 |
-
"Registration is free and easy!","Registration is free and easy!"
|
18 |
-
"Faster checkout","Faster checkout"
|
19 |
-
"Save multiple shipping addresses","Save multiple shipping addresses"
|
20 |
-
"View and track orders and more","View and track orders and more"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/rwd/default/template/authorizenet/directpost/form.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/availability.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
$_product = $this->getProduct() ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
$_product = $this->getProduct() ?>
|
app/design/frontend/rwd/default/template/bundle/catalog/product/view/type/bundle/option/select.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/bundle/email/order/items/creditmemo/default.phtml
ADDED
@@ -0,0 +1,177 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $parentItem = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder(); ?>
|
29 |
+
|
30 |
+
<?php $items = $this->getChilds($parentItem) ?>
|
31 |
+
|
32 |
+
<?php $_prevOptionId = '' ?>
|
33 |
+
|
34 |
+
<?php foreach ($items as $_item): ?>
|
35 |
+
|
36 |
+
<?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
37 |
+
<?php $_showlastRow = true ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php $_showlastRow = false ?>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
42 |
+
<?php if ($_item->getOrderItem()->getParentItem()): ?>
|
43 |
+
<?php $attributes = $this->getSelectionAttributes($_item) ?>
|
44 |
+
<?php if ($_prevOptionId != $attributes['option_id']): ?>
|
45 |
+
<tr>
|
46 |
+
<td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
|
47 |
+
<td class="bundle-item"> </td>
|
48 |
+
<td class="bundle-item"> </td>
|
49 |
+
</tr>
|
50 |
+
<?php $_prevOptionId = $attributes['option_id'] ?>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
<tr id="order-item-row-<?php echo $_item->getId() ?>">
|
54 |
+
<?php if (!$_item->getOrderItem()->getParentItem()): ?>
|
55 |
+
<td class="bundle-item-parent product-info">
|
56 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
57 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
58 |
+
</td>
|
59 |
+
<td class="bundle-item-parent align-center">
|
60 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
61 |
+
<?php echo $_item->getQty()*1 ?>
|
62 |
+
<?php else: ?>
|
63 |
+
|
64 |
+
<?php endif; ?>
|
65 |
+
</td>
|
66 |
+
<td class="bundle-item-parent align-right">
|
67 |
+
<?php else: ?>
|
68 |
+
<td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
|
69 |
+
<td class="bundle-item bundle-details align-center">
|
70 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
71 |
+
<?php echo $_item->getQty()*1 ?>
|
72 |
+
<?php else: ?>
|
73 |
+
|
74 |
+
<?php endif; ?>
|
75 |
+
</td>
|
76 |
+
<td class="bundle-item align-right">
|
77 |
+
<?php endif; ?>
|
78 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
79 |
+
<?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
80 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
81 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
82 |
+
<?php endif; ?>
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
84 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
85 |
+
<?php else: ?>
|
86 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
|
89 |
+
|
90 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
91 |
+
<br />
|
92 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
93 |
+
<small>
|
94 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
95 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
96 |
+
<?php endforeach; ?>
|
97 |
+
</small>
|
98 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
99 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
100 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
101 |
+
<?php endforeach; ?>
|
102 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
103 |
+
<small>
|
104 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
105 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
106 |
+
<?php endforeach; ?>
|
107 |
+
</small>
|
108 |
+
<?php endif; ?>
|
109 |
+
|
110 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
111 |
+
<br />
|
112 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
113 |
+
<?php endif; ?>
|
114 |
+
<?php endif; ?>
|
115 |
+
<?php endif; ?>
|
116 |
+
|
117 |
+
|
118 |
+
<?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
119 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
120 |
+
<br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
123 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
124 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
125 |
+
<?php else: ?>
|
126 |
+
<?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
127 |
+
<?php endif; ?>
|
128 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
129 |
+
<br />
|
130 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
131 |
+
<small>
|
132 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
133 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
134 |
+
<?php endforeach; ?>
|
135 |
+
</small>
|
136 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
137 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
138 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
139 |
+
<?php endforeach; ?>
|
140 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
141 |
+
<small>
|
142 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
143 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
144 |
+
<?php endforeach; ?>
|
145 |
+
</small>
|
146 |
+
<?php endif; ?>
|
147 |
+
|
148 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
149 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
150 |
+
<?php endif; ?>
|
151 |
+
<?php endif; ?>
|
152 |
+
<?php endif; ?>
|
153 |
+
<?php else: ?>
|
154 |
+
|
155 |
+
<?php endif; ?>
|
156 |
+
</td>
|
157 |
+
</tr>
|
158 |
+
<?php endforeach; ?>
|
159 |
+
|
160 |
+
<?php if ($_showlastRow): ?>
|
161 |
+
<tr>
|
162 |
+
<td align="left" valign="top" style="padding:3px 9px">
|
163 |
+
<?php if ($this->getItemOptions()): ?>
|
164 |
+
<dl style="margin:0; padding:0;">
|
165 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
166 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
167 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
168 |
+
<?php endforeach; ?>
|
169 |
+
</dl>
|
170 |
+
<?php endif; ?>
|
171 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
172 |
+
</td>
|
173 |
+
<td> </td>
|
174 |
+
<td> </td>
|
175 |
+
<td> </td>
|
176 |
+
</tr>
|
177 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/bundle/email/order/items/invoice/default.phtml
ADDED
@@ -0,0 +1,178 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $parentItem = $this->getItem() ?>
|
29 |
+
<?php $items = $this->getChilds($parentItem) ?>
|
30 |
+
<?php $_index = 0 ?>
|
31 |
+
<?php $_order = $this->getItem()->getOrder(); ?>
|
32 |
+
|
33 |
+
<?php $_prevOptionId = '' ?>
|
34 |
+
|
35 |
+
<?php foreach ($items as $_item): ?>
|
36 |
+
|
37 |
+
<?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
38 |
+
<?php $_showlastRow = true ?>
|
39 |
+
<?php else: ?>
|
40 |
+
<?php $_showlastRow = false ?>
|
41 |
+
<?php endif; ?>
|
42 |
+
|
43 |
+
<?php if ($_item->getOrderItem()->getParentItem()): ?>
|
44 |
+
<?php $attributes = $this->getSelectionAttributes($_item) ?>
|
45 |
+
<?php if ($_prevOptionId != $attributes['option_id']): ?>
|
46 |
+
<tr>
|
47 |
+
<td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
|
48 |
+
<td class="bundle-item"> </td>
|
49 |
+
<td class="bundle-item"> </td>
|
50 |
+
</tr>
|
51 |
+
<?php $_prevOptionId = $attributes['option_id'] ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endif; ?>
|
54 |
+
<tr id="order-item-row-<?php echo $_item->getId() ?>">
|
55 |
+
<?php if (!$_item->getOrderItem()->getParentItem()): ?>
|
56 |
+
<td class="bundle-item-parent product-info">
|
57 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
58 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
59 |
+
</td>
|
60 |
+
<td class="bundle-item-parent align-center">
|
61 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
62 |
+
<?php echo $_item->getQty()*1 ?>
|
63 |
+
<?php else: ?>
|
64 |
+
|
65 |
+
<?php endif; ?>
|
66 |
+
</td>
|
67 |
+
<td class="bundle-item-parent align-right">
|
68 |
+
<?php else: ?>
|
69 |
+
<td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
|
70 |
+
<td class="bundle-item align-center">
|
71 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
72 |
+
<?php echo $_item->getQty()*1 ?>
|
73 |
+
<?php else: ?>
|
74 |
+
|
75 |
+
<?php endif; ?>
|
76 |
+
</td>
|
77 |
+
<td class="bundle-item align-right">
|
78 |
+
<?php endif; ?>
|
79 |
+
<?php if ($this->canShowPriceInfo($_item)): ?>
|
80 |
+
<?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
81 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
82 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
83 |
+
<?php endif; ?>
|
84 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
85 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
86 |
+
<?php else: ?>
|
87 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
88 |
+
<?php endif; ?>
|
89 |
+
|
90 |
+
|
91 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
92 |
+
<br />
|
93 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
94 |
+
<small>
|
95 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
96 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
97 |
+
<?php endforeach; ?>
|
98 |
+
</small>
|
99 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
100 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
101 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
102 |
+
<?php endforeach; ?>
|
103 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
104 |
+
<small>
|
105 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
106 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
107 |
+
<?php endforeach; ?>
|
108 |
+
</small>
|
109 |
+
<?php endif; ?>
|
110 |
+
|
111 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
112 |
+
<br />
|
113 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
114 |
+
<?php endif; ?>
|
115 |
+
<?php endif; ?>
|
116 |
+
<?php endif; ?>
|
117 |
+
|
118 |
+
|
119 |
+
<?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
120 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
121 |
+
<br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
122 |
+
<?php endif; ?>
|
123 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
124 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
125 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
126 |
+
<?php else: ?>
|
127 |
+
<?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
128 |
+
<?php endif; ?>
|
129 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
130 |
+
<br />
|
131 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
132 |
+
<small>
|
133 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
134 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
135 |
+
<?php endforeach; ?>
|
136 |
+
</small>
|
137 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
138 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
139 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
140 |
+
<?php endforeach; ?>
|
141 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
142 |
+
<small>
|
143 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
144 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
145 |
+
<?php endforeach; ?>
|
146 |
+
</small>
|
147 |
+
<?php endif; ?>
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
150 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_inc + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
151 |
+
<?php endif; ?>
|
152 |
+
<?php endif; ?>
|
153 |
+
<?php endif; ?>
|
154 |
+
<?php else: ?>
|
155 |
+
|
156 |
+
<?php endif; ?>
|
157 |
+
</td>
|
158 |
+
</tr>
|
159 |
+
<?php endforeach; ?>
|
160 |
+
|
161 |
+
<?php if ($_showlastRow): ?>
|
162 |
+
<tr>
|
163 |
+
<td align="left" valign="top" style="padding:3px 9px">
|
164 |
+
<?php if ($this->getItemOptions()): ?>
|
165 |
+
<dl style="margin:0; padding:0;">
|
166 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
167 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
168 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
169 |
+
<?php endforeach; ?>
|
170 |
+
</dl>
|
171 |
+
<?php endif; ?>
|
172 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
173 |
+
</td>
|
174 |
+
<td> </td>
|
175 |
+
<td> </td>
|
176 |
+
<td> </td>
|
177 |
+
</tr>
|
178 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/bundle/email/order/items/order/default.phtml
ADDED
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order=$this->getOrder() ?>
|
29 |
+
|
30 |
+
<?php $parentItem = $this->getItem() ?>
|
31 |
+
<?php $items = array_merge(array($parentItem), $parentItem->getChildrenItems()); ?>
|
32 |
+
|
33 |
+
<?php if($this->getItemOptions() || $_item->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
|
34 |
+
<?php $_showlastRow = true ?>
|
35 |
+
<?php else: ?>
|
36 |
+
<?php $_showlastRow = false ?>
|
37 |
+
<?php endif; ?>
|
38 |
+
|
39 |
+
<?php $_prevOptionId = '' ?>
|
40 |
+
|
41 |
+
<?php foreach ($items as $_item): ?>
|
42 |
+
|
43 |
+
<?php if ($_item->getParentItem()): ?>
|
44 |
+
<?php $attributes = $this->getSelectionAttributes($_item) ?>
|
45 |
+
<?php if ($_prevOptionId != $attributes['option_id']): ?>
|
46 |
+
<tr>
|
47 |
+
<td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
|
48 |
+
<td class="bundle-item"> </td>
|
49 |
+
<td class="bundle-item"> </td>
|
50 |
+
</tr>
|
51 |
+
<?php $_prevOptionId = $attributes['option_id'] ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php endif; ?>
|
54 |
+
<tr id="order-item-row-<?php echo $_item->getId() ?>">
|
55 |
+
<?php if (!$_item->getParentItem()): ?>
|
56 |
+
<td class="bundle-item-parent product-info">
|
57 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
58 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
59 |
+
</td>
|
60 |
+
<td class="bundle-item-parent align-center">
|
61 |
+
<?php echo $_item->getQtyOrdered()*1 ?>
|
62 |
+
</td>
|
63 |
+
<td class="bundle-item-parent align-right">
|
64 |
+
<?php else: ?>
|
65 |
+
<td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
|
66 |
+
<td class="bundle-item bundle-details align-center">
|
67 |
+
|
68 |
+
</td>
|
69 |
+
<td class="bundle-item align-right">
|
70 |
+
<?php endif; ?>
|
71 |
+
<?php if (!$_item->getParentItem()): ?>
|
72 |
+
<?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
73 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
74 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
77 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
78 |
+
<?php else: ?>
|
79 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
80 |
+
<?php endif; ?>
|
81 |
+
|
82 |
+
|
83 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
84 |
+
<br />
|
85 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
86 |
+
<small>
|
87 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
88 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
89 |
+
<?php endforeach; ?>
|
90 |
+
</small>
|
91 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
92 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
93 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
94 |
+
<?php endforeach; ?>
|
95 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
96 |
+
<small>
|
97 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
98 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
99 |
+
<?php endforeach; ?>
|
100 |
+
</small>
|
101 |
+
<?php endif; ?>
|
102 |
+
|
103 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
104 |
+
<br />
|
105 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
106 |
+
<?php endif; ?>
|
107 |
+
<?php endif; ?>
|
108 |
+
<?php endif; ?>
|
109 |
+
|
110 |
+
|
111 |
+
<?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
112 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
113 |
+
<br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
114 |
+
<?php endif; ?>
|
115 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
116 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
117 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
118 |
+
<?php else: ?>
|
119 |
+
<?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
120 |
+
<?php endif; ?>
|
121 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
122 |
+
<br />
|
123 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
124 |
+
<small>
|
125 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
126 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
127 |
+
<?php endforeach; ?>
|
128 |
+
</small>
|
129 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
130 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
131 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
132 |
+
<?php endforeach; ?>
|
133 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
134 |
+
<small>
|
135 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
136 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
137 |
+
<?php endforeach; ?>
|
138 |
+
</small>
|
139 |
+
<?php endif; ?>
|
140 |
+
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
142 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
143 |
+
<?php endif; ?>
|
144 |
+
<?php endif; ?>
|
145 |
+
<?php endif; ?>
|
146 |
+
<?php else: ?>
|
147 |
+
|
148 |
+
<?php endif; ?>
|
149 |
+
</td>
|
150 |
+
</tr>
|
151 |
+
<?php endforeach; ?>
|
152 |
+
|
153 |
+
<?php if ($_showlastRow): ?>
|
154 |
+
<tr>
|
155 |
+
<td align="left" valign="top" style="padding:3px 9px">
|
156 |
+
<?php if ($this->getItemOptions()): ?>
|
157 |
+
<dl style="margin:0; padding:0;">
|
158 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
159 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
160 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
161 |
+
<?php endforeach; ?>
|
162 |
+
</dl>
|
163 |
+
<?php endif; ?>
|
164 |
+
<?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
|
165 |
+
<br /><strong><?php echo $this->__('Gift Message') ?></strong>
|
166 |
+
<br /><?php echo $this->__('From:'); ?> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?>
|
167 |
+
<br /><?php echo $this->__('To:'); ?> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?>
|
168 |
+
<br /><?php echo $this->__('Message:'); ?><br /> <?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
|
169 |
+
<?php endif; ?>
|
170 |
+
</td>
|
171 |
+
<td> </td>
|
172 |
+
<td> </td>
|
173 |
+
<td> </td>
|
174 |
+
</tr>
|
175 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/bundle/email/order/items/shipment/default.phtml
ADDED
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $parentItem = $this->getItem() ?>
|
28 |
+
|
29 |
+
<?php $items = array_merge(array($parentItem->getOrderItem()), $parentItem->getOrderItem()->getChildrenItems()) ?>
|
30 |
+
<?php $shipItems = $this->getChilds($parentItem) ?>
|
31 |
+
|
32 |
+
<?php $_prevOptionId = '' ?>
|
33 |
+
|
34 |
+
<?php foreach ($items as $_item): ?>
|
35 |
+
|
36 |
+
<?php if($this->getItemOptions() || $parentItem->getDescription() || $this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $parentItem) && $parentItem->getGiftMessageId()): ?>
|
37 |
+
<?php $_showlastRow = true ?>
|
38 |
+
<?php else: ?>
|
39 |
+
<?php $_showlastRow = false ?>
|
40 |
+
<?php endif; ?>
|
41 |
+
|
42 |
+
<?php if ($_item->getParentItem()): ?>
|
43 |
+
<?php $attributes = $this->getSelectionAttributes($_item) ?>
|
44 |
+
<?php if ($_prevOptionId != $attributes['option_id']): ?>
|
45 |
+
<tr>
|
46 |
+
<td class="bundle-item"><strong><em><?php echo $attributes['option_label'] ?></em></strong></td>
|
47 |
+
<td class="bundle-item"> </td>
|
48 |
+
<td class="bundle-item"> </td>
|
49 |
+
</tr>
|
50 |
+
<?php $_prevOptionId = $attributes['option_id'] ?>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
<tr id="order-item-row-<?php echo $_item->getId() ?>">
|
54 |
+
<?php if (!$_item->getParentItem()): ?>
|
55 |
+
<td class="bundle-item-parent product-info">
|
56 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
57 |
+
</td>
|
58 |
+
<td class="bundle-item-parent align-center">
|
59 |
+
<?php echo $this->escapeHtml($_item->getSku()) ?>
|
60 |
+
</td>
|
61 |
+
<td class="bundle-item-parent align-right">
|
62 |
+
<?php else: ?>
|
63 |
+
<td class="bundle-item bundle-details product-info"><div><?php echo $this->getValueHtml($_item)?></div></td>
|
64 |
+
<td class="bundle-item bundle-details align-center">
|
65 |
+
<?php echo $this->escapeHtml($_item->getSku()) ?>
|
66 |
+
</td>
|
67 |
+
<td class="bundle-item align-right">
|
68 |
+
<?php endif; ?>
|
69 |
+
<?php if (($this->isShipmentSeparately() && $_item->getParentItem()) || (!$this->isShipmentSeparately() && !$_item->getParentItem())): ?>
|
70 |
+
<?php if (isset($shipItems[$_item->getId()])): ?>
|
71 |
+
<?php echo $shipItems[$_item->getId()]->getQty()*1 ?>
|
72 |
+
<?php elseif ($_item->getIsVirtual()): ?>
|
73 |
+
<?php echo $this->__('N/A') ?>
|
74 |
+
<?php else: ?>
|
75 |
+
0
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php else: ?>
|
78 |
+
|
79 |
+
<?php endif; ?>
|
80 |
+
</td>
|
81 |
+
</tr>
|
82 |
+
<?php endforeach; ?>
|
83 |
+
|
84 |
+
<?php if ($_showlastRow): ?>
|
85 |
+
<tr>
|
86 |
+
<td align="left" valign="top" style="padding:3px 9px">
|
87 |
+
<?php if ($this->getItemOptions()): ?>
|
88 |
+
<dl style="margin:0; padding:0;">
|
89 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
90 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong>
|
91 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
92 |
+
<?php endforeach; ?>
|
93 |
+
</dl>
|
94 |
+
<?php endif; ?>
|
95 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
96 |
+
</td>
|
97 |
+
<td> </td>
|
98 |
+
<td> </td>
|
99 |
+
</tr>
|
100 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/bundle/sales/order/items/renderer.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/captcha/zend.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Core_Block_Captcha_Zend */ ?>
|
28 |
+
|
29 |
+
<?php /* @var $captcha Mage_Core_Model_Captcha_Zend */ ?>
|
30 |
+
<?php $captcha = $this->getCaptchaModel() ?>
|
31 |
+
<li class="captcha-input-container" id="captcha-input-box-<?php echo $this->getFormId()?>">
|
32 |
+
<label for="captcha_<?php echo $this->getFormId() ?>" class="required"><em>*</em><?php echo $this->__('Please type the letters below')?></label>
|
33 |
+
<div class="input-box captcha">
|
34 |
+
<input name="<?php echo Mage_Captcha_Helper_Data::INPUT_NAME_FIELD_VALUE ?>[<?php echo $this->getFormId()?>]" type="text" class="input-text required-entry" id="captcha_<?php echo $this->getFormId() ?>" />
|
35 |
+
</div>
|
36 |
+
</li>
|
37 |
+
<li class="captcha-img-container">
|
38 |
+
<div class="captcha-image" id="captcha-image-box-<?php echo $this->getFormId()?>">
|
39 |
+
<img id="captcha-reload" class="captcha-reload" src="<?php echo $this->getSkinUrl('images/reload.png') ?>" alt="<?php echo $this->__('Reload captcha') ?>" onclick="$('<?php echo $this->getFormId()?>').captcha.refresh(this)">
|
40 |
+
<img id="<?php echo $this->getFormId() ?>" class="captcha-img" height="<?php echo $this->getImgHeight() ?>" src="<?php echo $captcha->getImgSrc() ?>"/>
|
41 |
+
<?php if ($captcha->isCaseSensitive()) :?>
|
42 |
+
<div class="captcha-note">
|
43 |
+
<?php echo $this->__('<strong>Attention</strong>: Captcha is case sensitive.') ?>
|
44 |
+
</div>
|
45 |
+
<?php endif; ?>
|
46 |
+
</div>
|
47 |
+
<script type="text/javascript">//<![CDATA[
|
48 |
+
$('<?php echo $this->getFormId() ?>').captcha = new Captcha('<?php echo $this->getRefreshUrl() ?>', '<?php echo $this->getFormId() ?>');
|
49 |
+
//]]></script>
|
50 |
+
</li>
|
51 |
+
|
app/design/frontend/rwd/default/template/catalog/layer/filter.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/layer/state.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/layer/view.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/msrp/popup.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/navigation/left.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/catalog/product/compare/list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Catalog_Block_Product_Compare_List */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Catalog_Block_Product_Compare_List */
|
app/design/frontend/rwd/default/template/catalog/product/compare/sidebar.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
|
app/design/frontend/rwd/default/template/catalog/product/list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -69,23 +69,26 @@
|
|
69 |
<?php if($_product->getRatingSummary()): ?>
|
70 |
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
71 |
<?php endif; ?>
|
72 |
-
|
73 |
<?php
|
|
|
|
|
|
|
74 |
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
75 |
-
foreach($_nameAfterChildren as $_nameAfterChildName)
|
76 |
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
77 |
$_nameAfterChild->setProduct($_product);
|
|
|
|
|
|
|
78 |
?>
|
79 |
-
<?php echo $_nameAfterChild->toHtml(); ?>
|
80 |
-
<?php endforeach; ?>
|
81 |
</div>
|
82 |
<div class="product-secondary">
|
83 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
84 |
</div>
|
85 |
<div class="product-secondary">
|
86 |
-
<?php if(
|
87 |
<p class="action"><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
88 |
-
<?php elseif($_product->
|
89 |
<p class="action"><a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a></p>
|
90 |
<?php else: ?>
|
91 |
<p class="action availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
@@ -129,24 +132,26 @@
|
|
129 |
</a>
|
130 |
<div class="product-info">
|
131 |
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
132 |
-
|
133 |
<?php
|
|
|
|
|
|
|
134 |
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
135 |
-
foreach($_nameAfterChildren as $_nameAfterChildName)
|
136 |
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
137 |
$_nameAfterChild->setProduct($_product);
|
|
|
|
|
|
|
138 |
?>
|
139 |
-
<?php echo $_nameAfterChild->toHtml(); ?>
|
140 |
-
<?php endforeach; ?>
|
141 |
-
|
142 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
143 |
<?php if($_product->getRatingSummary()): ?>
|
144 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
145 |
<?php endif; ?>
|
146 |
<div class="actions">
|
147 |
-
<?php if(
|
148 |
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
149 |
-
<?php elseif($_product->
|
150 |
<a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a>
|
151 |
<?php else: ?>
|
152 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
@@ -174,13 +179,15 @@
|
|
174 |
</div>
|
175 |
</div>
|
176 |
<?php endif; ?>
|
177 |
-
|
178 |
<?php
|
179 |
-
|
|
|
180 |
$_afterChildren = $this->getChild('after')->getSortedChildren();
|
181 |
-
foreach($_afterChildren as $_afterChildName)
|
182 |
$_afterChild = $this->getChild('after')->getChild($_afterChildName);
|
|
|
183 |
$_afterChild->setProductCollection($_productCollection);
|
184 |
-
|
185 |
-
|
186 |
-
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
69 |
<?php if($_product->getRatingSummary()): ?>
|
70 |
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
71 |
<?php endif; ?>
|
|
|
72 |
<?php
|
73 |
+
// Provides extra blocks on which to hang some features for products in the list
|
74 |
+
// Features providing UI elements targeting this block will display directly below the product name
|
75 |
+
if ($this->getChild('name.after')) {
|
76 |
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
77 |
+
foreach ($_nameAfterChildren as $_nameAfterChildName) {
|
78 |
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
79 |
$_nameAfterChild->setProduct($_product);
|
80 |
+
echo $_nameAfterChild->toHtml();
|
81 |
+
}
|
82 |
+
}
|
83 |
?>
|
|
|
|
|
84 |
</div>
|
85 |
<div class="product-secondary">
|
86 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
87 |
</div>
|
88 |
<div class="product-secondary">
|
89 |
+
<?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
|
90 |
<p class="action"><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
91 |
+
<?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
|
92 |
<p class="action"><a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a></p>
|
93 |
<?php else: ?>
|
94 |
<p class="action availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
132 |
</a>
|
133 |
<div class="product-info">
|
134 |
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
|
|
135 |
<?php
|
136 |
+
// Provides extra blocks on which to hang some features for products in the list
|
137 |
+
// Features providing UI elements targeting this block will display directly below the product name
|
138 |
+
if ($this->getChild('name.after')) {
|
139 |
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
140 |
+
foreach ($_nameAfterChildren as $_nameAfterChildName) {
|
141 |
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
142 |
$_nameAfterChild->setProduct($_product);
|
143 |
+
echo $_nameAfterChild->toHtml();
|
144 |
+
}
|
145 |
+
}
|
146 |
?>
|
|
|
|
|
|
|
147 |
<?php echo $this->getPriceHtml($_product, true) ?>
|
148 |
<?php if($_product->getRatingSummary()): ?>
|
149 |
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
150 |
<?php endif; ?>
|
151 |
<div class="actions">
|
152 |
+
<?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
|
153 |
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
154 |
+
<?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
|
155 |
<a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a>
|
156 |
<?php else: ?>
|
157 |
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
179 |
</div>
|
180 |
</div>
|
181 |
<?php endif; ?>
|
|
|
182 |
<?php
|
183 |
+
// Provides a block where additional page components may be attached, primarily good for in-page JavaScript
|
184 |
+
if ($this->getChild('after')) {
|
185 |
$_afterChildren = $this->getChild('after')->getSortedChildren();
|
186 |
+
foreach ($_afterChildren as $_afterChildName) {
|
187 |
$_afterChild = $this->getChild('after')->getChild($_afterChildName);
|
188 |
+
//set product collection on after blocks
|
189 |
$_afterChild->setProductCollection($_productCollection);
|
190 |
+
echo $_afterChild->toHtml();
|
191 |
+
}
|
192 |
+
}
|
193 |
+
?>
|
app/design/frontend/rwd/default/template/catalog/product/list/related.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/list/toolbar.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/list/upsell.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/new.phtml
DELETED
@@ -1,64 +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 rwd_default
|
23 |
-
* @copyright Copyright (c) 2014 Magento Inc. (http://www.magentocommerce.com)
|
24 |
-
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
-
*/
|
26 |
-
?>
|
27 |
-
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
-
<h2 class="subtitle"><?php echo $this->__('New Products') ?></h2>
|
29 |
-
<?php $_columnCount = $this->getColumnCount(); ?>
|
30 |
-
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
31 |
-
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
32 |
-
<?php /*if ($i++%$_columnCount==0): ?>
|
33 |
-
<ul class="products-grid">
|
34 |
-
<?php endif*/ ?>
|
35 |
-
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
36 |
-
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image">
|
37 |
-
<?php $_imgSize = 260; ?>
|
38 |
-
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
39 |
-
</a>
|
40 |
-
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>"><?php echo $this->escapeHtml($_product->getName()) ?></a></h3>
|
41 |
-
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
42 |
-
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
43 |
-
<div class="actions">
|
44 |
-
<?php if($_product->isSaleable()): ?>
|
45 |
-
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
46 |
-
<?php else: ?>
|
47 |
-
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
48 |
-
<?php endif; ?>
|
49 |
-
<ul class="add-to-links">
|
50 |
-
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
51 |
-
<li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
52 |
-
<?php endif; ?>
|
53 |
-
<?php if ($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
|
54 |
-
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
55 |
-
<?php endif; ?>
|
56 |
-
</ul>
|
57 |
-
</div>
|
58 |
-
</li>
|
59 |
-
<?php /*if ($i%$_columnCount==0 || $i==count($_products)): ?>
|
60 |
-
</ul>
|
61 |
-
<?php endif*/ ?>
|
62 |
-
<?php endforeach; ?>
|
63 |
-
</ul>
|
64 |
-
<?php endif; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
app/design/frontend/rwd/default/template/catalog/product/price.phtml
ADDED
@@ -0,0 +1,463 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php
|
29 |
+
/**
|
30 |
+
* Template for displaying product price in different places (products grid, product view page etc)
|
31 |
+
*
|
32 |
+
* @see Mage_Catalog_Block_Product_Abstract
|
33 |
+
*/
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_coreHelper = $this->helper('core');
|
37 |
+
$_weeeHelper = $this->helper('weee');
|
38 |
+
$_taxHelper = $this->helper('tax');
|
39 |
+
/* @var $_coreHelper Mage_Core_Helper_Data */
|
40 |
+
/* @var $_weeeHelper Mage_Weee_Helper_Data */
|
41 |
+
/* @var $_taxHelper Mage_Tax_Helper_Data */
|
42 |
+
|
43 |
+
$_product = $this->getProduct();
|
44 |
+
$_storeId = $_product->getStoreId();
|
45 |
+
$_store = $_product->getStore();
|
46 |
+
$_id = $_product->getId();
|
47 |
+
$_weeeSeparator = '';
|
48 |
+
$_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
|
49 |
+
$_minimalPriceValue = $_product->getMinimalPrice();
|
50 |
+
$_minimalPriceValue = $_store->roundPrice($_store->convertPrice($_minimalPriceValue));
|
51 |
+
$_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
|
52 |
+
$_convertedFinalPrice = $_store->roundPrice($_store->convertPrice($_product->getFinalPrice()));
|
53 |
+
$_specialPriceStoreLabel = $this->getProductAttribute('special_price')->getStoreLabel();
|
54 |
+
?>
|
55 |
+
|
56 |
+
<?php if (!$_product->isGrouped()): ?>
|
57 |
+
<?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
|
58 |
+
<?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
|
59 |
+
<?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
|
60 |
+
<?php if ($_weeeHelper->isTaxable()): ?>
|
61 |
+
<?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_weeeTaxAttributes); ?>
|
62 |
+
<?php endif; ?>
|
63 |
+
<?php $_weeeTaxAmount = $_store->roundPrice($_store->convertPrice($_weeeTaxAmount)); ?>
|
64 |
+
<?php $_weeeTaxAmountInclTaxes = $_store->roundPrice($_store->convertPrice($_weeeTaxAmountInclTaxes)); ?>
|
65 |
+
|
66 |
+
<div class="price-box">
|
67 |
+
<?php $_convertedPrice = $_store->roundPrice($_store->convertPrice($_product->getPrice())); ?>
|
68 |
+
<?php $_price = $_taxHelper->getPrice($_product, $_convertedPrice); ?>
|
69 |
+
<?php $_regularPrice = $_taxHelper->getPrice($_product, $_convertedPrice, $_simplePricesTax); ?>
|
70 |
+
<?php $_finalPrice = $_taxHelper->getPrice($_product, $_convertedFinalPrice) ?>
|
71 |
+
<?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_convertedFinalPrice, true) ?>
|
72 |
+
<?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
|
73 |
+
<?php if ($_finalPrice >= $_price): ?>
|
74 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
75 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
76 |
+
<span class="price-excluding-tax">
|
77 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
78 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
79 |
+
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
|
80 |
+
</span>
|
81 |
+
</span>
|
82 |
+
<span class="price-including-tax">
|
83 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
84 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
85 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
86 |
+
</span>
|
87 |
+
</span>
|
88 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
89 |
+
<span class="price-excluding-tax">
|
90 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
91 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
92 |
+
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
|
93 |
+
</span>
|
94 |
+
</span>
|
95 |
+
<span class="weee">(
|
96 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
97 |
+
<?php echo $_weeeSeparator; ?>
|
98 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
99 |
+
<?php $_weeeSeparator = ' + '; ?>
|
100 |
+
<?php endforeach; ?>
|
101 |
+
)</span>
|
102 |
+
<span class="price-including-tax">
|
103 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
104 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
105 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
106 |
+
</span>
|
107 |
+
</span>
|
108 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
109 |
+
<span class="price-excluding-tax">
|
110 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
111 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
112 |
+
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
|
113 |
+
</span>
|
114 |
+
</span>
|
115 |
+
<span class="price-including-tax">
|
116 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
117 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
118 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
119 |
+
</span>
|
120 |
+
<span class="weee">(
|
121 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
122 |
+
<?php echo $_weeeSeparator; ?>
|
123 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
124 |
+
<?php $_weeeSeparator = ' + '; ?>
|
125 |
+
<?php endforeach; ?>
|
126 |
+
)</span>
|
127 |
+
</span>
|
128 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
129 |
+
<span class="price-excluding-tax">
|
130 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
131 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
132 |
+
<?php echo $_coreHelper->formatPrice($_price, false) ?>
|
133 |
+
</span>
|
134 |
+
</span>
|
135 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
136 |
+
<span class="weee">
|
137 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
138 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
139 |
+
</span>
|
140 |
+
<?php endforeach; ?>
|
141 |
+
<span class="price-including-tax">
|
142 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
143 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
144 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
145 |
+
</span>
|
146 |
+
</span>
|
147 |
+
<?php else: ?>
|
148 |
+
<span class="price-excluding-tax">
|
149 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
150 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
151 |
+
<?php if ($_finalPrice == $_price): ?>
|
152 |
+
<?php echo $_coreHelper->formatPrice($_price, false) ?>
|
153 |
+
<?php else: ?>
|
154 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
155 |
+
<?php endif; ?>
|
156 |
+
</span>
|
157 |
+
</span>
|
158 |
+
<span class="price-including-tax">
|
159 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
160 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
161 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
|
162 |
+
</span>
|
163 |
+
</span>
|
164 |
+
<?php endif; ?>
|
165 |
+
<?php else: ?>
|
166 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1))): // including ?>
|
167 |
+
<?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
|
168 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
169 |
+
<?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
|
170 |
+
</span>
|
171 |
+
|
172 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // show description ?>
|
173 |
+
<span class="weee">(
|
174 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
175 |
+
<?php echo $_weeeSeparator; ?>
|
176 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
177 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
|
178 |
+
<?php $_weeeSeparator = ' + '; ?>
|
179 |
+
<?php endforeach; ?>
|
180 |
+
)</span>
|
181 |
+
<?php endif; ?>
|
182 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
183 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
184 |
+
<?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, true) ?>
|
185 |
+
</span>
|
186 |
+
<span class="weee">(
|
187 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
188 |
+
<?php echo $_weeeSeparator; ?>
|
189 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
190 |
+
<?php $_weeeSeparator = ' + '; ?>
|
191 |
+
<?php endforeach; ?>
|
192 |
+
)</span>
|
193 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
194 |
+
<span class="regular-price"><?php echo $_coreHelper->formatPrice($_price, true) ?></span><br/>
|
195 |
+
<?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
|
196 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
197 |
+
<span class="weee">
|
198 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
199 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
|
200 |
+
</span>
|
201 |
+
<?php endforeach; ?>
|
202 |
+
<span class="regular-price" id="product-price-weee-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
203 |
+
<?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
|
204 |
+
</span>
|
205 |
+
<?php else: ?>
|
206 |
+
<span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
207 |
+
<?php if ($_finalPrice == $_price): ?>
|
208 |
+
<?php echo $_coreHelper->formatPrice($_price, true) ?>
|
209 |
+
<?php else: ?>
|
210 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice, true) ?>
|
211 |
+
<?php endif; ?>
|
212 |
+
</span>
|
213 |
+
<?php endif; ?>
|
214 |
+
<?php endif; ?>
|
215 |
+
<?php else: /* if ($_finalPrice == $_price): */ ?>
|
216 |
+
<?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
|
217 |
+
<?php $_originalWeeeTaxAmount = $_store->roundPrice($_store->convertPrice($_originalWeeeTaxAmount)) ?>
|
218 |
+
|
219 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
|
220 |
+
<p class="old-price">
|
221 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
222 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
223 |
+
<?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
|
224 |
+
</span>
|
225 |
+
</p>
|
226 |
+
|
227 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
228 |
+
<p class="special-price">
|
229 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
230 |
+
<span class="price-excluding-tax">
|
231 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
232 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
233 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
|
234 |
+
</span>
|
235 |
+
</span>
|
236 |
+
<span class="price-including-tax">
|
237 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
238 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
239 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
240 |
+
</span>
|
241 |
+
</span>
|
242 |
+
</p>
|
243 |
+
<?php else: ?>
|
244 |
+
<p class="special-price">
|
245 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
246 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
247 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
|
248 |
+
</span>
|
249 |
+
</p>
|
250 |
+
<?php endif; ?>
|
251 |
+
|
252 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
|
253 |
+
<p class="old-price">
|
254 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
255 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
256 |
+
<?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
|
257 |
+
</span>
|
258 |
+
</p>
|
259 |
+
|
260 |
+
<p class="special-price">
|
261 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
262 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
263 |
+
<span class="price-excluding-tax">
|
264 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
265 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
266 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
|
267 |
+
</span>
|
268 |
+
</span>
|
269 |
+
<span class="weee">(
|
270 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
271 |
+
<?php echo $_weeeSeparator; ?>
|
272 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
273 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
274 |
+
<?php $_weeeSeparator = ' + '; ?>
|
275 |
+
<?php endforeach; ?>
|
276 |
+
)</span>
|
277 |
+
<span class="price-including-tax">
|
278 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
279 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
280 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
281 |
+
</span>
|
282 |
+
</span>
|
283 |
+
<?php else: ?>
|
284 |
+
<span class="price-label"><?php echo $this->__('Special Price:') ?></span>
|
285 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
286 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
|
287 |
+
</span>
|
288 |
+
<span class="weee">(
|
289 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
290 |
+
<?php echo $_weeeSeparator; ?>
|
291 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
292 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
293 |
+
<?php $_weeeSeparator = ' + '; ?>
|
294 |
+
<?php endforeach; ?>
|
295 |
+
)</span>
|
296 |
+
<?php endif; ?>
|
297 |
+
</p>
|
298 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
|
299 |
+
<p class="old-price">
|
300 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
301 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
302 |
+
<?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
|
303 |
+
</span>
|
304 |
+
</p>
|
305 |
+
|
306 |
+
<p class="special-price">
|
307 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
308 |
+
<span class="price-excluding-tax">
|
309 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
310 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
311 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
|
312 |
+
</span>
|
313 |
+
</span>
|
314 |
+
<span class="weee">(
|
315 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
316 |
+
<?php echo $_weeeSeparator; ?>
|
317 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
|
318 |
+
<?php $_weeeSeparator = ' + '; ?>
|
319 |
+
<?php endforeach; ?>
|
320 |
+
)</span>
|
321 |
+
<span class="price-including-tax">
|
322 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
323 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
324 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
325 |
+
</span>
|
326 |
+
</span>
|
327 |
+
</p>
|
328 |
+
<?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
|
329 |
+
<p class="old-price">
|
330 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
331 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
332 |
+
<?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
|
333 |
+
</span>
|
334 |
+
</p>
|
335 |
+
|
336 |
+
<p class="special-price">
|
337 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
338 |
+
<span class="price-excluding-tax">
|
339 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
340 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
341 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
342 |
+
</span>
|
343 |
+
</span>
|
344 |
+
<?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
|
345 |
+
<span class="weee">
|
346 |
+
<?php echo $_weeeTaxAttribute->getName(); ?>
|
347 |
+
: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
|
348 |
+
</span>
|
349 |
+
<?php endforeach; ?>
|
350 |
+
<span class="price-including-tax">
|
351 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
352 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
353 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
|
354 |
+
</span>
|
355 |
+
</span>
|
356 |
+
</p>
|
357 |
+
<?php else: // excl. ?>
|
358 |
+
<p class="old-price">
|
359 |
+
<span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
|
360 |
+
<span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
361 |
+
<?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
|
362 |
+
</span>
|
363 |
+
</p>
|
364 |
+
|
365 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
366 |
+
<p class="special-price">
|
367 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
368 |
+
<span class="price-excluding-tax">
|
369 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
370 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
371 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
372 |
+
</span>
|
373 |
+
</span>
|
374 |
+
<span class="price-including-tax">
|
375 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
376 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
377 |
+
<?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
|
378 |
+
</span>
|
379 |
+
</span>
|
380 |
+
</p>
|
381 |
+
<?php else: ?>
|
382 |
+
<p class="special-price">
|
383 |
+
<span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
|
384 |
+
<span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
385 |
+
<?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
|
386 |
+
</span>
|
387 |
+
</p>
|
388 |
+
<?php endif; ?>
|
389 |
+
<?php endif; ?>
|
390 |
+
|
391 |
+
<?php endif; /* if ($_finalPrice == $_price): */ ?>
|
392 |
+
|
393 |
+
<?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_convertedFinalPrice): ?>
|
394 |
+
|
395 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
|
396 |
+
<?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
|
397 |
+
<?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
|
398 |
+
<?php endif; ?>
|
399 |
+
|
400 |
+
<?php if ($this->getUseLinkForAsLowAs()): ?>
|
401 |
+
<a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
|
402 |
+
<?php else: ?>
|
403 |
+
<span class="minimal-price-link">
|
404 |
+
<?php endif ?>
|
405 |
+
<span class="label"><?php echo $this->__('As low as:') ?></span>
|
406 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
407 |
+
<?php echo $_coreHelper->formatPrice($_minimalPriceDisplayValue, false) ?>
|
408 |
+
</span>
|
409 |
+
<?php if ($this->getUseLinkForAsLowAs()): ?>
|
410 |
+
</a>
|
411 |
+
<?php else: ?>
|
412 |
+
</span>
|
413 |
+
<?php endif ?>
|
414 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
|
415 |
+
</div>
|
416 |
+
|
417 |
+
<?php else: /* if (!$_product->isGrouped()): */ ?>
|
418 |
+
<?php
|
419 |
+
$showMinPrice = $this->getDisplayMinimalPrice();
|
420 |
+
if ($showMinPrice && $_minimalPriceValue) {
|
421 |
+
$_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
|
422 |
+
$_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
|
423 |
+
$price = $showMinPrice ? $_minimalPriceValue : 0;
|
424 |
+
} else {
|
425 |
+
$price = $_convertedFinalPrice;
|
426 |
+
$_exclTax = $_taxHelper->getPrice($_product, $price);
|
427 |
+
$_inclTax = $_taxHelper->getPrice($_product, $price, true);
|
428 |
+
}
|
429 |
+
?>
|
430 |
+
<?php if ($price): ?>
|
431 |
+
<div class="price-box">
|
432 |
+
<p<?php if ($showMinPrice): ?> class="minimal-price"<?php endif ?>>
|
433 |
+
<?php if ($showMinPrice): ?>
|
434 |
+
<span class="price-label"><?php echo $this->__('Starting at:') ?></span>
|
435 |
+
<?php endif ?>
|
436 |
+
<?php if ($_taxHelper->displayBothPrices()): ?>
|
437 |
+
<span class="price-excluding-tax">
|
438 |
+
<span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
|
439 |
+
<span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
440 |
+
<?php echo $_coreHelper->formatPrice($_exclTax, false) ?>
|
441 |
+
</span>
|
442 |
+
</span>
|
443 |
+
<span class="price-including-tax">
|
444 |
+
<span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
|
445 |
+
<span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
446 |
+
<?php echo $_coreHelper->formatPrice($_inclTax, false) ?>
|
447 |
+
</span>
|
448 |
+
</span>
|
449 |
+
<?php else: ?>
|
450 |
+
<?php
|
451 |
+
$_showPrice = $_inclTax;
|
452 |
+
if (!$_taxHelper->displayPriceIncludingTax()) {
|
453 |
+
$_showPrice = $_exclTax;
|
454 |
+
}
|
455 |
+
?>
|
456 |
+
<span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
|
457 |
+
<?php echo $_coreHelper->formatPrice($_showPrice, false) ?>
|
458 |
+
</span>
|
459 |
+
<?php endif; ?>
|
460 |
+
</p>
|
461 |
+
</div>
|
462 |
+
<?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
|
463 |
+
<?php endif; /* if (!$_product->isGrouped()): */ ?>
|
app/design/frontend/rwd/default/template/catalog/product/view.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -36,7 +36,7 @@
|
|
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()->
|
40 |
<div class="product-view">
|
41 |
<div class="product-essential">
|
42 |
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
36 |
<script type="text/javascript">
|
37 |
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
|
38 |
</script>
|
39 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->toHtml() ?></div>
|
40 |
<div class="product-view">
|
41 |
<div class="product-essential">
|
42 |
<form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
|
app/design/frontend/rwd/default/template/catalog/product/view/addto.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/view/addtocart.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/view/media.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -44,23 +44,14 @@
|
|
44 |
alt="<?php echo $this->escapeHtml($this->getImageLabel()) ?>"
|
45 |
title="<?php echo $this->escapeHtml($this->getImageLabel()); ?>" />
|
46 |
|
47 |
-
<?php
|
48 |
-
$
|
49 |
-
foreach ($this->getGalleryImages() as $_image):
|
50 |
-
$_imageUrl = $this->helper('catalog/image')
|
51 |
-
->init($_product, 'image', $_image->getFile())
|
52 |
-
->keepFrame(false)
|
53 |
-
->constrainOnly(true)
|
54 |
-
->resize(1200);
|
55 |
-
?>
|
56 |
<img id="image-<?php echo $i; ?>"
|
57 |
class="gallery-image"
|
58 |
-
src="<?php echo $
|
59 |
-
data-zoom-image="<?php echo $
|
60 |
-
|
61 |
-
|
62 |
-
endforeach;
|
63 |
-
?>
|
64 |
</div>
|
65 |
</div>
|
66 |
|
@@ -69,17 +60,14 @@
|
|
69 |
<h2><?php echo $this->__('More Views') ?></h2>
|
70 |
<ul class="product-image-thumbs">
|
71 |
<?php $i=0; foreach ($this->getGalleryImages() as $_image): ?>
|
72 |
-
<?php
|
73 |
-
if (($filterClass = $this->getGalleryFilterHelper()) && ($filterMethod = $this->getGalleryFilterMethod()) && !Mage::helper($filterClass)->$filterMethod($_product, $_image)):
|
74 |
-
continue;
|
75 |
-
endif;
|
76 |
-
?>
|
77 |
<li>
|
78 |
<a class="thumb-link" href="#" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>" data-image-index="<?php echo $i; ?>">
|
79 |
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(75); ?>"
|
80 |
width="75" height="75" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" />
|
81 |
</a>
|
82 |
</li>
|
|
|
83 |
<?php $i++; endforeach; ?>
|
84 |
</ul>
|
85 |
</div>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
44 |
alt="<?php echo $this->escapeHtml($this->getImageLabel()) ?>"
|
45 |
title="<?php echo $this->escapeHtml($this->getImageLabel()); ?>" />
|
46 |
|
47 |
+
<?php $i=0; foreach ($this->getGalleryImages() as $_image): ?>
|
48 |
+
<?php if ($this->isGalleryImageVisible($_image)): ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
<img id="image-<?php echo $i; ?>"
|
50 |
class="gallery-image"
|
51 |
+
src="<?php echo $this->getGalleryImageUrl($_image); ?>"
|
52 |
+
data-zoom-image="<?php echo $this->getGalleryImageUrl($_image); ?>" />
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php $i++; endforeach; ?>
|
|
|
|
|
55 |
</div>
|
56 |
</div>
|
57 |
|
60 |
<h2><?php echo $this->__('More Views') ?></h2>
|
61 |
<ul class="product-image-thumbs">
|
62 |
<?php $i=0; foreach ($this->getGalleryImages() as $_image): ?>
|
63 |
+
<?php if ($this->isGalleryImageVisible($_image)): ?>
|
|
|
|
|
|
|
|
|
64 |
<li>
|
65 |
<a class="thumb-link" href="#" title="<?php echo $this->escapeHtml($_image->getLabel()) ?>" data-image-index="<?php echo $i; ?>">
|
66 |
<img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(75); ?>"
|
67 |
width="75" height="75" alt="<?php echo $this->escapeHtml($_image->getLabel()) ?>" />
|
68 |
</a>
|
69 |
</li>
|
70 |
+
<?php endif; ?>
|
71 |
<?php $i++; endforeach; ?>
|
72 |
</ul>
|
73 |
</div>
|
app/design/frontend/rwd/default/template/catalog/product/view/sharing.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/availability/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
$_product = $this->getProduct(); ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
$_product = $this->getProduct(); ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/availability/grouped.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
$_product = $this->getProduct(); ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
$_product = $this->getProduct(); ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/grouped.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -40,7 +40,7 @@
|
|
40 |
<table class="data-table grouped-items-table" id="super-product-table">
|
41 |
<col />
|
42 |
<col />
|
43 |
-
<col
|
44 |
<tbody>
|
45 |
<?php if ($_hasAssociatedProducts): ?>
|
46 |
<?php foreach ($_associatedProducts as $_item): ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
40 |
<table class="data-table grouped-items-table" id="super-product-table">
|
41 |
<col />
|
42 |
<col />
|
43 |
+
<col />
|
44 |
<tbody>
|
45 |
<?php if ($_hasAssociatedProducts): ?>
|
46 |
<?php foreach ($_associatedProducts as $_item): ?>
|
app/design/frontend/rwd/default/template/catalog/product/view/type/options/configurable.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -38,7 +38,7 @@ $_renderers = $this->getChild('attr_renderers')->getSortedChildren();
|
|
38 |
$_rendered = false;
|
39 |
foreach ($_renderers as $_rendererName):
|
40 |
$_renderer = $this->getChild('attr_renderers')->getChild($_rendererName);
|
41 |
-
if (method_exists($_renderer, 'shouldRender') && $_renderer->shouldRender($
|
42 |
$_renderer->setProduct($_product);
|
43 |
$_renderer->setAttributeObj($_attribute);
|
44 |
echo $_renderer->toHtml();
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
38 |
$_rendered = false;
|
39 |
foreach ($_renderers as $_rendererName):
|
40 |
$_renderer = $this->getChild('attr_renderers')->getChild($_rendererName);
|
41 |
+
if (method_exists($_renderer, 'shouldRender') && $_renderer->shouldRender($_attribute, $_jsonConfig)):
|
42 |
$_renderer->setProduct($_product);
|
43 |
$_renderer->setAttributeObj($_attribute);
|
44 |
echo $_renderer->toHtml();
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_default_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_images_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/column/new_names_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_grid.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -33,12 +33,13 @@
|
|
33 |
<?php echo $this->getPagerHtml() ?>
|
34 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
35 |
<?php $i=0; ?>
|
36 |
-
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
37 |
<?php foreach ($_products->getItems() as $_product): ?>
|
38 |
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
39 |
<?php $_imgSize = 210; ?>
|
|
|
40 |
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
|
41 |
-
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(
|
42 |
</a>
|
43 |
<div class="product-info">
|
44 |
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
33 |
<?php echo $this->getPagerHtml() ?>
|
34 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
35 |
<?php $i=0; ?>
|
36 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col-widget">
|
37 |
<?php foreach ($_products->getItems() as $_product): ?>
|
38 |
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
39 |
<?php $_imgSize = 210; ?>
|
40 |
+
<?php // The image size is locked at 210 for this for display purposes. CSS has it at 75% which should equate to 278px?>
|
41 |
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image">
|
42 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(210) ?>" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
|
43 |
</a>
|
44 |
<div class="product-info">
|
45 |
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></h3>
|
app/design/frontend/rwd/default/template/catalog/product/widget/new/content/new_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/cataloginventory/stockqty/composite.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/catalogsearch/advanced/form.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -35,7 +35,7 @@
|
|
35 |
<div class="page-title">
|
36 |
<h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
|
37 |
</div>
|
38 |
-
<?php echo $this->getMessagesBlock()->
|
39 |
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
|
40 |
<div class="fieldset advanced-search">
|
41 |
<h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
35 |
<div class="page-title">
|
36 |
<h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
|
37 |
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
39 |
<form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
|
40 |
<div class="fieldset advanced-search">
|
41 |
<h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
|
app/design/frontend/rwd/default/template/catalogsearch/form.mini.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Core_Block_Template */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Core_Block_Template */
|
app/design/frontend/rwd/default/template/catalogsearch/result.phtml
CHANGED
@@ -10,22 +10,22 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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()->
|
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>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<?php if($this->getResultCount()): ?>
|
28 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
29 |
<div class="page-title">
|
30 |
<?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
|
31 |
<a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
|
app/design/frontend/rwd/default/template/centinel/authentication/start.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/cart.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -45,7 +45,7 @@
|
|
45 |
</ul>
|
46 |
<?php endif; ?>
|
47 |
</div>
|
48 |
-
<?php echo $this->getMessagesBlock()->
|
49 |
<?php echo $this->getChildHtml('form_before') ?>
|
50 |
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
51 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
@@ -112,7 +112,7 @@
|
|
112 |
|
113 |
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button2 btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
|
114 |
|
115 |
-
<span class="or"
|
116 |
|
117 |
<?php if($this->getContinueShoppingUrl()): ?>
|
118 |
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button2 btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
45 |
</ul>
|
46 |
<?php endif; ?>
|
47 |
</div>
|
48 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
49 |
<?php echo $this->getChildHtml('form_before') ?>
|
50 |
<form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
|
51 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
112 |
|
113 |
<button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button2 btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
|
114 |
|
115 |
+
<span class="or">-<?php echo $this->__('or'); ?>-</span>
|
116 |
|
117 |
<?php if($this->getContinueShoppingUrl()): ?>
|
118 |
<button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button2 btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
|
app/design/frontend/rwd/default/template/checkout/cart/coupon.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/cart/crosssell.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -40,18 +40,20 @@
|
|
40 |
<a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>">
|
41 |
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(210); ?>" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" />
|
42 |
</a>
|
43 |
-
<div class="product-
|
44 |
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
45 |
<?php echo $this->getPriceHtml($_item, true) ?>
|
46 |
-
<
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
|
|
|
|
55 |
</div>
|
56 |
</li>
|
57 |
<?php endforeach; ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
40 |
<a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>">
|
41 |
<img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(210); ?>" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" />
|
42 |
</a>
|
43 |
+
<div class="product-info">
|
44 |
<h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
|
45 |
<?php echo $this->getPriceHtml($_item, true) ?>
|
46 |
+
<div class="actions">
|
47 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
48 |
+
<ul class="add-to-links">
|
49 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
50 |
+
<li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
51 |
+
<?php endif; ?>
|
52 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
|
53 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
54 |
+
<?php endif; ?>
|
55 |
+
</ul>
|
56 |
+
</div>
|
57 |
</div>
|
58 |
</li>
|
59 |
<?php endforeach; ?>
|
app/design/frontend/rwd/default/template/checkout/cart/item/configure/updatecart.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/cart/item/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/cart/minicart.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -39,7 +39,7 @@
|
|
39 |
}
|
40 |
?>
|
41 |
|
42 |
-
<a href="#header-cart" class="skip-link skip-cart <?php if($_cartQty <= 0): ?> no-count<?php endif; ?>">
|
43 |
<span class="icon"></span>
|
44 |
<span class="label"><?php echo $this->__('Cart'); ?></span>
|
45 |
<span class="count"><?php echo $_cartQty; ?></span>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
39 |
}
|
40 |
?>
|
41 |
|
42 |
+
<a href="<?php echo $this->helper('checkout/cart')->getCartUrl(); ?>" data-target-element="#header-cart" class="skip-link skip-cart <?php if($_cartQty <= 0): ?> no-count<?php endif; ?>">
|
43 |
<span class="icon"></span>
|
44 |
<span class="label"><?php echo $this->__('Cart'); ?></span>
|
45 |
<span class="count"><?php echo $_cartQty; ?></span>
|
app/design/frontend/rwd/default/template/checkout/cart/minicart/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -63,7 +63,7 @@
|
|
63 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
64 |
<small>
|
65 |
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
66 |
-
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span
|
67 |
<?php endforeach; ?>
|
68 |
</small>
|
69 |
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
@@ -105,7 +105,7 @@
|
|
105 |
</small>
|
106 |
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
107 |
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
-
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span
|
109 |
<?php endforeach; ?>
|
110 |
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
111 |
<small>
|
@@ -130,7 +130,7 @@
|
|
130 |
id="qinput-<?php echo $_item->getId(); ?>"
|
131 |
data-link="<?php echo $this->getAjaxUpdateUrl() ?>"
|
132 |
data-item-id="<?php echo $_item->getId(); ?>"
|
133 |
-
class="qty cart-item-quantity" name=""
|
134 |
value="<?php echo $this->getQty()?>"
|
135 |
<?php if ($this->isOnCheckoutPage()) echo 'disabled'; ?>
|
136 |
/>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
63 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
|
64 |
<small>
|
65 |
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
66 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
|
67 |
<?php endforeach; ?>
|
68 |
</small>
|
69 |
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
105 |
</small>
|
106 |
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
|
107 |
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
108 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span>
|
109 |
<?php endforeach; ?>
|
110 |
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
|
111 |
<small>
|
130 |
id="qinput-<?php echo $_item->getId(); ?>"
|
131 |
data-link="<?php echo $this->getAjaxUpdateUrl() ?>"
|
132 |
data-item-id="<?php echo $_item->getId(); ?>"
|
133 |
+
class="qty cart-item-quantity input-text" name=""
|
134 |
value="<?php echo $this->getQty()?>"
|
135 |
<?php if ($this->isOnCheckoutPage()) echo 'disabled'; ?>
|
136 |
/>
|
app/design/frontend/rwd/default/template/checkout/cart/minicart/items.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -58,6 +58,7 @@ if(empty($_cartQty)) {
|
|
58 |
</ul>
|
59 |
</div>
|
60 |
<script type="text/javascript">
|
|
|
61 |
decorateList('cart-sidebar', 'none-recursive');
|
62 |
$j('document').ready(function() {
|
63 |
var minicartOptions = {
|
@@ -85,11 +86,8 @@ if(empty($_cartQty)) {
|
|
85 |
</div>
|
86 |
|
87 |
|
88 |
-
|
89 |
-
|
90 |
-
<a class="cart-link" href="<?php echo $this->getUrl('checkout/cart'); ?>">
|
91 |
-
<?php echo $this->__('View Shopping Cart'); ?>
|
92 |
-
</a>
|
93 |
<ul class="checkout-types minicart">
|
94 |
<?php echo $this->getChildHtml('extra_actions') ?>
|
95 |
<li>
|
@@ -98,8 +96,11 @@ if(empty($_cartQty)) {
|
|
98 |
</a>
|
99 |
</li>
|
100 |
</ul>
|
101 |
-
|
102 |
-
|
|
|
|
|
|
|
103 |
|
104 |
<?php else: ?>
|
105 |
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
58 |
</ul>
|
59 |
</div>
|
60 |
<script type="text/javascript">
|
61 |
+
truncateOptions();
|
62 |
decorateList('cart-sidebar', 'none-recursive');
|
63 |
$j('document').ready(function() {
|
64 |
var minicartOptions = {
|
86 |
</div>
|
87 |
|
88 |
|
89 |
+
<div class="minicart-actions">
|
90 |
+
<?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
|
|
|
|
|
|
|
91 |
<ul class="checkout-types minicart">
|
92 |
<?php echo $this->getChildHtml('extra_actions') ?>
|
93 |
<li>
|
96 |
</a>
|
97 |
</li>
|
98 |
</ul>
|
99 |
+
<?php endif ?>
|
100 |
+
<a class="cart-link" href="<?php echo $this->getUrl('checkout/cart'); ?>">
|
101 |
+
<?php echo $this->__('View Shopping Cart'); ?>
|
102 |
+
</a>
|
103 |
+
</div>
|
104 |
|
105 |
<?php else: ?>
|
106 |
<p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
|
app/design/frontend/rwd/default/template/checkout/cart/render/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/checkout/cart/render/simple.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/checkout/cart/shipping.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -68,7 +68,7 @@
|
|
68 |
<?php /* Removing the conditional check for whether the postal code is required, because it doesn't work
|
69 |
<label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
|
70 |
*/ ?>
|
71 |
-
<label for="postcode" class="required"><em>*</em><?php echo $this->__('Zip
|
72 |
<div class="input-box">
|
73 |
<input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
|
74 |
</div>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
68 |
<?php /* Removing the conditional check for whether the postal code is required, because it doesn't work
|
69 |
<label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
|
70 |
*/ ?>
|
71 |
+
<label for="postcode" class="required"><em>*</em><?php echo $this->__('Zip') ?></label>
|
72 |
<div class="input-box">
|
73 |
<input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
|
74 |
</div>
|
app/design/frontend/rwd/default/template/checkout/cart/sidebar.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/checkout/cart/sidebar/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/multishipping/addresses.phtml
ADDED
@@ -0,0 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Ship to multiple address template
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Multishipping_Addresses
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
35 |
+
<form id="checkout_multishipping_form" action="<?php echo $this->getPostActionUrl() ?>" method="post">
|
36 |
+
<div class="multiple-checkout">
|
37 |
+
<div class="page-title title-buttons">
|
38 |
+
<h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
|
39 |
+
<button data-action="add-new-customer-address" type="button" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
|
40 |
+
</div>
|
41 |
+
<input type="hidden" name="continue" value="0" id="can_continue_flag" />
|
42 |
+
<input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
|
43 |
+
<h2><?php echo $this->__('Please select shipping address for applicable items') ?></h2>
|
44 |
+
<table class="data-table linearize-table" id="multiship-addresses-table">
|
45 |
+
<col />
|
46 |
+
<col width="1" />
|
47 |
+
<col width="1" />
|
48 |
+
<col width="1" />
|
49 |
+
<thead>
|
50 |
+
<tr>
|
51 |
+
<th><?php echo $this->__('Product') ?></th>
|
52 |
+
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
53 |
+
<th><?php echo $this->__('Send To') ?></th>
|
54 |
+
<th> </th>
|
55 |
+
</tr>
|
56 |
+
</thead>
|
57 |
+
<tfoot>
|
58 |
+
<tr>
|
59 |
+
<td colspan="100" class="a-right"><button type="submit" title="<?php echo $this->__('Update Qty & Addresses') ?>" class="button" onclick="$('can_continue_flag').value=0"><span><span><?php echo $this->__('Update Qty & Addresses') ?></span></span></button></td>
|
60 |
+
</tr>
|
61 |
+
</tfoot>
|
62 |
+
<tbody>
|
63 |
+
<?php foreach ($this->getItems() as $_index => $_item): ?>
|
64 |
+
<?php if ($_item->getQuoteItem()) :?>
|
65 |
+
<tr>
|
66 |
+
<td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
|
67 |
+
<td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->escapeHtml($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
|
68 |
+
<td data-rwd-label="Send To"><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
|
69 |
+
<td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
|
70 |
+
</tr>
|
71 |
+
<?php endif; ?>
|
72 |
+
<?php endforeach; ?>
|
73 |
+
</tbody>
|
74 |
+
</table>
|
75 |
+
<script type="text/javascript">decorateTable('multiship-addresses-table')</script>
|
76 |
+
<div class="buttons-set">
|
77 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
|
78 |
+
<button type="submit" data-action="checkout-continue-shipping" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
|
79 |
+
</div>
|
80 |
+
</div>
|
81 |
+
</form>
|
app/design/frontend/rwd/default/template/checkout/multishipping/billing.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -35,7 +35,7 @@
|
|
35 |
<div class="page-title">
|
36 |
<h1><?php echo $this->__('Billing Information') ?></h1>
|
37 |
</div>
|
38 |
-
<?php echo $this->getMessagesBlock()->
|
39 |
<script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
|
40 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
|
41 |
<div class="col2-set">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
35 |
<div class="page-title">
|
36 |
<h1><?php echo $this->__('Billing Information') ?></h1>
|
37 |
</div>
|
38 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
39 |
<script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
|
40 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
|
41 |
<div class="col2-set">
|
app/design/frontend/rwd/default/template/checkout/multishipping/item/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/multishipping/overview.phtml
ADDED
@@ -0,0 +1,245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /** @var $this Mage_Checkout_Block_Multishipping_Overview */ ?>
|
28 |
+
<div class="multiple-checkout">
|
29 |
+
<div class="page-title">
|
30 |
+
<h1><?php echo $this->__('Review Order') ?></h1>
|
31 |
+
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
|
33 |
+
<form id="review-order-form" action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
|
34 |
+
<?php echo $this->getBlockHtml('formkey'); ?>
|
35 |
+
<div class="col2-set">
|
36 |
+
<h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
|
37 |
+
<div class="col-1">
|
38 |
+
<div class="box">
|
39 |
+
<?php $_address=$this->getBillingAddress() ?>
|
40 |
+
<div class="box-title">
|
41 |
+
<h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
|
42 |
+
</div>
|
43 |
+
<div class="box-content">
|
44 |
+
<address>
|
45 |
+
<?php echo $_address->format('html') ?>
|
46 |
+
</address>
|
47 |
+
</div>
|
48 |
+
</div>
|
49 |
+
</div>
|
50 |
+
<div class="col-2">
|
51 |
+
<div class="box">
|
52 |
+
<div class="box-title">
|
53 |
+
<h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
|
54 |
+
</div>
|
55 |
+
<div class="box-content">
|
56 |
+
<input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
|
57 |
+
<input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
|
58 |
+
<?php echo $this->getPaymentHtml() ?>
|
59 |
+
</div>
|
60 |
+
</div>
|
61 |
+
</div>
|
62 |
+
</div>
|
63 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
64 |
+
<div class="col2-set">
|
65 |
+
<h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
|
66 |
+
<?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
|
67 |
+
<h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
|
68 |
+
<div class="col-1 col-narrow">
|
69 |
+
<div class="box">
|
70 |
+
<div class="box-title">
|
71 |
+
<h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
|
72 |
+
</div>
|
73 |
+
<div class="box-content">
|
74 |
+
<address>
|
75 |
+
<?php echo $_address->format('html') ?>
|
76 |
+
</address>
|
77 |
+
</div>
|
78 |
+
</div>
|
79 |
+
<div class="box">
|
80 |
+
<div class="box-title">
|
81 |
+
<h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
|
82 |
+
</div>
|
83 |
+
<div class="box-content">
|
84 |
+
<?php if($_rate=$this->getShippingAddressRate($_address)): ?>
|
85 |
+
<p>
|
86 |
+
<?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
|
87 |
+
<?php $_excl = $this->getShippingPriceExclTax($_address); ?>
|
88 |
+
<?php $_incl = $this->getShippingPriceInclTax($_address); ?>
|
89 |
+
<?php echo $_excl; ?>
|
90 |
+
<?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
|
91 |
+
(<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
|
92 |
+
<?php endif; ?>
|
93 |
+
</p>
|
94 |
+
<?php endif; ?>
|
95 |
+
</div>
|
96 |
+
</div>
|
97 |
+
</div>
|
98 |
+
<div class="col-2 col-wide">
|
99 |
+
<h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
|
100 |
+
<?php $_tableClass = $this->helper('tax')->displayCartBothPrices() ? 'linearize-table-large' : 'linearize-table'; ?>
|
101 |
+
<table class="data-table <?php echo $_tableClass; ?> checkout-review-table" id="overview-table-<?php echo $_address->getId() ?>">
|
102 |
+
<col />
|
103 |
+
<col width="1" />
|
104 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
105 |
+
<col width="1" />
|
106 |
+
<?php endif; ?>
|
107 |
+
<col width="1" />
|
108 |
+
<col width="1" />
|
109 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
110 |
+
<col width="1" />
|
111 |
+
<?php endif; ?>
|
112 |
+
<thead>
|
113 |
+
<tr>
|
114 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
115 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
116 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
117 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
118 |
+
</tr>
|
119 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
120 |
+
<tr>
|
121 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
122 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
123 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
124 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
125 |
+
</tr>
|
126 |
+
<?php endif; ?>
|
127 |
+
</thead>
|
128 |
+
<tfoot>
|
129 |
+
<?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
|
130 |
+
</tfoot>
|
131 |
+
<tbody>
|
132 |
+
<?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
|
133 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
134 |
+
<?php endforeach; ?>
|
135 |
+
</tbody>
|
136 |
+
</table>
|
137 |
+
<script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
|
138 |
+
</div>
|
139 |
+
<?php if($this->getShippingAddressCount()!=$_index+1): ?>
|
140 |
+
<div class="divider"></div>
|
141 |
+
<?php endif; ?>
|
142 |
+
<?php endforeach; ?>
|
143 |
+
</div>
|
144 |
+
<?php if ($this->getQuote()->hasVirtualItems()): ?>
|
145 |
+
<div class="col2-set">
|
146 |
+
<h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
|
147 |
+
<div class="col-1 col-narrow"></div>
|
148 |
+
<div class="col-2 col-wide">
|
149 |
+
<h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
|
150 |
+
<?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
|
151 |
+
<?php $_tableClass = $this->helper('tax')->displayCartBothPrices() ? 'linearize-table-large' : 'linearize-table'; ?>
|
152 |
+
<table class="data-table <?php echo $_tableClass; ?> checkout-review-table" id="virtual-overview-table">
|
153 |
+
<col />
|
154 |
+
<col width="1" />
|
155 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
156 |
+
<col width="1" />
|
157 |
+
<?php endif; ?>
|
158 |
+
<col width="1" />
|
159 |
+
<col width="1" />
|
160 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
161 |
+
<col width="70" />
|
162 |
+
<?php endif; ?>
|
163 |
+
<thead>
|
164 |
+
<tr>
|
165 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
|
166 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
|
167 |
+
<th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
|
168 |
+
<th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
|
169 |
+
</tr>
|
170 |
+
<?php if ($this->helper('tax')->displayCartBothPrices()): ?>
|
171 |
+
<tr>
|
172 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
173 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
174 |
+
<th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
|
175 |
+
<th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
|
176 |
+
</tr>
|
177 |
+
<?php endif; ?>
|
178 |
+
</thead>
|
179 |
+
<tfoot>
|
180 |
+
<?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
|
181 |
+
</tfoot>
|
182 |
+
<tbody>
|
183 |
+
<?php foreach ($this->getVirtualItems() as $_item): ?>
|
184 |
+
<?php echo $this->getRowItemHtml($_item); ?>
|
185 |
+
<?php endforeach; ?>
|
186 |
+
</tbody>
|
187 |
+
</table>
|
188 |
+
<script type="text/javascript">decorateTable('virtual-overview-table')</script>
|
189 |
+
</div>
|
190 |
+
</div>
|
191 |
+
<?php endif; ?>
|
192 |
+
|
193 |
+
<?php echo $this->getChildHtml('items_after'); ?>
|
194 |
+
|
195 |
+
<div id="checkout-review-submit">
|
196 |
+
<?php echo $this->getChildHtml('agreements') ?>
|
197 |
+
<div class="place-order">
|
198 |
+
<div class="grand-total">
|
199 |
+
<div class="inner">
|
200 |
+
<big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
|
201 |
+
<div id="review-buttons-container">
|
202 |
+
<button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
|
203 |
+
</div>
|
204 |
+
</div>
|
205 |
+
</div>
|
206 |
+
<span class="please-wait" id="review-please-wait" style="display:none;">
|
207 |
+
<img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
|
208 |
+
</span>
|
209 |
+
</div>
|
210 |
+
</div>
|
211 |
+
<div class="buttons-set">
|
212 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Billing Information') ?></a></p>
|
213 |
+
</div>
|
214 |
+
</form>
|
215 |
+
<script type="text/javascript">
|
216 |
+
//<![CDATA[
|
217 |
+
var submitted = false;
|
218 |
+
|
219 |
+
function showLoader()
|
220 |
+
{
|
221 |
+
if (submitted) {
|
222 |
+
return false;
|
223 |
+
}
|
224 |
+
if ($('checkout-agreements')) {
|
225 |
+
var checkboxes = $$('#checkout-agreements input');
|
226 |
+
for (var i=0, l=checkboxes.length; i<l; i++) {
|
227 |
+
if (!checkboxes[i].checked) {
|
228 |
+
alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
|
229 |
+
return false;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
}
|
233 |
+
|
234 |
+
submitted = true;
|
235 |
+
var step='review';
|
236 |
+
Element.show(step+'-please-wait');
|
237 |
+
$(step+'-buttons-container').setStyle({opacity:.5});
|
238 |
+
$(step+'-buttons-container').descendants().each(function(s) {
|
239 |
+
s.disabled = true;
|
240 |
+
});
|
241 |
+
return true;
|
242 |
+
}
|
243 |
+
//]]>
|
244 |
+
</script>
|
245 |
+
</div>
|
app/design/frontend/rwd/default/template/checkout/multishipping/overview/item.phtml
ADDED
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Quote Item row html
|
30 |
+
*
|
31 |
+
* @see Mage_Checkout_Block_Cart_Item_Renderer
|
32 |
+
*/
|
33 |
+
?>
|
34 |
+
<?php $_item = $this->getItem() ?>
|
35 |
+
<tr>
|
36 |
+
<td><?php echo $this->getRenderedBlock()->getItemHtml($_item) ?></td>
|
37 |
+
|
38 |
+
<!--- Excluding Tax -->
|
39 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
40 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
|
41 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') . $_labelAppend; ?>">
|
42 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
43 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
44 |
+
<?php else: ?>
|
45 |
+
<div class="cart-price">
|
46 |
+
<?php endif; ?>
|
47 |
+
|
48 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
49 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
|
50 |
+
<?php else: ?>
|
51 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
|
52 |
+
<?php endif; ?>
|
53 |
+
|
54 |
+
</div>
|
55 |
+
|
56 |
+
|
57 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
58 |
+
|
59 |
+
<div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
60 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
61 |
+
<small>
|
62 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
63 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
64 |
+
<?php endforeach; ?>
|
65 |
+
</small>
|
66 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
67 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
68 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
|
69 |
+
<?php endforeach; ?>
|
70 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
71 |
+
<small>
|
72 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
73 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</small>
|
76 |
+
<?php endif; ?>
|
77 |
+
</div>
|
78 |
+
|
79 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
80 |
+
<div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
81 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
|
82 |
+
</div>
|
83 |
+
<?php endif; ?>
|
84 |
+
<?php endif; ?>
|
85 |
+
</td>
|
86 |
+
<?php endif; ?>
|
87 |
+
<!--- // Excluding Tax -->
|
88 |
+
|
89 |
+
<!--- Including Tax -->
|
90 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
91 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
|
92 |
+
<td data-rwd-label="<?php echo $this->__('Price') . $_labelAppend; ?>">
|
93 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
95 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
96 |
+
<?php else: ?>
|
97 |
+
<div class="cart-price">
|
98 |
+
<?php endif; ?>
|
99 |
+
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
101 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
102 |
+
<?php else: ?>
|
103 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
|
104 |
+
<?php endif; ?>
|
105 |
+
|
106 |
+
</div>
|
107 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
108 |
+
|
109 |
+
<div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
110 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
111 |
+
<small>
|
112 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
113 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
114 |
+
<?php endforeach; ?>
|
115 |
+
</small>
|
116 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
117 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
118 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
|
119 |
+
<?php endforeach; ?>
|
120 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
121 |
+
<small>
|
122 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
123 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
|
124 |
+
<?php endforeach; ?>
|
125 |
+
</small>
|
126 |
+
<?php endif; ?>
|
127 |
+
</div>
|
128 |
+
|
129 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
130 |
+
<div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
131 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
132 |
+
</div>
|
133 |
+
<?php endif; ?>
|
134 |
+
<?php endif; ?>
|
135 |
+
|
136 |
+
</td>
|
137 |
+
<?php endif; ?>
|
138 |
+
<!--- // Including Tax -->
|
139 |
+
|
140 |
+
<td class="a-center" data-rwd-label="<?php echo $this->__('Quantity'); ?>"><?php echo $_item->getQty()*1 ?></td>
|
141 |
+
|
142 |
+
<!--- Excluding Tax Subtotal -->
|
143 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
144 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
|
145 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend; ?>">
|
146 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
147 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
148 |
+
<?php else: ?>
|
149 |
+
<div class="cart-price">
|
150 |
+
<?php endif; ?>
|
151 |
+
|
152 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
153 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
154 |
+
<?php else: ?>
|
155 |
+
<?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
|
156 |
+
<?php endif; ?>
|
157 |
+
|
158 |
+
</div>
|
159 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
160 |
+
|
161 |
+
<div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
162 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
163 |
+
<small>
|
164 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
165 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
166 |
+
<?php endforeach; ?>
|
167 |
+
</small>
|
168 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
169 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
170 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
171 |
+
<?php endforeach; ?>
|
172 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
173 |
+
<small>
|
174 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
175 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
176 |
+
<?php endforeach; ?>
|
177 |
+
</small>
|
178 |
+
<?php endif; ?>
|
179 |
+
</div>
|
180 |
+
|
181 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
182 |
+
<div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
183 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
184 |
+
</div>
|
185 |
+
<?php endif; ?>
|
186 |
+
<?php endif; ?>
|
187 |
+
</td>
|
188 |
+
<?php endif; ?>
|
189 |
+
<!--- //Excluding Tax Subtotal -->
|
190 |
+
|
191 |
+
<!--- Including Tax Subtotal -->
|
192 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
193 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
|
194 |
+
<td data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend; ?>">
|
195 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
196 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
197 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
198 |
+
<?php else: ?>
|
199 |
+
<div class="cart-price">
|
200 |
+
<?php endif; ?>
|
201 |
+
|
202 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
203 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
204 |
+
<?php else: ?>
|
205 |
+
<?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
206 |
+
<?php endif; ?>
|
207 |
+
|
208 |
+
</div>
|
209 |
+
|
210 |
+
|
211 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
212 |
+
|
213 |
+
<div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
|
214 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
215 |
+
<small>
|
216 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
217 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
218 |
+
<?php endforeach; ?>
|
219 |
+
</small>
|
220 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
221 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
222 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
223 |
+
<?php endforeach; ?>
|
224 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
225 |
+
<small>
|
226 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
227 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
228 |
+
<?php endforeach; ?>
|
229 |
+
</small>
|
230 |
+
<?php endif; ?>
|
231 |
+
</div>
|
232 |
+
|
233 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
234 |
+
<div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
235 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
236 |
+
</div>
|
237 |
+
<?php endif; ?>
|
238 |
+
<?php endif; ?>
|
239 |
+
</td>
|
240 |
+
<?php endif; ?>
|
241 |
+
<!--- //Including Tax Subtotal -->
|
242 |
+
</tr>
|
app/design/frontend/rwd/default/template/checkout/onepage.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/onepage/payment.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/onepage/progress.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/checkout/onepage/review/info.phtml
CHANGED
@@ -10,23 +10,24 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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 |
-
|
|
|
30 |
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
31 |
<col />
|
32 |
<col width="1" />
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<?php echo $this->getChildHtml('items_before'); ?>
|
28 |
<div id="checkout-review-table-wrapper">
|
29 |
+
<?php $_tableClass = $this->helper('tax')->displayCartBothPrices() ? 'linearize-table-large' : 'linearize-table'; ?>
|
30 |
+
<table class="data-table <?php echo $_tableClass; ?> checkout-review-table" id="checkout-review-table">
|
31 |
<?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
|
32 |
<col />
|
33 |
<col width="1" />
|
app/design/frontend/rwd/default/template/checkout/onepage/review/item.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -50,7 +50,8 @@
|
|
50 |
<?php endif;?>
|
51 |
</td>
|
52 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
-
|
|
|
54 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
55 |
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
56 |
<?php else: ?>
|
@@ -97,7 +98,8 @@
|
|
97 |
</td>
|
98 |
<?php endif; ?>
|
99 |
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
100 |
-
|
|
|
101 |
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
102 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
103 |
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
@@ -145,7 +147,8 @@
|
|
145 |
<td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() ?></td>
|
146 |
<!-- sub total starts here -->
|
147 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
148 |
-
|
|
|
149 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
150 |
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
151 |
<?php else: ?>
|
@@ -190,7 +193,8 @@
|
|
190 |
</td>
|
191 |
<?php endif; ?>
|
192 |
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
193 |
-
|
|
|
194 |
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
195 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
196 |
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
50 |
<?php endif;?>
|
51 |
</td>
|
52 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
53 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
|
54 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') . $_labelAppend ?>">
|
55 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
56 |
<span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
57 |
<?php else: ?>
|
98 |
</td>
|
99 |
<?php endif; ?>
|
100 |
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
101 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
|
102 |
+
<td data-rwd-label="<?php echo $this->__('Price') . $_labelAppend ?>">
|
103 |
<?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
|
104 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
105 |
<span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
147 |
<td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $_item->getQty() ?></td>
|
148 |
<!-- sub total starts here -->
|
149 |
<?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
150 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Excl. Tax)') : ''; ?>
|
151 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend ?>">
|
152 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
153 |
<span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
154 |
<?php else: ?>
|
193 |
</td>
|
194 |
<?php endif; ?>
|
195 |
<?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
|
196 |
+
<?php $_labelAppend = $this->helper('tax')->displayCartBothPrices() ? ' ' . $this->__('(Incl. Tax)') : ''; ?>
|
197 |
+
<td data-rwd-label="<?php echo $this->__('Subtotal') . $_labelAppend ?>">
|
198 |
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
199 |
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
|
200 |
<span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
|
app/design/frontend/rwd/default/template/checkout/onepage/shipping.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/configurableswatches/catalog/layer/filter/swatches.phtml
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Template for filter items block
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Layer_Filter
|
32 |
+
*/
|
33 |
+
|
34 |
+
$_dimHelper = Mage::helper('configurableswatches/swatchdimensions');
|
35 |
+
$_swatchInnerWidth = $_dimHelper->getInnerWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
|
36 |
+
$_swatchInnerHeight = $_dimHelper->getInnerHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
|
37 |
+
$_swatchOuterWidth = $_dimHelper->getOuterWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
|
38 |
+
$_swatchOuterHeight = $_dimHelper->getOuterHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LAYER);
|
39 |
+
?>
|
40 |
+
|
41 |
+
<ol class="configurable-swatch-list">
|
42 |
+
<?php foreach ($this->getItems() as $_item): ?>
|
43 |
+
<?php
|
44 |
+
$_hasItems = ($_item->getCount() > 0);
|
45 |
+
$_label = $_item->getLabel();
|
46 |
+
$_swatchUrl = Mage::helper('configurableswatches/productimg')->getGlobalSwatchUrl($_item, $_label, $_swatchInnerWidth, $_swatchInnerHeight);
|
47 |
+
$_hasImage = (!empty($_swatchUrl));
|
48 |
+
$_linkClass = 'swatch-link' . (($_hasImage) ? ' has-image' : '');
|
49 |
+
$_linkCss = 'height:' . $_swatchOuterHeight . 'px; ' . ((!$_hasImage) ? 'min-' : '') . 'width:' . $_swatchOuterWidth . 'px;';
|
50 |
+
$_lineHeight = $_swatchOuterHeight + 2;
|
51 |
+
?>
|
52 |
+
<li<?php if ($_hasImage){ echo ' style="line-height: ' . $_lineHeight . 'px;"'; } ?>>
|
53 |
+
<?php if ($_hasItems): ?>
|
54 |
+
<a href="<?php echo $this->urlEscape($_item->getUrl()) ?>" class="<?php echo $_linkClass ?>">
|
55 |
+
<?php else: ?>
|
56 |
+
<span class="<?php echo $_linkClass ?>">
|
57 |
+
<?php endif; ?>
|
58 |
+
<span class="swatch-label"<?php if ($_hasImage){ echo ' style="' . $_linkCss . '"'; } ?>>
|
59 |
+
<?php if ($_hasImage): ?>
|
60 |
+
<img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_label; ?>" title="<?php echo $_label ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
|
61 |
+
<?php else: ?>
|
62 |
+
<?php echo $_label; ?>
|
63 |
+
<?php endif; ?>
|
64 |
+
</span>
|
65 |
+
<?php if ($this->shouldDisplayProductCount()): ?>
|
66 |
+
<span class="count">(<?php echo $_item->getCount() ?>)</span>
|
67 |
+
<?php endif; ?>
|
68 |
+
<?php if ($_hasItems): ?>
|
69 |
+
</a>
|
70 |
+
<?php else: ?>
|
71 |
+
</span>
|
72 |
+
<?php endif; ?>
|
73 |
+
</li>
|
74 |
+
<?php endforeach ?>
|
75 |
+
</ol>
|
app/design/frontend/rwd/default/template/configurableswatches/catalog/layer/state/swatch.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_filter = $this->getFilter();
|
29 |
+
$_label = $this->stripTags($_filter->getLabel());
|
30 |
+
|
31 |
+
$_swatchInnerWidth = $this->getSwatchInnerWidth();
|
32 |
+
$_swatchInnerHeight = $this->getSwatchInnerHeight();
|
33 |
+
$_swatchOuterWidth = $this->getSwatchOuterWidth();
|
34 |
+
$_swatchOuterHeight = $this->getSwatchOuterHeight();
|
35 |
+
|
36 |
+
$_lineHeight = $_swatchOuterHeight + 2;
|
37 |
+
|
38 |
+
$_swatchUrl = $this->getSwatchUrl();
|
39 |
+
?>
|
40 |
+
|
41 |
+
<li class="swatch-current">
|
42 |
+
<?php
|
43 |
+
$clearLinkUrl = $_filter->getClearLinkUrl();
|
44 |
+
if ($clearLinkUrl):
|
45 |
+
?>
|
46 |
+
<a class="btn-previous" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Previous') ?>"><?php echo $this->__('Previous') ?></a>
|
47 |
+
<a class="btn-remove" title="<?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" href="<?php echo $clearLinkUrl ?>"><?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></a>
|
48 |
+
<?php else: ?>
|
49 |
+
<a class="btn-remove" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a>
|
50 |
+
<?php endif; ?>
|
51 |
+
<span class="label" style="line-height: <?php echo $_lineHeight; ?>px;"><?php echo $this->__($_filter->getName()) ?>:</span>
|
52 |
+
<span class="value" style="line-height: <?php echo $_lineHeight; ?>px;">
|
53 |
+
<span class="swatch-link" style="height:<?php echo $_swatchOuterHeight ?>px; width:<?php echo $_swatchOuterWidth ?>px;">
|
54 |
+
<span class="swatch-label" style="height:<?php echo $_swatchInnerHeight ?>px; width:<?php echo $_swatchInnerWidth ?>px; line-height:<?php echo $_swatchInnerHeight ?>px;">
|
55 |
+
<img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_label; ?>" title="<?php echo $_label ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
|
56 |
+
</span>
|
57 |
+
</span>
|
58 |
+
</span>
|
59 |
+
</li>
|
app/design/frontend/rwd/default/template/configurableswatches/catalog/media/js.phtml
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/* @var $this Mage_ConfigurableSwatches_Block_Catalog_Media_Js_Abstract */
|
29 |
+
?>
|
30 |
+
|
31 |
+
<script type="text/javascript">
|
32 |
+
$j(document).on('product-media-loaded', function() {
|
33 |
+
ConfigurableMediaImages.init('<?php echo $this->getImageType(); ?>');
|
34 |
+
<?php foreach ($this->getProductImageFallbacks() as $imageFallback): ?>
|
35 |
+
ConfigurableMediaImages.setImageFallback(<?php echo $imageFallback['product']->getId(); ?>, $j.parseJSON('<?php echo $imageFallback['image_fallback']; ?>'));
|
36 |
+
<?php endforeach; ?>
|
37 |
+
$j(document).trigger('configurable-media-images-init', ConfigurableMediaImages);
|
38 |
+
});
|
39 |
+
</script>
|
app/design/frontend/rwd/default/template/configurableswatches/catalog/product/list/swatches.phtml
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_product = $this->getProduct();
|
29 |
+
|
30 |
+
if (Mage::helper('configurableswatches')->isEnabled() && $_product && $_product->getId()
|
31 |
+
&& ($_attrValues = $_product->getListSwatchAttrValues()) && count($_attrValues) > 0):
|
32 |
+
|
33 |
+
$_swatchAttribute = Mage::helper('configurableswatches/productlist')->getSwatchAttribute();
|
34 |
+
|
35 |
+
$_dimHelper = Mage::helper('configurableswatches/swatchdimensions');
|
36 |
+
$_swatchInnerWidth = $_dimHelper->getInnerWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
|
37 |
+
$_swatchInnerHeight = $_dimHelper->getInnerHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
|
38 |
+
$_swatchOuterWidth = $_dimHelper->getOuterWidth(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
|
39 |
+
$_swatchOuterHeight = $_dimHelper->getOuterHeight(Mage_ConfigurableSwatches_Helper_Swatchdimensions::AREA_LISTING);
|
40 |
+
?>
|
41 |
+
<ul class="configurable-swatch-list configurable-swatch-<?php echo $_swatchAttribute->getAttributeCode() ?> clearfix">
|
42 |
+
<?php foreach ($_attrValues as $_optionValue => $_optionLabel): ?>
|
43 |
+
<?php
|
44 |
+
$_optionCode = Mage::helper('configurableswatches')->getHyphenatedString($_optionLabel);
|
45 |
+
$_swatchUrl = Mage::helper('configurableswatches/productimg')->getSwatchUrl($_product, $_optionLabel, $_swatchInnerWidth, $_swatchInnerHeight, $_swatchType);
|
46 |
+
$_hasImage = !empty($_swatchUrl);
|
47 |
+
$_liClasses = array();
|
48 |
+
$_aClass = 'swatch-link swatch-link-' . $_swatchAttribute->getId();
|
49 |
+
if ($_hasImage) {
|
50 |
+
if ($_swatchType == 'media') {
|
51 |
+
$_liClasses[] = 'is-media';
|
52 |
+
}
|
53 |
+
$_aClass .= ' has-image';
|
54 |
+
} elseif (strlen($_optionLabel) > 3) {
|
55 |
+
$_liClasses[] = 'wide-swatch';
|
56 |
+
}
|
57 |
+
if (Mage::helper('configurableswatches/productlist')->swatchMatchesFilter($_optionValue)) {
|
58 |
+
$_liClasses[] = 'filter-match';
|
59 |
+
}
|
60 |
+
$_liClass = (!empty($_liClasses)) ? ' ' . implode(' ', $_liClasses) : '';
|
61 |
+
?>
|
62 |
+
<li class="option-<?php echo $_optionCode; ?><?php echo $_liClass; ?>" data-product-id="<?php echo $_product->getId() ?>" data-option-label="<?php echo $_optionLabel ?>">
|
63 |
+
<a href="javascript:void(0)" name="<?php echo $_optionCode; ?>" class="<?php echo $_aClass ?>" title="<?php echo $_optionLabel; ?>"
|
64 |
+
style="height: <?php echo $_swatchOuterHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchOuterWidth ?>px;">
|
65 |
+
<span class="swatch-label" style="height: <?php echo $_swatchInnerHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchInnerWidth ?>px; line-height: <?php echo $_swatchInnerHeight ?>px;">
|
66 |
+
<?php if ($_hasImage): ?>
|
67 |
+
<img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_optionLabel; ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
|
68 |
+
<?php else: ?>
|
69 |
+
<?php echo $_optionLabel; ?>
|
70 |
+
<?php endif; ?>
|
71 |
+
</span>
|
72 |
+
</a>
|
73 |
+
</li>
|
74 |
+
<?php endforeach; ?>
|
75 |
+
</ul>
|
76 |
+
<?php
|
77 |
+
endif;
|
app/design/frontend/rwd/default/template/configurableswatches/catalog/product/view/type/configurable/swatch-js.phtml
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<script type="text/javascript">
|
28 |
+
document.observe('dom:loaded', function() {
|
29 |
+
var swatchesConfig = new Product.ConfigurableSwatches(spConfig);
|
30 |
+
});
|
31 |
+
</script>
|
app/design/frontend/rwd/default/template/configurableswatches/catalog/product/view/type/options/configurable/swatches.phtml
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
$_product = $this->getProduct();
|
29 |
+
$_attribute = $this->getAttributeObj();
|
30 |
+
$_jsonConfig = $this->getJsonConfig();
|
31 |
+
$_config = json_decode($_jsonConfig);
|
32 |
+
|
33 |
+
$_swatchInnerWidth = $this->getSwatchInnerWidth();
|
34 |
+
$_swatchInnerHeight = $this->getSwatchInnerHeight();
|
35 |
+
$_swatchOuterWidth = $this->getSwatchOuterWidth();
|
36 |
+
$_swatchOuterHeight = $this->getSwatchOuterHeight();
|
37 |
+
|
38 |
+
$_attr = $_attribute->getProductAttribute();
|
39 |
+
$_attrCode = $_attr->getAttributeCode();
|
40 |
+
$_id = $_attribute->getAttributeId();
|
41 |
+
|
42 |
+
$_swatchArray = $_config->attributes->$_id;
|
43 |
+
?>
|
44 |
+
<dt class="swatch-attr">
|
45 |
+
<label id="<?php echo $_attrCode ?>_label" class="required">
|
46 |
+
<em>*</em><?php echo $_attribute->getLabel() ?>:
|
47 |
+
<span id="select_label_<?php echo $_attrCode ?>" class="select-label"></span>
|
48 |
+
</label>
|
49 |
+
</dt>
|
50 |
+
<dd class="clearfix swatch-attr<?php if ($_attribute->decoratedIsLast) echo ' last'; ?>">
|
51 |
+
<div class="input-box">
|
52 |
+
<select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select no-display swatch-select">
|
53 |
+
<option><?php echo $this->__('Choose an Option...') ?></option>
|
54 |
+
</select>
|
55 |
+
<ul id="configurable_swatch_<?php echo $_attrCode ?>" class="configurable-swatch-list clearfix">
|
56 |
+
<?php foreach ($_swatchArray->options as $_option): ?>
|
57 |
+
<?php
|
58 |
+
$_optionCode = Mage::helper('configurableswatches')->getHyphenatedString($_option->label);
|
59 |
+
$_swatchUrl = Mage::helper('configurableswatches/productimg')->getSwatchUrl($_product, $_option->label, $_swatchInnerWidth, $_swatchInnerHeight, $_swatchType);
|
60 |
+
$_hasImage = !empty($_swatchUrl);
|
61 |
+
$_liClass = '';
|
62 |
+
$_aClass = 'swatch-link swatch-link-' . $_attribute->getAttributeId();
|
63 |
+
if ($_hasImage) {
|
64 |
+
$_liClass .= $_swatchType == 'media' ? ' is-media' : '';
|
65 |
+
$_aClass .= ' has-image';
|
66 |
+
} elseif (strlen($_option->label) > 3) {
|
67 |
+
$_liClass .= ' wide-swatch';
|
68 |
+
}
|
69 |
+
?>
|
70 |
+
<li class="option-<?php echo $_optionCode; ?><?php echo $_liClass; ?>" id="option<?php echo $_option->id; ?>">
|
71 |
+
<a href="javascript:void(0)" name="<?php echo $_optionCode; ?>" id="swatch<?php echo $_option->id; ?>" class="<?php echo $_aClass ?>" title="<?php echo $_option->label; ?>"
|
72 |
+
style="height: <?php echo $_swatchOuterHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchOuterWidth ?>px;">
|
73 |
+
<span class="swatch-label" style="height: <?php echo $_swatchInnerHeight ?>px; <?php if (!$_hasImage): ?>min-<?php endif; ?>width: <?php echo $_swatchInnerWidth ?>px; line-height: <?php echo $_swatchInnerHeight ?>px;">
|
74 |
+
<?php if ($_hasImage): ?>
|
75 |
+
<img src="<?php echo $_swatchUrl; ?>" alt="<?php echo $_option->label; ?>" width="<?php echo $_swatchInnerWidth ?>" height="<?php echo $_swatchInnerHeight ?>" />
|
76 |
+
<?php else: ?>
|
77 |
+
<?php echo $_option->label; ?>
|
78 |
+
<?php endif; ?>
|
79 |
+
</span>
|
80 |
+
<span class="x">X</span>
|
81 |
+
</a>
|
82 |
+
</li>
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</ul>
|
85 |
+
</div>
|
86 |
+
</dd>
|
app/design/frontend/rwd/default/template/contacts/form.phtml
CHANGED
@@ -10,21 +10,21 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->
|
28 |
<div class="page-title">
|
29 |
<h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
|
30 |
</div>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<div id="messages_product_view"><?php echo $this->getMessagesBlock()->toHtml() ?></div>
|
28 |
<div class="page-title">
|
29 |
<h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
|
30 |
</div>
|
app/design/frontend/rwd/default/template/customer/account/dashboard.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -28,7 +28,7 @@
|
|
28 |
<div class="page-title">
|
29 |
<h1><?php echo $this->__('My Dashboard') ?></h1>
|
30 |
</div>
|
31 |
-
<?php echo $this->getMessagesBlock()->
|
32 |
<?php echo $this->getChildHtml('hello') ?>
|
33 |
<?php echo $this->getChildHtml('top') ?>
|
34 |
<div class="box-account box-info">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
28 |
<div class="page-title">
|
29 |
<h1><?php echo $this->__('My Dashboard') ?></h1>
|
30 |
</div>
|
31 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
32 |
<?php echo $this->getChildHtml('hello') ?>
|
33 |
<?php echo $this->getChildHtml('top') ?>
|
34 |
<div class="box-account box-info">
|
app/design/frontend/rwd/default/template/customer/account/dashboard/address.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/customer/account/navigation.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/customer/address/edit.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -36,7 +36,7 @@
|
|
36 |
<h1><?php echo $this->getTitle() ?></h1>
|
37 |
</div>
|
38 |
<?php endif; ?>
|
39 |
-
<?php echo $this->getMessagesBlock()->
|
40 |
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
41 |
<div class="fieldset">
|
42 |
<?php echo $this->getBlockHtml('formkey')?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
36 |
<h1><?php echo $this->getTitle() ?></h1>
|
37 |
</div>
|
38 |
<?php endif; ?>
|
39 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
40 |
<form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
41 |
<div class="fieldset">
|
42 |
<?php echo $this->getBlockHtml('formkey')?>
|
app/design/frontend/rwd/default/template/customer/form/address.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -29,7 +29,7 @@
|
|
29 |
<div class="page-title">
|
30 |
<h1><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h1>
|
31 |
</div>
|
32 |
-
<?php echo $this->getMessagesBlock()->
|
33 |
<form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
|
34 |
<div class="fieldset">
|
35 |
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
29 |
<div class="page-title">
|
30 |
<h1><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h1>
|
31 |
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
33 |
<form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
|
34 |
<div class="fieldset">
|
35 |
<input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
|
app/design/frontend/rwd/default/template/customer/form/changepassword.phtml
CHANGED
@@ -10,24 +10,24 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Change Account Password') ?></h1>
|
29 |
</div>
|
30 |
-
<?php echo $this->getMessagesBlock()->
|
31 |
<form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
|
32 |
<div class="fieldset">
|
33 |
<h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Change Account Password') ?></h1>
|
29 |
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
31 |
<form action="<?php echo $action ?>" method="post" id="form-validate" class="scaffold-form">
|
32 |
<div class="fieldset">
|
33 |
<h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
|
app/design/frontend/rwd/default/template/customer/form/confirmation.phtml
CHANGED
@@ -10,24 +10,24 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Send confirmation link') ?></h1>
|
29 |
</div>
|
30 |
-
<?php echo $this->getMessagesBlock()->
|
31 |
<form action="" method="post" id="form-validate">
|
32 |
<div class="fieldset">
|
33 |
<h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Send confirmation link') ?></h1>
|
29 |
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
31 |
<form action="" method="post" id="form-validate">
|
32 |
<div class="fieldset">
|
33 |
<h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
|
app/design/frontend/rwd/default/template/customer/form/edit.phtml
CHANGED
@@ -10,24 +10,24 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Edit Account Information') ?></h1>
|
29 |
</div>
|
30 |
-
<?php echo $this->getMessagesBlock()->
|
31 |
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" autocomplete="off" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
32 |
<div class="fieldset">
|
33 |
<?php echo $this->getBlockHtml('formkey')?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Edit Account Information') ?></h1>
|
29 |
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
31 |
<form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" autocomplete="off" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
32 |
<div class="fieldset">
|
33 |
<?php echo $this->getBlockHtml('formkey')?>
|
app/design/frontend/rwd/default/template/customer/form/forgotpassword.phtml
CHANGED
@@ -10,24 +10,24 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Forgot Your Password?') ?></h1>
|
29 |
</div>
|
30 |
-
<?php echo $this->getMessagesBlock()->
|
31 |
<form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
|
32 |
<div class="fieldset">
|
33 |
<h2><?php echo $this->__('Retrieve your password here') ?></h2>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Forgot Your Password?') ?></h1>
|
29 |
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
31 |
<form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
|
32 |
<div class="fieldset">
|
33 |
<h2><?php echo $this->__('Retrieve your password here') ?></h2>
|
app/design/frontend/rwd/default/template/customer/form/mini.login.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/customer/form/resetforgottenpassword.phtml
CHANGED
@@ -10,24 +10,24 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Reset a Password'); ?></h1>
|
29 |
</div>
|
30 |
-
<?php echo $this->getMessagesBlock()->
|
31 |
<form action="<?php echo $this->getUrl('*/*/resetpasswordpost', array('_query' => array('id' => $this->getCustomerId(), 'token' => $this->getResetPasswordLinkToken()))); ?>" method="post" id="form-validate" class="scaffold-form">
|
32 |
<div class="fieldset" style="margin-top: 70px;">
|
33 |
<p class="required"><?php echo $this->__('* Required Fields'); ?></p>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
<div class="page-title">
|
28 |
<h1><?php echo $this->__('Reset a Password'); ?></h1>
|
29 |
</div>
|
30 |
+
<?php echo $this->getMessagesBlock()->toHtml(); ?>
|
31 |
<form action="<?php echo $this->getUrl('*/*/resetpasswordpost', array('_query' => array('id' => $this->getCustomerId(), 'token' => $this->getResetPasswordLinkToken()))); ?>" method="post" id="form-validate" class="scaffold-form">
|
32 |
<div class="fieldset" style="margin-top: 70px;">
|
33 |
<p class="required"><?php echo $this->__('* Required Fields'); ?></p>
|
app/design/frontend/rwd/default/template/directory/currency.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/downloadable/catalog/product/type.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/downloadable/checkout/cart/item/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/downloadable/checkout/onepage/review/item.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/downloadable/customer/products/list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -33,7 +33,7 @@
|
|
33 |
<div class="page-title">
|
34 |
<h1><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h1>
|
35 |
</div>
|
36 |
-
<?php echo $this->getMessagesBlock()->
|
37 |
<?php echo $this->getChildHtml('pager'); ?>
|
38 |
<?php if(count($_items)): ?>
|
39 |
<table class="data-table linearize-table-large" id="my-downloadable-products-table">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
33 |
<div class="page-title">
|
34 |
<h1><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h1>
|
35 |
</div>
|
36 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
37 |
<?php echo $this->getChildHtml('pager'); ?>
|
38 |
<?php if(count($_items)): ?>
|
39 |
<table class="data-table linearize-table-large" id="my-downloadable-products-table">
|
app/design/frontend/rwd/default/template/downloadable/email/order/items/creditmemo/downloadable.phtml
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder(); ?>
|
29 |
+
<tr>
|
30 |
+
<td class="cell-content product-info">
|
31 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
32 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
33 |
+
<?php if ($this->getItemOptions()): ?>
|
34 |
+
<dl style="margin:0; padding:0;">
|
35 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
36 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
37 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</dl>
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
|
42 |
+
<dl style="margin:0; padding:0;">
|
43 |
+
<dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
|
44 |
+
<?php foreach ($links as $link): ?>
|
45 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $this->escapeHtml($link->getLinkTitle()); ?></dd>
|
46 |
+
<?php endforeach; ?>
|
47 |
+
</dl>
|
48 |
+
<?php endif; ?>
|
49 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
50 |
+
</td>
|
51 |
+
<td class="cell-content align-center"><?php echo $_item->getQty() * 1 ?></td>
|
52 |
+
<td class="cell-content align-right">
|
53 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
54 |
+
<?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
55 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
56 |
+
<?php endif; ?>
|
57 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
58 |
+
<?php echo $_order->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
|
59 |
+
<?php else: ?>
|
60 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
61 |
+
<?php endif; ?>
|
62 |
+
|
63 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
64 |
+
<br/>
|
65 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
66 |
+
<small>
|
67 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
68 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
69 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</small>
|
72 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
73 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
74 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
75 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></small></span>
|
76 |
+
<br/>
|
77 |
+
<?php endforeach; ?>
|
78 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
79 |
+
<small>
|
80 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
81 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
82 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
|
83 |
+
<?php endforeach; ?>
|
84 |
+
</small>
|
85 |
+
<?php endif; ?>
|
86 |
+
|
87 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
88 |
+
<br/>
|
89 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
90 |
+
:<br/> <?php echo $_order->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
|
91 |
+
<?php endif; ?>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php endif; ?>
|
94 |
+
|
95 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
96 |
+
<?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
97 |
+
<br/><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
100 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
101 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
102 |
+
<?php else: ?>
|
103 |
+
<?php echo $_order->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
|
104 |
+
<?php endif; ?>
|
105 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
106 |
+
<br/>
|
107 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
108 |
+
<small>
|
109 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
110 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
111 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
112 |
+
<br/>
|
113 |
+
<?php endforeach; ?>
|
114 |
+
</small>
|
115 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
116 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
117 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
118 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></small></span>
|
119 |
+
<br/>
|
120 |
+
<?php endforeach; ?>
|
121 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
122 |
+
<small>
|
123 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
124 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
125 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
126 |
+
<br/>
|
127 |
+
<?php endforeach; ?>
|
128 |
+
</small>
|
129 |
+
<?php endif; ?>
|
130 |
+
|
131 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
132 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
133 |
+
:<br/> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
134 |
+
<?php endif; ?>
|
135 |
+
<?php endif; ?>
|
136 |
+
<?php endif; ?>
|
137 |
+
</td>
|
138 |
+
</tr>
|
app/design/frontend/rwd/default/template/downloadable/email/order/items/invoice/downloadable.phtml
ADDED
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder(); ?>
|
29 |
+
<?php $taxHelper = $this->helper('tax'); ?>
|
30 |
+
<?php $weeHelper = Mage::helper('weee'); ?>
|
31 |
+
|
32 |
+
<tr>
|
33 |
+
<td class="cell-content product-info">
|
34 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
35 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
36 |
+
<?php if ($this->getItemOptions()): ?>
|
37 |
+
<dl style="margin:0; padding:0;">
|
38 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
39 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
40 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</dl>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
|
45 |
+
<dl style="margin:0; padding:0;">
|
46 |
+
<dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
|
47 |
+
<?php foreach ($links as $link): ?>
|
48 |
+
<dd style="margin:0; padding:0 0 0 9px;">
|
49 |
+
<?php echo $this->escapeHtml($link->getLinkTitle()); ?>
|
50 |
+
(<a href="<?php echo $this->getPurchasedLinkUrl($link) ?>"
|
51 |
+
style="color:#1E7EC8;"><?php echo Mage::helper('downloadable')->__('download') ?></a>)
|
52 |
+
</dd>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
</dl>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
57 |
+
</td>
|
58 |
+
<td class="cell-content align-center"><?php echo $_item->getQty() * 1 ?></td>
|
59 |
+
<td class="cell-content align-right">
|
60 |
+
<?php if ($taxHelper->displayCartPriceExclTax($_order->getStore()) || $taxHelper->displayCartBothPrices($_order->getStore())): ?>
|
61 |
+
<?php if ($taxHelper->displayCartBothPrices($_order->getStore())): ?>
|
62 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
63 |
+
<?php endif; ?>
|
64 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
65 |
+
<?php echo $_order->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
|
66 |
+
<?php else: ?>
|
67 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
68 |
+
<?php endif; ?>
|
69 |
+
|
70 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
71 |
+
<br/>
|
72 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
73 |
+
<small>
|
74 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
75 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
76 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</small>
|
79 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
80 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
81 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
82 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></small></span>
|
83 |
+
<br/>
|
84 |
+
<?php endforeach; ?>
|
85 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
86 |
+
<small>
|
87 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
88 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
89 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
|
90 |
+
<?php endforeach; ?>
|
91 |
+
</small>
|
92 |
+
<?php endif; ?>
|
93 |
+
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
95 |
+
<br/>
|
96 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
97 |
+
:<br/> <?php echo $_order->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php endif; ?>
|
100 |
+
<?php endif; ?>
|
101 |
+
|
102 |
+
|
103 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
104 |
+
<?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
105 |
+
<br/><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
106 |
+
<?php endif; ?>
|
107 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
108 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
109 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
110 |
+
<?php else: ?>
|
111 |
+
<?php echo $_order->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
|
112 |
+
<?php endif; ?>
|
113 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
114 |
+
<br/>
|
115 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
116 |
+
<small>
|
117 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
118 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
119 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
120 |
+
<br/>
|
121 |
+
<?php endforeach; ?>
|
122 |
+
</small>
|
123 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
124 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
125 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
126 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></small></span>
|
127 |
+
<br/>
|
128 |
+
<?php endforeach; ?>
|
129 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
130 |
+
<small>
|
131 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
132 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
133 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
134 |
+
<br/>
|
135 |
+
<?php endforeach; ?>
|
136 |
+
</small>
|
137 |
+
<?php endif; ?>
|
138 |
+
|
139 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
140 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
141 |
+
:<br/> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
142 |
+
<?php endif; ?>
|
143 |
+
<?php endif; ?>
|
144 |
+
<?php endif; ?>
|
145 |
+
</td>
|
146 |
+
</tr>
|
app/design/frontend/rwd/default/template/downloadable/email/order/items/order/downloadable.phtml
ADDED
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder() ?>
|
29 |
+
<tr>
|
30 |
+
<td class="cell-content product-info">
|
31 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
32 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
33 |
+
<?php if ($this->getItemOptions()): ?>
|
34 |
+
<dl style="margin:0; padding:0;">
|
35 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
36 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
37 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo $option['value'] ?></dd>
|
38 |
+
<?php endforeach; ?>
|
39 |
+
</dl>
|
40 |
+
<?php endif; ?>
|
41 |
+
<?php if ($links = $this->getLinks()->getPurchasedItems()): ?>
|
42 |
+
<dl style="margin:0; padding:0;">
|
43 |
+
<dt><strong><em><?php echo $this->getLinksTitle() ?></em></strong></dt>
|
44 |
+
<?php foreach ($links as $link): ?>
|
45 |
+
<dd style="margin:0; padding:0 0 0 9px;">
|
46 |
+
<?php echo $this->escapeHtml($link->getLinkTitle()); ?>
|
47 |
+
(<a href="<?php echo $this->getPurchasedLinkUrl($link) ?>"
|
48 |
+
style="color:#1E7EC8;"><?php echo Mage::helper('downloadable')->__('download') ?></a>)
|
49 |
+
</dd>
|
50 |
+
<?php endforeach; ?>
|
51 |
+
</dl>
|
52 |
+
<?php endif; ?>
|
53 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
54 |
+
<?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
|
55 |
+
<br/><strong><?php echo $this->__('Gift Message') ?></strong>
|
56 |
+
<br/><?php echo $this->__('From:'); ?> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?>
|
57 |
+
<br/><?php echo $this->__('To:'); ?> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?>
|
58 |
+
<br/><?php echo $this->__('Message:'); ?><br/> <?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
|
59 |
+
<?php endif; ?>
|
60 |
+
</td>
|
61 |
+
<td class="cell-content align-center"><?php echo $_item->getQtyOrdered() * 1 ?></td>
|
62 |
+
<td class="cell-content align-right">
|
63 |
+
<?php if ($this->helper('tax')->displayCartPriceExclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
64 |
+
<?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
65 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
66 |
+
<?php endif; ?>
|
67 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
68 |
+
<?php echo $_order->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
|
69 |
+
<?php else: ?>
|
70 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
74 |
+
<br/>
|
75 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
76 |
+
<small>
|
77 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
78 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
79 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
|
80 |
+
<?php endforeach; ?>
|
81 |
+
</small>
|
82 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
83 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
84 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
85 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></small></span>
|
86 |
+
<br/>
|
87 |
+
<?php endforeach; ?>
|
88 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
89 |
+
<small>
|
90 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
91 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
92 |
+
: <?php echo $_order->formatPrice($tax['row_amount'], true, true); ?></span><br/>
|
93 |
+
<?php endforeach; ?>
|
94 |
+
</small>
|
95 |
+
<?php endif; ?>
|
96 |
+
|
97 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
98 |
+
<br/>
|
99 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
100 |
+
:<br/> <?php echo $_order->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
|
101 |
+
<?php endif; ?>
|
102 |
+
<?php endif; ?>
|
103 |
+
<?php endif; ?>
|
104 |
+
|
105 |
+
<?php if ($this->helper('tax')->displayCartPriceInclTax($_order->getStore()) || $this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
106 |
+
<?php if ($this->helper('tax')->displayCartBothPrices($_order->getStore())): ?>
|
107 |
+
<br/><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
108 |
+
<?php endif; ?>
|
109 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
110 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
111 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
112 |
+
<?php else: ?>
|
113 |
+
<?php echo $_order->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
|
114 |
+
<?php endif; ?>
|
115 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
116 |
+
<br/>
|
117 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
118 |
+
<small>
|
119 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
120 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
121 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
122 |
+
<br/>
|
123 |
+
<?php endforeach; ?>
|
124 |
+
</small>
|
125 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
126 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
127 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
128 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></small></span>
|
129 |
+
<br/>
|
130 |
+
<?php endforeach; ?>
|
131 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
132 |
+
<small>
|
133 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
134 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
135 |
+
: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
|
136 |
+
<br/>
|
137 |
+
<?php endforeach; ?>
|
138 |
+
</small>
|
139 |
+
<?php endif; ?>
|
140 |
+
|
141 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
142 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
143 |
+
:<br/> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
144 |
+
<?php endif; ?>
|
145 |
+
<?php endif; ?>
|
146 |
+
<?php endif; ?>
|
147 |
+
</td>
|
148 |
+
</tr>
|
app/design/frontend/rwd/default/template/downloadable/sales/order/items/renderer/downloadable.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/email/catalog/product/list.phtml
ADDED
@@ -0,0 +1,193 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* Product list template
|
30 |
+
*
|
31 |
+
* @see Mage_Catalog_Block_Product_List
|
32 |
+
*/
|
33 |
+
/* @var $this Mage_Catalog_Block_Product_List */
|
34 |
+
?>
|
35 |
+
<?php
|
36 |
+
$_productCollection=$this->getLoadedProductCollection();
|
37 |
+
$_helper = $this->helper('catalog/output');
|
38 |
+
?>
|
39 |
+
<?php if(!$_productCollection->count()): ?>
|
40 |
+
<p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
|
41 |
+
<?php else: ?>
|
42 |
+
<div class="category-products">
|
43 |
+
<?php echo $this->getToolbarHtml() ?>
|
44 |
+
<?php // List mode ?>
|
45 |
+
<?php if($this->getMode()!='grid'): ?>
|
46 |
+
<?php $_iterator = 0; ?>
|
47 |
+
<ol class="products-list" id="products-list">
|
48 |
+
<?php foreach ($_productCollection as $_product): ?>
|
49 |
+
<li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
|
50 |
+
<?php // Product Image ?>
|
51 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
|
52 |
+
<?php /* Based on the native RWD styling, product images are displayed at a max of ~400px wide when viewed on a
|
53 |
+
one column page layout with four product columns from a 1280px viewport. For bandwidth reasons,
|
54 |
+
we are going to serve a 300px image, as it will look fine at 400px and most of the times, the image
|
55 |
+
will be displayed at a smaller size (eg, if two column are being used or viewport is smaller than 1280px).
|
56 |
+
This $_imgSize value could even be decreased further, based on the page layout
|
57 |
+
(one column, two column, three column) and number of product columns. */ ?>
|
58 |
+
<?php $_imgSize = 300; ?>
|
59 |
+
<img id="product-collection-image-<?php echo $_product->getId(); ?>"
|
60 |
+
src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->keepFrame(false)->resize($_imgSize); ?>"
|
61 |
+
alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
62 |
+
</a>
|
63 |
+
<?php // Product description ?>
|
64 |
+
<div class="product-shop">
|
65 |
+
<div class="f-fix">
|
66 |
+
<div class="product-primary">
|
67 |
+
<?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
|
68 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
|
69 |
+
<?php if($_product->getRatingSummary()): ?>
|
70 |
+
<?php echo $this->getReviewsSummaryHtml($_product) ?>
|
71 |
+
<?php endif; ?>
|
72 |
+
<?php
|
73 |
+
// Provides extra blocks on which to hang some features for products in the list
|
74 |
+
// Features providing UI elements targeting this block will display directly below the product name
|
75 |
+
if ($this->getChild('name.after')) {
|
76 |
+
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
77 |
+
foreach ($_nameAfterChildren as $_nameAfterChildName) {
|
78 |
+
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
79 |
+
$_nameAfterChild->setProduct($_product);
|
80 |
+
echo $_nameAfterChild->toHtml();
|
81 |
+
}
|
82 |
+
}
|
83 |
+
?>
|
84 |
+
</div>
|
85 |
+
<div class="product-secondary">
|
86 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
87 |
+
</div>
|
88 |
+
<div class="product-secondary">
|
89 |
+
<?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
|
90 |
+
<p class="action"><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
|
91 |
+
<?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
|
92 |
+
<p class="action"><a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a></p>
|
93 |
+
<?php else: ?>
|
94 |
+
<p class="action availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
95 |
+
<?php endif; ?>
|
96 |
+
<ul class="add-to-links">
|
97 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
98 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
99 |
+
<?php endif; ?>
|
100 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
101 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
102 |
+
<?php endif; ?>
|
103 |
+
</ul>
|
104 |
+
</div>
|
105 |
+
<div class="desc std">
|
106 |
+
<?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
|
107 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
</div>
|
111 |
+
</li>
|
112 |
+
<?php endforeach; ?>
|
113 |
+
</ol>
|
114 |
+
<script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
|
115 |
+
|
116 |
+
<?php else: ?>
|
117 |
+
|
118 |
+
<?php // Grid Mode ?>
|
119 |
+
|
120 |
+
<?php $_collectionSize = $_productCollection->count() ?>
|
121 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
122 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
123 |
+
<?php $i=0; foreach ($_productCollection as $_product): ?>
|
124 |
+
<?php /*if ($i++%$_columnCount==0): ?>
|
125 |
+
<?php endif*/ ?>
|
126 |
+
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
127 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
|
128 |
+
<?php $_imgSize = 210; ?>
|
129 |
+
<img id="product-collection-image-<?php echo $_product->getId(); ?>"
|
130 |
+
src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>"
|
131 |
+
alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
132 |
+
</a>
|
133 |
+
<div class="product-info">
|
134 |
+
<h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
|
135 |
+
<?php
|
136 |
+
// Provides extra blocks on which to hang some features for products in the list
|
137 |
+
// Features providing UI elements targeting this block will display directly below the product name
|
138 |
+
if ($this->getChild('name.after')) {
|
139 |
+
$_nameAfterChildren = $this->getChild('name.after')->getSortedChildren();
|
140 |
+
foreach ($_nameAfterChildren as $_nameAfterChildName) {
|
141 |
+
$_nameAfterChild = $this->getChild('name.after')->getChild($_nameAfterChildName);
|
142 |
+
$_nameAfterChild->setProduct($_product);
|
143 |
+
echo $_nameAfterChild->toHtml();
|
144 |
+
}
|
145 |
+
}
|
146 |
+
?>
|
147 |
+
<?php echo $this->getPriceHtml($_product, true) ?>
|
148 |
+
<?php if($_product->getRatingSummary()): ?>
|
149 |
+
<?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
150 |
+
<?php endif; ?>
|
151 |
+
<div class="actions">
|
152 |
+
<?php if(!$_product->canConfigure() && $_product->isSaleable()): ?>
|
153 |
+
<button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
|
154 |
+
<?php elseif($_product->getStockItem() && $_product->getStockItem()->getIsInStock()): ?>
|
155 |
+
<a title="<?php echo $this->__('View Details') ?>" class="button" href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a>
|
156 |
+
<?php else: ?>
|
157 |
+
<p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
|
158 |
+
<?php endif; ?>
|
159 |
+
<ul class="add-to-links">
|
160 |
+
<?php if ($this->helper('wishlist')->isAllow()) : ?>
|
161 |
+
<li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
|
162 |
+
<?php endif; ?>
|
163 |
+
<?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
|
164 |
+
<li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
|
165 |
+
<?php endif; ?>
|
166 |
+
</ul>
|
167 |
+
</div>
|
168 |
+
</div>
|
169 |
+
</li>
|
170 |
+
<?php /*if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
|
171 |
+
<?php endif*/ ?>
|
172 |
+
<?php endforeach ?>
|
173 |
+
</ul>
|
174 |
+
<script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
|
175 |
+
<?php endif; ?>
|
176 |
+
|
177 |
+
<div class="toolbar-bottom">
|
178 |
+
<?php echo $this->getToolbarHtml() ?>
|
179 |
+
</div>
|
180 |
+
</div>
|
181 |
+
<?php endif; ?>
|
182 |
+
<?php
|
183 |
+
// Provides a block where additional page components may be attached, primarily good for in-page JavaScript
|
184 |
+
if ($this->getChild('after')) {
|
185 |
+
$_afterChildren = $this->getChild('after')->getSortedChildren();
|
186 |
+
foreach ($_afterChildren as $_afterChildName) {
|
187 |
+
$_afterChild = $this->getChild('after')->getChild($_afterChildName);
|
188 |
+
//set product collection on after blocks
|
189 |
+
$_afterChild->setProductCollection($_productCollection);
|
190 |
+
echo $_afterChild->toHtml();
|
191 |
+
}
|
192 |
+
}
|
193 |
+
?>
|
app/design/frontend/rwd/default/template/email/catalog/product/new.phtml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
|
28 |
+
<h2 class="subtitle products"><?php echo $this->__('New Products') ?></h2>
|
29 |
+
<?php $_columnCount = $this->getColumnCount(); ?>
|
30 |
+
<table class="products-grid">
|
31 |
+
<?php $i=0; foreach ($_products->getItems() as $_product): ?>
|
32 |
+
<?php if ($i++%$_columnCount==0): ?>
|
33 |
+
<tr>
|
34 |
+
<?php endif ?>
|
35 |
+
<td>
|
36 |
+
<div class="product-wrapper">
|
37 |
+
<a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image">
|
38 |
+
<?php $_imgSize = 260; ?>
|
39 |
+
<img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize($_imgSize); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
|
40 |
+
</a>
|
41 |
+
<h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>"><?php echo $this->escapeHtml($_product->getName()) ?></a></h3>
|
42 |
+
<?php // echo $this->getReviewsSummaryHtml($_product, 'short') ?>
|
43 |
+
<?php echo $this->getPriceHtml($_product, true, '-new') ?>
|
44 |
+
</div>
|
45 |
+
</td>
|
46 |
+
<?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
|
47 |
+
<tr>
|
48 |
+
<?php endif ?>
|
49 |
+
<?php endforeach; ?>
|
50 |
+
</table>
|
51 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/order/creditmemo/items.phtml
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_creditmemo = $this->getCreditmemo() ?>
|
29 |
+
<?php $_order = $this->getOrder() ?>
|
30 |
+
|
31 |
+
<?php if ($_creditmemo && $_order): ?>
|
32 |
+
|
33 |
+
<?php $_items = $_order->getAllItems() ?>
|
34 |
+
<?php $_itemCount = count($_items) ?>
|
35 |
+
<table class="items" cellpadding="0" cellspacing="0" border="0">
|
36 |
+
<thead>
|
37 |
+
<tr>
|
38 |
+
<th class="cell-name">
|
39 |
+
<?php if($_itemCount > 1): echo $this->__('Items in your order'); else: echo $this->__('Item in your order'); endif; ?>
|
40 |
+
</th>
|
41 |
+
<th class="cell-name align-center">
|
42 |
+
<?php echo $this->__('Qty'); ?>
|
43 |
+
</th>
|
44 |
+
<th class="cell-name align-right">
|
45 |
+
<?php echo $this->__('Price'); ?>
|
46 |
+
</th>
|
47 |
+
</tr>
|
48 |
+
</thead>
|
49 |
+
|
50 |
+
<?php $i=0; foreach ($_creditmemo->getAllItems() as $_item): ?>
|
51 |
+
<?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
|
52 |
+
<?php echo $this->getItemHtml($_item) ?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
|
55 |
+
<tfoot>
|
56 |
+
<?php echo $this->getChildHtml('creditmemo_totals');?>
|
57 |
+
</tfoot>
|
58 |
+
</table>
|
59 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/order/invoice/items.phtml
ADDED
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_invoice = $this->getInvoice() ?>
|
28 |
+
<?php $_order = $this->getOrder() ?>
|
29 |
+
|
30 |
+
<?php if ($_invoice && $_order): ?>
|
31 |
+
|
32 |
+
<?php $_items = $_order->getAllItems() ?>
|
33 |
+
<?php $_itemCount = count($_items) ?>
|
34 |
+
<table class="items" cellpadding="0" cellspacing="0" border="0">
|
35 |
+
<thead>
|
36 |
+
<tr>
|
37 |
+
<th class="cell-name">
|
38 |
+
<?php if($_itemCount > 1): echo $this->__('Items in your order'); else: echo $this->__('Item in your order'); endif; ?>
|
39 |
+
</th>
|
40 |
+
<th class="cell-name align-center">
|
41 |
+
<?php echo $this->__('Qty'); ?>
|
42 |
+
</th>
|
43 |
+
<th class="cell-name align-right">
|
44 |
+
<?php echo $this->__('Price'); ?>
|
45 |
+
</th>
|
46 |
+
</tr>
|
47 |
+
</thead>
|
48 |
+
|
49 |
+
<?php $i=0; foreach ($_invoice->getAllItems() as $_item): ?>
|
50 |
+
<?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
|
51 |
+
<?php echo $this->getItemHtml($_item) ?>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
|
54 |
+
<tfoot>
|
55 |
+
<?php echo $this->getChildHtml('invoice_totals')?>
|
56 |
+
</tfoot>
|
57 |
+
</table>
|
58 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/order/items.phtml
ADDED
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_order = $this->getOrder(); ?>
|
29 |
+
|
30 |
+
<?php if ($_order): ?>
|
31 |
+
<?php $_items = $_order->getAllItems(); ?>
|
32 |
+
<?php $_itemCount = count($_items); ?>
|
33 |
+
<tr>
|
34 |
+
<td>
|
35 |
+
<table class="items" cellpadding="0" cellspacing="0" border="0">
|
36 |
+
<thead>
|
37 |
+
<tr>
|
38 |
+
<th class="cell-name">
|
39 |
+
<?php if($_itemCount > 1): ?>
|
40 |
+
<?php echo $this->__('Items in your order'); ?>
|
41 |
+
<?php else: ?>
|
42 |
+
<?php echo $this->__('Item in your order'); ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
</th>
|
45 |
+
<th class="cell-name align-center">
|
46 |
+
<?php echo $this->__('Qty'); ?>
|
47 |
+
</th>
|
48 |
+
<th class="cell-name align-right">
|
49 |
+
<?php echo $this->__('Price'); ?>
|
50 |
+
</th>
|
51 |
+
</tr>
|
52 |
+
</thead>
|
53 |
+
<?php $i=0; foreach ($_order->getAllItems() as $_item): ?>
|
54 |
+
<?php if($_item->getParentItem()) continue; else $i++; ?>
|
55 |
+
<?php echo $this->getItemHtml($_item) ?>
|
56 |
+
<?php endforeach; ?>
|
57 |
+
</table>
|
58 |
+
</td>
|
59 |
+
</tr>
|
60 |
+
<tr>
|
61 |
+
<td>
|
62 |
+
<?php echo $this->getChildHtml('order_totals') ?>
|
63 |
+
</td>
|
64 |
+
</tr>
|
65 |
+
<?php if ($this->helper('giftmessage/message')->isMessagesAvailable('order', $_order, $_order->getStore()) && $_order->getGiftMessageId()): ?>
|
66 |
+
<?php $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_order->getGiftMessageId()); ?>
|
67 |
+
<?php if ($_giftMessage): ?>
|
68 |
+
<br />
|
69 |
+
<table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #EAEAEA;">
|
70 |
+
<thead>
|
71 |
+
<tr>
|
72 |
+
<th align="left" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><strong><?php echo $this->__('Gift Message for this Order') ?></strong></th>
|
73 |
+
</tr>
|
74 |
+
</thead>
|
75 |
+
|
76 |
+
<tbody>
|
77 |
+
|
78 |
+
<tr>
|
79 |
+
<td colspan="4" align="left" style="padding:3px 9px">
|
80 |
+
<strong><?php echo $this->__('From:'); ?></strong> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?>
|
81 |
+
<br /><strong><?php echo $this->__('To:'); ?></strong> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?>
|
82 |
+
<br /><strong><?php echo $this->__('Message:'); ?></strong><br /> <?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
|
83 |
+
</td>
|
84 |
+
</tr>
|
85 |
+
</tbody>
|
86 |
+
</table>
|
87 |
+
<?php endif; ?>
|
88 |
+
<?php endif; ?>
|
89 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/order/items/creditmemo/default.phtml
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder(); ?>
|
29 |
+
<tbody>
|
30 |
+
<tr>
|
31 |
+
<td class="cell-content product-info">
|
32 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
33 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
34 |
+
<?php if ($this->getItemOptions()): ?>
|
35 |
+
<dl style="margin:0; padding:0;">
|
36 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
37 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
38 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo nl2br($option['value']) ?></dd>
|
39 |
+
<?php endforeach; ?>
|
40 |
+
</dl>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
43 |
+
<?php if ($addInfoBlock) :?>
|
44 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
47 |
+
</td>
|
48 |
+
<td class="cell-content align-center"><?php echo $_item->getQty()*1 ?></td>
|
49 |
+
<td class="cell-content align-right">
|
50 |
+
<?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
51 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
52 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
55 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
56 |
+
<?php else: ?>
|
57 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
58 |
+
<?php endif; ?>
|
59 |
+
|
60 |
+
|
61 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
62 |
+
<br />
|
63 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
64 |
+
<small>
|
65 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
66 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</small>
|
69 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
70 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
71 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
72 |
+
<?php endforeach; ?>
|
73 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
74 |
+
<small>
|
75 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
76 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</small>
|
79 |
+
<?php endif; ?>
|
80 |
+
|
81 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
82 |
+
<br />
|
83 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
84 |
+
<?php endif; ?>
|
85 |
+
<?php endif; ?>
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
|
89 |
+
<?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
90 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
91 |
+
<br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
95 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
96 |
+
<?php else: ?>
|
97 |
+
<?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
100 |
+
<br />
|
101 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
102 |
+
<small>
|
103 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
104 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
105 |
+
<?php endforeach; ?>
|
106 |
+
</small>
|
107 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
108 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
109 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
110 |
+
<?php endforeach; ?>
|
111 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
112 |
+
<small>
|
113 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
114 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
115 |
+
<?php endforeach; ?>
|
116 |
+
</small>
|
117 |
+
<?php endif; ?>
|
118 |
+
|
119 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
120 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php endif; ?>
|
123 |
+
<?php endif; ?>
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
</tbody>
|
app/design/frontend/rwd/default/template/email/order/items/invoice/default.phtml
ADDED
@@ -0,0 +1,126 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder(); ?>
|
29 |
+
<tbody>
|
30 |
+
<tr>
|
31 |
+
<td class="cell-content product-info">
|
32 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
33 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
34 |
+
<?php if ($this->getItemOptions()): ?>
|
35 |
+
<dl style="margin:0; padding:0;">
|
36 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
37 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
38 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo nl2br($option['value']) ?></dd>
|
39 |
+
<?php endforeach; ?>
|
40 |
+
</dl>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
43 |
+
<?php if ($addInfoBlock) :?>
|
44 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
45 |
+
<?php endif; ?>
|
46 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
47 |
+
</td>
|
48 |
+
<td class="cell-content align-center"><?php echo $_item->getQty()*1 ?></td>
|
49 |
+
<td class="cell-content align-right">
|
50 |
+
<?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
51 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
52 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
53 |
+
<?php endif; ?>
|
54 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
55 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
56 |
+
<?php else: ?>
|
57 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
58 |
+
<?php endif; ?>
|
59 |
+
|
60 |
+
|
61 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
62 |
+
<br />
|
63 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
64 |
+
<small>
|
65 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
66 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
67 |
+
<?php endforeach; ?>
|
68 |
+
</small>
|
69 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
70 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
71 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
72 |
+
<?php endforeach; ?>
|
73 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
74 |
+
<small>
|
75 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
76 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
77 |
+
<?php endforeach; ?>
|
78 |
+
</small>
|
79 |
+
<?php endif; ?>
|
80 |
+
|
81 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
82 |
+
<br />
|
83 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
84 |
+
<?php endif; ?>
|
85 |
+
<?php endif; ?>
|
86 |
+
<?php endif; ?>
|
87 |
+
|
88 |
+
|
89 |
+
<?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
90 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
91 |
+
<br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
92 |
+
<?php endif; ?>
|
93 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
94 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
95 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
96 |
+
<?php else: ?>
|
97 |
+
<?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
98 |
+
<?php endif; ?>
|
99 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
100 |
+
<br />
|
101 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
102 |
+
<small>
|
103 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
104 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
105 |
+
<?php endforeach; ?>
|
106 |
+
</small>
|
107 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
108 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
109 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
110 |
+
<?php endforeach; ?>
|
111 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
112 |
+
<small>
|
113 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
114 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
115 |
+
<?php endforeach; ?>
|
116 |
+
</small>
|
117 |
+
<?php endif; ?>
|
118 |
+
|
119 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
120 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
121 |
+
<?php endif; ?>
|
122 |
+
<?php endif; ?>
|
123 |
+
<?php endif; ?>
|
124 |
+
</td>
|
125 |
+
</tr>
|
126 |
+
</tbody>
|
app/design/frontend/rwd/default/template/email/order/items/order/default.phtml
ADDED
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrder() ?>
|
29 |
+
<tbody>
|
30 |
+
<tr>
|
31 |
+
<td class="cell-content product-info">
|
32 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
33 |
+
<p class="sku"><?php echo $this->__('SKU'); ?>: <?php echo $this->escapeHtml($this->getSku($_item)) ?></p>
|
34 |
+
<?php if ($this->getItemOptions()): ?>
|
35 |
+
<dl style="margin:0; padding:0;">
|
36 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
37 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
38 |
+
<dd style="margin:0; padding:0 0 0 9px;">
|
39 |
+
<?php echo nl2br($option['value']) ?>
|
40 |
+
</dd>
|
41 |
+
<?php endforeach; ?>
|
42 |
+
</dl>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
45 |
+
<?php if ($addInfoBlock) :?>
|
46 |
+
<?php echo $addInfoBlock->setItem($_item)->toHtml(); ?>
|
47 |
+
<?php endif; ?>
|
48 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
49 |
+
</td>
|
50 |
+
<td class="cell-content align-center"><?php echo $_item->getQtyOrdered()*1 ?></td>
|
51 |
+
<td class="cell-content align-right">
|
52 |
+
<?php if ($this->helper('tax')->displaySalesPriceExclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
53 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
54 |
+
<span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax'); ?>:</span>
|
55 |
+
<?php endif; ?>
|
56 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
57 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
|
58 |
+
<?php else: ?>
|
59 |
+
<?php echo $_order->formatPrice($_item->getRowTotal()) ?>
|
60 |
+
<?php endif; ?>
|
61 |
+
|
62 |
+
|
63 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
64 |
+
<br />
|
65 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
66 |
+
<small>
|
67 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
68 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
69 |
+
<?php endforeach; ?>
|
70 |
+
</small>
|
71 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
72 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
73 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
|
74 |
+
<?php endforeach; ?>
|
75 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
76 |
+
<small>
|
77 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
78 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount'],true,true); ?></span><br />
|
79 |
+
<?php endforeach; ?>
|
80 |
+
</small>
|
81 |
+
<?php endif; ?>
|
82 |
+
|
83 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
84 |
+
<br />
|
85 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $_order->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
|
86 |
+
<?php endif; ?>
|
87 |
+
<?php endif; ?>
|
88 |
+
<?php endif; ?>
|
89 |
+
|
90 |
+
|
91 |
+
<?php if ($this->helper('tax')->displaySalesPriceInclTax($_order->getStore()) || $this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
92 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices($_order->getStore())): ?>
|
93 |
+
<br /><span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax'); ?>:</span>
|
94 |
+
<?php endif; ?>
|
95 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
|
96 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'email', $_order->getStore())): ?>
|
97 |
+
<?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
98 |
+
<?php else: ?>
|
99 |
+
<?php echo $_order->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
|
100 |
+
<?php endif; ?>
|
101 |
+
<?php if (Mage::helper('weee')->getApplied($_item)): ?>
|
102 |
+
<br />
|
103 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'email', $_order->getStore())): ?>
|
104 |
+
<small>
|
105 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
106 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
107 |
+
<?php endforeach; ?>
|
108 |
+
</small>
|
109 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
110 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
111 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
|
112 |
+
<?php endforeach; ?>
|
113 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'email', $_order->getStore())): ?>
|
114 |
+
<small>
|
115 |
+
<?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
|
116 |
+
<span class="nobr"><?php echo $tax['title']; ?>: <?php echo $_order->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
|
117 |
+
<?php endforeach; ?>
|
118 |
+
</small>
|
119 |
+
<?php endif; ?>
|
120 |
+
|
121 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'email', $_order->getStore())): ?>
|
122 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $_order->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
123 |
+
<?php endif; ?>
|
124 |
+
<?php endif; ?>
|
125 |
+
<?php endif; ?>
|
126 |
+
</td>
|
127 |
+
</tr>
|
128 |
+
<?php if ($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
|
129 |
+
<tr>
|
130 |
+
<td colspan="4" style=" border-bottom:2px solid #CCCCCC; padding:3px 9px;">
|
131 |
+
<strong style="color:#444444; font-size:11px;"><?php echo $this->__('Gift Message') ?></strong>
|
132 |
+
<?php echo $this->__('From:'); ?> <?php echo $this->escapeHtml($_giftMessage->getSender()) ?><br />
|
133 |
+
<?php echo $this->__('To:'); ?> <?php echo $this->escapeHtml($_giftMessage->getRecipient()) ?><br />
|
134 |
+
<strong><?php echo $this->__('Message:'); ?></strong><br /><?php echo $this->escapeHtml($_giftMessage->getMessage()) ?>
|
135 |
+
</td>
|
136 |
+
</tr>
|
137 |
+
<?php endif; ?>
|
138 |
+
</tbody>
|
app/design/frontend/rwd/default/template/email/order/items/shipment/default.phtml
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<tbody>
|
29 |
+
<tr>
|
30 |
+
<td class="cell-content product-info">
|
31 |
+
<p class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></p>
|
32 |
+
<?php if ($this->getItemOptions()): ?>
|
33 |
+
<dl style="margin:0; padding:0;">
|
34 |
+
<?php foreach ($this->getItemOptions() as $option): ?>
|
35 |
+
<dt><strong><em><?php echo $option['label'] ?></em></strong></dt>
|
36 |
+
<dd style="margin:0; padding:0 0 0 9px;"><?php echo nl2br($option['value']) ?></dd>
|
37 |
+
<?php endforeach; ?>
|
38 |
+
</dl>
|
39 |
+
<?php endif; ?>
|
40 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
41 |
+
<?php if ($addInfoBlock) :?>
|
42 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
43 |
+
<?php endif; ?>
|
44 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
45 |
+
</td>
|
46 |
+
<td class="cell-content align-center"><?php echo $this->escapeHtml($this->getSku($_item)) ?></td>
|
47 |
+
<td class="cell-content align-right"><?php echo $_item->getQty()*1 ?></td>
|
48 |
+
</tr>
|
49 |
+
</tbody>
|
app/design/frontend/rwd/default/template/email/order/shipment/items.phtml
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
|
28 |
+
<?php $_shipment = $this->getShipment() ?>
|
29 |
+
<?php $_order = $this->getOrder() ?>
|
30 |
+
|
31 |
+
<?php if ($_shipment && $_order): ?>
|
32 |
+
|
33 |
+
<?php $_items = $_order->getAllItems() ?>
|
34 |
+
<?php $_itemCount = count($_items) ?>
|
35 |
+
<table class="items" cellpadding="0" cellspacing="0" border="0">
|
36 |
+
<thead>
|
37 |
+
<tr>
|
38 |
+
<th class="cell-name">
|
39 |
+
<?php if($_itemCount > 1): echo $this->__('Items in your order'); else: echo $this->__('Item in your order'); endif; ?>
|
40 |
+
</th>
|
41 |
+
<th class="cell-name align-center">
|
42 |
+
<?php echo $this->__('Sku'); ?>
|
43 |
+
</th>
|
44 |
+
<th class="cell-name align-right">
|
45 |
+
<?php echo $this->__('Qty'); ?>
|
46 |
+
</th>
|
47 |
+
</tr>
|
48 |
+
</thead>
|
49 |
+
|
50 |
+
<?php $i=0; foreach ($_shipment->getAllItems() as $_item): ?>
|
51 |
+
<?php if($_item->getOrderItem()->getParentItem()) continue; else $i++; ?>
|
52 |
+
<?php echo $this->getItemHtml($_item) ?>
|
53 |
+
<?php endforeach; ?>
|
54 |
+
|
55 |
+
</table>
|
56 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/order/shipment/track.phtml
ADDED
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_shipment=$this->getShipment() ?>
|
28 |
+
<?php $_order=$this->getOrder() ?>
|
29 |
+
<?php if ($_shipment && $_order && $_shipment->getAllTracks()): ?>
|
30 |
+
<table cellspacing="0" cellpadding="0" border="0" width="650" style="border:1px solid #EAEAEA;">
|
31 |
+
<thead>
|
32 |
+
<tr>
|
33 |
+
<th align="left" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><?php echo $this->__('Shipped By') ?></th>
|
34 |
+
<th align="center" bgcolor="#EAEAEA" style="font-size:13px; padding:3px 9px"><?php echo $this->__('Tracking Number') ?></th>
|
35 |
+
</tr>
|
36 |
+
</thead>
|
37 |
+
<tbody>
|
38 |
+
<?php $i=0; foreach ($_shipment->getAllTracks() as $_item): $i++ ?>
|
39 |
+
<tbody>
|
40 |
+
<td align="left" valign="top" style="padding:3px 9px"><?php echo $this->escapeHtml($_item->getTitle()) ?></td>
|
41 |
+
<td align="center" valign="top" style="padding:3px 9px"><?php echo $this->escapeHtml($_item->getNumber()) ?></td>
|
42 |
+
</tr>
|
43 |
+
<?php endforeach ?>
|
44 |
+
</tbody>
|
45 |
+
</table>
|
46 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/order/totals/wrapper.phtml
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<table class="table-totals" cellpadding="0" cellspacing="0" border="0">
|
28 |
+
<tr>
|
29 |
+
<td class="padding-totals">
|
30 |
+
<table cellpadding="0" cellspacing="0" border="0">
|
31 |
+
<?php echo $this->getChildHtml(); ?>
|
32 |
+
</table>
|
33 |
+
</td>
|
34 |
+
</tr>
|
35 |
+
</table>
|
app/design/frontend/rwd/default/template/email/productalert/price.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @var $this Mage_ProductAlert_Block_Email_Price
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php if ($products = $this->getProducts()): ?>
|
32 |
+
<p><?php echo $this->__('You are receiving this notification because you subscribed to receive alerts when the prices for the following products changed:') ?></p>
|
33 |
+
<table>
|
34 |
+
<?php foreach ($products as $product): ?>
|
35 |
+
<tr>
|
36 |
+
<td><a href="<?php echo $product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><img src="<?php echo $product->getThumbnailUrl() ?>" border="0" align="left" height="75" width="75" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a></td>
|
37 |
+
<td>
|
38 |
+
<p><a href="<?php echo $product->getProductUrl() ?>"><strong><?php echo $this->escapeHtml($product->getName()) ?></strong></a></p>
|
39 |
+
<?php $shortDescription = $this->_getFilteredProductShortDescription($product) ?>
|
40 |
+
<?php if ($shortDescription): ?>
|
41 |
+
<p><small><?php echo $shortDescription ?></small></p>
|
42 |
+
<?php endif; ?>
|
43 |
+
<p><?php if ($product->getPrice() != $product->getFinalPrice()): ?>
|
44 |
+
<?php echo $this->__('Regular Price:') ?> <strong style="text-decoration:line-through;"><?php echo Mage::helper('core')->currency($product->getPrice()) ?></strong><br />
|
45 |
+
<strong><?php echo $this->__('Special price:') ?> <span style="color:#FF0000;"><?php echo Mage::helper('core')->currency($product->getFinalPrice()) ?></span></strong>
|
46 |
+
<?php else: ?>
|
47 |
+
<strong><?php echo $this->__('Price:') ?></strong> <?php echo Mage::helper('core')->currency($product->getPrice()) ?>
|
48 |
+
<?php endif; ?></p>
|
49 |
+
<p><small><a href="<?php echo $this->getProductUnsubscribeUrl($product->getId()) ?>"><?php echo $this->__('Click here not to receive alerts for this product') ?></a></small></p>
|
50 |
+
</td>
|
51 |
+
</tr>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</table>
|
54 |
+
<p><a href="<?php echo $this->getUnsubscribeUrl() ?>"><?php echo $this->__('Unsubscribe from all price alerts') ?></a></p>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/email/productalert/stock.phtml
ADDED
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
|
27 |
+
/**
|
28 |
+
* @var $this Mage_ProductAlert_Block_Email_Stock
|
29 |
+
*/
|
30 |
+
?>
|
31 |
+
<?php if ($products = $this->getProducts()): ?>
|
32 |
+
<p><?php echo $this->__('You are receiving this notification because you subscribed to receive alerts when the following products are back in stock:') ?></p>
|
33 |
+
<table>
|
34 |
+
<?php foreach ($products as $product): ?>
|
35 |
+
<tr>
|
36 |
+
<td><a href="<?php echo $product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($product->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($product, 'thumbnail')->resize(75, 75) ?>" border="0" align="left" height="75" width="75" alt="<?php echo $this->escapeHtml($product->getName()) ?>" /></a></td>
|
37 |
+
<td>
|
38 |
+
<p><a href="<?php echo $product->getProductUrl() ?>"><strong><?php echo $this->escapeHtml($product->getName()) ?></strong></a></p>
|
39 |
+
<?php $shortDescription = $this->_getFilteredProductShortDescription($product) ?>
|
40 |
+
<?php if ($shortDescription): ?>
|
41 |
+
<p><small><?php echo $shortDescription ?></small></p>
|
42 |
+
<?php endif; ?>
|
43 |
+
<p><?php if ($product->getPrice() != $product->getFinalPrice()): ?>
|
44 |
+
<?php echo $this->__('Regular Price:') ?> <strong style="text-decoration:line-through;"><?php echo Mage::helper('core')->currency($product->getPrice()) ?></strong><br />
|
45 |
+
<strong><?php echo $this->__('Special price:') ?> <span style="color:#FF0000;"><?php echo Mage::helper('core')->currency($product->getFinalPrice()) ?></span></strong>
|
46 |
+
<?php else: ?>
|
47 |
+
<strong><?php echo $this->__('Price:') ?></strong> <?php echo Mage::helper('core')->currency($product->getPrice()) ?>
|
48 |
+
<?php endif; ?></p>
|
49 |
+
<p><small><a href="<?php echo $this->getProductUnsubscribeUrl($product->getId()) ?>"><?php echo $this->__('Click here not to receive alerts for this product') ?></a></small></p>
|
50 |
+
</td>
|
51 |
+
</tr>
|
52 |
+
<?php endforeach; ?>
|
53 |
+
</table>
|
54 |
+
<p><a href="<?php echo $this->getUnsubscribeUrl() ?>"><?php echo $this->__('Unsubscribe from all stock alerts') ?></a></p>
|
55 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/newsletter/subscribe.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/oauth/authorize/form/login-simple.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/page/1column.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/2columns-left.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/2columns-right.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/3columns.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/empty.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/html/footer.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/page/html/header.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/**
|
@@ -64,15 +64,17 @@
|
|
64 |
<span class="label"><?php echo $this->__('Search'); ?></span>
|
65 |
</a>
|
66 |
|
67 |
-
<
|
68 |
-
<
|
69 |
-
|
70 |
-
|
|
|
71 |
|
72 |
-
|
73 |
|
74 |
-
|
75 |
-
|
|
|
76 |
</div>
|
77 |
|
78 |
|
@@ -95,18 +97,6 @@
|
|
95 |
<div id="header-account" class="skip-content">
|
96 |
<?php echo $this->getChildHtml('topLinks') ?>
|
97 |
</div>
|
98 |
-
|
99 |
-
<!-- Cart -->
|
100 |
-
|
101 |
-
<!-- <div id="header-cart" class="skip-content">
|
102 |
-
<div class="mini-cart">
|
103 |
-
<div class="menu-wrapper">
|
104 |
-
<div class="menu cart-menu">
|
105 |
-
<div class="empty">Your cart is empty.</div>
|
106 |
-
</div>
|
107 |
-
</div>
|
108 |
-
</div>
|
109 |
-
</div> -->
|
110 |
</div>
|
111 |
</header>
|
112 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/**
|
64 |
<span class="label"><?php echo $this->__('Search'); ?></span>
|
65 |
</a>
|
66 |
|
67 |
+
<div class="account-cart-wrapper">
|
68 |
+
<a href="<?php echo $this->helper('customer')->getAccountUrl(); ?>" data-target-element="#header-account" class="skip-link skip-account">
|
69 |
+
<span class="icon"></span>
|
70 |
+
<span class="label"><?php echo $this->__('Account'); ?></span>
|
71 |
+
</a>
|
72 |
|
73 |
+
<!-- Cart -->
|
74 |
|
75 |
+
<div class="header-minicart">
|
76 |
+
<?php echo $this->getChildHtml('minicart_head'); ?>
|
77 |
+
</div>
|
78 |
</div>
|
79 |
|
80 |
|
97 |
<div id="header-account" class="skip-content">
|
98 |
<?php echo $this->getChildHtml('topLinks') ?>
|
99 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
100 |
</div>
|
101 |
</header>
|
102 |
|
app/design/frontend/rwd/default/template/page/html/pager.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/page/html/topmenu.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/page/html/topmenu/renderer.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -61,9 +61,9 @@ foreach ($children as $child) {
|
|
61 |
|
62 |
if (!empty($_hasChildren)) {
|
63 |
$html .= '<ul class="level'. $childLevel .'">';
|
64 |
-
$html .= '<li class="level'. $nextChildLevel .'">';
|
65 |
$html .= '<a class="level'. $nextChildLevel .'" href="'. $child->getUrl() .'">';
|
66 |
-
$html .= $this->__('View All
|
67 |
$html .= '</a>';
|
68 |
$html .= '</li>';
|
69 |
$html .= $this->render($child, $childrenWrapClass);
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
61 |
|
62 |
if (!empty($_hasChildren)) {
|
63 |
$html .= '<ul class="level'. $childLevel .'">';
|
64 |
+
$html .= '<li class="level'. $nextChildLevel .' view-all">';
|
65 |
$html .= '<a class="level'. $nextChildLevel .'" href="'. $child->getUrl() .'">';
|
66 |
+
$html .= $this->__('View All') . ' ' . $this->escapeHtml($this->__($child->getName()));
|
67 |
$html .= '</a>';
|
68 |
$html .= '</li>';
|
69 |
$html .= $this->render($child, $childrenWrapClass);
|
app/design/frontend/rwd/default/template/page/popup.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/print.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,11 +32,11 @@
|
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
-
<!--[if lt IE 7 ]> <html lang="
|
36 |
-
<!--[if IE 7 ]> <html lang="
|
37 |
-
<!--[if IE 8 ]> <html lang="
|
38 |
-
<!--[if IE 9 ]> <html lang="
|
39 |
-
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
|
33 |
<!DOCTYPE html>
|
34 |
|
35 |
+
<!--[if lt IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie6"> <![endif]-->
|
36 |
+
<!--[if IE 7 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie7"> <![endif]-->
|
37 |
+
<!--[if IE 8 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie8"> <![endif]-->
|
38 |
+
<!--[if IE 9 ]> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js ie9"> <![endif]-->
|
39 |
+
<!--[if (gt IE 9)|!(IE)]><!--> <html lang="<?php echo $this->getLang(); ?>" id="top" class="no-js"> <!--<![endif]-->
|
40 |
|
41 |
<head>
|
42 |
<?php echo $this->getChildHtml('head') ?>
|
app/design/frontend/rwd/default/template/page/template/links.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/payment/form/cc.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/payment/form/ccsave.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/payment/info/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/paypal/bml.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/paypal/express/minicart/shortcut.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -42,7 +42,7 @@
|
|
42 |
<li class="bml-checkout-type">
|
43 |
<p class="paypal-logo">
|
44 |
<span class="bml_button">
|
45 |
-
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal
|
46 |
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
47 |
</span>
|
48 |
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
42 |
<li class="bml-checkout-type">
|
43 |
<p class="paypal-logo">
|
44 |
<span class="bml_button">
|
45 |
+
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" /></a>
|
46 |
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
47 |
</span>
|
48 |
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
app/design/frontend/rwd/default/template/paypal/express/product/shortcut.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -40,7 +40,7 @@
|
|
40 |
<p class="paypal-logo">
|
41 |
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
42 |
<span class="bml_button">
|
43 |
-
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal
|
44 |
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
45 |
</span>
|
46 |
</p>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
40 |
<p class="paypal-logo">
|
41 |
<span class="paypal-or"><?php echo $this->__('-OR-');?></span>
|
42 |
<span class="bml_button">
|
43 |
+
<a id="<?php echo $bmlShortcutHtmlId ?>" href="<?php echo $this->getBmlCheckoutUrl()?>"><img src="<?php echo $this->getBmlImageUrl()?>" alt="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" title="<?php echo Mage::helper('paypal')->__('Checkout with PayPal Paypal Credit');?>" /></a>
|
44 |
<a href="<?php echo $this->getMarketMessageUrl()?>"><img src="<?php echo $this->getMarketMessage()?>" /></a>
|
45 |
</span>
|
46 |
</p>
|
app/design/frontend/rwd/default/template/paypal/express/review.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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 */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/** @var $this Mage_Paypal_Block_Express_Review */
|
app/design/frontend/rwd/default/template/paypal/express/review/address.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/paypal/express/review/details.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/paypal/express/review/shipping/method.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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 */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/** @var $this Mage_Paypal_Block_Express_Review */
|
app/design/frontend/rwd/default/template/paypal/partner/us_logo.phtml
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php
|
28 |
+
/**
|
29 |
+
* @see Mage_Paypal_Block_Logo
|
30 |
+
*/
|
31 |
+
?>
|
32 |
+
<div class="paypal-logo">
|
33 |
+
<!-- PayPal Logo -->
|
34 |
+
<a href="https://www.paypal.com/webapps/mpp/paypal-popup" title="How PayPal Works" onclick="javascript:window.open('https://www.paypal.com/webapps/mpp/paypal-popup','WIPaypal','toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700'); return false;">
|
35 |
+
<img src="https://www.paypalobjects.com/webstatic/mktg/logo/bdg_now_accepting_pp_2line_w.png" border="0" alt="Now accepting PayPal">
|
36 |
+
</a>
|
37 |
+
<div class="label">
|
38 |
+
<a href="https://www.paypal.com/webapps/mpp/how-paypal-works">How PayPal Works</a>
|
39 |
+
</div>
|
40 |
+
<!-- PayPal Logo -->
|
41 |
+
</div>
|
app/design/frontend/rwd/default/template/persistent/checkout/onepage/billing.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/** @var Mage_Checkout_Block_Onepage_Billing $this */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/** @var Mage_Checkout_Block_Onepage_Billing $this */
|
app/design/frontend/rwd/default/template/persistent/checkout/onepage/login.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -33,7 +33,7 @@
|
|
33 |
/** @var $this Mage_Checkout_Block_Onepage_Login */
|
34 |
?>
|
35 |
<?php echo $this->getChildHtml('login_before') ?>
|
36 |
-
<div class="col2-set
|
37 |
<div class="col-1">
|
38 |
<h3>
|
39 |
<?php if( $this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
|
@@ -86,7 +86,7 @@
|
|
86 |
</div>
|
87 |
<div class="col-2">
|
88 |
<h3><?php echo $this->__('Returning Customers') ?></h3>
|
89 |
-
<?php echo $this->getMessagesBlock()->
|
90 |
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
91 |
<div class="fieldset">
|
92 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
33 |
/** @var $this Mage_Checkout_Block_Onepage_Login */
|
34 |
?>
|
35 |
<?php echo $this->getChildHtml('login_before') ?>
|
36 |
+
<div class="col2-set<?php if (!$this->helper('customer')->isRegistrationAllowed() && !$this->getQuote()->isAllowedGuestCheckout()) echo ' login-only' ?>">
|
37 |
<div class="col-1">
|
38 |
<h3>
|
39 |
<?php if( $this->getQuote()->isAllowedGuestCheckout() && $this->helper('customer')->isRegistrationAllowed() ): ?>
|
86 |
</div>
|
87 |
<div class="col-2">
|
88 |
<h3><?php echo $this->__('Returning Customers') ?></h3>
|
89 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
90 |
<form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
|
91 |
<div class="fieldset">
|
92 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
app/design/frontend/rwd/default/template/persistent/customer/form/login.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -40,7 +40,7 @@
|
|
40 |
<?php echo $this->__('Login'); ?>
|
41 |
<?php endif; ?></h1>
|
42 |
</div>
|
43 |
-
<?php echo $this->getMessagesBlock()->
|
44 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form" class="scaffold-form">
|
45 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
46 |
<div class="col2-set">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
40 |
<?php echo $this->__('Login'); ?>
|
41 |
<?php endif; ?></h1>
|
42 |
</div>
|
43 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
44 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form" class="scaffold-form">
|
45 |
<?php echo $this->getBlockHtml('formkey'); ?>
|
46 |
<div class="col2-set">
|
app/design/frontend/rwd/default/template/persistent/customer/form/register.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -37,7 +37,7 @@
|
|
37 |
<h1><?php echo $this->__('Create an Account') ?></h1>
|
38 |
</div>
|
39 |
<?php echo $this->getChildHtml('form_fields_before')?>
|
40 |
-
<?php echo $this->getMessagesBlock()->
|
41 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
42 |
<div class="fieldset">
|
43 |
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
37 |
<h1><?php echo $this->__('Create an Account') ?></h1>
|
38 |
</div>
|
39 |
<?php echo $this->getChildHtml('form_fields_before')?>
|
40 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
41 |
<form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate" class="scaffold-form" enctype="multipart/form-data">
|
42 |
<div class="fieldset">
|
43 |
<input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
|
app/design/frontend/rwd/default/template/persistent/remember_me.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/persistent/remember_me_tooltip.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -33,11 +33,11 @@
|
|
33 |
?>
|
34 |
<div class="remember-me-popup">
|
35 |
<div class="remember-me-popup-head">
|
36 |
-
<h3
|
37 |
<a href="#" class="remember-me-popup-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a>
|
38 |
</div>
|
39 |
<div class="remember-me-popup-body">
|
40 |
-
<p
|
41 |
<div class="remember-me-popup-close-button a-right">
|
42 |
<a href="#" class="remember-me-popup-close button" title="<?php echo $this->__('Close') ?>"><span><?php echo $this->__('Close') ?></span></a>
|
43 |
</div>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
33 |
?>
|
34 |
<div class="remember-me-popup">
|
35 |
<div class="remember-me-popup-head">
|
36 |
+
<h3><?php echo $this->__("What's this?"); ?></h3>
|
37 |
<a href="#" class="remember-me-popup-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a>
|
38 |
</div>
|
39 |
<div class="remember-me-popup-body">
|
40 |
+
<p><?php echo $this->__('Checking "Remember Me" will let you access your shopping cart on this computer when you are logged out'); ?></p>
|
41 |
<div class="remember-me-popup-close-button a-right">
|
42 |
<a href="#" class="remember-me-popup-close button" title="<?php echo $this->__('Close') ?>"><span><?php echo $this->__('Close') ?></span></a>
|
43 |
</div>
|
app/design/frontend/rwd/default/template/rating/detailed.phtml
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php if(!empty($collection) && $collection->getSize()): ?>
|
28 |
+
<table class="ratings-table">
|
29 |
+
<colgroup>
|
30 |
+
<col class="review-label" />
|
31 |
+
<col class="review-value" />
|
32 |
+
</colgroup>
|
33 |
+
<tbody>
|
34 |
+
<?php foreach ($collection as $_rating): ?>
|
35 |
+
<?php if($_rating->getSummary()): ?>
|
36 |
+
<tr>
|
37 |
+
<th><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></th>
|
38 |
+
<td>
|
39 |
+
<div class="rating-box">
|
40 |
+
<div class="rating" style="width:<?php echo ceil($_rating->getSummary()) ?>%;"></div>
|
41 |
+
</div>
|
42 |
+
</td>
|
43 |
+
</tr>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php endforeach; ?>
|
46 |
+
</tbody>
|
47 |
+
</table>
|
48 |
+
<?php endif; ?>
|
app/design/frontend/rwd/default/template/reports/product_viewed.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Reports_Block_Product_Viewed */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Reports_Block_Product_Viewed */
|
app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_default_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_images_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/column/compared_names_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_grid.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -32,7 +32,7 @@
|
|
32 |
<div class="widget-products">
|
33 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
34 |
<?php $i=0; ?>
|
35 |
-
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
36 |
<?php foreach ($_products as $_product): ?>
|
37 |
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
38 |
<?php $_imgSize = 210; ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
32 |
<div class="widget-products">
|
33 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
34 |
<?php $i=0; ?>
|
35 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col-widget">
|
36 |
<?php foreach ($_products as $_product): ?>
|
37 |
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
38 |
<?php $_imgSize = 210; ?>
|
app/design/frontend/rwd/default/template/reports/widget/compared/content/compared_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_default_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_images_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/column/viewed_names_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_grid.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -36,7 +36,7 @@
|
|
36 |
</div>
|
37 |
<div class="widget-products">
|
38 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
39 |
-
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col">
|
40 |
<?php $i=0; foreach ($_products as $_product): ?>
|
41 |
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
42 |
<?php $_imgSize = 210; ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
36 |
</div>
|
37 |
<div class="widget-products">
|
38 |
<?php $_columnCount = $this->getColumnCount(); ?>
|
39 |
+
<ul class="products-grid products-grid--max-<?php echo $_columnCount; ?>-col-widget">
|
40 |
<?php $i=0; foreach ($_products as $_product): ?>
|
41 |
<li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
|
42 |
<?php $_imgSize = 210; ?>
|
app/design/frontend/rwd/default/template/reports/widget/viewed/content/viewed_list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/review/customer/view.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/review/form.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/review/product/view/list.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -50,8 +50,10 @@
|
|
50 |
|
51 |
<?php if (count($_votes)): ?>
|
52 |
<table class="ratings-table">
|
53 |
-
<
|
54 |
-
|
|
|
|
|
55 |
<tbody>
|
56 |
<?php foreach ($_votes as $_vote): ?>
|
57 |
<tr>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
50 |
|
51 |
<?php if (count($_votes)): ?>
|
52 |
<table class="ratings-table">
|
53 |
+
<colgroup>
|
54 |
+
<col class="review-label" />
|
55 |
+
<col class="review-value" />
|
56 |
+
</colgroup>
|
57 |
<tbody>
|
58 |
<?php foreach ($_votes as $_vote): ?>
|
59 |
<tr>
|
app/design/frontend/rwd/default/template/review/view.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/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@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Sales_Block_Billing_Agreement_View */ ?>
|
28 |
+
<div class="page-title title-buttons billing-agreement-view-header-wrapper">
|
29 |
+
<h1 class="heading"><?php echo $this->__('Billing Agreement # %s', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
30 |
+
<?php if ($this->getCanCancel()): ?>
|
31 |
+
<button type="button" title="<?php echo $this->__('Cancel') ?>" class="button" onclick="if( confirm('<?php echo $this->__('Are you sure you want to do this?') ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
|
32 |
+
<?php endif; ?>
|
33 |
+
</div>
|
34 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
35 |
+
<div class="billing-agreements">
|
36 |
+
<div class="info-box billing-agreement-details">
|
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><?php echo $this->escapeHtml($this->getReferenceId()); ?></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/rwd/default/template/sales/billing/agreements.phtml
ADDED
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_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()->toHtml() ?>
|
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="data-table linearize-table">
|
39 |
+
<col />
|
40 |
+
<col width="1" />
|
41 |
+
<col />
|
42 |
+
<col />
|
43 |
+
<col />
|
44 |
+
<col width="1" />
|
45 |
+
<thead>
|
46 |
+
<tr>
|
47 |
+
<th class="reference-id"><span class="nobr"><?php echo $this->__('Reference ID'); ?></span></th>
|
48 |
+
<th class="status"><?php echo $this->__('Status'); ?></th>
|
49 |
+
<th class="created-at"><span class="nobr"><?php echo $this->__('Created At'); ?></span></th>
|
50 |
+
<th class="updated-at"><span class="nobr"><?php echo $this->__('Updated At'); ?></span></th>
|
51 |
+
<th class="payment-method"><span class="nobr"><?php echo $this->__('Payment Method'); ?></span></th>
|
52 |
+
<th class="actions"> </th>
|
53 |
+
</tr>
|
54 |
+
</thead>
|
55 |
+
<tbody>
|
56 |
+
<?php foreach($billingAgreements as $item): ?>
|
57 |
+
<tr>
|
58 |
+
<td class="reference-id"><span class="nobr"><?php echo $this->getItemValue($item, 'reference_id') ?></span></td>
|
59 |
+
<td class="status" data-rwd-label="Status"><?php echo $this->getItemValue($item, 'status') ?></td>
|
60 |
+
<td class="created-at" data-rwd-label="Created at"><span class="nobr"><?php echo $this->getItemValue($item, 'created_at') ?></span></td>
|
61 |
+
<td class="updated-at" data-rwd-label="Updated at"><span class="nobr"><?php echo $this->getItemValue($item, 'updated_at') ?></span></td>
|
62 |
+
<td class="payment-method" data-rwd-label="Payment method"><?php echo $this->getItemValue($item, 'payment_method_label') ?></td>
|
63 |
+
<td class="actions"><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 |
+
<script type="text/javascript">decorateTable('billing-agreements')</script>
|
69 |
+
<?php else: ?>
|
70 |
+
<p><?php echo $this->__('There are no billing agreements yet.')?></p>
|
71 |
+
<?php endif; ?>
|
72 |
+
|
73 |
+
<?php $paymentMethods = $this->getWizardPaymentMethodOptions() ?>
|
74 |
+
<?php if ($paymentMethods): ?>
|
75 |
+
<div class="info-box">
|
76 |
+
<h2 class="box-title"><?php echo $this->__('New Billing Agreement') ?></h2>
|
77 |
+
<form action="<?php echo $this->getCreateUrl() ?>" method="post">
|
78 |
+
<div class="box-content">
|
79 |
+
<p><?php echo $this->__('You will be redirected to the payment system website.') ?></p>
|
80 |
+
<ul class="form-list">
|
81 |
+
<li>
|
82 |
+
<select id="payment_method" name="payment_method">
|
83 |
+
<option value=""><?php echo $this->__('-- Please Select --') ?></option>
|
84 |
+
<?php foreach ($paymentMethods as $code => $title): ?>
|
85 |
+
<option value="<?php echo $code ?>"><?php echo $title ?></option>
|
86 |
+
<?php endforeach; ?>
|
87 |
+
</select>
|
88 |
+
<button type="submit" class="button"><span><span><?php echo $this->__('Create...') ?></span></span></button>
|
89 |
+
</li>
|
90 |
+
</ul>
|
91 |
+
</div>
|
92 |
+
</form>
|
93 |
+
</div>
|
94 |
+
<?php endif; ?>
|
95 |
+
|
96 |
+
<div class="buttons-set">
|
97 |
+
<p class="back-link"><a href="<?php echo $this->escapeHtml($this->getBackUrl()) ?>"><small>« </small><?php echo $this->__('Back') ?></a></p>
|
98 |
+
</div>
|
99 |
+
</div>
|
app/design/frontend/rwd/default/template/sales/order/creditmemo/items.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
@@ -29,7 +29,7 @@
|
|
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 linearize-table
|
33 |
<col />
|
34 |
<col width="1" />
|
35 |
<col width="1" />
|
@@ -41,11 +41,11 @@
|
|
41 |
<tr>
|
42 |
<th><?php echo $this->__('Product Name') ?></th>
|
43 |
<th><?php echo $this->__('SKU') ?></th>
|
44 |
-
<th class="a-right"><?php echo $this->__('Price') ?></th>
|
45 |
-
<th class="a-center"><?php echo $this->__('Qty') ?></th>
|
46 |
-
<th class="a-right"><?php echo $this->__('Subtotal') ?></th>
|
47 |
-
<th class="a-center wrap"><?php echo $this->__('Discount Amount') ?></th>
|
48 |
-
<th class="a-right wrap"><?php echo $this->__('Row Total') ?></th>
|
49 |
</tr>
|
50 |
</thead>
|
51 |
<tfoot>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
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 linearize-table" id="my-refund-table-<?php echo $_creditmemo->getId(); ?>">
|
33 |
<col />
|
34 |
<col width="1" />
|
35 |
<col width="1" />
|
41 |
<tr>
|
42 |
<th><?php echo $this->__('Product Name') ?></th>
|
43 |
<th><?php echo $this->__('SKU') ?></th>
|
44 |
+
<th class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>"><?php echo $this->__('Price') ?></th>
|
45 |
+
<th class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>"><?php echo $this->__('Qty') ?></th>
|
46 |
+
<th class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>"><?php echo $this->__('Subtotal') ?></th>
|
47 |
+
<th class="a-center wrap" data-rwd-label="<?php echo $this->__('Discount Amount') ?>"><?php echo $this->__('Discount Amount') ?></th>
|
48 |
+
<th class="a-right wrap" data-rwd-label="<?php echo $this->__('Row Total') ?>"><?php echo $this->__('Row Total') ?></th>
|
49 |
</tr>
|
50 |
</thead>
|
51 |
<tfoot>
|
app/design/frontend/rwd/default/template/sales/order/creditmemo/items/renderer/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/sales/order/history.phtml
CHANGED
@@ -10,21 +10,21 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
-
<?php echo $this->getMessagesBlock()->
|
28 |
<?php $_orders = $this->getOrders(); ?>
|
29 |
<div class="page-title">
|
30 |
<h1><?php echo $this->__('My Orders') ?></h1>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
28 |
<?php $_orders = $this->getOrders(); ?>
|
29 |
<div class="page-title">
|
30 |
<h1><?php echo $this->__('My Orders') ?></h1>
|
app/design/frontend/rwd/default/template/sales/order/invoice/items.phtml
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?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 linearize-table" id="my-invoice-table-<?php echo $_invoice->getId(); ?>">
|
33 |
+
<col />
|
34 |
+
<col width="1" />
|
35 |
+
<col width="1" />
|
36 |
+
<col width="1" />
|
37 |
+
<col width="1" />
|
38 |
+
<thead>
|
39 |
+
<tr>
|
40 |
+
<th><?php echo $this->__('Product Name') ?></th>
|
41 |
+
<th><?php echo $this->__('SKU') ?></th>
|
42 |
+
<th class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>"><?php echo $this->__('Price') ?></th>
|
43 |
+
<th class="a-center" data-rwd-label="<?php echo $this->__('Qty Invoiced') ?>"><span class="nobr"><?php echo $this->__('Qty Invoiced') ?></span></th>
|
44 |
+
<th class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>"><?php echo $this->__('Subtotal') ?></th>
|
45 |
+
</tr>
|
46 |
+
</thead>
|
47 |
+
<tfoot>
|
48 |
+
<?php echo $this->getInvoiceTotalsHtml($_invoice)?>
|
49 |
+
</tfoot>
|
50 |
+
<?php $_items = $_invoice->getAllItems(); ?>
|
51 |
+
<?php $_count = count($_items) ?>
|
52 |
+
<?php foreach ($_items as $_item): ?>
|
53 |
+
<?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
|
54 |
+
<tbody>
|
55 |
+
<?php echo $this->getItemHtml($_item) ?>
|
56 |
+
</tbody>
|
57 |
+
<?php endforeach; ?>
|
58 |
+
</table>
|
59 |
+
<script type="text/javascript">decorateTable('my-invoice-table-<?php echo $_invoice->getId(); ?>', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
|
60 |
+
<?php echo $this->getInvoiceCommentsHtml($_invoice)?>
|
61 |
+
<?php endforeach; ?>
|
app/design/frontend/rwd/default/template/sales/order/invoice/items/renderer/default.phtml
ADDED
@@ -0,0 +1,332 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php $_item = $this->getItem() ?>
|
28 |
+
<?php $_order = $this->getItem()->getOrderItem()->getOrder() ?>
|
29 |
+
<tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
|
30 |
+
<td><h4 class="product-name"><?php echo $this->escapeHtml($_item->getName()) ?></h4>
|
31 |
+
<?php if ($_options = $this->getItemOptions()): ?>
|
32 |
+
<dl class="item-options">
|
33 |
+
<?php foreach ($_options as $_option) : ?>
|
34 |
+
<dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
|
35 |
+
<?php if (!$this->getPrintStatus()): ?>
|
36 |
+
<?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
|
37 |
+
<dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
|
38 |
+
<?php echo $_formatedOptionValue['value'] ?>
|
39 |
+
<?php if (isset($_formatedOptionValue['full_view'])): ?>
|
40 |
+
<div class="truncated_full_value">
|
41 |
+
<dl class="item-options">
|
42 |
+
<dt><?php echo $this->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 |
+
<?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
|
55 |
+
<?php if ($addInfoBlock) : ?>
|
56 |
+
<?php echo $addInfoBlock->setItem($_item->getOrderItem())->toHtml(); ?>
|
57 |
+
<?php endif; ?>
|
58 |
+
<?php echo $this->escapeHtml($_item->getDescription()) ?>
|
59 |
+
<?php if ($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item->getOrderItem()) && $_item->getGiftMessageId()): ?>
|
60 |
+
<a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="gift-message-link"
|
61 |
+
onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
|
62 |
+
<?php endif; ?>
|
63 |
+
</td>
|
64 |
+
<td data-rwd-label="<?php echo $this->__('SKU') ?>"><?php echo $this->escapeHtml(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
|
65 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Price') ?>">
|
66 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
67 |
+
<span class="price-excl-tax">
|
68 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
69 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
70 |
+
<span class="cart-price">
|
71 |
+
<?php endif; ?>
|
72 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
73 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
74 |
+
</span>
|
75 |
+
<?php endif; ?>
|
76 |
+
<?php endif; ?>
|
77 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
78 |
+
<span class="cart-tax-total"
|
79 |
+
onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
80 |
+
<?php else: ?>
|
81 |
+
<span class="cart-price">
|
82 |
+
<?php endif; ?>
|
83 |
+
|
84 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
85 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?>
|
86 |
+
<?php else: ?>
|
87 |
+
<?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
|
88 |
+
<?php endif; ?>
|
89 |
+
|
90 |
+
</span>
|
91 |
+
|
92 |
+
|
93 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
94 |
+
|
95 |
+
<span class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
96 |
+
style="display:none;">
|
97 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
98 |
+
<small>
|
99 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
100 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
101 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
|
102 |
+
<?php endforeach; ?>
|
103 |
+
</small>
|
104 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
105 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
106 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
107 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></small></span>
|
108 |
+
<?php endforeach; ?>
|
109 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, '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']; ?>
|
113 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></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"
|
121 |
+
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'); ?>
|
123 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice() + $this->getItem()->getWeeeTaxAppliedAmount() + $this->getItem()->getWeeeTaxDisposition()); ?></span>
|
124 |
+
</span>
|
125 |
+
<?php endif; ?>
|
126 |
+
<?php endif; ?>
|
127 |
+
</span>
|
128 |
+
<br/>
|
129 |
+
<?php endif; ?>
|
130 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
131 |
+
<span class="price-incl-tax">
|
132 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
133 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
134 |
+
<span class="cart-price">
|
135 |
+
<?php endif; ?>
|
136 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
137 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
138 |
+
</span>
|
139 |
+
<?php endif; ?>
|
140 |
+
<?php endif; ?>
|
141 |
+
<?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
|
142 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
143 |
+
<span class="cart-tax-total"
|
144 |
+
onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
145 |
+
<?php else: ?>
|
146 |
+
<span class="cart-price">
|
147 |
+
<?php endif; ?>
|
148 |
+
|
149 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
150 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
|
151 |
+
<?php else: ?>
|
152 |
+
<?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxDisposition()) ?>
|
153 |
+
<?php endif; ?>
|
154 |
+
|
155 |
+
</span>
|
156 |
+
|
157 |
+
|
158 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
159 |
+
|
160 |
+
<span class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
161 |
+
style="display:none;">
|
162 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
163 |
+
<small>
|
164 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
165 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
166 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></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']; ?>
|
172 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
|
173 |
+
<?php endforeach; ?>
|
174 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
175 |
+
<small>
|
176 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
177 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
178 |
+
: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
|
179 |
+
<?php endforeach; ?>
|
180 |
+
</small>
|
181 |
+
<?php endif; ?>
|
182 |
+
</span>
|
183 |
+
|
184 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
185 |
+
<span class="cart-tax-total"
|
186 |
+
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'); ?>
|
188 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
|
189 |
+
</span>
|
190 |
+
<?php endif; ?>
|
191 |
+
<?php endif; ?>
|
192 |
+
</span>
|
193 |
+
<?php endif; ?>
|
194 |
+
</td>
|
195 |
+
<td class="a-center" data-rwd-label="<?php echo $this->__('Qty') ?>">
|
196 |
+
<span class="nobr">
|
197 |
+
<?php echo $this->__('Invoiced:'); ?> <strong><?php echo $_item->getQty() * 1 ?></strong><br>
|
198 |
+
</span>
|
199 |
+
</td>
|
200 |
+
<td class="a-right" data-rwd-label="<?php echo $this->__('Subtotal') ?>">
|
201 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
|
202 |
+
<span class="price-excl-tax">
|
203 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
204 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
205 |
+
<span class="cart-price">
|
206 |
+
<?php endif; ?>
|
207 |
+
<span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
|
208 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
209 |
+
</span>
|
210 |
+
<?php endif; ?>
|
211 |
+
<?php endif; ?>
|
212 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
213 |
+
<span class="cart-tax-total"
|
214 |
+
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(); ?>"
|
231 |
+
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']; ?>
|
236 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
237 |
+
<?php endforeach; ?>
|
238 |
+
</small>
|
239 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
240 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
241 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
242 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></small></span>
|
243 |
+
<?php endforeach; ?>
|
244 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
245 |
+
<small>
|
246 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
247 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
248 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
|
249 |
+
<?php endforeach; ?>
|
250 |
+
</small>
|
251 |
+
<?php endif; ?>
|
252 |
+
</span>
|
253 |
+
|
254 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
255 |
+
<span class="cart-tax-total"
|
256 |
+
onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
257 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>
|
258 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal() + $this->getItem()->getWeeeTaxAppliedRowAmount() + $this->getItem()->getWeeeTaxRowDisposition()); ?></span>
|
259 |
+
</span>
|
260 |
+
<?php endif; ?>
|
261 |
+
<?php endif; ?>
|
262 |
+
</span>
|
263 |
+
<br/>
|
264 |
+
<?php endif; ?>
|
265 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
|
266 |
+
<span class="price-incl-tax">
|
267 |
+
<?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
|
268 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
269 |
+
<span class="cart-price">
|
270 |
+
<?php endif; ?>
|
271 |
+
<span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
|
272 |
+
<?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
273 |
+
</span>
|
274 |
+
<?php endif; ?>
|
275 |
+
<?php endif; ?>
|
276 |
+
<?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
|
277 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
278 |
+
<span class="cart-tax-total"
|
279 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
280 |
+
<?php else: ?>
|
281 |
+
<span class="cart-price">
|
282 |
+
<?php endif; ?>
|
283 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
284 |
+
<?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
|
285 |
+
<?php else: ?>
|
286 |
+
<?php echo $this->getOrder()->formatPrice($_incl - $this->getItem()->getWeeeTaxRowDisposition()) ?>
|
287 |
+
<?php endif; ?>
|
288 |
+
|
289 |
+
</span>
|
290 |
+
|
291 |
+
|
292 |
+
<?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
|
293 |
+
|
294 |
+
<span class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>"
|
295 |
+
style="display:none;">
|
296 |
+
<?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
297 |
+
<small>
|
298 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
299 |
+
<span class="nobr"><?php echo $tax['title']; ?>
|
300 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
|
301 |
+
<?php endforeach; ?>
|
302 |
+
</small>
|
303 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
|
304 |
+
<?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
|
305 |
+
<span class="nobr"><small><?php echo $tax['title']; ?>
|
306 |
+
: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
|
307 |
+
<?php endforeach; ?>
|
308 |
+
<?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, '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']; ?>
|
312 |
+
: <?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"
|
320 |
+
onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
|
321 |
+
<span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
|
322 |
+
:<br/> <?php echo $this->getOrder()->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
|
323 |
+
</span>
|
324 |
+
<?php endif; ?>
|
325 |
+
<?php endif; ?>
|
326 |
+
|
327 |
+
|
328 |
+
|
329 |
+
</span>
|
330 |
+
<?php endif; ?>
|
331 |
+
</td>
|
332 |
+
</tr>
|
app/design/frontend/rwd/default/template/sales/order/items.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/sales/order/items/renderer/default.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/sales/order/recent.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/sales/order/shipment/items.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/sales/recurring/grid.phtml
ADDED
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Core_Block_Template */?>
|
28 |
+
<div <?php echo $this->getGridHtmlClass() ? ' class="' . $this->getGridHtmlClass() . '"' : ''?><?php echo $this->getGridHtmlCss() ? ' style="' . $this->getGridHtmlCss() . '"' : ''?>>
|
29 |
+
|
30 |
+
<?php if ($caption = $this->getGridCaption()): ?>
|
31 |
+
<h2 class="table-caption"><?php echo $this->escapeHtml($caption) ?></h2>
|
32 |
+
<?php endif; ?>
|
33 |
+
|
34 |
+
<?php $gridElements = $this->getGridElements(); ?>
|
35 |
+
<?php if ($gridElements): ?>
|
36 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
37 |
+
<table id="<?php echo $this->getGridHtmlId() ?>" class="data-table linearize-table-large">
|
38 |
+
<?php foreach ($this->getGridColumns() as $column):?>
|
39 |
+
<col <?php $width = $this->getObjectData($column, 'width'); echo $width ? ' width="' . $width . '"' : '' ?>/>
|
40 |
+
<?php endforeach; ?>
|
41 |
+
<thead>
|
42 |
+
<tr>
|
43 |
+
<?php foreach ($this->getGridColumns() as $column):
|
44 |
+
$nobr = $this->getObjectData($column, 'is_nobr') ? '<span class="nobr">%s</span>' : '%s';
|
45 |
+
$title = $this->getObjectData($column, 'title');
|
46 |
+
?>
|
47 |
+
<th><?php echo $title ? sprintf($nobr, $this->escapeHtml($title)) : ' ' ?></th>
|
48 |
+
<?php endforeach; ?>
|
49 |
+
</tr>
|
50 |
+
</thead>
|
51 |
+
<tbody>
|
52 |
+
<?php foreach($gridElements as $row): ?>
|
53 |
+
<tr>
|
54 |
+
<?php foreach ($this->getGridColumns() as $column):
|
55 |
+
$nobr = $this->getObjectData($column, 'is_nobr') ? '<span class="nobr">%s</span>' : '%s';
|
56 |
+
$index = $this->getObjectData($column, 'index');
|
57 |
+
$value = $this->getObjectData($row, $index);
|
58 |
+
$linkUrl = $this->getObjectData($row, "{$index}_link_url");
|
59 |
+
$linkAnchorText = $this->getObjectData($row, "{$index}_link_text");
|
60 |
+
$linkText = $linkUrl ? ($linkAnchorText ? $linkAnchorText : $value) : '';
|
61 |
+
$linkFormat = $linkUrl ? '<a href="%s">%s</a>' : '';
|
62 |
+
?>
|
63 |
+
<td<?php $this->getObjectData($row, 'is_amount') ? ' class="a-right"' : '' ?> data-rwd-label="<?php echo $this->getObjectData($column, 'title') ?>"><?php
|
64 |
+
if ($linkFormat) {
|
65 |
+
echo sprintf($nobr, sprintf($linkFormat, $this->escapeHtml($linkUrl), $this->escapeHtml($linkText)));
|
66 |
+
} else {
|
67 |
+
echo sprintf($nobr, $this->escapeHtml($value));
|
68 |
+
}
|
69 |
+
?></td>
|
70 |
+
<?php endforeach; ?>
|
71 |
+
</tr>
|
72 |
+
<?php endforeach; ?>
|
73 |
+
</tbody>
|
74 |
+
</table>
|
75 |
+
<?php echo $this->getChildHtml('pager'); ?>
|
76 |
+
<script type="text/javascript">decorateTable('<?php echo $this->getGridHtmlId() ?>')</script>
|
77 |
+
<?php else: ?>
|
78 |
+
<p><?php echo $this->escapeHtml($this->getEmptyGridMessage()); ?></p>
|
79 |
+
<?php endif; ?>
|
80 |
+
</div>
|
app/design/frontend/rwd/default/template/sales/recurring/profile/view.phtml
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magento
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Academic Free License (AFL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE_AFL.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/afl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* DISCLAIMER
|
16 |
+
*
|
17 |
+
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
+
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
+
*
|
21 |
+
* @category design
|
22 |
+
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
+
*/
|
26 |
+
?>
|
27 |
+
<?php /* @var $this Mage_Sales_Block_Recurring_Profile_View */ ?>
|
28 |
+
|
29 |
+
<div class="order-page">
|
30 |
+
|
31 |
+
<!-- title 'n' actions -->
|
32 |
+
<div class="page-title recurring-profiles-title">
|
33 |
+
<h1><?php echo $this->__('Recurring Profile # %s', $this->escapeHtml($this->getReferenceId())) ?></h1>
|
34 |
+
</div>
|
35 |
+
<div class="title-buttons recurring-profiles-title-buttons">
|
36 |
+
<?php if ($this->getCanCancel()): ?>
|
37 |
+
<button type="button" title="<?php echo $this->__('Cancel') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getCancelUrl() ?>'; } return false;"><span><span><?php echo $this->__('Cancel') ?></span></span></button>
|
38 |
+
<?php endif; ?>
|
39 |
+
<?php if ($this->getCanSuspend()): ?>
|
40 |
+
<button type="button" title="<?php echo $this->__('Suspend') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getSuspendUrl() ?>'; } return false;"><span><span><?php echo $this->__('Suspend') ?></span></span></button>
|
41 |
+
<?php endif; ?>
|
42 |
+
<?php if ($this->getCanActivate()): ?>
|
43 |
+
<button type="button" title="<?php echo $this->__('Activate') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getActivateUrl() ?>'; } return false;"><span><span><?php echo $this->__('Activate') ?></span></span></button>
|
44 |
+
<?php endif; ?>
|
45 |
+
<?php if ($this->getCanUpdate()):?>
|
46 |
+
<button type="button" title="<?php echo $this->__('Get Update') ?>" class="button" onclick="if( confirm('<?php echo $this->getConfirmationMessage() ?>') ) { window.location.href = '<?php echo $this->getUpdateUrl() ?>'; } return false;"><span><span><?php echo $this->__('Get Update') ?></span></span></button>
|
47 |
+
<?php endif;?>
|
48 |
+
</div>
|
49 |
+
|
50 |
+
<div class="recurring-profiles-messages">
|
51 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
52 |
+
</div>
|
53 |
+
|
54 |
+
<!-- info tabs -->
|
55 |
+
<?php $infoTabs = $this->getChildGroup('info_tabs'); ?>
|
56 |
+
<dl class="order-info">
|
57 |
+
<dt><?php echo $this->__('About This Profile:') ?></dt>
|
58 |
+
<dd>
|
59 |
+
<ul id="order-info-tabs">
|
60 |
+
<?php foreach ($infoTabs as $block): ?>
|
61 |
+
<?php if ($this->getObjectData($block, 'is_view_current')): ?>
|
62 |
+
<li class="current"><strong><?php echo $this->escapeHtml($this->getObjectData($block, 'view_label')) ?></strong></li>
|
63 |
+
<?php else: ?>
|
64 |
+
<li><a href="<?php echo $this->escapeHtml($this->getObjectData($block, 'view_url')) ?>"><?php echo $this->escapeHtml($this->getObjectData($block, 'view_label')) ?></a></li>
|
65 |
+
<?php endif; ?>
|
66 |
+
<?php endforeach; ?>
|
67 |
+
</ul>
|
68 |
+
</dd>
|
69 |
+
</dl>
|
70 |
+
|
71 |
+
<!-- info blocks in 2 columns -->
|
72 |
+
<?php for ($i = 1; $i <= 5; $i++):?>
|
73 |
+
<?php $infoBlocks = $this->getChildGroup("info_blocks_row_{$i}"); ?>
|
74 |
+
<?php if ($infoBlocks):?>
|
75 |
+
<div class="col2-set order-info-box">
|
76 |
+
<?php for ($j = 1; $j <= 2; $j++):?>
|
77 |
+
<?php foreach ($infoBlocks as $alias => $block):?>
|
78 |
+
<?php if ($j == $this->getObjectData($block, 'view_column')):?>
|
79 |
+
<div class="col-<?php echo $j?>">
|
80 |
+
<div class="info-box">
|
81 |
+
<div class="box-title">
|
82 |
+
<h2><?php echo $this->escapeHtml($this->getObjectData($block, 'view_label')) ?></h2>
|
83 |
+
</div>
|
84 |
+
<div class="box-content">
|
85 |
+
<?php $html = $this->getChildHtml($alias) ?>
|
86 |
+
<?php echo ($html ? $html : $this->__('No information available.')) ; ?>
|
87 |
+
</div>
|
88 |
+
</div>
|
89 |
+
</div>
|
90 |
+
<?php endif; ?>
|
91 |
+
<?php endforeach;?>
|
92 |
+
<?php endfor;?>
|
93 |
+
</div>
|
94 |
+
<?php endif; ?>
|
95 |
+
<?php endfor;?>
|
96 |
+
|
97 |
+
<!-- table data block -->
|
98 |
+
<?php $table = $this->getChild('table') ?>
|
99 |
+
<?php if ($table):?>
|
100 |
+
<div>
|
101 |
+
<h2 class="table-caption"><?php echo $this->escapeHtml($this->getObjectData($table, 'view_label')) ?></h2>
|
102 |
+
<?php echo $this->getChildHtml('table') ?>
|
103 |
+
</div>
|
104 |
+
<?php endif;?>
|
105 |
+
|
106 |
+
<div class="buttons-set">
|
107 |
+
<p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>« </small><?php echo $this->__('Back to Recurring Profiles') ?></a></p>
|
108 |
+
</div>
|
109 |
+
</div>
|
app/design/frontend/rwd/default/template/sales/widget/guest/form.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/** @var $this Mage_Sales_Block_Widget_Guest_Form */
|
@@ -40,8 +40,8 @@
|
|
40 |
<label class="required"><?php echo Mage::helper('sales')->__('Find Order By:') ?></label>
|
41 |
<div class="input-box">
|
42 |
<select name="oar_type" id="quick_search_type_id" class="select" title="" onchange="showIdentifyBlock(this.value);">
|
43 |
-
<option value="email"
|
44 |
-
<option value="zip"
|
45 |
</select>
|
46 |
</div>
|
47 |
</li>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/** @var $this Mage_Sales_Block_Widget_Guest_Form */
|
40 |
<label class="required"><?php echo Mage::helper('sales')->__('Find Order By:') ?></label>
|
41 |
<div class="input-box">
|
42 |
<select name="oar_type" id="quick_search_type_id" class="select" title="" onchange="showIdentifyBlock(this.value);">
|
43 |
+
<option value="email"><?php echo $this->__('Email Address'); ?></option>
|
44 |
+
<option value="zip"><?php echo $this->__('ZIP Code'); ?></option>
|
45 |
</select>
|
46 |
</div>
|
47 |
</li>
|
app/design/frontend/rwd/default/template/sendfriend/send.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Sendfriend_Block_Send */
|
@@ -65,7 +65,7 @@
|
|
65 |
</script>
|
66 |
|
67 |
<div class="send-friend">
|
68 |
-
<?php echo $this->getMessagesBlock()->
|
69 |
<div class="page-title">
|
70 |
<h1><?php echo $this->__('Email to a Friend') ?></h1>
|
71 |
</div>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Sendfriend_Block_Send */
|
65 |
</script>
|
66 |
|
67 |
<div class="send-friend">
|
68 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
69 |
<div class="page-title">
|
70 |
<h1><?php echo $this->__('Email to a Friend') ?></h1>
|
71 |
</div>
|
app/design/frontend/rwd/default/template/wishlist/button/update.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
app/design/frontend/rwd/default/template/wishlist/item/column/cart.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/wishlist/item/column/info.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
@@ -33,7 +33,7 @@ $product = $item->getProduct();
|
|
33 |
</h3>
|
34 |
|
35 |
<div class="wishlist-sku">
|
36 |
-
<span
|
37 |
</div>
|
38 |
|
39 |
<!-- <div class="description std">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
33 |
</h3>
|
34 |
|
35 |
<div class="wishlist-sku">
|
36 |
+
<span><?php echo $this->__('SKU'); ?> <?php echo $this->escapeHtml($product->getSku()) ?></span>
|
37 |
</div>
|
38 |
|
39 |
<!-- <div class="description std">
|
app/design/frontend/rwd/default/template/wishlist/item/column/price.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/wishlist/item/column/quantity.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
|
app/design/frontend/rwd/default/template/wishlist/item/list.phtml
CHANGED
@@ -10,28 +10,33 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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="clean-table linearize-table" id="wishlist-table">
|
31 |
<thead>
|
32 |
<tr>
|
33 |
-
<?php
|
34 |
-
|
|
|
|
|
35 |
?>
|
36 |
<th class="<?php echo $_blockName; ?>"><?php echo $column->getTitle();?></th>
|
37 |
<?php endforeach; ?>
|
@@ -44,7 +49,13 @@
|
|
44 |
<?php
|
45 |
foreach ($columns as $key => $column):
|
46 |
$_blockName = str_replace('.','-',strtolower($column->getNameInLayout()));
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
?>
|
49 |
<td class="<?php echo 'wishlist-cell'.$key; ?> <?php echo $_blockName; ?>"<?php if($_rwdLabel): ?> data-rwd-label="<?php echo $_rwdLabel; ?>"<?php endif; ?>><?php $column->setItem($item); echo $column->toHtml($item);?></td>
|
50 |
<?php endforeach; ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
?>
|
27 |
+
<?php
|
28 |
+
/* @var $this Mage_Wishlist_Block_Customer_Wishlist_Items */
|
29 |
+
?>
|
30 |
<?php
|
31 |
$columns = $this->getColumns();
|
32 |
?>
|
33 |
<table class="clean-table linearize-table" id="wishlist-table">
|
34 |
<thead>
|
35 |
<tr>
|
36 |
+
<?php
|
37 |
+
/* @var $column Mage_Wishlist_Block_Customer_Wishlist_Item_Column */
|
38 |
+
foreach ($columns as $column):
|
39 |
+
$_blockName = str_replace('.','-',strtolower($column->getNameInLayout()));
|
40 |
?>
|
41 |
<th class="<?php echo $_blockName; ?>"><?php echo $column->getTitle();?></th>
|
42 |
<?php endforeach; ?>
|
49 |
<?php
|
50 |
foreach ($columns as $key => $column):
|
51 |
$_blockName = str_replace('.','-',strtolower($column->getNameInLayout()));
|
52 |
+
|
53 |
+
/* Override default column title in layout, useful for certain cases like select all box */
|
54 |
+
if ($column->getRwdTitle()) {
|
55 |
+
$_rwdLabel = $column->getRwdTitle();
|
56 |
+
} else {
|
57 |
+
$_rwdLabel = ($column->getTitle()) ? $column->getTitle() : false;
|
58 |
+
}
|
59 |
?>
|
60 |
<td class="<?php echo 'wishlist-cell'.$key; ?> <?php echo $_blockName; ?>"<?php if($_rwdLabel): ?> data-rwd-label="<?php echo $_rwdLabel; ?>"<?php endif; ?>><?php $column->setItem($item); echo $column->toHtml($item);?></td>
|
61 |
<?php endforeach; ?>
|
app/design/frontend/rwd/default/template/wishlist/shared.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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 */
|
@@ -29,7 +29,7 @@
|
|
29 |
<div class="page-title">
|
30 |
<h1><?php echo $this->escapeHtml($this->getHeader()) ?></h1>
|
31 |
</div>
|
32 |
-
<?php echo $this->getMessagesBlock()->
|
33 |
<?php if ($this->hasWishlistItems()): ?>
|
34 |
<form action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
|
35 |
<div class="fieldset">
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Wishlist_Block_Share_Wishlist */
|
29 |
<div class="page-title">
|
30 |
<h1><?php echo $this->escapeHtml($this->getHeader()) ?></h1>
|
31 |
</div>
|
32 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
33 |
<?php if ($this->hasWishlistItems()): ?>
|
34 |
<form action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
|
35 |
<div class="fieldset">
|
app/design/frontend/rwd/default/template/wishlist/sidebar.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Sidebar */
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Sidebar */
|
app/design/frontend/rwd/default/template/wishlist/view.phtml
CHANGED
@@ -10,17 +10,17 @@
|
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
-
* to license@
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
-
* needs please refer to http://www.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
-
* @copyright Copyright (c) 2014
|
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 */
|
@@ -33,7 +33,7 @@
|
|
33 |
<?php endif; ?>
|
34 |
<h1><?php echo $this->getTitle(); ?></h1>
|
35 |
</div>
|
36 |
-
<?php echo $this->getMessagesBlock()->
|
37 |
|
38 |
<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
|
39 |
<?php echo $this->getChildHtml('top'); ?>
|
10 |
* http://opensource.org/licenses/afl-3.0.php
|
11 |
* If you did not receive a copy of the license and are unable to
|
12 |
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to license@magento.com so we can send you a copy immediately.
|
14 |
*
|
15 |
* DISCLAIMER
|
16 |
*
|
17 |
* Do not edit or add to this file if you wish to upgrade Magento to newer
|
18 |
* versions in the future. If you wish to customize Magento for your
|
19 |
+
* needs please refer to http://www.magento.com for more information.
|
20 |
*
|
21 |
* @category design
|
22 |
* @package rwd_default
|
23 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
24 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
25 |
*/
|
26 |
/* @var $this Mage_Wishlist_Block_Customer_Wishlist */
|
33 |
<?php endif; ?>
|
34 |
<h1><?php echo $this->getTitle(); ?></h1>
|
35 |
</div>
|
36 |
+
<?php echo $this->getMessagesBlock()->toHtml() ?>
|
37 |
|
38 |
<form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
|
39 |
<?php echo $this->getChildHtml('top'); ?>
|
package.xml
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Interface_Frontend_Rwd_Default</name>
|
4 |
-
<version>1.9.0
|
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 RWD themes base</summary>
|
10 |
<description>This is a RWD themes base</description>
|
11 |
-
<notes>1.9.0
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
-
<date>2014-05
|
14 |
-
<time>
|
15 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="etc"><file name="theme.xml" hash="4c6a2d1881e2fd097d353cebf013267f"/><file name="widget.xml" hash="7c3607d15f5ccacf29b0920b7464900c"/></dir><dir name="layout"><file name="bundle.xml" hash="7738e64217ff9cd31c6c53e325fb2a1a"/><file name="captcha.xml" hash="3d27d8d35992736f90fa9d85aeb64780"/><file name="catalog.xml" hash="1a8cf98ba023cfd4f8985fe91af5714b"/><file name="catalog_msrp.xml" hash="4e69c473a985252499737410d793bc20"/><file name="catalogsearch.xml" hash="9bf8ea14c7fa3f58cb550877cd38961d"/><file name="checkout.xml" hash="482902d8fc2c615880e8482bbb6aaeba"/><file name="cms.xml" hash="85b8f21b5129a8f871212aaf57df1d06"/><file name="contacts.xml" hash="f01c82c4afa65a6a16c455f4e61212b7"/><file name="customer.xml" hash="8618f59054be995db596752ab9e8e1db"/><file name="directory.xml" hash="0027d74f0cced6752f626eab895809bc"/><file name="downloadable.xml" hash="b9804fe7c84a1f75e91fcadaa5997491"/><file name="newsletter.xml" hash="fd0aba6d9144588fb9af29659c0f91af"/><file name="oauth.xml" hash="ab860b599f0d5490ff6113b4e3c4786e"/><file name="page.xml" hash="1f1c2913d496a6f1c70df5b50b6a2c06"/><file name="paypal.xml" hash="7337df44cc34ac33098b30cec7ff3c4c"/><file name="persistent.xml" hash="4a2d1bae5048da18e1c7b580e7be988f"/><file name="poll.xml" hash="764b5b73af4fa13aac54b46b139240a2"/><file name="review.xml" hash="e179c73a1c45901a5a29d8c5cee7129f"/><file name="rss.xml" hash="21e7661caedafcf06fe16f1e4de25814"/><file name="sales.xml" hash="643f9cb050705f8e71f3c08e1593af7a"/><file name="tag.xml" hash="0515c0a13a49d9a29bbc32c18cdf695d"/><file name="wishlist.xml" hash="4a503efbc617585adf6fbf3b79afb07f"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="e79a4860bd5f230688b61e5cf46cbbed"/></dir></dir><dir name="template"><dir name="authorizenet"><dir name="directpost"><file name="form.phtml" hash="f19217efd68fbc77432a2f35d3ce7b53"/></dir></dir><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><file name="availability.phtml" hash="2d77a9cee94f6e23fcb47e79e14d54a0"/><dir name="option"><file name="select.phtml" hash="90fbef4f46d47ef3e24a154cb7c7f5b4"/></dir></dir><file name="bundle.phtml" hash="e98f84565cca46070dac1d5151e35203"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><file name="renderer.phtml" hash="42126415cf5464f44c3fb5e071f10909"/></dir></dir></dir></dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="f9b6df048ad6a51700121bb8a24ef70c"/><file name="state.phtml" hash="dbe4ea9c7fa3697fc0361d2f18f3bfb8"/><file name="view.phtml" hash="bc38f5f563f1cff73ef2a13fd2376c1b"/></dir><dir name="msrp"><file name="popup.phtml" hash="4832f1baf4ba096733396afcd7b82c67"/></dir><dir name="navigation"><file name="left.phtml" hash="d7d9367768b2bad9b923a0d804299e0d"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="9ca283337292782b4c9fdadc7e0f4735"/><file name="sidebar.phtml" hash="9502328f7bca025be839f9afc8b0e170"/></dir><dir name="list"><file name="related.phtml" hash="4d0b578da5b30871a892e1b28d7255c4"/><file name="toolbar.phtml" hash="c21a5b4402bc7a1abf9f949d848bc8a6"/><file name="upsell.phtml" hash="dabeb766d71f52df6c0b75e797bb3c72"/></dir><file name="list.phtml" hash="1755230f13467678ea2eb873a6537e24"/><file name="new.phtml" hash="b7238ffe5a75fc3528cb5598e38d1f89"/><dir name="view"><file name="addto.phtml" hash="6490bda46549b7b08de2f1e789fadb2c"/><file name="addtocart.phtml" hash="9c47c506353f55a40b4faaf1aea99d6e"/><file name="media.phtml" hash="2661d59cb2e29d3c488fe4ef1366092c"/><file name="sharing.phtml" hash="dcf02fde973e630c08dbcfcd4d0663e5"/><dir name="type"><dir name="availability"><file name="default.phtml" hash="75723bafa33bf84f86bbe3b48c890481"/><file name="grouped.phtml" hash="690a61f8626fab5a2e5c13cced690375"/></dir><file name="default.phtml" hash="1ee76a4baadc70bcb2923eb8a88d71b6"/><file name="grouped.phtml" hash="da90c5f8fe065e1f45fa0ac1d0e015e1"/><dir name="options"><file name="configurable.phtml" hash="56e3142c6c78c028141dc4a7e3105680"/></dir></dir></dir><file name="view.phtml" hash="a18bb5e7c1cab4df364d9d4f208f1304"/><dir name="widget"><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="ceb3ba9e4b2ca343ce0e1098fc3519ce"/><file name="new_images_list.phtml" hash="6245889bf59e291eec3d01a3402092ad"/><file name="new_names_list.phtml" hash="6a3fee1a64912101388c4638d485e215"/></dir><dir name="content"><file name="new_grid.phtml" hash="933201309b8b5907538c31ea21146e71"/><file name="new_list.phtml" hash="5eedab654892dd9e1cf1ed22c248a39a"/></dir></dir></dir></dir></dir><dir name="cataloginventory"><dir name="stockqty"><file name="composite.phtml" hash="9fc278cfc7317e5e2883001264de1c8f"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="18fd5eb84c2b9ea87223fc5768f0b651"/></dir><file name="form.mini.phtml" hash="9e92408b60d6ad8be68fd3bad9a54ddd"/><file name="result.phtml" hash="c062b609811ab3ecb25d98443ab833a7"/></dir><dir name="centinel"><dir name="authentication"><file name="start.phtml" hash="b550b2b71a485d01b980a8f1cad0f6c3"/></dir></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="f22a16bee649a1f10dcd912fac69b3f3"/><file name="crosssell.phtml" hash="8ee660de951cefbf0352c3957e82953d"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="3cd83b82425a56984f35f551b9d7baa1"/></dir><file name="default.phtml" hash="438e7e9e63333e3a9484e1637b8f78db"/></dir><dir name="minicart"><file name="default.phtml" hash="6c7ca086f6b4b5a23ec45832e0e7a04a"/><file name="items.phtml" hash="3225ec5da6a015e8eaa725bfe99af8bc"/></dir><file name="minicart.phtml" hash="665da0b51ac9e60085ffeaf1ca287761"/><dir name="render"><file name="default.phtml" hash="7173dc7e85b367474d824b657e336b3a"/><file name="simple.phtml" hash="c1aa7c730525533c7e29484e86cc7ae0"/></dir><file name="shipping.phtml" hash="acd74c80abaf510a1c3c090312418b76"/><dir name="sidebar"><file name="default.phtml" hash="ad51b1b4ce6c3a1413a1f02199a8c2e8"/></dir><file name="sidebar.phtml" hash="990581db35b5ad10d594882f795c3fa1"/></dir><file name="cart.phtml" hash="ff2992c0450ad556cfa5e72a016d3d42"/><dir name="multishipping"><file name="billing.phtml" hash="c6b6be7b83aded97c18fccd2f0abbe3a"/><dir name="item"><file name="default.phtml" hash="d346a9e04cd93942e77aba7cbeeb55e7"/></dir></dir><dir name="onepage"><file name="payment.phtml" hash="b44552085091798b4b85fee0e184fe6f"/><file name="progress.phtml" hash="20fd53292a03af013b921d829da5255d"/><dir name="review"><file name="info.phtml" hash="5fa07faa54636f0256777c5447e971d0"/><file name="item.phtml" hash="0bc6d56d47467d363c3b16c540b69365"/></dir><file name="shipping.phtml" hash="6102961fb13b7797ab77cc496ffad007"/></dir><file name="onepage.phtml" hash="110af056d6e3d50fbb94a83314480f10"/></dir><dir name="contacts"><file name="form.phtml" hash="28e3b55cdaec9ed3b7e5a54f232e621b"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="4ad05e802cfe483c5872538df7f3d877"/></dir><file name="dashboard.phtml" hash="bfd8c2e5ff0372a897c133e9426a254d"/><file name="navigation.phtml" hash="c91c4bff65a2e07081ee91836ca17c39"/></dir><dir name="address"><file name="edit.phtml" hash="680ec42f12dfbf551617a3a0b23cbe59"/></dir><dir name="form"><file name="address.phtml" hash="b0843e53188668bef30295c2a6cfaa83"/><file name="changepassword.phtml" hash="de5859fa2fc929355890aeb71b1e7439"/><file name="confirmation.phtml" hash="abe49cd5fa5cab524a7981d5aa0f8ebb"/><file name="edit.phtml" hash="5e1e1525417a5daf19c3d84b7ce3c331"/><file name="forgotpassword.phtml" hash="19f9e91caab19c4985ff8a7837faa1b1"/><file name="mini.login.phtml" hash="04f162ebd8ebb19948d89100ceca2d23"/><file name="resetforgottenpassword.phtml" hash="866ef98a9e3f56c763b6b8c4311db34e"/></dir></dir><dir name="directory"><file name="currency.phtml" hash="da7c7ff68e79828d195f3e221cb430d3"/></dir><dir name="downloadable"><dir name="catalog"><dir name="product"><file name="type.phtml" hash="817816511c8c3388bfe498687b05472a"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="f0dcb294800332dcd86e7a18a3b22848"/></dir></dir><dir name="onepage"><dir name="review"><file name="item.phtml" hash="015da3d314e7cf0a2ab7ae797ddd31bd"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="570770d13ec86da6ed42d32570d0bbbf"/></dir></dir><dir name="sales"><dir name="order"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="706beb74fa4fbc76ecb256e57b9938fe"/></dir></dir></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="a510ad9a021e94e4461e3f6b1ed53049"/></dir><dir name="oauth"><dir name="authorize"><dir name="form"><file name="login-simple.phtml" hash="aa98250f9be9595206179eaa5be9b2d8"/></dir></dir></dir><dir name="page"><file name="1column.phtml" hash="0c1955ade78334db0f4fe2623db5770b"/><file name="2columns-left.phtml" hash="dfbffd9741a164de0f5730e89342ded4"/><file name="2columns-right.phtml" hash="63a72f838e0ab53dca08b293dd2b92f7"/><file name="3columns.phtml" hash="59640da143b7b1fc3dfa465af43a8f90"/><file name="empty.phtml" hash="1a6a1c3abed752d8ee2122266a191393"/><dir name="html"><file name="footer.phtml" hash="d46cb161c4576b64786dd9c3fb64624c"/><file name="header.phtml" hash="11abceddc57066d408d14c02d0483031"/><file name="pager.phtml" hash="37adc6f4ff4b64cebb2817d6efe6a2ad"/><dir name="topmenu"><file name="renderer.phtml" hash="728865a093894a4829e94f0a31c1d6ba"/></dir><file name="topmenu.phtml" hash="153c1dfaeaf7ef89b4c4a57775782ba6"/></dir><file name="popup.phtml" hash="2ae6d968ea9877465fe81c8d9758c9d5"/><file name="print.phtml" hash="f34a95c3057c48b5ed31c514036af55f"/><dir name="template"><file name="links.phtml" hash="b4c1871de5f9fbe8f02094194e1f6077"/></dir></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="670f3d03701db791b7a14719a2f84d48"/><file name="ccsave.phtml" hash="14acbd0106ffc21e1e73487db834282d"/></dir><dir name="info"><file name="default.phtml" hash="41bf3c1e2a64d6cc11b4c27adc935c96"/></dir></dir><dir name="paypal"><file name="bml.phtml" hash="1b0958715878d48044f9356473385d07"/><dir name="express"><dir name="minicart"><file name="shortcut.phtml" hash="44ead8db61e3e595b92f9f18ac9b7965"/></dir><dir name="product"><file name="shortcut.phtml" hash="8b2301c7028340614f62e9e733382c04"/></dir><dir name="review"><file name="address.phtml" hash="469240557ba76155eb06d1b5ad734f1e"/><file name="details.phtml" hash="09810404b232729a7a43e7b19afdd452"/><dir name="shipping"><file name="method.phtml" hash="31f8dbaddc22a36d1f4692dd4e87a901"/></dir></dir><file name="review.phtml" hash="f9e7d6bf33ff4e4030c88825913ad95c"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="ff2158b0039c0514f3066388abdfa572"/><file name="login.phtml" hash="5c02d00034fa5f8fca22b1decc9d9abe"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="ae9ffe236701c24281e4bdb777afebad"/><file name="register.phtml" hash="41735add33f2b1c12ca237f482a7a887"/></dir></dir><file name="remember_me.phtml" hash="deebe3fc2c582d1ff5e58387ffdeea7f"/><file name="remember_me_tooltip.phtml" hash="498edb2ae5ccb65bdbc02abb2b32fde3"/></dir><dir name="reports"><file name="product_viewed.phtml" hash="07266aefa828a3e70a82a8b79d07d4cf"/><dir name="widget"><dir name="compared"><dir name="column"><file name="compared_default_list.phtml" hash="b1dccc5abe6475f028f497dacf080fcd"/><file name="compared_images_list.phtml" hash="8e1ccc907bb43616e74131b09d6a6c6e"/><file name="compared_names_list.phtml" hash="e5fab7b08f4ac75e2b42f439bef20d14"/></dir><dir name="content"><file name="compared_grid.phtml" hash="ca7ec6ec7be6116aeacd511552d87d54"/><file name="compared_list.phtml" hash="42253cff0455e590f1f97d230adf0942"/></dir></dir><dir name="viewed"><dir name="column"><file name="viewed_default_list.phtml" hash="eee441c2901518bb209e28d63150f6c0"/><file name="viewed_images_list.phtml" hash="50b05395a988160166e021b36330605a"/><file name="viewed_names_list.phtml" hash="eed3822e250bea604e545bbe4918e7d4"/></dir><dir name="content"><file name="viewed_grid.phtml" hash="323051c0524b9389fd6943d3f84a2275"/><file name="viewed_list.phtml" hash="403ce888f91aaf1d5220fabec60d715a"/></dir></dir></dir></dir><dir name="review"><dir name="customer"><file name="view.phtml" hash="f009c0f2b513902fd4faae11ab52759a"/></dir><file name="form.phtml" hash="9cd174c1aeb52c69d4a915696ee206e7"/><dir name="product"><dir name="view"><file name="list.phtml" hash="8445c04579cca60d2bd3507a96f231b6"/></dir></dir><file name="view.phtml" hash="8e866302513f99b43000bb63d820cc2d"/></dir><dir name="sales"><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="402d718b2193b322c63c1786d2ed50fd"/></dir></dir><file name="items.phtml" hash="0a0ff91f27ec113534a80867e5c1db90"/></dir><file name="history.phtml" hash="ee742641b555eb76628d1c18d3c8e36e"/><dir name="items"><dir name="renderer"><file name="default.phtml" hash="97eec3ad7364ff9efd47134c29c6fa0c"/></dir></dir><file name="items.phtml" hash="c8039476fff393fd803d69d0b423d1bd"/><file name="recent.phtml" hash="82c1848d7187470df3e804a0334f24c3"/><dir name="shipment"><file name="items.phtml" hash="613b7f4c8730f4236b86d61c7471f498"/></dir></dir><dir name="widget"><dir name="guest"><file name="form.phtml" hash="a3b17ce43957d0dc9a823c7c60a4e1f9"/></dir></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="771a9f073d4c4059ab23d70f206176db"/></dir><dir name="wishlist"><dir name="button"><file name="update.phtml" hash="50140863a8cce82bf76dafe645199402"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="274b233d79e6f00d7d415ca28e7150ea"/><file name="info.phtml" hash="3d2cbab6465cf0afa777a1a0e91d7672"/><file name="price.phtml" hash="feabefe9439e968eff7cd7bfd12487a0"/><file name="quantity.phtml" hash="b137e3dd60cd537f346f0d2ebed89497"/></dir><file name="list.phtml" hash="f113634c56863a61785a2ffd52df6468"/></dir><file name="shared.phtml" hash="8822d6fe894a9bff719ef1963bdec7b3"/><file name="sidebar.phtml" hash="2a65ef82e93ff09f5e761a95948313cf"/><file name="view.phtml" hash="c2597619910f1706636ba4380c15e214"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="css"><file name="madisonisland-ie8.css" hash="9785f3622a98d6178f5d814525e8af4f"/><file name="madisonisland.css" hash="920eec6acc79e1ef6ecfe8d675472f62"/><file name="scaffold-forms.css" hash="ccf6d73ee496be6a93c0fa2b80755027"/><file name="styles-ie8.css" hash="54a7a73544c564017c500dc8039a2538"/><file name="styles.css" hash="bf6c8e2ba2fc5162dd5187b39626a3a0"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg_x.png" hash="c321c67f6929326129426c9e83207ea3"/><file name="demo-logo.png" hash="c6f4b110e5379547e71d367479f0f945"/><file name="demo_logo.png" hash="7694461c41abb69ca60c086c69e312cc"/><file name="icon_sprite.png" hash="e15f0103ef5ebe3baf48960bb9ccfaab"/><file name="icon_sprite@2x.png" hash="2e9c31d760a33d9f27951210f8311341"/><file name="logo.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_email.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_print.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><dir name="media"><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/><file name="homepage_banner_1.jpg" hash="267b2827f3db118d99f7a623ee02ad8f"/><file name="homepage_banner_1@2x.jpg" hash="3baa6702111d6f5f5dd40d96f148fc60"/><file name="homepage_banner_2.jpg" hash="67f70cfb1690b5de6e185769fb55cd28"/><file name="homepage_callout_1.jpg" hash="4b8451e4e99e87b6c60a015f659d32b6"/><file name="homepage_callout_1@2x.jpg" hash="fb5e215f6cb623abf6f0365b5de1541d"/><file name="homepage_callout_2.jpg" hash="057ab6200f6ea05d4a6793969c5edac3"/><file name="homepage_callout_2@2x.jpg" hash="e923c6323d22235876fe61a9c5588c85"/><file name="homepage_callout_3.jpg" hash="b2cf1e73e87b3330df17425044d22f52"/><file name="homepage_callout_3@2x.jpg" hash="8b98dee63a61608b09c26bd60acea65e"/></dir><file name="opc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="social_icons.png" hash="a6d0bdaea0ca0f507bd36628a6ad31a2"/><file name="social_icons@2x.png" hash="531cc696a7b949dbc8121809c1bb4d46"/></dir><dir name="js"><file name="app.js" hash="313ad93b0fdf95e102c33b6f5bc02b4f"/><dir name="lib"><dir name="elevatezoom"><file name="jquery.elevateZoom-3.0.8.min.js" hash="a18ff8649464a0c999f5d063a081da61"/><file name="jquery.elevatezoom.js" hash="76494c5afa372e08d0a8a5f4ba7e58ed"/></dir><file name="enquire.js" hash="c11ca42a1f2bf189d004f9a4f42e3ca2"/><file name="fastclick.js" hash="7f1e1673fa395e43cbdc584c8798541b"/><file name="imagesloaded.js" hash="f70def9bddf45be549ec0575645b8038"/><file name="jquery-1.10.2.js" hash="dd6148c6c9502fdf51b8cc346fca926e"/><file name="jquery-1.10.2.min.js" hash="628072e7212db1e8cdacb22b21752cda"/><file name="jquery-1.10.2.min.map" hash="6c3ccfc221d36777d383b6e04d0b8af9"/><file name="jquery.cycle2.min.js" hash="24f809434b3e494cc7b98c6c08404b33"/><file name="jquery.cycle2.swipe.min.js" hash="15747fbd45dd1adcaf8f04a2d8a71d68"/><file name="matchMedia.addListener.js" hash="6f47448212550bd3157c4265e3ebf085"/><file name="matchMedia.js" hash="89f369588d629240d6a8d4f8788490c8"/><file name="modernizr.custom.min.js" hash="e508acbc792b5761fe98dc892a1fd952"/><file name="selectivizr.js" hash="8e596ea5ffac3cf3eb53f75a15cdc7eb"/></dir><file name="minicart.js" hash="df031e03a34adf94d6f0e8a3eb12a972"/><file name="msrp_rwd.js" hash="9f205c7191282027e396af65d6f80add"/><file name="opcheckout_rwd.js" hash="aded4472e726d946914121a5172d3747"/><file name="slideshow.js" hash="0ce8047ea23928fade61a164b67e26cd"/></dir><dir name="scss"><file name="_core.scss" hash="2e191bbec4e15b0b5bdca62c24ac82da"/><file name="_framework.scss" hash="c41af0520d24036c4ef4438d21d246be"/><file name="_var.scss" hash="5b7995d17385dc429007d0960f3f7e24"/><file name="config.rb" hash="5f50b4dc5eefbab9e22abdfb80f4d689"/><dir name="content"><file name="_category.scss" hash="d4205e263e312966ba90fb4c52d94f45"/><file name="_home.scss" hash="7e546fee61b68a8bdf95ce249849597d"/></dir><dir name="core"><file name="_common.scss" hash="d16a8d1c0386d077ec4a078b24a7ea18"/><file name="_form.scss" hash="4814e57d9844fec22d0a186ae6c14396"/><file name="_reset.scss" hash="372423e37d18ca7fab269a6da9b59d70"/><file name="_table.scss" hash="fd2de255b80b2d3d0ffa018dbb090351"/></dir><dir name="function"><file name="_black.scss" hash="9ee3cba664d2f238aca51d91439fdb67"/><file name="_white.scss" hash="d1fac5a394bb4f989ac4b5f32867d123"/></dir><dir name="layout"><file name="_footer.scss" hash="ff81a565734c48b55c255a0d120aa460"/><file name="_global.scss" hash="eb07fc2ae4bcc745df6a15c857ae82fe"/><file name="_header-account.scss" hash="8092c559befa5c514bfc68267e0b0119"/><file name="_header-cart.scss" hash="1541f44eccd1d36d5a7242664c5c492a"/><file name="_header-nav.scss" hash="42343dfee8879079e8c830225d08f743"/><file name="_header-search.scss" hash="0d9e876fb98c412113a9d5a6514764d0"/><file name="_header.scss" hash="f67786fad5d2da55b4afbeb550639796"/></dir><file name="madisonisland-ie8.scss" hash="48c14aa15fecdd28c181ac4dae3e662f"/><file name="madisonisland.scss" hash="a816ddc556bed44e9fbf042cb10ff752"/><dir name="mixin"><file name="_breakpoint.scss" hash="a4260c3d9aad668f180aa2a63ccccc49"/><file name="_clearfix.scss" hash="1c37ad1ae7941a999fc4407ced55b90f"/><file name="_if-resolution.scss" hash="1245c9223fe595dbc973ce10bb820930"/><file name="_image-replacement.scss" hash="6643fe5fab2e97eec77aaad24bbab68c"/><file name="_loading-overlay.scss" hash="bb1564f4504a541d88aaebb56ac8f5ff"/><file name="_menu.scss" hash="95a49c744fc7e3ec7b15796237a39d40"/><file name="_not-selectable.scss" hash="d47f2dcb85cbc4b146fcae9944d609bb"/><file name="_toggle-content.scss" hash="be70eac815e34e1f32a820235928851d"/><file name="_triangle.scss" hash="1aef36e44421accfcfdfac01a3440d2f"/><file name="_typography.scss" hash="04fc00b52bf25d481686e3a308366629"/></dir><dir name="module"><file name="_account-reviews.scss" hash="0628de18db70b4a2902c60b85df6a318"/><file name="_catalog-compare.scss" hash="d4cb3310a5bf5ecf0f6d92ec676b188e"/><file name="_catalog-msrp.scss" hash="38d8caee0c2971d4eb8951ebd1696b63"/><file name="_catalog-product.scss" hash="216d57f37fc7fd673a1d0234c3f9111a"/><file name="_checkout-cart-minicart.scss" hash="5fa464af64b24d18e35e7b504cda6dd9"/><file name="_checkout-cart.scss" hash="d0eafaaa4d6b05e110b2bf120c3430f8"/><file name="_checkout-onepage.scss" hash="32def0da0fc4c6b1213ace044a6cc158"/><file name="_checkout-success.scss" hash="bb7aa88816264a8df527e35f99cde2f5"/><file name="_cms.scss" hash="b93092df8a9540e4103d63e0440add5d"/><file name="_configurableswatches.scss" hash="6758ea88d0c628bb012c16c52d9146d2"/><file name="_contacts.scss" hash="f648f4d0bb9a131c28dffa2f1dec9711"/><file name="_cookies.scss" hash="cc55fb4d671ed8195634ceab9eb556ac"/><file name="_customer.scss" hash="93fb5e1e95aa22487b7c7eb3fead79c8"/><file name="_paypal.scss" hash="554952c624d30fc7e2d7bf5f79adf6ec"/><file name="_pricing_conditions.scss" hash="641397cde1cdd4077a9c68ba9d0d8921"/><file name="_product-list.scss" hash="8161bafadde90191b5f90f01f07ef9ce"/><file name="_review.scss" hash="d8c7e17b62af4b6cfa6787667673756e"/><file name="_search.scss" hash="bb0964f4f4ea47103e9af926bb7031e9"/><file name="_slideshow.scss" hash="bfd88f46967c6cc3d33d0fdf10bddf46"/><file name="_wishlist.scss" hash="f078e4102a29ad63441fde76444da426"/></dir><dir name="override"><file name="_plugin.scss" hash="b9a898ecc70d60a0b0bdf27d2f39d816"/></dir><file name="scaffold-forms.scss" hash="a37b86e783f1cfc519708448fd1f3d77"/><file name="styles-ie8.scss" hash="3e5a49118b4d1eae76e34b6a972f8967"/><file name="styles.scss" hash="8faed1a757f54767479d1e3afb662c08"/><dir name="vendor"><file name="_normalize.scss" hash="288186f9ad9031c64a2495077db799c0"/></dir><file name=".htaccess" hash="72617d60821288133a367f70bf39ad93"/></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.9.0
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Interface_Frontend_Rwd_Default</name>
|
4 |
+
<version>1.9.1.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 RWD themes base</summary>
|
10 |
<description>This is a RWD themes base</description>
|
11 |
+
<notes>1.9.1.0</notes>
|
12 |
<authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
|
13 |
+
<date>2014-11-05</date>
|
14 |
+
<time>08:42:25</time>
|
15 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="etc"><file name="theme.xml" hash="d344d5e39682e45bebf471c3510ca65e"/><file name="widget.xml" hash="c539ce6b70ec60dd6dae3cff68f80422"/></dir><dir name="layout"><file name="bundle.xml" hash="9647d853d1f3f81c48ee8c3c677d1cdb"/><file name="catalog.xml" hash="46cfa0da0b46129359945f977f543511"/><file name="catalog_msrp.xml" hash="abca4b7c8cc2a576ef59a2326150230d"/><file name="catalogsearch.xml" hash="45c5bbbabdb09a2e4eb59483fa8b9be4"/><file name="checkout.xml" hash="e9cbf27525f14afc0287ffacb05a911b"/><file name="cms.xml" hash="f18becaaac55614d9aa23007aa33a1b6"/><file name="configurableswatches.xml" hash="e3554c2a0d8d3a935222e3f6a9dd82ee"/><file name="contacts.xml" hash="237290f5884bca8ed469e80f0cffa8bc"/><file name="customer.xml" hash="7b41750625f51b8ac32d92b83354a0b1"/><file name="directory.xml" hash="2db8e308d17e3ffec46aa8fb909c5e2b"/><file name="downloadable.xml" hash="081c20ef5b4a2f64d3889a7bed301778"/><file name="newsletter.xml" hash="25f0084fceed66a61f721680a1f54f5e"/><file name="oauth.xml" hash="0abe4da9723e35b24dfd58157a149727"/><file name="page.xml" hash="0302ce44818298f653b6f44cebb54b71"/><file name="paypal.xml" hash="b3ca01ae096ed3d4e5200554c78ab8a3"/><file name="persistent.xml" hash="e97225bc8d7f2129117f0c511914c3f5"/><file name="review.xml" hash="045357977c8882ce048246465f55b6bb"/><file name="rss.xml" hash="7b08a0410fa224e8291bf69f4bb88858"/><file name="sales.xml" hash="cd208eca0e421c88949905f26515ebc2"/><file name="wishlist.xml" hash="ae34d03e24c100e2c7aa892c2e4bbd46"/></dir><dir name="template"><dir name="authorizenet"><dir name="directpost"><file name="form.phtml" hash="f7dfb245dfd620e6bee75bd18b59bba6"/></dir></dir><dir name="bundle"><dir name="catalog"><dir name="product"><dir name="view"><dir name="type"><dir name="bundle"><file name="availability.phtml" hash="a09e5cc2ef1686dd6533be025e19c86c"/><dir name="option"><file name="select.phtml" hash="c3e6f4178d8615bf75b6df4cb7a766b0"/></dir></dir><file name="bundle.phtml" hash="806dce08fae77b0572212b0ae7a3121a"/></dir></dir></dir></dir><dir name="email"><dir name="order"><dir name="items"><dir name="creditmemo"><file name="default.phtml" hash="04833cc8f11b7cf4e9d1f4ce4f2ab1bb"/></dir><dir name="invoice"><file name="default.phtml" hash="b68643ced0e053046990bdcc6d8d9846"/></dir><dir name="order"><file name="default.phtml" hash="85e3bdb680b17c8b3975275125e93771"/></dir><dir name="shipment"><file name="default.phtml" hash="63ab65ea9f9783d723bd92cb66f5cdc6"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><file name="renderer.phtml" hash="42cfdfc713ef0d208ad66e8bba38fe58"/></dir></dir></dir></dir><dir name="captcha"><file name="zend.phtml" hash="76404ebdc503e9f262110a683a42f5b1"/></dir><dir name="catalog"><dir name="layer"><file name="filter.phtml" hash="4cd90ecbb576698e4c10327e2dac5fba"/><file name="state.phtml" hash="b4519ec0ae27d635103332c98f608304"/><file name="view.phtml" hash="5d69d94e7691b2f2372c0951375e8f2d"/></dir><dir name="msrp"><file name="popup.phtml" hash="20cf471182e99a91a978e9a002000f35"/></dir><dir name="navigation"><file name="left.phtml" hash="662968c9678fae8014a671304ee70f64"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="949a3ef19d290a3117442a2f2a72287a"/><file name="sidebar.phtml" hash="82c43611103da30cc6c2edbee0fdc04d"/></dir><dir name="list"><file name="related.phtml" hash="90df786ad9ae80837998292d175f204a"/><file name="toolbar.phtml" hash="16d2f185c7be49cc23b72b1c15b6c888"/><file name="upsell.phtml" hash="96c5c6aed5288c193e6d5c89b6078782"/></dir><file name="list.phtml" hash="f2797f4d0b8c240aea90152976fac4dd"/><file name="price.phtml" hash="db26709ad4723a94695b40b717e04161"/><dir name="view"><file name="addto.phtml" hash="e1c0316de1c4cdfecf425e390fdcfd45"/><file name="addtocart.phtml" hash="5837658f5726c448319de828d966fbf9"/><file name="media.phtml" hash="4d50c65a7d2b961ffd41b5926de882a9"/><file name="sharing.phtml" hash="79f483655165d7170c7533c5eb108518"/><dir name="type"><dir name="availability"><file name="default.phtml" hash="293cbf4904ed0020c1a79ec35da15845"/><file name="grouped.phtml" hash="cc87c320d32c2bc68f28338592537203"/></dir><file name="default.phtml" hash="16039952088f60ecb30d0f866eb1371e"/><file name="grouped.phtml" hash="73c5f72b14f922ff0646a3f2137f3a0f"/><dir name="options"><file name="configurable.phtml" hash="a7d16610ca3849b7aac6b4260d8636e3"/></dir></dir></dir><file name="view.phtml" hash="b6db2bddb5b2e00e9e693b77ef1d2922"/><dir name="widget"><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="a5c61600e23acfb1037a12191d280cc3"/><file name="new_images_list.phtml" hash="f72bff4ddc5546790231ad4fe4afcbe9"/><file name="new_names_list.phtml" hash="565af8de07893af772ad88c0029365e1"/></dir><dir name="content"><file name="new_grid.phtml" hash="914532cbfa676027d7528dadb830ea05"/><file name="new_list.phtml" hash="e3eae9160536b3267c7cb6ae61e44163"/></dir></dir></dir></dir></dir><dir name="cataloginventory"><dir name="stockqty"><file name="composite.phtml" hash="590df1c4b80bbbac63c9da79780b56ac"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="7d188c26d3a8918eb08863d02829f7f2"/></dir><file name="form.mini.phtml" hash="4d9c8d5e581c67b34fbc23b3bfc37604"/><file name="result.phtml" hash="837d14ba193dbcf1a4d8347c0bad2349"/></dir><dir name="centinel"><dir name="authentication"><file name="start.phtml" hash="e3c35b383b6b8f65c0fd83f90c7c868f"/></dir></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="6c0a7e9a0bb7d05ef2ccb15daef3f1a5"/><file name="crosssell.phtml" hash="1a8bb4bd7fd478d1105d17a65b5c6727"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="31212147f0b4b5dccb66d4f1e48022d2"/></dir><file name="default.phtml" hash="da10721e350c1d2fa7defad411a7aa83"/></dir><dir name="minicart"><file name="default.phtml" hash="91e04cd578a4ae7234bdf0b3df4500a1"/><file name="items.phtml" hash="1274efbfbe25160126ddacda22036d40"/></dir><file name="minicart.phtml" hash="ae2ce17c32f969c2e53bd9504591d40b"/><dir name="render"><file name="default.phtml" hash="5fc714619055669ab1bfbb12bf234c7d"/><file name="simple.phtml" hash="3a0bc4b80b779a086f9b381914262db1"/></dir><file name="shipping.phtml" hash="b46a1ac53a291fb06eb5dd386fe62329"/><dir name="sidebar"><file name="default.phtml" hash="4413299f80dd43fed5a6aff6807aef19"/></dir><file name="sidebar.phtml" hash="38422099e618114b7d4900cb5663f169"/></dir><file name="cart.phtml" hash="7a318ec96277bb753fdd6cf3a833ab03"/><dir name="multishipping"><file name="addresses.phtml" hash="70dfa3d9f714194cba05067cbab862c4"/><file name="billing.phtml" hash="104d022214a3be22a8df8c204974b86b"/><dir name="item"><file name="default.phtml" hash="7eab166dd86140ec1b6535a5be607df7"/></dir><dir name="overview"><file name="item.phtml" hash="6b7765dbeebad9f47631a6b21814e0a5"/></dir><file name="overview.phtml" hash="cb5b8ab2a8f90dcc0a1485d97917d000"/></dir><dir name="onepage"><file name="payment.phtml" hash="9cdb8b3d26ac18a9e36996347baa9e87"/><file name="progress.phtml" hash="a170630c614567a871b01e32355e84c4"/><dir name="review"><file name="info.phtml" hash="cec1b4e38e96b4e6177f7be853ea51ea"/><file name="item.phtml" hash="ab99816f2112c6e5883edec049fe44eb"/></dir><file name="shipping.phtml" hash="c4dd01b76abed5b805548580fa4fc339"/></dir><file name="onepage.phtml" hash="503b349a975f95051a3843176055a0cb"/></dir><dir name="configurableswatches"><dir name="catalog"><dir name="layer"><dir name="filter"><file name="swatches.phtml" hash="2f96ff1d7eb48fbc260e489c047b4bc7"/></dir><dir name="state"><file name="swatch.phtml" hash="e696b74ae734670552bcc5eb308586ef"/></dir></dir><dir name="media"><file name="js.phtml" hash="ac5f32f7b18436a323e5972849f3840c"/></dir><dir name="product"><dir name="list"><file name="swatches.phtml" hash="b5dd16faa22d4c248ce9c237918df1c9"/></dir><dir name="view"><dir name="type"><dir name="configurable"><file name="swatch-js.phtml" hash="ba64818ebe7d00c7cc6aba106f72fe39"/></dir><dir name="options"><dir name="configurable"><file name="swatches.phtml" hash="25b9919bbdbaf300d44b3425f4af5925"/></dir></dir></dir></dir></dir></dir></dir><dir name="contacts"><file name="form.phtml" hash="95683da969c48e1dd4ebac8fb9d0af30"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="a797ffd2fabd0e4d720774ef4124fd31"/></dir><file name="dashboard.phtml" hash="468ba7d1c4b82fbd2f33afce080c8cc4"/><file name="navigation.phtml" hash="c35e960137bf6646601f9413df87ea76"/></dir><dir name="address"><file name="edit.phtml" hash="39bf5cfe7835956b2e031eccfd4c02f6"/></dir><dir name="form"><file name="address.phtml" hash="ce4796c4000edec1d206acdc4290832b"/><file name="changepassword.phtml" hash="14d880bce19bdd9628fb577b0106300e"/><file name="confirmation.phtml" hash="28b601c912814018a19e1c2a5d25bcbc"/><file name="edit.phtml" hash="ce6d04cf5bf57c48422677f5006a283e"/><file name="forgotpassword.phtml" hash="e015a9338fb585a792e681769755fb33"/><file name="mini.login.phtml" hash="bb6e40137fd74d0f48e741bd766cddb1"/><file name="resetforgottenpassword.phtml" hash="d071eca826dbe1240f52f2c9c453a571"/></dir></dir><dir name="directory"><file name="currency.phtml" hash="3b5600b12c1b40d54c82816e3ad7a163"/></dir><dir name="downloadable"><dir name="catalog"><dir name="product"><file name="type.phtml" hash="4a712609cc735fc604c9425ada13c867"/></dir></dir><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="149ff71d43d0e2eae474928753f93367"/></dir></dir><dir name="onepage"><dir name="review"><file name="item.phtml" hash="192c9728619eeb9ab180b6f50a80aee9"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="78b04ba5f65d80384edb9f4029929753"/></dir></dir><dir name="email"><dir name="order"><dir name="items"><dir name="creditmemo"><file name="downloadable.phtml" hash="724e1b8893031d6d84c0ff1ae3c9a018"/></dir><dir name="invoice"><file name="downloadable.phtml" hash="e77975f4f36a5bb5f2729084e67803cc"/></dir><dir name="order"><file name="downloadable.phtml" hash="89df38407f6d5ea94ea3113255a3ef0a"/></dir></dir></dir></dir><dir name="sales"><dir name="order"><dir name="items"><dir name="renderer"><file name="downloadable.phtml" hash="b3792f8577423183d0dd3a44728256a7"/></dir></dir></dir></dir></dir><dir name="email"><dir name="catalog"><dir name="product"><file name="list.phtml" hash="39fa24623896902093bd393f36cf9560"/><file name="new.phtml" hash="331c94aab173bb0b2bc46a60265539b1"/></dir></dir><dir name="order"><dir name="creditmemo"><file name="items.phtml" hash="09e36a052dcc30198faacba4b48a5831"/></dir><dir name="invoice"><file name="items.phtml" hash="4cc757de3c554b1672499281af7409be"/></dir><dir name="items"><dir name="creditmemo"><file name="default.phtml" hash="3a8799f9fd7ce3a0950234bdc244ee3a"/></dir><dir name="invoice"><file name="default.phtml" hash="3a8799f9fd7ce3a0950234bdc244ee3a"/></dir><dir name="order"><file name="default.phtml" hash="1b4a5fffcddf1929c89546b0701cce83"/></dir><dir name="shipment"><file name="default.phtml" hash="662ce092e205626c8fa5ddc9e42b9691"/></dir></dir><file name="items.phtml" hash="1a33865ef3cc5f40949f2922fb5f9325"/><dir name="shipment"><file name="items.phtml" hash="4e66b2c8b72415e84fd456eb79749c68"/><file name="track.phtml" hash="4892b058edd9b33f4437deb9774773df"/></dir><dir name="totals"><file name="wrapper.phtml" hash="9437e4b26484ca34880cce00355fefa0"/></dir></dir><dir name="productalert"><file name="price.phtml" hash="0cf7cc8ed26d62d1755da506ace5d47b"/><file name="stock.phtml" hash="7c00c14428099ce87e9e2d3a9ce62fab"/></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="324dd231230a080ed5bf03acbd49ef94"/></dir><dir name="oauth"><dir name="authorize"><dir name="form"><file name="login-simple.phtml" hash="28226fcddef83b14d42d28decc4c0e47"/></dir></dir></dir><dir name="page"><file name="1column.phtml" hash="2aa485183fd81fdf4503211cb3c43d06"/><file name="2columns-left.phtml" hash="6d413162d4832c67046f862018cecb2e"/><file name="2columns-right.phtml" hash="462c6d8b2d7d2b207c549a2a54ab6a61"/><file name="3columns.phtml" hash="11514fb376914a48b24feb799cd3c820"/><file name="empty.phtml" hash="a10789fc8675982fa61b1497ab7c86bb"/><dir name="html"><file name="footer.phtml" hash="3ee123468c82cea51916c6a67c82ae14"/><file name="header.phtml" hash="64099c3673c4679023bd43a7d80c85f5"/><file name="pager.phtml" hash="0368562ead537e0e1897eccf72b0b45a"/><dir name="topmenu"><file name="renderer.phtml" hash="addcfbe470c28761061ef1d1bff9d859"/></dir><file name="topmenu.phtml" hash="2edfd3f10256399e795fe7df5202cb91"/></dir><file name="popup.phtml" hash="fbb75f13871ddc732b07f5a380c0bdb1"/><file name="print.phtml" hash="d5ef6ad1901e6303d42c60497c3690a8"/><dir name="template"><file name="links.phtml" hash="0524e9d7748c1f447e3f8010f1d49dfe"/></dir></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="aa6b20c90b6ab883431370d361d66154"/><file name="ccsave.phtml" hash="3d370d40d1c7ad1e82c9c2e12f8108ad"/></dir><dir name="info"><file name="default.phtml" hash="e3837010b3e1d8dd90b0ca4856c4aa1a"/></dir></dir><dir name="paypal"><file name="bml.phtml" hash="1bfd40191a32a97b3a330f175066ede2"/><dir name="express"><dir name="minicart"><file name="shortcut.phtml" hash="d28b02642cfec5228b0d271d7b4140bb"/></dir><dir name="product"><file name="shortcut.phtml" hash="0baf1b04b58587726beae265f4889dbe"/></dir><dir name="review"><file name="address.phtml" hash="b0ce1e61b7c2cc64ec2d8436bdb629b3"/><file name="details.phtml" hash="34c0b1f590bd299440684a12dbb81764"/><dir name="shipping"><file name="method.phtml" hash="dc85509da28da7788fce0cceff9d437b"/></dir></dir><file name="review.phtml" hash="4e2c9b15ed595e0982b12ee3f4002d66"/></dir><dir name="partner"><file name="us_logo.phtml" hash="f80346b7114b1f12ac4ea9b0fa32c2b4"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="d38359553264ca0ff5baced37bfae735"/><file name="login.phtml" hash="0216144eb8149f293cc8230a88b1c975"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="803c090f0eb35187e7b4f22545ec3e03"/><file name="register.phtml" hash="2ef78c06900f39d4025af4d2d3e4c275"/></dir></dir><file name="remember_me.phtml" hash="bdd0e51d1b8c937dcf5df4e43a4f1ab8"/><file name="remember_me_tooltip.phtml" hash="1d13b81d28dbb1c4a8a4eabe3c0f632e"/></dir><dir name="rating"><file name="detailed.phtml" hash="19ea652e633785fad8486be2ee167802"/></dir><dir name="reports"><file name="product_viewed.phtml" hash="e5d2ce089259c1b38737a86b07c0c91d"/><dir name="widget"><dir name="compared"><dir name="column"><file name="compared_default_list.phtml" hash="940fba04f7cd957ac57e4ed11a1946b8"/><file name="compared_images_list.phtml" hash="2b2fc46ffe38ee7f59d7661c3859b7eb"/><file name="compared_names_list.phtml" hash="f63c037cef090cab8cd8fb900b120fbf"/></dir><dir name="content"><file name="compared_grid.phtml" hash="87226b5d935d39c6021d4cd5422edcfb"/><file name="compared_list.phtml" hash="49cde80a5bca0cf912f022a39b3f4cab"/></dir></dir><dir name="viewed"><dir name="column"><file name="viewed_default_list.phtml" hash="a94f07d839be8cf8b211e5409302d75a"/><file name="viewed_images_list.phtml" hash="da546241522e9a82fb3cd7d6cd1cc637"/><file name="viewed_names_list.phtml" hash="bda7fa14dd22a73a37b525ff375c3e4b"/></dir><dir name="content"><file name="viewed_grid.phtml" hash="afac292fa7f1157dfa25e967f5eeb127"/><file name="viewed_list.phtml" hash="0560cf97c092b46a540a2a099244478e"/></dir></dir></dir></dir><dir name="review"><dir name="customer"><file name="view.phtml" hash="51a5d7006f280a1aa02cb55703bce9ba"/></dir><file name="form.phtml" hash="f2268d60d12084ee3dcfcbad97fad53c"/><dir name="product"><dir name="view"><file name="list.phtml" hash="2ad9f059f4f88e826027571bdf44242c"/></dir></dir><file name="view.phtml" hash="dd74319d4dda6195c8fb366d2d656c8a"/></dir><dir name="sales"><dir name="billing"><dir name="agreement"><file name="view.phtml" hash="77ee0e67e81ecf4feacc616ddbfddc6f"/></dir><file name="agreements.phtml" hash="e4ad8f8eabe7f77c63a6ad47ce376d5d"/></dir><dir name="order"><dir name="creditmemo"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="fb5caa900a264e4fe3f2357bd1414c4d"/></dir></dir><file name="items.phtml" hash="5f911a73e7ffa7d543c551c7ab0be2df"/></dir><file name="history.phtml" hash="5298f96222dee9b3821b93be4e65bc0b"/><dir name="invoice"><dir name="items"><dir name="renderer"><file name="default.phtml" hash="d448067860996e0a6df36214d20365ac"/></dir></dir><file name="items.phtml" hash="cd8879bf1ab2a917c05704dc57cfdf25"/></dir><dir name="items"><dir name="renderer"><file name="default.phtml" hash="de8794a8f89b8502cc65e891e47b1c7e"/></dir></dir><file name="items.phtml" hash="584bf90b01d4f9eaaa405647edb378d2"/><file name="recent.phtml" hash="23230fe43880bbcec950f79b688b9dcb"/><dir name="shipment"><file name="items.phtml" hash="33f0a6452ca8f682340d2bdf320dd00d"/></dir></dir><dir name="recurring"><file name="grid.phtml" hash="107b32c6e807d8d14b0fa8130108832a"/><dir name="profile"><file name="view.phtml" hash="a3dd07c603fa36cf6e4d5ce8163de860"/></dir></dir><dir name="widget"><dir name="guest"><file name="form.phtml" hash="85d10144d57c0b89464031434b38fc6b"/></dir></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="e7e23670c1d606ff706dc6d533eb5794"/></dir><dir name="wishlist"><dir name="button"><file name="update.phtml" hash="8ba68808b52caebf306902ad3883973d"/></dir><dir name="item"><dir name="column"><file name="cart.phtml" hash="0383427de3a81c12dd0f034a224259e1"/><file name="info.phtml" hash="197ceff8061f404cca24939a7a51eed5"/><file name="price.phtml" hash="0036a632106f0077393e9b3bc0e4e278"/><file name="quantity.phtml" hash="19f240558a2ae38095b528655bb155b8"/></dir><file name="list.phtml" hash="71e0d6e734981fffc69c26acaa797fe6"/></dir><file name="shared.phtml" hash="a79eff6bd55e403820312601f105ac04"/><file name="sidebar.phtml" hash="17d8d9f73aa7e3faec6491a90af2e4f2"/><file name="view.phtml" hash="f6de784fe0bd0946b2e096a192d85817"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="rwd"><dir name="default"><dir name="css"><file name="madisonisland-ie8.css" hash="b2817dd906364b24c88e4c7d16ee6c34"/><file name="madisonisland.css" hash="4490919a4bca6c03c594914c7754afcb"/><file name="scaffold-forms.css" hash="5008f94ec394f87c56a3cf12e970012f"/><file name="styles-ie8.css" hash="726beedfeb7e5bb5ee4e64c2221ba83a"/><file name="styles.css" hash="4e5a7b2dce6b7c15c7441b3e71e47752"/></dir><dir name="images"><file name="ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="bg_x.png" hash="c321c67f6929326129426c9e83207ea3"/><file name="demo-logo.png" hash="c6f4b110e5379547e71d367479f0f945"/><file name="demo_logo.png" hash="7694461c41abb69ca60c086c69e312cc"/><file name="icon_sprite.png" hash="e15f0103ef5ebe3baf48960bb9ccfaab"/><file name="icon_sprite@2x.png" hash="2e9c31d760a33d9f27951210f8311341"/><file name="logo.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><file name="logo_email.gif" hash="773ca21465d08684ea7db8bf49d30a36"/><file name="logo_print.gif" hash="5e0912a388db8cd83c062766ac3a5d89"/><dir name="media"><file name="col_left_callout.jpg" hash="5f762006021e046f9bd536f37ea7c463"/><file name="col_right_callout.jpg" hash="dae22f37a542da272a35195ec286ec25"/><file name="homepage_banner_1.jpg" hash="267b2827f3db118d99f7a623ee02ad8f"/><file name="homepage_banner_1@2x.jpg" hash="3baa6702111d6f5f5dd40d96f148fc60"/><file name="homepage_banner_2.jpg" hash="67f70cfb1690b5de6e185769fb55cd28"/><file name="homepage_callout_1.jpg" hash="4b8451e4e99e87b6c60a015f659d32b6"/><file name="homepage_callout_1@2x.jpg" hash="fb5e215f6cb623abf6f0365b5de1541d"/><file name="homepage_callout_2.jpg" hash="057ab6200f6ea05d4a6793969c5edac3"/><file name="homepage_callout_2@2x.jpg" hash="e923c6323d22235876fe61a9c5588c85"/><file name="homepage_callout_3.jpg" hash="b2cf1e73e87b3330df17425044d22f52"/><file name="homepage_callout_3@2x.jpg" hash="8b98dee63a61608b09c26bd60acea65e"/></dir><file name="opc-ajax-loader.gif" hash="f48ee069890b16455c3ddcacee9b5f75"/><file name="social_icons.png" hash="a6d0bdaea0ca0f507bd36628a6ad31a2"/><file name="social_icons@2x.png" hash="531cc696a7b949dbc8121809c1bb4d46"/></dir><dir name="js"><file name="app.js" hash="78b64ff27d57a95be8990b227c21211f"/><dir name="configurableswatches"><file name="product-media.js" hash="85c2a93413ab6ccd6399b300034f9944"/><file name="swatches-list.js" hash="ff35f4e497834fa25d9f1124b412f65a"/><file name="swatches-product.js" hash="87ad1b1fbaffecfba810a70c46f137e4"/></dir><dir name="lib"><dir name="elevatezoom"><file name="jquery.elevateZoom-3.0.8.min.js" hash="b8c320b245bda0ee6d6a05b1c5551a58"/><file name="jquery.elevatezoom.js" hash="85bed439e504fad4c0e631146d7a75ba"/></dir><file name="enquire.js" hash="17df503d3abac5be0bec038e4b133de1"/><file name="fastclick.js" hash="8613ebaa39dc59362c2a4b69b8669d05"/><file name="imagesloaded.js" hash="82bdcdaa438659d4cb966ab112b162f4"/><file name="jquery.cycle2.min.js" hash="eb609c79b0c3f4d32ee1ba625e4fb52e"/><file name="jquery.cycle2.swipe.min.js" hash="a1310de18f5cbbf2c91cfd2fad7e19a0"/><file name="matchMedia.addListener.js" hash="6f47448212550bd3157c4265e3ebf085"/><file name="matchMedia.js" hash="89f369588d629240d6a8d4f8788490c8"/><file name="modernizr.custom.min.js" hash="6b30635dd7d7297419bce69b3a0808e7"/><file name="selectivizr.js" hash="76618ffd6e448c796f0d2422c57a6658"/></dir><file name="minicart.js" hash="7882faeef5ec5a723bb4cdc1017a36ed"/><file name="msrp_rwd.js" hash="dbd8bdfa5161041e5ca8b3105862ff83"/><file name="opcheckout_rwd.js" hash="a7d030805978bde1272fb8dccf5e4d20"/><file name="slideshow.js" hash="4279a94ced8fa1a72cee9a43a6ed0a2a"/></dir><dir name="scss"><file name="_core.scss" hash="db52c960bcd3378d58eb22a1deb5fd97"/><file name="_framework.scss" hash="a4f2996ecc09e5c5481874094e0322af"/><file name="_var.scss" hash="860e6894fb00a52a6f12ed8dcb60ddf4"/><file name="config.rb" hash="5f50b4dc5eefbab9e22abdfb80f4d689"/><dir name="content"><file name="_category.scss" hash="4f19a3deded95481220a8391230a04f6"/><file name="_home.scss" hash="f8d901657af2d5fde2a4d7cf4ac322b7"/></dir><dir name="core"><file name="_common.scss" hash="f6661f594822bfb8be9253219225c48f"/><file name="_form.scss" hash="e23acd534b44001fc950415bfb94e719"/><file name="_reset.scss" hash="c12ba4c9f58f0d11deef4355d7b61837"/><file name="_table.scss" hash="f2f95106bac4129b715908db3429dac2"/></dir><file name="email-inline.scss" hash="91aaacc9b532ffc46942601dfdbc89ac"/><file name="email-non-inline.scss" hash="22e99a847ebf574a8a6cc1c4275a663e"/><dir name="function"><file name="_black.scss" hash="10a15c9594c32fd446665f205c346587"/><file name="_white.scss" hash="370adbb0a300a54d3657a6c8f3cb3f0f"/></dir><dir name="layout"><file name="_footer.scss" hash="f0b89335e5a9843aa11e5f2444f98bee"/><file name="_global.scss" hash="7597c407b247fd35b8a10a4aa0bad0bc"/><file name="_header-account.scss" hash="18c710989834414b6e83034f3fcd4467"/><file name="_header-cart.scss" hash="06c3714f5946089bbca665d3d9df03a5"/><file name="_header-nav.scss" hash="4556c969928ce770560296f90f8e6295"/><file name="_header-search.scss" hash="4ab5a0f1564ab2a6e578bed504547d84"/><file name="_header.scss" hash="b0c83f9f8a26d0a656159bf9b48394ac"/></dir><file name="madisonisland-ie8.scss" hash="9fd2d82963d7502686d68d8fadd2335c"/><file name="madisonisland.scss" hash="bd32ff1a301615e94f0b3c792c851c0f"/><dir name="mixin"><file name="_breakpoint.scss" hash="099fbdebb53398b95e72a4a9b7a5c922"/><file name="_clearfix.scss" hash="870dd179899af929f093a4c3ff8e1920"/><file name="_if-resolution.scss" hash="41adcf5a2909e85d706912b9016e1a91"/><file name="_image-replacement.scss" hash="3b359967ac6cf0c48cf6c8ccb84cd685"/><file name="_loading-overlay.scss" hash="41fba1a35e20c994d93b4ccc6e7d27c9"/><file name="_menu.scss" hash="3c8b05c3324c20d12bccfdb17c0b88cc"/><file name="_not-selectable.scss" hash="9b38058b211d15142d7f2b32bfd764c5"/><file name="_toggle-content.scss" hash="2c60de9636e3fbd8cc3f7a1a28784ceb"/><file name="_triangle.scss" hash="ac527eeddebe2e3194cac464d57b63aa"/><file name="_typography.scss" hash="f7f02f6dc97e7b4ecbfcf92ce365da83"/></dir><dir name="module"><file name="_account-orders.scss" hash="1b6beb4f33c033022a8fa9e6f28b1791"/><file name="_account-reviews.scss" hash="f1e1c0f4a8e0653b6c68e8f0bc79384e"/><file name="_billing-agreements.scss" hash="57d6fc3c654ad016a0afe89713a6871b"/><file name="_captcha.scss" hash="8bf8547aaa8d8da0ab1c680c07acaac6"/><file name="_catalog-compare.scss" hash="0e1e95895b5390b5a79614abe8de2290"/><file name="_catalog-msrp.scss" hash="b6a4594b740ea448286bbab2b9b4a843"/><file name="_catalog-product.scss" hash="843049367cc48e477e8d3ed129c24428"/><file name="_checkout-cart-minicart.scss" hash="d3231cc5262c1ad35ebb77ea4d182c06"/><file name="_checkout-cart.scss" hash="35bd0714777558e4f78869f1ecb0b749"/><file name="_checkout-multi-address.scss" hash="7244f5eb123cd568ebd34e16d678b418"/><file name="_checkout-onepage.scss" hash="5039c5c1f1e7a6940b79f4d867879f1b"/><file name="_checkout-success.scss" hash="4bd8da613410b0132bf51f0c1bc853d1"/><file name="_cms.scss" hash="252c1b8b9d619c1ee70ef84093d51ad4"/><file name="_configurableswatches.scss" hash="03e37df69cbb45ddd594b403052105a3"/><file name="_contacts.scss" hash="a099e06cc8af4a47d81a68edf86c4eb8"/><file name="_cookies.scss" hash="e0414ba86438a143fcfae4528f7c5ecb"/><file name="_customer.scss" hash="bfbf486aff7f479dc62325b7ffce8295"/><file name="_paypal.scss" hash="4f9574601a4c353537f804dcadd1cc30"/><file name="_popular-terms.scss" hash="bd384c2060d205a66391e6810817510e"/><file name="_pricing_conditions.scss" hash="083debd5c24dc628ead4273b8091367d"/><file name="_product-list.scss" hash="7c10241cf70b5ab946b6b5f03b99ac5e"/><file name="_recurring-profiles.scss" hash="c4433e258678efdde7f6ab7f32dd1cfe"/><file name="_review.scss" hash="0b54489535ebaca32f9b7fba5cfcf164"/><file name="_search.scss" hash="2c4825a17f1f7e7391d53d693e674c40"/><file name="_slideshow.scss" hash="979848d085f96297e1a29e85efdf5e22"/><file name="_tags.scss" hash="e4e319c0f67a72d25be24194e791b771"/><file name="_widget.scss" hash="686c133bfac9f0e8b7cb637374c65312"/><file name="_wishlist.scss" hash="0d61ee366c4d8e5959792c73aa0b2458"/></dir><dir name="override"><file name="_plugin.scss" hash="c3665ab4e361971cb6942be205c1a1f0"/></dir><file name="scaffold-forms.scss" hash="72e2fa26d7c462ff2250e1fac316bb0f"/><file name="styles-ie8.scss" hash="301957f28de4fc994e6537d550c74b50"/><file name="styles.scss" hash="7014975439f2675096d7bd9332d9b2cc"/><dir name="vendor"><file name="_normalize.scss" hash="5d5355bfe851734877f4fc680efb7531"/></dir><file name=".htaccess" hash="72617d60821288133a367f70bf39ad93"/></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.9.1.0</min><max>1.10.0.0</max></package></required></dependencies>
|
18 |
</package>
|
skin/frontend/rwd/default/css/madisonisland-ie8.css
CHANGED
@@ -9,17 +9,17 @@
|
|
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@
|
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.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
-
* @copyright Copyright (c) 2014
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/* ============================================ *
|
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@magento.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.magento.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/* ============================================ *
|
skin/frontend/rwd/default/css/madisonisland.css
CHANGED
@@ -9,17 +9,17 @@
|
|
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@
|
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.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
-
* @copyright Copyright (c) 2014
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/* ============================================ *
|
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@magento.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.magento.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/* ============================================ *
|
skin/frontend/rwd/default/css/scaffold-forms.css
CHANGED
@@ -9,17 +9,17 @@
|
|
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@
|
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.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
-
* @copyright Copyright (c) 2014
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/* ============================================ *
|
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@magento.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.magento.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/* ============================================ *
|
skin/frontend/rwd/default/css/styles-ie8.css
CHANGED
@@ -9,17 +9,17 @@
|
|
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@
|
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.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
-
* @copyright Copyright (c) 2014
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
@@ -621,11 +621,11 @@ h6, .h6 {
|
|
621 |
|
622 |
.availability.available-soon,
|
623 |
.availability.out-of-stock {
|
624 |
-
color:
|
625 |
}
|
626 |
|
627 |
.availability-only {
|
628 |
-
color:
|
629 |
margin-bottom: 10px;
|
630 |
}
|
631 |
|
@@ -798,6 +798,10 @@ body:not(.customer-account) .block:first-child .block-title {
|
|
798 |
outline: none;
|
799 |
}
|
800 |
|
|
|
|
|
|
|
|
|
801 |
/* Primary Buttons */
|
802 |
.button,
|
803 |
.cart-table .product-cart-actions .button,
|
@@ -902,7 +906,7 @@ a.button:hover {
|
|
902 |
}
|
903 |
|
904 |
.paypal-or {
|
905 |
-
line-height:
|
906 |
margin: 0px 10px 5px;
|
907 |
}
|
908 |
|
@@ -939,7 +943,7 @@ a.button:hover {
|
|
939 |
margin: 0;
|
940 |
line-height: 33px;
|
941 |
}
|
942 |
-
.buttons-set a:not(
|
943 |
line-height: 20px;
|
944 |
display: inline-block;
|
945 |
padding: 5px;
|
@@ -1314,7 +1318,7 @@ a.button:hover {
|
|
1314 |
}
|
1315 |
|
1316 |
.error {
|
1317 |
-
color:
|
1318 |
font-weight: bold;
|
1319 |
}
|
1320 |
|
@@ -1335,6 +1339,7 @@ a.button:hover {
|
|
1335 |
margin-bottom: 5px;
|
1336 |
padding: 7px 10px 7px 20px;
|
1337 |
background: #f4f4f4;
|
|
|
1338 |
}
|
1339 |
|
1340 |
.messages li li:before {
|
@@ -1344,7 +1349,9 @@ a.button:hover {
|
|
1344 |
}
|
1345 |
|
1346 |
.messages .error-msg li {
|
1347 |
-
|
|
|
|
|
1348 |
}
|
1349 |
|
1350 |
.messages .error-msg li:before {
|
@@ -1355,12 +1362,14 @@ a.button:hover {
|
|
1355 |
display: block;
|
1356 |
border-top: 6px solid transparent;
|
1357 |
border-bottom: 6px solid transparent;
|
1358 |
-
border-left: 6px solid
|
1359 |
border-right: none;
|
1360 |
}
|
1361 |
|
1362 |
.messages .notice-msg li {
|
|
|
1363 |
border-left: 5px solid #e26703;
|
|
|
1364 |
}
|
1365 |
|
1366 |
.messages .notice-msg li:before {
|
@@ -1376,7 +1385,9 @@ a.button:hover {
|
|
1376 |
}
|
1377 |
|
1378 |
.messages .success-msg li {
|
|
|
1379 |
border-left: 5px solid #11b400;
|
|
|
1380 |
}
|
1381 |
|
1382 |
.messages .success-msg li:before {
|
@@ -1518,7 +1529,6 @@ a.button:hover {
|
|
1518 |
|
1519 |
.price-box .price,
|
1520 |
.price {
|
1521 |
-
white-space: nowrap;
|
1522 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
1523 |
}
|
1524 |
|
@@ -1575,6 +1585,10 @@ a.button:hover {
|
|
1575 |
display: block;
|
1576 |
}
|
1577 |
|
|
|
|
|
|
|
|
|
1578 |
/* -------------------------------------------- *
|
1579 |
* Tier Prices
|
1580 |
*/
|
@@ -2109,14 +2123,6 @@ body.customer-account .data-table .show-details .summary-collapse:hover:before {
|
|
2109 |
margin-bottom: 5px;
|
2110 |
}
|
2111 |
|
2112 |
-
/* ============================================ *
|
2113 |
-
* Widgets
|
2114 |
-
* ============================================ */
|
2115 |
-
.widget .pager {
|
2116 |
-
float: none;
|
2117 |
-
width: 100%;
|
2118 |
-
}
|
2119 |
-
|
2120 |
/* ============================================ *
|
2121 |
* Magento Helpers
|
2122 |
* ============================================ */
|
@@ -2210,11 +2216,17 @@ form .legend {
|
|
2210 |
clear: both;
|
2211 |
}
|
2212 |
|
|
|
|
|
|
|
|
|
|
|
2213 |
/* For adjacent select inputs. */
|
2214 |
/* Example: credit card expiration month and year. */
|
2215 |
.input-box .v-fix {
|
2216 |
float: left;
|
2217 |
margin-right: 5px;
|
|
|
2218 |
}
|
2219 |
|
2220 |
/* -------------------------------------------- *
|
@@ -2235,7 +2247,7 @@ label {
|
|
2235 |
label.required:after,
|
2236 |
span.required:after {
|
2237 |
content: ' *';
|
2238 |
-
color:
|
2239 |
font-weight: normal;
|
2240 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
2241 |
font-size: 12px;
|
@@ -2279,8 +2291,8 @@ textarea {
|
|
2279 |
-webkit-box-sizing: border-box;
|
2280 |
-moz-box-sizing: border-box;
|
2281 |
box-sizing: border-box;
|
2282 |
-
|
2283 |
-
width: 450px;
|
2284 |
padding: 5px;
|
2285 |
}
|
2286 |
|
@@ -2305,11 +2317,11 @@ textarea {
|
|
2305 |
}
|
2306 |
|
2307 |
.input-text.validation-failed {
|
2308 |
-
border-color:
|
2309 |
}
|
2310 |
|
2311 |
.input-text.validation-failed:focus {
|
2312 |
-
outline-color: #
|
2313 |
}
|
2314 |
|
2315 |
input[type=email],
|
@@ -2396,7 +2408,7 @@ input:-moz-placeholder {
|
|
2396 |
p.required,
|
2397 |
.validation-advice {
|
2398 |
margin: 5px 0 0;
|
2399 |
-
color:
|
2400 |
font-size: 13px;
|
2401 |
}
|
2402 |
|
@@ -2478,7 +2490,7 @@ p.required,
|
|
2478 |
#checkout-shipping-method-load .sp-methods dd label:hover,
|
2479 |
#co-shipping-method-form .sp-methods dd label:hover,
|
2480 |
.product-options ul.options-list label:hover {
|
2481 |
-
background-color: #
|
2482 |
}
|
2483 |
.form-list .control .no-display + label,
|
2484 |
.sp-methods dt .no-display + label,
|
@@ -2583,6 +2595,33 @@ form .form-instructions {
|
|
2583 |
content: ':';
|
2584 |
}
|
2585 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2586 |
/* ============================================ *
|
2587 |
* Zebra-Stripe Table
|
2588 |
* ============================================ */
|
@@ -2818,6 +2857,12 @@ a.skip-link {
|
|
2818 |
/* ============================================ *
|
2819 |
* Global Header Navigation
|
2820 |
* ============================================ */
|
|
|
|
|
|
|
|
|
|
|
|
|
2821 |
/* ============================================ *
|
2822 |
* Nav - Skip Link
|
2823 |
* ============================================ */
|
@@ -2900,7 +2945,6 @@ a.skip-link {
|
|
2900 |
.nav-primary {
|
2901 |
/* Default styles for 1+ drop-down menus */
|
2902 |
/* Level 2+ */
|
2903 |
-
/* Styles that only show when the menu is visible */
|
2904 |
/* Class for js to add briefly to evaluate element positioning. */
|
2905 |
/* Correct menus that will hang off the page (class added by js) */
|
2906 |
/* Level 1+ */
|
@@ -2919,8 +2963,7 @@ a.skip-link {
|
|
2919 |
.nav-primary li:hover > a {
|
2920 |
color: #3399cc;
|
2921 |
}
|
2922 |
-
.nav-primary .menu-active
|
2923 |
-
.nav-primary li.level0:hover {
|
2924 |
z-index: 200;
|
2925 |
}
|
2926 |
.nav-primary li.level0 ul {
|
@@ -2970,9 +3013,9 @@ a.skip-link {
|
|
2970 |
top: 50%;
|
2971 |
margin-top: -3px;
|
2972 |
}
|
2973 |
-
|
2974 |
-
|
2975 |
-
|
2976 |
}
|
2977 |
|
2978 |
/* ============================================ *
|
@@ -3071,10 +3114,10 @@ a.skip-link {
|
|
3071 |
}
|
3072 |
|
3073 |
.skip-account {
|
3074 |
-
|
3075 |
-
top: 0;
|
3076 |
-
right: 115px;
|
3077 |
width: auto;
|
|
|
|
|
3078 |
padding: 0 10px;
|
3079 |
text-transform: uppercase;
|
3080 |
}
|
@@ -3111,8 +3154,8 @@ a.skip-link {
|
|
3111 |
#header-account a {
|
3112 |
position: relative;
|
3113 |
display: block;
|
3114 |
-
padding:
|
3115 |
-
line-height:
|
3116 |
text-align: center;
|
3117 |
}
|
3118 |
|
@@ -3134,9 +3177,6 @@ a.skip-link {
|
|
3134 |
}
|
3135 |
|
3136 |
.skip-cart {
|
3137 |
-
position: absolute;
|
3138 |
-
top: 0;
|
3139 |
-
right: 0;
|
3140 |
width: auto;
|
3141 |
padding: 0 10px;
|
3142 |
}
|
@@ -3197,11 +3237,11 @@ a.skip-link {
|
|
3197 |
-ms-border-radius: 0px;
|
3198 |
-o-border-radius: 0px;
|
3199 |
border-radius: 0px;
|
3200 |
-
color: #3399cc;
|
3201 |
position: static;
|
3202 |
background: none;
|
3203 |
margin-left: 0px;
|
3204 |
font-size: 14px;
|
|
|
3205 |
}
|
3206 |
.skip-cart .count:before {
|
3207 |
content: '(';
|
@@ -3210,6 +3250,11 @@ a.skip-link {
|
|
3210 |
content: ')';
|
3211 |
}
|
3212 |
|
|
|
|
|
|
|
|
|
|
|
3213 |
.skip-cart .count.empty {
|
3214 |
display: none;
|
3215 |
}
|
@@ -3486,6 +3531,11 @@ body.catalogsearch-result-index .page-title h1 {
|
|
3486 |
margin-bottom: 1.5em;
|
3487 |
}
|
3488 |
|
|
|
|
|
|
|
|
|
|
|
3489 |
/* -------------------------------------------- *
|
3490 |
* Product Name
|
3491 |
*/
|
@@ -3574,6 +3624,12 @@ p.product-name a:hover {
|
|
3574 |
display: none;
|
3575 |
}
|
3576 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3577 |
.products-grid .product-info {
|
3578 |
position: relative;
|
3579 |
padding-bottom: 95px;
|
@@ -3835,12 +3891,12 @@ p.product-name a:hover {
|
|
3835 |
.products-list .product-shop .product-primary,
|
3836 |
.products-list .product-shop .desc {
|
3837 |
float: left;
|
3838 |
-
width:
|
3839 |
overflow: hidden;
|
3840 |
}
|
3841 |
.products-list .product-shop .product-secondary {
|
3842 |
float: right;
|
3843 |
-
width:
|
3844 |
text-align: right;
|
3845 |
clear: right;
|
3846 |
}
|
@@ -3965,6 +4021,9 @@ p.product-name a:hover {
|
|
3965 |
top: 50%;
|
3966 |
margin-top: -3px;
|
3967 |
}
|
|
|
|
|
|
|
3968 |
|
3969 |
.block-layered-nav .block-content .toggle-tabs {
|
3970 |
display: none;
|
@@ -4009,6 +4068,9 @@ p.product-name a:hover {
|
|
4009 |
top: 50%;
|
4010 |
margin-top: -3px;
|
4011 |
}
|
|
|
|
|
|
|
4012 |
.block-layered-nav .block-content > dl > dd {
|
4013 |
padding: 10px;
|
4014 |
margin: 0;
|
@@ -4073,80 +4135,6 @@ p.product-name a:hover {
|
|
4073 |
margin-bottom: 7px;
|
4074 |
}
|
4075 |
|
4076 |
-
/* ============================================ *
|
4077 |
-
* Catalog Event
|
4078 |
-
* ============================================ */
|
4079 |
-
.event-container {
|
4080 |
-
clear: both;
|
4081 |
-
border: 1px solid #3399cc;
|
4082 |
-
position: relative;
|
4083 |
-
z-index: 2;
|
4084 |
-
border-width: 1px 1px;
|
4085 |
-
margin-top: 7px;
|
4086 |
-
height: 59px;
|
4087 |
-
}
|
4088 |
-
.event-container:after {
|
4089 |
-
content: '';
|
4090 |
-
position: absolute;
|
4091 |
-
width: 0;
|
4092 |
-
height: 0;
|
4093 |
-
display: block;
|
4094 |
-
border-right: 10px solid transparent;
|
4095 |
-
border-left: 10px solid transparent;
|
4096 |
-
border-top: 10px solid #3399cc;
|
4097 |
-
border-bottom: none;
|
4098 |
-
position: absolute;
|
4099 |
-
bottom: -10px;
|
4100 |
-
left: 50%;
|
4101 |
-
margin-left: -10px;
|
4102 |
-
}
|
4103 |
-
.event-container .event {
|
4104 |
-
padding-bottom: 18px;
|
4105 |
-
margin-bottom: -18px;
|
4106 |
-
padding-top: 5px;
|
4107 |
-
height: 52px;
|
4108 |
-
line-height: 50px;
|
4109 |
-
text-align: center;
|
4110 |
-
width: auto;
|
4111 |
-
position: relative;
|
4112 |
-
z-index: 2;
|
4113 |
-
border-bottom: 0 !important;
|
4114 |
-
}
|
4115 |
-
.event-container .event .event-ticker {
|
4116 |
-
display: inline;
|
4117 |
-
font-size: 28px;
|
4118 |
-
height: auto;
|
4119 |
-
}
|
4120 |
-
.event-container .event .event-ticker span {
|
4121 |
-
line-height: 50px;
|
4122 |
-
height: 50px;
|
4123 |
-
padding: 0;
|
4124 |
-
}
|
4125 |
-
.event-container .container {
|
4126 |
-
display: inline;
|
4127 |
-
margin: 0;
|
4128 |
-
padding: 0;
|
4129 |
-
background: none;
|
4130 |
-
}
|
4131 |
-
.event-container .status {
|
4132 |
-
display: inline;
|
4133 |
-
margin: 0 10px 0 0;
|
4134 |
-
background: none;
|
4135 |
-
font-size: 22px;
|
4136 |
-
}
|
4137 |
-
.event-container .event-dates {
|
4138 |
-
display: inline;
|
4139 |
-
font-size: 22px;
|
4140 |
-
height: auto;
|
4141 |
-
}
|
4142 |
-
.event-container .event-dates div,
|
4143 |
-
.event-container .event-dates p {
|
4144 |
-
display: inline;
|
4145 |
-
}
|
4146 |
-
.event-container .event-dates .time-part {
|
4147 |
-
font-size: 14px;
|
4148 |
-
}
|
4149 |
-
|
4150 |
/* ============================================ *
|
4151 |
* Catalog - Product
|
4152 |
* ============================================ */
|
@@ -4190,6 +4178,7 @@ p.product-name a:hover {
|
|
4190 |
float: left;
|
4191 |
padding-right: 15px;
|
4192 |
clear: left;
|
|
|
4193 |
}
|
4194 |
.product-view .product-shop .price-info {
|
4195 |
float: right;
|
@@ -4198,7 +4187,7 @@ p.product-name a:hover {
|
|
4198 |
}
|
4199 |
.product-view .product-shop .extra-info,
|
4200 |
.product-view .product-shop .price-info {
|
4201 |
-
max-width:
|
4202 |
margin-bottom: 10px;
|
4203 |
}
|
4204 |
.product-view .product-shop .short-description {
|
@@ -4230,10 +4219,17 @@ p.product-name a:hover {
|
|
4230 |
font-size: 16px;
|
4231 |
text-transform: uppercase;
|
4232 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
4233 |
.product-view .product-shop .price-box .price-excluding-tax,
|
4234 |
.product-view .product-shop .price-box .price-including-tax {
|
4235 |
display: block;
|
4236 |
line-height: 1.2;
|
|
|
4237 |
}
|
4238 |
.product-view .product-shop .price-box .price-excluding-tax .label,
|
4239 |
.product-view .product-shop .price-box .price-including-tax .label {
|
@@ -4244,6 +4240,9 @@ p.product-name a:hover {
|
|
4244 |
.product-view .product-shop .price-box .price-including-tax .price {
|
4245 |
font-size: 20px;
|
4246 |
}
|
|
|
|
|
|
|
4247 |
.product-view .old-price .price-label {
|
4248 |
display: none;
|
4249 |
}
|
@@ -4382,6 +4381,7 @@ p.product-name a:hover {
|
|
4382 |
.product-view .add-to-cart-buttons {
|
4383 |
float: left;
|
4384 |
margin-right: 10px;
|
|
|
4385 |
}
|
4386 |
.product-view .add-to-cart-buttons .paypal-logo {
|
4387 |
clear: left;
|
@@ -4390,11 +4390,11 @@ p.product-name a:hover {
|
|
4390 |
.product-view .add-to-cart-buttons .paypal-logo .paypal-button {
|
4391 |
margin: 0 auto;
|
4392 |
display: block;
|
4393 |
-
width:
|
4394 |
}
|
4395 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button {
|
4396 |
display: block;
|
4397 |
-
width:
|
4398 |
margin: 0 auto;
|
4399 |
}
|
4400 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button a {
|
@@ -4409,13 +4409,18 @@ p.product-name a:hover {
|
|
4409 |
text-align: center;
|
4410 |
}
|
4411 |
.product-view .add-to-cart-buttons .button {
|
4412 |
-
height: 40px;
|
4413 |
line-height: 40px;
|
4414 |
font-size: 16px;
|
4415 |
padding: 0px 30px;
|
4416 |
float: left;
|
4417 |
min-width: 160px;
|
4418 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
4419 |
}
|
4420 |
|
4421 |
/* This is the "or" that separates the "Add to Cart" and "Add to X" links */
|
@@ -4612,6 +4617,13 @@ p.product-name a:hover {
|
|
4612 |
.grouped-items-table td {
|
4613 |
padding: 4px;
|
4614 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4615 |
|
4616 |
/* -------------------------------------------- *
|
4617 |
* Catalog - Product Options
|
@@ -4629,6 +4641,7 @@ p.product-name a:hover {
|
|
4629 |
position: absolute;
|
4630 |
top: 6px;
|
4631 |
right: 15px;
|
|
|
4632 |
}
|
4633 |
|
4634 |
.product-options dt {
|
@@ -4758,6 +4771,12 @@ p.product-name a:hover {
|
|
4758 |
border: 0;
|
4759 |
background: 0;
|
4760 |
color: #636363;
|
|
|
|
|
|
|
|
|
|
|
|
|
4761 |
}
|
4762 |
|
4763 |
.product-options-bottom .tier-prices li {
|
@@ -4836,6 +4855,9 @@ p.product-name a:hover {
|
|
4836 |
.block-related .product-details .price-box p:first-child,
|
4837 |
.block-related .product-details .price-box span:first-child {
|
4838 |
margin-left: 0;
|
|
|
|
|
|
|
4839 |
}
|
4840 |
.block-related .product-details .price-box:after {
|
4841 |
content: '';
|
@@ -4985,6 +5007,9 @@ p.product-name a:hover {
|
|
4985 |
margin: 0;
|
4986 |
padding: 0;
|
4987 |
}
|
|
|
|
|
|
|
4988 |
.map-popup .map-popup-text {
|
4989 |
padding: 10px 0;
|
4990 |
margin: 0 10px;
|
@@ -4995,6 +5020,14 @@ p.product-name a:hover {
|
|
4995 |
border-top: 1px solid #ededed;
|
4996 |
}
|
4997 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4998 |
/* ============================================ *
|
4999 |
* Catalog - Compare
|
5000 |
* ============================================ */
|
@@ -5024,6 +5057,10 @@ p.product-name a:hover {
|
|
5024 |
width: 60%;
|
5025 |
}
|
5026 |
|
|
|
|
|
|
|
|
|
5027 |
.cart-forms,
|
5028 |
.cart-totals-wrapper,
|
5029 |
.crosssell {
|
@@ -5050,6 +5087,10 @@ p.product-name a:hover {
|
|
5050 |
margin-bottom: 20px;
|
5051 |
}
|
5052 |
|
|
|
|
|
|
|
|
|
5053 |
.display-both-prices .cart-table {
|
5054 |
float: none;
|
5055 |
width: 100%;
|
@@ -5073,6 +5114,12 @@ p.product-name a:hover {
|
|
5073 |
float: right;
|
5074 |
}
|
5075 |
|
|
|
|
|
|
|
|
|
|
|
|
|
5076 |
/* ============================================ *
|
5077 |
* Checkout - Cart
|
5078 |
* ============================================ */
|
@@ -5127,15 +5174,21 @@ p.product-name a:hover {
|
|
5127 |
.checkout-types.top .bml_button img {
|
5128 |
display: block;
|
5129 |
}
|
|
|
|
|
|
|
5130 |
.checkout-types.bottom .paypal-logo a, .checkout-types.minicart .paypal-logo a {
|
5131 |
display: block;
|
5132 |
}
|
5133 |
.checkout-types.bottom .paypal-or, .checkout-types.minicart .paypal-or {
|
5134 |
margin: 0px;
|
5135 |
-
width: 150px;
|
5136 |
display: block;
|
5137 |
text-align: center;
|
5138 |
-
|
|
|
|
|
|
|
|
|
5139 |
}
|
5140 |
|
5141 |
.cart-totals .checkout-types .btn-checkout {
|
@@ -5270,7 +5323,7 @@ p.product-name a:hover {
|
|
5270 |
border-radius: 0;
|
5271 |
margin-bottom: 10px;
|
5272 |
text-align: center;
|
5273 |
-
width:
|
5274 |
}
|
5275 |
.cart-table .product-cart-actions .button {
|
5276 |
margin-bottom: 5px;
|
@@ -5294,7 +5347,7 @@ p.product-name a:hover {
|
|
5294 |
border: 1px solid silver;
|
5295 |
}
|
5296 |
.shipping select.validation-failed {
|
5297 |
-
border-color:
|
5298 |
}
|
5299 |
.shipping .shipping-desc {
|
5300 |
display: none;
|
@@ -5338,6 +5391,7 @@ p.product-name a:hover {
|
|
5338 |
font-size: 13px;
|
5339 |
font-weight: 400;
|
5340 |
text-transform: uppercase;
|
|
|
5341 |
}
|
5342 |
.shipping .sp-methods {
|
5343 |
padding: 10px 0 0;
|
@@ -5363,7 +5417,7 @@ p.product-name a:hover {
|
|
5363 |
}
|
5364 |
.shipping #co-shipping-method-form .sp-methods dd label {
|
5365 |
border: 1px solid #cccccc;
|
5366 |
-
background-color: #
|
5367 |
min-width: 220px;
|
5368 |
}
|
5369 |
.shipping #co-shipping-method-form .sp-methods dd label:hover {
|
@@ -5483,9 +5537,9 @@ p.product-name a:hover {
|
|
5483 |
.crosssell h2 {
|
5484 |
color: #3399cc;
|
5485 |
}
|
5486 |
-
.crosssell
|
5487 |
-
|
5488 |
-
|
5489 |
}
|
5490 |
|
5491 |
/* Change the layout to 2 columns at a breakpoint that is higher than a 3 columns layout would normally break */
|
@@ -5615,6 +5669,11 @@ p.product-name a:hover {
|
|
5615 |
clear: both;
|
5616 |
}
|
5617 |
|
|
|
|
|
|
|
|
|
|
|
5618 |
.opc h3 {
|
5619 |
font-weight: 500;
|
5620 |
}
|
@@ -5746,6 +5805,9 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
5746 |
.sp-methods input.cvv {
|
5747 |
width: 4em !important;
|
5748 |
}
|
|
|
|
|
|
|
5749 |
.sp-methods .checkmo-list li {
|
5750 |
margin: 0 0 5px;
|
5751 |
content: '';
|
@@ -5841,6 +5903,26 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
5841 |
display: none;
|
5842 |
}
|
5843 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5844 |
/* show/hide "change" link for progress step depend on complete status
|
5845 |
* should be placed in .css file */
|
5846 |
.opc-block-progress dt.complete a,
|
@@ -5906,6 +5988,7 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
5906 |
clear: both;
|
5907 |
width: 100%;
|
5908 |
margin-top: 15px;
|
|
|
5909 |
}
|
5910 |
.gift-message-form .inner-box > div.extra-options-container p {
|
5911 |
margin-bottom: 15px;
|
@@ -5916,6 +5999,41 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
5916 |
.gift-message-form .gift-wrapping-form img {
|
5917 |
float: left;
|
5918 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5919 |
|
5920 |
/* ============================================ *
|
5921 |
* Checkout - Success
|
@@ -5932,99 +6050,41 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
5932 |
float: none;
|
5933 |
}
|
5934 |
|
5935 |
-
|
5936 |
-
*
|
5937 |
-
*
|
5938 |
-
*/
|
5939 |
/* Clears */
|
5940 |
.clearfix:after,
|
5941 |
.configurable-swatch-list:after,
|
5942 |
.product-view .product-options .swatch-attr:after {
|
5943 |
-
|
5944 |
-
|
5945 |
clear: both;
|
5946 |
-
font-size: 0;
|
5947 |
-
line-height: 0;
|
5948 |
-
height: 0;
|
5949 |
-
overflow: hidden;
|
5950 |
-
}
|
5951 |
-
|
5952 |
-
.product-view .product-options .swatch-attr {
|
5953 |
-
float: none;
|
5954 |
-
display: block;
|
5955 |
-
clear: both;
|
5956 |
-
border: 0;
|
5957 |
-
}
|
5958 |
-
|
5959 |
-
.product-view .product-options dt.swatch-attr label {
|
5960 |
-
display: block;
|
5961 |
-
line-height: 1.3;
|
5962 |
}
|
5963 |
|
5964 |
/* General Swatch Styling */
|
5965 |
-
.configurable-swatch-list {
|
5966 |
-
margin-left: -3px;
|
5967 |
-
zoom: 1;
|
5968 |
-
clear: both;
|
5969 |
-
}
|
5970 |
-
|
5971 |
-
.configurable-swatch-list li {
|
5972 |
-
float: left;
|
5973 |
-
zoom: 1;
|
5974 |
-
margin: 0 0 0 3px;
|
5975 |
-
}
|
5976 |
-
|
5977 |
-
#narrow-by-list dd .configurable-swatch-list li {
|
5978 |
-
margin: 0 0 0 3px;
|
5979 |
-
width: 47%;
|
5980 |
-
}
|
5981 |
-
|
5982 |
-
.swatch-link img {
|
5983 |
-
border-radius: 3px;
|
5984 |
-
}
|
5985 |
-
|
5986 |
.swatch-link,
|
5987 |
.swatch-label {
|
5988 |
display: block;
|
5989 |
border-radius: 3px;
|
5990 |
font-size: 14px;
|
5991 |
text-align: center;
|
5992 |
-
color: #
|
5993 |
text-decoration: none;
|
5994 |
box-sizing: content-box;
|
5995 |
}
|
5996 |
|
5997 |
.swatch-link {
|
5998 |
-
border: 1px solid #
|
5999 |
margin: 0 0 3px;
|
6000 |
}
|
6001 |
-
|
6002 |
-
|
6003 |
-
float: left;
|
6004 |
-
margin-right: 2px;
|
6005 |
-
padding: 0;
|
6006 |
-
}
|
6007 |
-
|
6008 |
-
.currently .swatch-link {
|
6009 |
-
display: inline-block;
|
6010 |
-
margin: 0 0 0 10px;
|
6011 |
-
}
|
6012 |
-
|
6013 |
-
.swatch-label {
|
6014 |
-
border: 1px solid #fff;
|
6015 |
-
margin: 0;
|
6016 |
-
white-space: nowrap;
|
6017 |
-
background: #efefef;
|
6018 |
}
|
6019 |
-
|
6020 |
.swatch-link:hover {
|
6021 |
cursor: pointer;
|
|
|
6022 |
}
|
6023 |
-
|
6024 |
-
.currently .swatch-link:hover {
|
6025 |
-
cursor: default;
|
6026 |
-
}
|
6027 |
-
|
6028 |
.swatch-link .x {
|
6029 |
display: none;
|
6030 |
text-indent: -999em;
|
@@ -6036,63 +6096,135 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
6036 |
background: url(../images/bg_x.png) center no-repeat transparent;
|
6037 |
z-index: 10;
|
6038 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6039 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6040 |
.configurable-swatch-list .not-available .x {
|
6041 |
display: block;
|
6042 |
}
|
6043 |
-
|
6044 |
.configurable-swatch-list .not-available .swatch-link {
|
6045 |
-
border-color: #
|
6046 |
position: relative;
|
6047 |
}
|
6048 |
-
|
|
|
|
|
|
|
6049 |
.configurable-swatch-list .not-available .swatch-label {
|
6050 |
color: #aaa;
|
6051 |
background: #fff;
|
6052 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
6053 |
|
6054 |
-
|
6055 |
-
|
6056 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6057 |
}
|
6058 |
|
6059 |
-
.swatch-
|
|
|
|
|
|
|
|
|
6060 |
position: absolute;
|
6061 |
-
|
6062 |
-
|
6063 |
}
|
6064 |
-
|
6065 |
-
|
6066 |
-
|
6067 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6068 |
}
|
6069 |
|
6070 |
/* Other Swatch States */
|
6071 |
.configurable-swatch-list .hover .swatch-link,
|
6072 |
.configurable-swatch-list .selected .swatch-link,
|
6073 |
.swatch-link:hover {
|
6074 |
-
border-color: #
|
6075 |
-
}
|
6076 |
-
|
6077 |
-
.currently .swatch-link:hover {
|
6078 |
-
border-color: #bbbbbb;
|
6079 |
-
}
|
6080 |
-
|
6081 |
-
.configurable-swatch-list .wide-swatch .swatch-label {
|
6082 |
-
padding: 0 6px;
|
6083 |
}
|
6084 |
|
6085 |
.configurable-swatch-box {
|
6086 |
background: none !important;
|
6087 |
}
|
6088 |
-
|
6089 |
.configurable-swatch-box select.swatch-select {
|
6090 |
display: none;
|
6091 |
}
|
6092 |
-
|
6093 |
.configurable-swatch-box .validation-advice {
|
6094 |
margin: 0 0 5px;
|
6095 |
-
background: #
|
6096 |
padding: 2px 5px !important;
|
6097 |
font-weight: bold;
|
6098 |
color: #fff !important;
|
@@ -6103,33 +6235,39 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
6103 |
|
6104 |
/* CUSTOM */
|
6105 |
.availability.out-of-stock span {
|
6106 |
-
color: #
|
6107 |
}
|
6108 |
|
6109 |
-
.product-view .
|
6110 |
-
|
6111 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6112 |
}
|
6113 |
-
|
6114 |
.product-view .product-options dd .input-box {
|
6115 |
width: auto;
|
6116 |
height: auto;
|
6117 |
}
|
6118 |
-
|
6119 |
-
.product-options .select-label {
|
6120 |
display: none;
|
6121 |
}
|
6122 |
-
|
6123 |
-
|
6124 |
-
|
6125 |
-
font-size: 12px;
|
6126 |
-
}
|
6127 |
-
|
6128 |
-
.product-options dt.swatch-attr .select-label {
|
6129 |
-
display: inline;
|
6130 |
-
font-weight: normal;
|
6131 |
-
color: #00acb1;
|
6132 |
-
padding-left: 5px;
|
6133 |
}
|
6134 |
|
6135 |
/* ============================================ *
|
@@ -6285,6 +6423,18 @@ body.customer-account .data-table td a {
|
|
6285 |
font-style: normal;
|
6286 |
font-size: 13px;
|
6287 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6288 |
body.customer-account .sidebar .block ol#compare-items li {
|
6289 |
margin: 10px 0;
|
6290 |
}
|
@@ -6380,10 +6530,6 @@ body.customer-account .sidebar .block-reorder ol#cart-sidebar-reorder p.product-
|
|
6380 |
}
|
6381 |
.dashboard .col2-set .col-1 .box-title a,
|
6382 |
.dashboard .col2-set .col-2 .box-title a {
|
6383 |
-
position: absolute;
|
6384 |
-
top: -10px;
|
6385 |
-
right: -10px;
|
6386 |
-
padding: 10px;
|
6387 |
line-height: 19.6px;
|
6388 |
}
|
6389 |
.dashboard .box-reviews.box-account {
|
@@ -6566,6 +6712,10 @@ ol#cart-sidebar-reorder p.product-name {
|
|
6566 |
padding-bottom: 0;
|
6567 |
}
|
6568 |
|
|
|
|
|
|
|
|
|
6569 |
/* ============================================ *
|
6570 |
* Newsletter Subscriptions
|
6571 |
* ============================================ */
|
@@ -6608,8 +6758,42 @@ body.newsletter-manage-index .my-account .form-list {
|
|
6608 |
margin-bottom: 10px;
|
6609 |
}
|
6610 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6611 |
.bml-ad {
|
6612 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6613 |
}
|
6614 |
|
6615 |
.bml-ad.large {
|
@@ -6641,44 +6825,29 @@ div.paypal-logo span > img {
|
|
6641 |
}
|
6642 |
|
6643 |
.bml-checkout-type {
|
6644 |
-
|
6645 |
}
|
6646 |
|
6647 |
-
|
6648 |
-
|
6649 |
-
height:
|
6650 |
}
|
6651 |
-
.
|
6652 |
-
|
6653 |
-
|
6654 |
-
clear: both;
|
6655 |
}
|
6656 |
-
.
|
6657 |
-
|
6658 |
}
|
6659 |
-
.
|
6660 |
-
|
6661 |
-
margin-bottom: 10px;
|
6662 |
-
border-bottom: solid 1px #ececec;
|
6663 |
}
|
6664 |
-
.
|
6665 |
-
|
6666 |
-
display: table;
|
6667 |
-
clear: both;
|
6668 |
}
|
6669 |
-
.
|
6670 |
-
|
6671 |
-
|
6672 |
-
.gift-message-form .gift-item .product-img-box .product-image {
|
6673 |
-
width: 75px;
|
6674 |
-
margin-left: auto;
|
6675 |
-
margin-right: auto;
|
6676 |
-
}
|
6677 |
-
.gift-message-form .gift-item .product-img-box .product-name {
|
6678 |
-
display: block;
|
6679 |
-
}
|
6680 |
-
.gift-message-form .gift-item .fieldset {
|
6681 |
-
margin-left: 200px;
|
6682 |
}
|
6683 |
|
6684 |
/* ============================================ *
|
@@ -6806,9 +6975,12 @@ div.paypal-logo span > img {
|
|
6806 |
width: 100%;
|
6807 |
}
|
6808 |
#customer-reviews dl dd .ratings-table tr {
|
6809 |
-
float: left;
|
6810 |
margin-right: 15px;
|
6811 |
}
|
|
|
|
|
|
|
|
|
6812 |
#customer-reviews dl dd table {
|
6813 |
margin: 15px 0;
|
6814 |
}
|
@@ -6891,17 +7063,17 @@ div.paypal-logo span > img {
|
|
6891 |
* Review View Page
|
6892 |
* ============================================ */
|
6893 |
.review-product-view .product-review .product-details h2 {
|
6894 |
-
|
6895 |
}
|
6896 |
.review-product-view .product-review .product-img-box {
|
6897 |
-
|
6898 |
-
|
6899 |
}
|
6900 |
.review-product-view .product-review .product-img-box > a {
|
6901 |
-
|
6902 |
}
|
6903 |
.review-product-view .product-review .product-img-box .product-image {
|
6904 |
-
|
6905 |
}
|
6906 |
|
6907 |
/* ============================================ *
|
@@ -7135,7 +7307,6 @@ div.paypal-logo span > img {
|
|
7135 |
padding-top: 5px;
|
7136 |
}
|
7137 |
#wishlist-table .item-manage .button {
|
7138 |
-
color: #FFFFFF;
|
7139 |
font-size: 11px;
|
7140 |
padding: 3px 5px;
|
7141 |
}
|
@@ -7176,6 +7347,10 @@ div.paypal-logo span > img {
|
|
7176 |
#wishlist-table td.customer-wishlist-item-remove {
|
7177 |
width: 20px;
|
7178 |
}
|
|
|
|
|
|
|
|
|
7179 |
#wishlist-table .price-box {
|
7180 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
7181 |
font-size: 12px;
|
@@ -7198,6 +7373,9 @@ div.paypal-logo span > img {
|
|
7198 |
background: none;
|
7199 |
color: #3399cc;
|
7200 |
}
|
|
|
|
|
|
|
7201 |
|
7202 |
#wishlist-table.clean-table td {
|
7203 |
padding-left: 10px;
|
@@ -7234,10 +7412,17 @@ div.paypal-logo span > img {
|
|
7234 |
/* ============================================ *
|
7235 |
* Checkout - Mini cart
|
7236 |
* ============================================ */
|
|
|
|
|
|
|
7237 |
.header-minicart .minicart-message {
|
7238 |
display: block;
|
7239 |
padding: 10px;
|
7240 |
}
|
|
|
|
|
|
|
|
|
7241 |
.header-minicart .minicart-wrapper {
|
7242 |
clear: both;
|
7243 |
position: relative;
|
@@ -7335,7 +7520,9 @@ div.paypal-logo span > img {
|
|
7335 |
padding-left: 4px;
|
7336 |
padding-right: 4px;
|
7337 |
margin-right: 2px;
|
7338 |
-
width:
|
|
|
|
|
7339 |
}
|
7340 |
.header-minicart .info-wrapper .quantity-button {
|
7341 |
opacity: 0;
|
@@ -7371,6 +7558,7 @@ div.paypal-logo span > img {
|
|
7371 |
margin-top: 0px;
|
7372 |
overflow: hidden;
|
7373 |
position: relative;
|
|
|
7374 |
}
|
7375 |
.header-minicart .minicart-actions .checkout-button {
|
7376 |
min-width: 145px;
|
@@ -7379,11 +7567,7 @@ div.paypal-logo span > img {
|
|
7379 |
height: 33px;
|
7380 |
line-height: 39px;
|
7381 |
text-transform: uppercase;
|
7382 |
-
display: block;
|
7383 |
font-size: 13px;
|
7384 |
-
left: 10px;
|
7385 |
-
bottom: 17px;
|
7386 |
-
position: absolute;
|
7387 |
}
|
7388 |
.header-minicart .minicart-actions .paypal-logo .paypal-or {
|
7389 |
line-height: 1.6;
|
@@ -7408,6 +7592,11 @@ div.paypal-logo span > img {
|
|
7408 |
display: block;
|
7409 |
}
|
7410 |
|
|
|
|
|
|
|
|
|
|
|
7411 |
/* ============================================ *
|
7412 |
* Search - Auto Suggest
|
7413 |
* ============================================ */
|
@@ -7582,10 +7771,6 @@ div.paypal-logo span > img {
|
|
7582 |
display: table;
|
7583 |
clear: both;
|
7584 |
}
|
7585 |
-
.bml-ad.small img {
|
7586 |
-
margin: auto;
|
7587 |
-
max-width: 100%;
|
7588 |
-
}
|
7589 |
|
7590 |
.cms-no-route .std img {
|
7591 |
width: 100%;
|
@@ -7653,6 +7838,9 @@ div.paypal-logo span > img {
|
|
7653 |
top: 50%;
|
7654 |
margin-top: -3px;
|
7655 |
}
|
|
|
|
|
|
|
7656 |
#accordion > dl > dd {
|
7657 |
padding: 10px;
|
7658 |
margin: 0;
|
@@ -7710,9 +7898,6 @@ div.paypal-logo span > img {
|
|
7710 |
/* ============================================ *
|
7711 |
* Pricing Conditions
|
7712 |
* ============================================ */
|
7713 |
-
.price-box.map-info .old-price {
|
7714 |
-
display: none;
|
7715 |
-
}
|
7716 |
.price-box .minimal-price-link .label {
|
7717 |
color: #cf5050;
|
7718 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
@@ -7720,6 +7905,22 @@ div.paypal-logo span > img {
|
|
7720 |
text-transform: uppercase;
|
7721 |
}
|
7722 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7723 |
/* ============================================ *
|
7724 |
* Cookies
|
7725 |
* ============================================ */
|
@@ -7747,6 +7948,453 @@ div.paypal-logo span > img {
|
|
7747 |
padding-bottom: 14.5px;
|
7748 |
}
|
7749 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7750 |
/* ============================================ *
|
7751 |
* Calendar styles (restore styles from /js/calendar)
|
7752 |
* ============================================ */
|
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@magento.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.magento.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
621 |
|
622 |
.availability.available-soon,
|
623 |
.availability.out-of-stock {
|
624 |
+
color: #df280a;
|
625 |
}
|
626 |
|
627 |
.availability-only {
|
628 |
+
color: #df280a;
|
629 |
margin-bottom: 10px;
|
630 |
}
|
631 |
|
798 |
outline: none;
|
799 |
}
|
800 |
|
801 |
+
.sidebar .actions button.button {
|
802 |
+
white-space: normal;
|
803 |
+
}
|
804 |
+
|
805 |
/* Primary Buttons */
|
806 |
.button,
|
807 |
.cart-table .product-cart-actions .button,
|
906 |
}
|
907 |
|
908 |
.paypal-or {
|
909 |
+
line-height: 34px;
|
910 |
margin: 0px 10px 5px;
|
911 |
}
|
912 |
|
943 |
margin: 0;
|
944 |
line-height: 33px;
|
945 |
}
|
946 |
+
.buttons-set a:not(.button) {
|
947 |
line-height: 20px;
|
948 |
display: inline-block;
|
949 |
padding: 5px;
|
1318 |
}
|
1319 |
|
1320 |
.error {
|
1321 |
+
color: #df280a;
|
1322 |
font-weight: bold;
|
1323 |
}
|
1324 |
|
1339 |
margin-bottom: 5px;
|
1340 |
padding: 7px 10px 7px 20px;
|
1341 |
background: #f4f4f4;
|
1342 |
+
font-size: 15px;
|
1343 |
}
|
1344 |
|
1345 |
.messages li li:before {
|
1349 |
}
|
1350 |
|
1351 |
.messages .error-msg li {
|
1352 |
+
color: black;
|
1353 |
+
border-left: 5px solid #df280a;
|
1354 |
+
background-color: #faebe7;
|
1355 |
}
|
1356 |
|
1357 |
.messages .error-msg li:before {
|
1362 |
display: block;
|
1363 |
border-top: 6px solid transparent;
|
1364 |
border-bottom: 6px solid transparent;
|
1365 |
+
border-left: 6px solid #df280a;
|
1366 |
border-right: none;
|
1367 |
}
|
1368 |
|
1369 |
.messages .notice-msg li {
|
1370 |
+
color: black;
|
1371 |
border-left: 5px solid #e26703;
|
1372 |
+
background-color: #f9ebe6;
|
1373 |
}
|
1374 |
|
1375 |
.messages .notice-msg li:before {
|
1385 |
}
|
1386 |
|
1387 |
.messages .success-msg li {
|
1388 |
+
color: black;
|
1389 |
border-left: 5px solid #11b400;
|
1390 |
+
background-color: #eff5ea;
|
1391 |
}
|
1392 |
|
1393 |
.messages .success-msg li:before {
|
1529 |
|
1530 |
.price-box .price,
|
1531 |
.price {
|
|
|
1532 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
1533 |
}
|
1534 |
|
1585 |
display: block;
|
1586 |
}
|
1587 |
|
1588 |
+
span.weee {
|
1589 |
+
display: block;
|
1590 |
+
}
|
1591 |
+
|
1592 |
/* -------------------------------------------- *
|
1593 |
* Tier Prices
|
1594 |
*/
|
2123 |
margin-bottom: 5px;
|
2124 |
}
|
2125 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2126 |
/* ============================================ *
|
2127 |
* Magento Helpers
|
2128 |
* ============================================ */
|
2216 |
clear: both;
|
2217 |
}
|
2218 |
|
2219 |
+
li.centinel-logos div.input-box img {
|
2220 |
+
display: inline;
|
2221 |
+
vertical-align: middle;
|
2222 |
+
}
|
2223 |
+
|
2224 |
/* For adjacent select inputs. */
|
2225 |
/* Example: credit card expiration month and year. */
|
2226 |
.input-box .v-fix {
|
2227 |
float: left;
|
2228 |
margin-right: 5px;
|
2229 |
+
max-width: 100%;
|
2230 |
}
|
2231 |
|
2232 |
/* -------------------------------------------- *
|
2247 |
label.required:after,
|
2248 |
span.required:after {
|
2249 |
content: ' *';
|
2250 |
+
color: #df280a;
|
2251 |
font-weight: normal;
|
2252 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
2253 |
font-size: 12px;
|
2291 |
-webkit-box-sizing: border-box;
|
2292 |
-moz-box-sizing: border-box;
|
2293 |
box-sizing: border-box;
|
2294 |
+
width: 100%;
|
2295 |
+
max-width: 450px;
|
2296 |
padding: 5px;
|
2297 |
}
|
2298 |
|
2317 |
}
|
2318 |
|
2319 |
.input-text.validation-failed {
|
2320 |
+
border-color: #df280a;
|
2321 |
}
|
2322 |
|
2323 |
.input-text.validation-failed:focus {
|
2324 |
+
outline-color: #ef9384;
|
2325 |
}
|
2326 |
|
2327 |
input[type=email],
|
2408 |
p.required,
|
2409 |
.validation-advice {
|
2410 |
margin: 5px 0 0;
|
2411 |
+
color: #df280a;
|
2412 |
font-size: 13px;
|
2413 |
}
|
2414 |
|
2490 |
#checkout-shipping-method-load .sp-methods dd label:hover,
|
2491 |
#co-shipping-method-form .sp-methods dd label:hover,
|
2492 |
.product-options ul.options-list label:hover {
|
2493 |
+
background-color: #ececec;
|
2494 |
}
|
2495 |
.form-list .control .no-display + label,
|
2496 |
.sp-methods dt .no-display + label,
|
2595 |
content: ':';
|
2596 |
}
|
2597 |
|
2598 |
+
/* ============================================ *
|
2599 |
+
* Generic Info Table
|
2600 |
+
* ============================================ */
|
2601 |
+
.info-box {
|
2602 |
+
border: 1px solid silver;
|
2603 |
+
padding: 12px 15px;
|
2604 |
+
margin: 0 0 15px;
|
2605 |
+
}
|
2606 |
+
.info-box h2 {
|
2607 |
+
font-weight: bold;
|
2608 |
+
font-size: 13px;
|
2609 |
+
}
|
2610 |
+
|
2611 |
+
.info-table th,
|
2612 |
+
.info-table td {
|
2613 |
+
vertical-align: top;
|
2614 |
+
}
|
2615 |
+
|
2616 |
+
.info-table th {
|
2617 |
+
font-weight: bold;
|
2618 |
+
padding: 4px 20px 4px 0;
|
2619 |
+
}
|
2620 |
+
|
2621 |
+
.info-table td {
|
2622 |
+
padding: 4px 0;
|
2623 |
+
}
|
2624 |
+
|
2625 |
/* ============================================ *
|
2626 |
* Zebra-Stripe Table
|
2627 |
* ============================================ */
|
2857 |
/* ============================================ *
|
2858 |
* Global Header Navigation
|
2859 |
* ============================================ */
|
2860 |
+
.account-cart-wrapper {
|
2861 |
+
position: absolute;
|
2862 |
+
top: 0px;
|
2863 |
+
right: 0px;
|
2864 |
+
}
|
2865 |
+
|
2866 |
/* ============================================ *
|
2867 |
* Nav - Skip Link
|
2868 |
* ============================================ */
|
2945 |
.nav-primary {
|
2946 |
/* Default styles for 1+ drop-down menus */
|
2947 |
/* Level 2+ */
|
|
|
2948 |
/* Class for js to add briefly to evaluate element positioning. */
|
2949 |
/* Correct menus that will hang off the page (class added by js) */
|
2950 |
/* Level 1+ */
|
2963 |
.nav-primary li:hover > a {
|
2964 |
color: #3399cc;
|
2965 |
}
|
2966 |
+
.nav-primary .menu-active {
|
|
|
2967 |
z-index: 200;
|
2968 |
}
|
2969 |
.nav-primary li.level0 ul {
|
3013 |
top: 50%;
|
3014 |
margin-top: -3px;
|
3015 |
}
|
3016 |
+
|
3017 |
+
.nav-primary li.menu-active > ul {
|
3018 |
+
display: block;
|
3019 |
}
|
3020 |
|
3021 |
/* ============================================ *
|
3114 |
}
|
3115 |
|
3116 |
.skip-account {
|
3117 |
+
float: none;
|
|
|
|
|
3118 |
width: auto;
|
3119 |
+
vertical-align: top;
|
3120 |
+
display: inline-block;
|
3121 |
padding: 0 10px;
|
3122 |
text-transform: uppercase;
|
3123 |
}
|
3154 |
#header-account a {
|
3155 |
position: relative;
|
3156 |
display: block;
|
3157 |
+
padding: 5px 10px;
|
3158 |
+
line-height: 23px;
|
3159 |
text-align: center;
|
3160 |
}
|
3161 |
|
3177 |
}
|
3178 |
|
3179 |
.skip-cart {
|
|
|
|
|
|
|
3180 |
width: auto;
|
3181 |
padding: 0 10px;
|
3182 |
}
|
3237 |
-ms-border-radius: 0px;
|
3238 |
-o-border-radius: 0px;
|
3239 |
border-radius: 0px;
|
|
|
3240 |
position: static;
|
3241 |
background: none;
|
3242 |
margin-left: 0px;
|
3243 |
font-size: 14px;
|
3244 |
+
width: auto;
|
3245 |
}
|
3246 |
.skip-cart .count:before {
|
3247 |
content: '(';
|
3250 |
content: ')';
|
3251 |
}
|
3252 |
|
3253 |
+
.skip-cart .count,
|
3254 |
+
.skip-link.skip-active .count {
|
3255 |
+
color: #3399cc;
|
3256 |
+
}
|
3257 |
+
|
3258 |
.skip-cart .count.empty {
|
3259 |
display: none;
|
3260 |
}
|
3531 |
margin-bottom: 1.5em;
|
3532 |
}
|
3533 |
|
3534 |
+
.products-list .action .button,
|
3535 |
+
.products-grid .actions .button {
|
3536 |
+
white-space: normal;
|
3537 |
+
}
|
3538 |
+
|
3539 |
/* -------------------------------------------- *
|
3540 |
* Product Name
|
3541 |
*/
|
3624 |
display: none;
|
3625 |
}
|
3626 |
|
3627 |
+
.widget-new-products .products-grid .product-image {
|
3628 |
+
width: 75%;
|
3629 |
+
margin-bottom: 15px;
|
3630 |
+
margin-left: 10%;
|
3631 |
+
}
|
3632 |
+
|
3633 |
.products-grid .product-info {
|
3634 |
position: relative;
|
3635 |
padding-bottom: 95px;
|
3891 |
.products-list .product-shop .product-primary,
|
3892 |
.products-list .product-shop .desc {
|
3893 |
float: left;
|
3894 |
+
width: 65%;
|
3895 |
overflow: hidden;
|
3896 |
}
|
3897 |
.products-list .product-shop .product-secondary {
|
3898 |
float: right;
|
3899 |
+
width: 35%;
|
3900 |
text-align: right;
|
3901 |
clear: right;
|
3902 |
}
|
4021 |
top: 50%;
|
4022 |
margin-top: -3px;
|
4023 |
}
|
4024 |
+
.block-layered-nav .block-subtitle--filter:hover {
|
4025 |
+
background-color: #ececec;
|
4026 |
+
}
|
4027 |
|
4028 |
.block-layered-nav .block-content .toggle-tabs {
|
4029 |
display: none;
|
4068 |
top: 50%;
|
4069 |
margin-top: -3px;
|
4070 |
}
|
4071 |
+
.block-layered-nav .block-content > dl > dt:hover {
|
4072 |
+
background-color: #ececec;
|
4073 |
+
}
|
4074 |
.block-layered-nav .block-content > dl > dd {
|
4075 |
padding: 10px;
|
4076 |
margin: 0;
|
4135 |
margin-bottom: 7px;
|
4136 |
}
|
4137 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4138 |
/* ============================================ *
|
4139 |
* Catalog - Product
|
4140 |
* ============================================ */
|
4178 |
float: left;
|
4179 |
padding-right: 15px;
|
4180 |
clear: left;
|
4181 |
+
width: 70%;
|
4182 |
}
|
4183 |
.product-view .product-shop .price-info {
|
4184 |
float: right;
|
4187 |
}
|
4188 |
.product-view .product-shop .extra-info,
|
4189 |
.product-view .product-shop .price-info {
|
4190 |
+
max-width: 70%;
|
4191 |
margin-bottom: 10px;
|
4192 |
}
|
4193 |
.product-view .product-shop .short-description {
|
4219 |
font-size: 16px;
|
4220 |
text-transform: uppercase;
|
4221 |
}
|
4222 |
+
.product-view .product-shop .price-box .special-price span.weee {
|
4223 |
+
color: #636363;
|
4224 |
+
}
|
4225 |
+
.product-view .product-shop .price-box .special-price span.weee span.price {
|
4226 |
+
font-size: 16px;
|
4227 |
+
}
|
4228 |
.product-view .product-shop .price-box .price-excluding-tax,
|
4229 |
.product-view .product-shop .price-box .price-including-tax {
|
4230 |
display: block;
|
4231 |
line-height: 1.2;
|
4232 |
+
color: #636363;
|
4233 |
}
|
4234 |
.product-view .product-shop .price-box .price-excluding-tax .label,
|
4235 |
.product-view .product-shop .price-box .price-including-tax .label {
|
4240 |
.product-view .product-shop .price-box .price-including-tax .price {
|
4241 |
font-size: 20px;
|
4242 |
}
|
4243 |
+
.product-view .price-box.map-info a {
|
4244 |
+
display: inherit;
|
4245 |
+
}
|
4246 |
.product-view .old-price .price-label {
|
4247 |
display: none;
|
4248 |
}
|
4381 |
.product-view .add-to-cart-buttons {
|
4382 |
float: left;
|
4383 |
margin-right: 10px;
|
4384 |
+
max-width: 100%;
|
4385 |
}
|
4386 |
.product-view .add-to-cart-buttons .paypal-logo {
|
4387 |
clear: left;
|
4390 |
.product-view .add-to-cart-buttons .paypal-logo .paypal-button {
|
4391 |
margin: 0 auto;
|
4392 |
display: block;
|
4393 |
+
width: 170px;
|
4394 |
}
|
4395 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button {
|
4396 |
display: block;
|
4397 |
+
width: 174px;
|
4398 |
margin: 0 auto;
|
4399 |
}
|
4400 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button a {
|
4409 |
text-align: center;
|
4410 |
}
|
4411 |
.product-view .add-to-cart-buttons .button {
|
4412 |
+
min-height: 40px;
|
4413 |
line-height: 40px;
|
4414 |
font-size: 16px;
|
4415 |
padding: 0px 30px;
|
4416 |
float: left;
|
4417 |
min-width: 160px;
|
4418 |
width: 100%;
|
4419 |
+
white-space: normal;
|
4420 |
+
}
|
4421 |
+
.product-view .alert-price,
|
4422 |
+
.product-view .alert-stock {
|
4423 |
+
clear: both;
|
4424 |
}
|
4425 |
|
4426 |
/* This is the "or" that separates the "Add to Cart" and "Add to X" links */
|
4617 |
.grouped-items-table td {
|
4618 |
padding: 4px;
|
4619 |
}
|
4620 |
+
.grouped-items-table td:last-child {
|
4621 |
+
width: 30%;
|
4622 |
+
text-align: left;
|
4623 |
+
}
|
4624 |
+
.grouped-items-table .price-box {
|
4625 |
+
text-align: right;
|
4626 |
+
}
|
4627 |
|
4628 |
/* -------------------------------------------- *
|
4629 |
* Catalog - Product Options
|
4641 |
position: absolute;
|
4642 |
top: 6px;
|
4643 |
right: 15px;
|
4644 |
+
text-align: right;
|
4645 |
}
|
4646 |
|
4647 |
.product-options dt {
|
4771 |
border: 0;
|
4772 |
background: 0;
|
4773 |
color: #636363;
|
4774 |
+
float: none;
|
4775 |
+
width: 100%;
|
4776 |
+
text-align: right;
|
4777 |
+
padding-bottom: 5px;
|
4778 |
+
margin-bottom: 10px;
|
4779 |
+
border-bottom: 1px solid #cccccc;
|
4780 |
}
|
4781 |
|
4782 |
.product-options-bottom .tier-prices li {
|
4855 |
.block-related .product-details .price-box p:first-child,
|
4856 |
.block-related .product-details .price-box span:first-child {
|
4857 |
margin-left: 0;
|
4858 |
+
font-size: 16px;
|
4859 |
+
padding-right: 5px;
|
4860 |
+
padding-left: 5px;
|
4861 |
}
|
4862 |
.block-related .product-details .price-box:after {
|
4863 |
content: '';
|
5007 |
margin: 0;
|
5008 |
padding: 0;
|
5009 |
}
|
5010 |
+
.map-popup .map-popup-price .price-box .minimal-price-link {
|
5011 |
+
display: inline-block;
|
5012 |
+
}
|
5013 |
.map-popup .map-popup-text {
|
5014 |
padding: 10px 0;
|
5015 |
margin: 0 10px;
|
5020 |
border-top: 1px solid #ededed;
|
5021 |
}
|
5022 |
|
5023 |
+
/* ============================================ *
|
5024 |
+
* Catalog - MSRP Product Listing
|
5025 |
+
* ============================================ */
|
5026 |
+
.price-box .map-link {
|
5027 |
+
display: block;
|
5028 |
+
text-align: center;
|
5029 |
+
}
|
5030 |
+
|
5031 |
/* ============================================ *
|
5032 |
* Catalog - Compare
|
5033 |
* ============================================ */
|
5057 |
width: 60%;
|
5058 |
}
|
5059 |
|
5060 |
+
.cart .button {
|
5061 |
+
white-space: normal;
|
5062 |
+
}
|
5063 |
+
|
5064 |
.cart-forms,
|
5065 |
.cart-totals-wrapper,
|
5066 |
.crosssell {
|
5087 |
margin-bottom: 20px;
|
5088 |
}
|
5089 |
|
5090 |
+
.checkout-cart-index #postcode {
|
5091 |
+
width: 100%;
|
5092 |
+
}
|
5093 |
+
|
5094 |
.display-both-prices .cart-table {
|
5095 |
float: none;
|
5096 |
width: 100%;
|
5114 |
float: right;
|
5115 |
}
|
5116 |
|
5117 |
+
.display-single-price:after {
|
5118 |
+
content: '';
|
5119 |
+
display: table;
|
5120 |
+
clear: both;
|
5121 |
+
}
|
5122 |
+
|
5123 |
/* ============================================ *
|
5124 |
* Checkout - Cart
|
5125 |
* ============================================ */
|
5174 |
.checkout-types.top .bml_button img {
|
5175 |
display: block;
|
5176 |
}
|
5177 |
+
.checkout-types.top .paypal-logo .paypal-or {
|
5178 |
+
margin-top: 5px;
|
5179 |
+
}
|
5180 |
.checkout-types.bottom .paypal-logo a, .checkout-types.minicart .paypal-logo a {
|
5181 |
display: block;
|
5182 |
}
|
5183 |
.checkout-types.bottom .paypal-or, .checkout-types.minicart .paypal-or {
|
5184 |
margin: 0px;
|
|
|
5185 |
display: block;
|
5186 |
text-align: center;
|
5187 |
+
}
|
5188 |
+
|
5189 |
+
.checkout-types.bottom .paypal-or {
|
5190 |
+
text-align: right;
|
5191 |
+
padding-right: 70px;
|
5192 |
}
|
5193 |
|
5194 |
.cart-totals .checkout-types .btn-checkout {
|
5323 |
border-radius: 0;
|
5324 |
margin-bottom: 10px;
|
5325 |
text-align: center;
|
5326 |
+
width: 3.2em;
|
5327 |
}
|
5328 |
.cart-table .product-cart-actions .button {
|
5329 |
margin-bottom: 5px;
|
5347 |
border: 1px solid silver;
|
5348 |
}
|
5349 |
.shipping select.validation-failed {
|
5350 |
+
border-color: #df280a;
|
5351 |
}
|
5352 |
.shipping .shipping-desc {
|
5353 |
display: none;
|
5391 |
font-size: 13px;
|
5392 |
font-weight: 400;
|
5393 |
text-transform: uppercase;
|
5394 |
+
white-space: nowrap;
|
5395 |
}
|
5396 |
.shipping .sp-methods {
|
5397 |
padding: 10px 0 0;
|
5417 |
}
|
5418 |
.shipping #co-shipping-method-form .sp-methods dd label {
|
5419 |
border: 1px solid #cccccc;
|
5420 |
+
background-color: #ececec;
|
5421 |
min-width: 220px;
|
5422 |
}
|
5423 |
.shipping #co-shipping-method-form .sp-methods dd label:hover {
|
5537 |
.crosssell h2 {
|
5538 |
color: #3399cc;
|
5539 |
}
|
5540 |
+
.crosssell .item a.product-image {
|
5541 |
+
width: auto;
|
5542 |
+
float: left;
|
5543 |
}
|
5544 |
|
5545 |
/* Change the layout to 2 columns at a breakpoint that is higher than a 3 columns layout would normally break */
|
5669 |
clear: both;
|
5670 |
}
|
5671 |
|
5672 |
+
.opc select {
|
5673 |
+
max-width: 365px;
|
5674 |
+
width: 100%;
|
5675 |
+
}
|
5676 |
+
|
5677 |
.opc h3 {
|
5678 |
font-weight: 500;
|
5679 |
}
|
5805 |
.sp-methods input.cvv {
|
5806 |
width: 4em !important;
|
5807 |
}
|
5808 |
+
.sp-methods #advice-validate-cc-exp-ccsave_expiration {
|
5809 |
+
max-width: 130px;
|
5810 |
+
}
|
5811 |
.sp-methods .checkmo-list li {
|
5812 |
margin: 0 0 5px;
|
5813 |
content: '';
|
5903 |
display: none;
|
5904 |
}
|
5905 |
|
5906 |
+
#checkout-review-table-wrapper {
|
5907 |
+
clear: both;
|
5908 |
+
}
|
5909 |
+
|
5910 |
+
#review-buttons-container {
|
5911 |
+
width: 100%;
|
5912 |
+
margin-top: 15px;
|
5913 |
+
margin-bottom: 15px;
|
5914 |
+
}
|
5915 |
+
#review-buttons-container .btn-checkout {
|
5916 |
+
min-width: 220px;
|
5917 |
+
}
|
5918 |
+
#review-buttons-container .please-wait {
|
5919 |
+
float: left;
|
5920 |
+
margin-right: 10px;
|
5921 |
+
}
|
5922 |
+
#review-buttons-container .f-left {
|
5923 |
+
float: right;
|
5924 |
+
}
|
5925 |
+
|
5926 |
/* show/hide "change" link for progress step depend on complete status
|
5927 |
* should be placed in .css file */
|
5928 |
.opc-block-progress dt.complete a,
|
5988 |
clear: both;
|
5989 |
width: 100%;
|
5990 |
margin-top: 15px;
|
5991 |
+
display: block;
|
5992 |
}
|
5993 |
.gift-message-form .inner-box > div.extra-options-container p {
|
5994 |
margin-bottom: 15px;
|
5999 |
.gift-message-form .gift-wrapping-form img {
|
6000 |
float: left;
|
6001 |
}
|
6002 |
+
.gift-message-form .gift-wrapping-form .gift-wrapping-design {
|
6003 |
+
height: 75px;
|
6004 |
+
}
|
6005 |
+
.gift-message-form .gift-wrapping-form .gift-wrapping-design:after {
|
6006 |
+
content: '';
|
6007 |
+
display: table;
|
6008 |
+
clear: both;
|
6009 |
+
}
|
6010 |
+
.gift-message-form .gift-wrapping-form .gift-wrapping-design .image-box {
|
6011 |
+
margin-right: 5px;
|
6012 |
+
}
|
6013 |
+
.gift-message-form .gift-item {
|
6014 |
+
padding-bottom: 10px;
|
6015 |
+
margin-bottom: 10px;
|
6016 |
+
border-bottom: solid 1px #ececec;
|
6017 |
+
}
|
6018 |
+
.gift-message-form .gift-item:after {
|
6019 |
+
content: '';
|
6020 |
+
display: table;
|
6021 |
+
clear: both;
|
6022 |
+
}
|
6023 |
+
.gift-message-form .gift-item .product-img-box {
|
6024 |
+
width: 200px;
|
6025 |
+
}
|
6026 |
+
.gift-message-form .gift-item .product-img-box .product-image {
|
6027 |
+
width: 75px;
|
6028 |
+
margin-left: auto;
|
6029 |
+
margin-right: auto;
|
6030 |
+
}
|
6031 |
+
.gift-message-form .gift-item .product-img-box .product-name {
|
6032 |
+
display: block;
|
6033 |
+
}
|
6034 |
+
.gift-message-form .gift-item .fieldset {
|
6035 |
+
margin-left: 200px;
|
6036 |
+
}
|
6037 |
|
6038 |
/* ============================================ *
|
6039 |
* Checkout - Success
|
6050 |
float: none;
|
6051 |
}
|
6052 |
|
6053 |
+
/* ============================================ *
|
6054 |
+
* Configurable Swatches
|
6055 |
+
* ============================================ */
|
|
|
6056 |
/* Clears */
|
6057 |
.clearfix:after,
|
6058 |
.configurable-swatch-list:after,
|
6059 |
.product-view .product-options .swatch-attr:after {
|
6060 |
+
content: '';
|
6061 |
+
display: table;
|
6062 |
clear: both;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6063 |
}
|
6064 |
|
6065 |
/* General Swatch Styling */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6066 |
.swatch-link,
|
6067 |
.swatch-label {
|
6068 |
display: block;
|
6069 |
border-radius: 3px;
|
6070 |
font-size: 14px;
|
6071 |
text-align: center;
|
6072 |
+
color: #636363;
|
6073 |
text-decoration: none;
|
6074 |
box-sizing: content-box;
|
6075 |
}
|
6076 |
|
6077 |
.swatch-link {
|
6078 |
+
border: 1px solid #cccccc;
|
6079 |
margin: 0 0 3px;
|
6080 |
}
|
6081 |
+
.swatch-link img {
|
6082 |
+
border-radius: 2px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6083 |
}
|
|
|
6084 |
.swatch-link:hover {
|
6085 |
cursor: pointer;
|
6086 |
+
text-decoration: none;
|
6087 |
}
|
|
|
|
|
|
|
|
|
|
|
6088 |
.swatch-link .x {
|
6089 |
display: none;
|
6090 |
text-indent: -999em;
|
6096 |
background: url(../images/bg_x.png) center no-repeat transparent;
|
6097 |
z-index: 10;
|
6098 |
}
|
6099 |
+
.swatch-link.has-image .swatch-label {
|
6100 |
+
position: relative;
|
6101 |
+
}
|
6102 |
+
.swatch-link.has-image img {
|
6103 |
+
position: absolute;
|
6104 |
+
top: 0;
|
6105 |
+
left: 0;
|
6106 |
+
}
|
6107 |
+
|
6108 |
+
.swatch-label {
|
6109 |
+
border: 1px solid #fff;
|
6110 |
+
margin: 0;
|
6111 |
+
white-space: nowrap;
|
6112 |
+
background: #f4f4f4;
|
6113 |
+
}
|
6114 |
|
6115 |
+
.configurable-swatch-list {
|
6116 |
+
margin-left: -3px;
|
6117 |
+
zoom: 1;
|
6118 |
+
clear: both;
|
6119 |
+
-webkit-transform: translateZ(0px);
|
6120 |
+
}
|
6121 |
+
.configurable-swatch-list li {
|
6122 |
+
float: left;
|
6123 |
+
zoom: 1;
|
6124 |
+
margin: 0 0 0 3px;
|
6125 |
+
}
|
6126 |
+
.products-grid .configurable-swatch-list li {
|
6127 |
+
display: inline-block;
|
6128 |
+
float: none;
|
6129 |
+
margin: 0;
|
6130 |
+
vertical-align: top;
|
6131 |
+
}
|
6132 |
.configurable-swatch-list .not-available .x {
|
6133 |
display: block;
|
6134 |
}
|
|
|
6135 |
.configurable-swatch-list .not-available .swatch-link {
|
6136 |
+
border-color: #ededed;
|
6137 |
position: relative;
|
6138 |
}
|
6139 |
+
.configurable-swatch-list .not-available .swatch-link.has-image img {
|
6140 |
+
opacity: 0.4;
|
6141 |
+
filter: alpha(opacity=40);
|
6142 |
+
}
|
6143 |
.configurable-swatch-list .not-available .swatch-label {
|
6144 |
color: #aaa;
|
6145 |
background: #fff;
|
6146 |
}
|
6147 |
+
.configurable-swatch-list .wide-swatch .swatch-label {
|
6148 |
+
padding: 0 6px;
|
6149 |
+
}
|
6150 |
+
.configurable-swatch-list .not-available a:focus {
|
6151 |
+
outline: 0;
|
6152 |
+
}
|
6153 |
|
6154 |
+
#narrow-by-list dd .configurable-swatch-list li {
|
6155 |
+
margin: 0 0 0 3px;
|
6156 |
+
width: 47%;
|
6157 |
+
}
|
6158 |
+
#narrow-by-list dd .swatch-link {
|
6159 |
+
border: none;
|
6160 |
+
line-height: 25px;
|
6161 |
+
margin-right: 2px;
|
6162 |
+
text-align: left;
|
6163 |
+
}
|
6164 |
+
#narrow-by-list dd .swatch-link.has-image {
|
6165 |
+
line-height: inherit;
|
6166 |
+
}
|
6167 |
+
#narrow-by-list dd .swatch-link:hover .swatch-label {
|
6168 |
+
border-color: #3399cc;
|
6169 |
+
}
|
6170 |
+
#narrow-by-list dd .swatch-label {
|
6171 |
+
background: #f4f4f4;
|
6172 |
+
border: 1px solid #cccccc;
|
6173 |
+
border-radius: 3px;
|
6174 |
+
display: block;
|
6175 |
+
float: left;
|
6176 |
+
line-height: 1.5em;
|
6177 |
+
margin: 0 5px 0 0;
|
6178 |
+
padding: 1px 5px;
|
6179 |
+
white-space: nowrap;
|
6180 |
+
}
|
6181 |
+
#narrow-by-list dd .swatch-label img {
|
6182 |
+
border: 1px solid #fff;
|
6183 |
+
border-radius: 3px;
|
6184 |
+
box-sizing: content-box;
|
6185 |
+
}
|
6186 |
+
#narrow-by-list dd .has-image .swatch-label {
|
6187 |
+
padding: 0;
|
6188 |
}
|
6189 |
|
6190 |
+
.currently .swatch-current {
|
6191 |
+
position: relative;
|
6192 |
+
}
|
6193 |
+
.currently .swatch-current .btn-remove {
|
6194 |
+
margin-top: -10px;
|
6195 |
position: absolute;
|
6196 |
+
right: 0;
|
6197 |
+
top: 50%;
|
6198 |
}
|
6199 |
+
.currently .swatch-current span {
|
6200 |
+
display: block;
|
6201 |
+
float: left;
|
6202 |
+
}
|
6203 |
+
.currently .swatch-link {
|
6204 |
+
display: inline-block;
|
6205 |
+
margin: 0 0 0 3px;
|
6206 |
+
}
|
6207 |
+
.currently .swatch-link:hover {
|
6208 |
+
border-color: #cccccc;
|
6209 |
+
cursor: default;
|
6210 |
}
|
6211 |
|
6212 |
/* Other Swatch States */
|
6213 |
.configurable-swatch-list .hover .swatch-link,
|
6214 |
.configurable-swatch-list .selected .swatch-link,
|
6215 |
.swatch-link:hover {
|
6216 |
+
border-color: #3399cc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6217 |
}
|
6218 |
|
6219 |
.configurable-swatch-box {
|
6220 |
background: none !important;
|
6221 |
}
|
|
|
6222 |
.configurable-swatch-box select.swatch-select {
|
6223 |
display: none;
|
6224 |
}
|
|
|
6225 |
.configurable-swatch-box .validation-advice {
|
6226 |
margin: 0 0 5px;
|
6227 |
+
background: #df280a;
|
6228 |
padding: 2px 5px !important;
|
6229 |
font-weight: bold;
|
6230 |
color: #fff !important;
|
6235 |
|
6236 |
/* CUSTOM */
|
6237 |
.availability.out-of-stock span {
|
6238 |
+
color: #a0a0a0;
|
6239 |
}
|
6240 |
|
6241 |
+
.product-view .product-options .swatch-attr {
|
6242 |
+
float: none;
|
6243 |
+
display: block;
|
6244 |
+
clear: both;
|
6245 |
+
border: 0;
|
6246 |
+
}
|
6247 |
+
.product-view .product-options .swatch-attr label,
|
6248 |
+
.product-view .product-options .swatch-attr .select-label {
|
6249 |
+
font-size: 12px;
|
6250 |
+
}
|
6251 |
+
.product-view .product-options .swatch-attr label {
|
6252 |
+
display: block;
|
6253 |
+
line-height: 1.3;
|
6254 |
+
}
|
6255 |
+
.product-view .product-options .swatch-attr .select-label {
|
6256 |
+
display: inline;
|
6257 |
+
font-weight: normal;
|
6258 |
+
color: #3399cc;
|
6259 |
+
padding-left: 5px;
|
6260 |
}
|
|
|
6261 |
.product-view .product-options dd .input-box {
|
6262 |
width: auto;
|
6263 |
height: auto;
|
6264 |
}
|
6265 |
+
.product-view .product-options .select-label {
|
|
|
6266 |
display: none;
|
6267 |
}
|
6268 |
+
.product-view .add-to-cart button.out-of-stock {
|
6269 |
+
background-position: -80px -362px;
|
6270 |
+
cursor: default;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6271 |
}
|
6272 |
|
6273 |
/* ============================================ *
|
6423 |
font-style: normal;
|
6424 |
font-size: 13px;
|
6425 |
}
|
6426 |
+
body.customer-account .data-table span.nobr {
|
6427 |
+
white-space: normal;
|
6428 |
+
}
|
6429 |
+
body.customer-account .data-table span.nobr a {
|
6430 |
+
white-space: nowrap;
|
6431 |
+
}
|
6432 |
+
body.customer-account .data-table td.view a {
|
6433 |
+
display: block;
|
6434 |
+
}
|
6435 |
+
body.customer-account .data-table .separator {
|
6436 |
+
display: none;
|
6437 |
+
}
|
6438 |
body.customer-account .sidebar .block ol#compare-items li {
|
6439 |
margin: 10px 0;
|
6440 |
}
|
6530 |
}
|
6531 |
.dashboard .col2-set .col-1 .box-title a,
|
6532 |
.dashboard .col2-set .col-2 .box-title a {
|
|
|
|
|
|
|
|
|
6533 |
line-height: 19.6px;
|
6534 |
}
|
6535 |
.dashboard .box-reviews.box-account {
|
6712 |
padding-bottom: 0;
|
6713 |
}
|
6714 |
|
6715 |
+
body.customer-account .data-table td.view a {
|
6716 |
+
white-space: normal;
|
6717 |
+
}
|
6718 |
+
|
6719 |
/* ============================================ *
|
6720 |
* Newsletter Subscriptions
|
6721 |
* ============================================ */
|
6758 |
margin-bottom: 10px;
|
6759 |
}
|
6760 |
|
6761 |
+
.top-container .bml-ad {
|
6762 |
+
margin-top: 7px;
|
6763 |
+
margin-bottom: 7px;
|
6764 |
+
text-align: center;
|
6765 |
+
}
|
6766 |
+
.top-container .bml-ad span {
|
6767 |
+
display: inline-block;
|
6768 |
+
}
|
6769 |
+
.top-container .bml-ad span a {
|
6770 |
+
display: block;
|
6771 |
+
}
|
6772 |
+
|
6773 |
.bml-ad {
|
6774 |
display: none;
|
6775 |
+
text-align: center;
|
6776 |
+
margin-bottom: 5px;
|
6777 |
+
}
|
6778 |
+
.bml-ad span {
|
6779 |
+
display: block;
|
6780 |
+
line-height: 0;
|
6781 |
+
}
|
6782 |
+
.bml-ad a {
|
6783 |
+
display: inline-block;
|
6784 |
+
max-width: 100%;
|
6785 |
+
}
|
6786 |
+
.bml-ad a:hover {
|
6787 |
+
opacity: 0.7;
|
6788 |
+
}
|
6789 |
+
.bml-ad img {
|
6790 |
+
height: auto !important;
|
6791 |
+
max-width: 100%;
|
6792 |
+
}
|
6793 |
+
|
6794 |
+
.cart-totals-wrapper .bml-ad.large img {
|
6795 |
+
display: block;
|
6796 |
+
margin: 0;
|
6797 |
}
|
6798 |
|
6799 |
.bml-ad.large {
|
6825 |
}
|
6826 |
|
6827 |
.bml-checkout-type {
|
6828 |
+
list-style-type: none;
|
6829 |
}
|
6830 |
|
6831 |
+
.sidebar .paypal-logo {
|
6832 |
+
text-align: center;
|
6833 |
+
line-height: 0;
|
6834 |
}
|
6835 |
+
.sidebar .paypal-logo > a {
|
6836 |
+
display: inline-block;
|
6837 |
+
max-width: 100%;
|
|
|
6838 |
}
|
6839 |
+
.sidebar .paypal-logo > a:hover {
|
6840 |
+
opacity: 0.8;
|
6841 |
}
|
6842 |
+
.sidebar .paypal-logo > a img {
|
6843 |
+
display: block;
|
|
|
|
|
6844 |
}
|
6845 |
+
.sidebar .paypal-logo .label {
|
6846 |
+
margin-top: 4px;
|
|
|
|
|
6847 |
}
|
6848 |
+
.sidebar .paypal-logo .label a {
|
6849 |
+
font-size: 12px;
|
6850 |
+
line-height: 1.5;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6851 |
}
|
6852 |
|
6853 |
/* ============================================ *
|
6975 |
width: 100%;
|
6976 |
}
|
6977 |
#customer-reviews dl dd .ratings-table tr {
|
|
|
6978 |
margin-right: 15px;
|
6979 |
}
|
6980 |
+
#customer-reviews dl dd .ratings-table .review-label {
|
6981 |
+
width: 300px;
|
6982 |
+
max-width: 70%;
|
6983 |
+
}
|
6984 |
#customer-reviews dl dd table {
|
6985 |
margin: 15px 0;
|
6986 |
}
|
7063 |
* Review View Page
|
7064 |
* ============================================ */
|
7065 |
.review-product-view .product-review .product-details h2 {
|
7066 |
+
border-bottom: none;
|
7067 |
}
|
7068 |
.review-product-view .product-review .product-img-box {
|
7069 |
+
width: auto;
|
7070 |
+
max-width: 50%;
|
7071 |
}
|
7072 |
.review-product-view .product-review .product-img-box > a {
|
7073 |
+
width: 100%;
|
7074 |
}
|
7075 |
.review-product-view .product-review .product-img-box .product-image {
|
7076 |
+
width: 100%;
|
7077 |
}
|
7078 |
|
7079 |
/* ============================================ *
|
7307 |
padding-top: 5px;
|
7308 |
}
|
7309 |
#wishlist-table .item-manage .button {
|
|
|
7310 |
font-size: 11px;
|
7311 |
padding: 3px 5px;
|
7312 |
}
|
7347 |
#wishlist-table td.customer-wishlist-item-remove {
|
7348 |
width: 20px;
|
7349 |
}
|
7350 |
+
#wishlist-table td .button,
|
7351 |
+
#wishlist-table td button {
|
7352 |
+
white-space: normal;
|
7353 |
+
}
|
7354 |
#wishlist-table .price-box {
|
7355 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
7356 |
font-size: 12px;
|
7373 |
background: none;
|
7374 |
color: #3399cc;
|
7375 |
}
|
7376 |
+
#wishlist-table td[data-rwd-label]:before {
|
7377 |
+
font-weight: 600;
|
7378 |
+
}
|
7379 |
|
7380 |
#wishlist-table.clean-table td {
|
7381 |
padding-left: 10px;
|
7412 |
/* ============================================ *
|
7413 |
* Checkout - Mini cart
|
7414 |
* ============================================ */
|
7415 |
+
.header-minicart {
|
7416 |
+
display: inline-block;
|
7417 |
+
}
|
7418 |
.header-minicart .minicart-message {
|
7419 |
display: block;
|
7420 |
padding: 10px;
|
7421 |
}
|
7422 |
+
.header-minicart .empty {
|
7423 |
+
padding: 10px;
|
7424 |
+
text-align: center;
|
7425 |
+
}
|
7426 |
.header-minicart .minicart-wrapper {
|
7427 |
clear: both;
|
7428 |
position: relative;
|
7520 |
padding-left: 4px;
|
7521 |
padding-right: 4px;
|
7522 |
margin-right: 2px;
|
7523 |
+
width: 3.2em;
|
7524 |
+
text-align: center;
|
7525 |
+
height: 30px;
|
7526 |
}
|
7527 |
.header-minicart .info-wrapper .quantity-button {
|
7528 |
opacity: 0;
|
7558 |
margin-top: 0px;
|
7559 |
overflow: hidden;
|
7560 |
position: relative;
|
7561 |
+
text-align: center;
|
7562 |
}
|
7563 |
.header-minicart .minicart-actions .checkout-button {
|
7564 |
min-width: 145px;
|
7567 |
height: 33px;
|
7568 |
line-height: 39px;
|
7569 |
text-transform: uppercase;
|
|
|
7570 |
font-size: 13px;
|
|
|
|
|
|
|
7571 |
}
|
7572 |
.header-minicart .minicart-actions .paypal-logo .paypal-or {
|
7573 |
line-height: 1.6;
|
7592 |
display: block;
|
7593 |
}
|
7594 |
|
7595 |
+
.checkout-types.minicart {
|
7596 |
+
float: none;
|
7597 |
+
text-align: center;
|
7598 |
+
}
|
7599 |
+
|
7600 |
/* ============================================ *
|
7601 |
* Search - Auto Suggest
|
7602 |
* ============================================ */
|
7771 |
display: table;
|
7772 |
clear: both;
|
7773 |
}
|
|
|
|
|
|
|
|
|
7774 |
|
7775 |
.cms-no-route .std img {
|
7776 |
width: 100%;
|
7838 |
top: 50%;
|
7839 |
margin-top: -3px;
|
7840 |
}
|
7841 |
+
#accordion > dl > dt:hover {
|
7842 |
+
background-color: #ececec;
|
7843 |
+
}
|
7844 |
#accordion > dl > dd {
|
7845 |
padding: 10px;
|
7846 |
margin: 0;
|
7898 |
/* ============================================ *
|
7899 |
* Pricing Conditions
|
7900 |
* ============================================ */
|
|
|
|
|
|
|
7901 |
.price-box .minimal-price-link .label {
|
7902 |
color: #cf5050;
|
7903 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
7905 |
text-transform: uppercase;
|
7906 |
}
|
7907 |
|
7908 |
+
.map-info {
|
7909 |
+
white-space: nowrap;
|
7910 |
+
}
|
7911 |
+
|
7912 |
+
.catalog-product-view .map-info {
|
7913 |
+
white-space: normal;
|
7914 |
+
}
|
7915 |
+
.catalog-product-view .map-info > span {
|
7916 |
+
float: right;
|
7917 |
+
margin-bottom: 5px;
|
7918 |
+
}
|
7919 |
+
.catalog-product-view .map-info .price-box.map-info > a {
|
7920 |
+
float: right;
|
7921 |
+
width: 100%;
|
7922 |
+
}
|
7923 |
+
|
7924 |
/* ============================================ *
|
7925 |
* Cookies
|
7926 |
* ============================================ */
|
7948 |
padding-bottom: 14.5px;
|
7949 |
}
|
7950 |
|
7951 |
+
/* ============================================ *
|
7952 |
+
* Tags
|
7953 |
+
* ============================================ */
|
7954 |
+
#addTagForm button {
|
7955 |
+
margin-top: 5px;
|
7956 |
+
margin-bottom: 10px;
|
7957 |
+
}
|
7958 |
+
|
7959 |
+
#addTagForm .form-add {
|
7960 |
+
margin-top: 10px;
|
7961 |
+
}
|
7962 |
+
|
7963 |
+
.product-tags {
|
7964 |
+
background-color: #f4f4f4;
|
7965 |
+
border: 1px solid #cccccc;
|
7966 |
+
float: left;
|
7967 |
+
margin-bottom: 10px;
|
7968 |
+
padding: 5px 1% 10px;
|
7969 |
+
width: 98%;
|
7970 |
+
}
|
7971 |
+
|
7972 |
+
.product-tags li {
|
7973 |
+
float: left;
|
7974 |
+
margin-right: 15px;
|
7975 |
+
}
|
7976 |
+
|
7977 |
+
.product-tags li.last {
|
7978 |
+
margin-right: 0px;
|
7979 |
+
}
|
7980 |
+
|
7981 |
+
.tags-list {
|
7982 |
+
float: left;
|
7983 |
+
width: 100%;
|
7984 |
+
margin-bottom: 10px;
|
7985 |
+
}
|
7986 |
+
|
7987 |
+
.tags-list > li {
|
7988 |
+
float: left;
|
7989 |
+
margin-right: 10px;
|
7990 |
+
}
|
7991 |
+
|
7992 |
+
.block-tags .actions > a {
|
7993 |
+
font-size: 12px;
|
7994 |
+
}
|
7995 |
+
|
7996 |
+
.my-tag-edit .button.btn-remove {
|
7997 |
+
padding: 0;
|
7998 |
+
}
|
7999 |
+
.my-tag-edit .button.btn-remove:after {
|
8000 |
+
color: white;
|
8001 |
+
}
|
8002 |
+
|
8003 |
+
/* ============================================ *
|
8004 |
+
* Captcha
|
8005 |
+
* ============================================ */
|
8006 |
+
.captcha-note {
|
8007 |
+
clear: left;
|
8008 |
+
padding-top: 5px;
|
8009 |
+
}
|
8010 |
+
|
8011 |
+
.captcha-image {
|
8012 |
+
float: left;
|
8013 |
+
display: inline;
|
8014 |
+
max-width: 100%;
|
8015 |
+
position: relative;
|
8016 |
+
width: 258px;
|
8017 |
+
margin-bottom: 10px;
|
8018 |
+
}
|
8019 |
+
|
8020 |
+
.captcha-image .captcha-img {
|
8021 |
+
border: 1px solid #b6b6b6;
|
8022 |
+
vertical-align: bottom;
|
8023 |
+
width: 100%;
|
8024 |
+
}
|
8025 |
+
|
8026 |
+
.registered-users .captcha-image {
|
8027 |
+
margin: 0;
|
8028 |
+
}
|
8029 |
+
|
8030 |
+
.captcha-reload {
|
8031 |
+
cursor: pointer;
|
8032 |
+
position: absolute;
|
8033 |
+
top: 2px;
|
8034 |
+
right: 2px;
|
8035 |
+
}
|
8036 |
+
|
8037 |
+
.captcha-reload.refreshing {
|
8038 |
+
animation: rotate 1.5s infinite linear;
|
8039 |
+
-webkit-animation: rotate 1.5s infinite linear;
|
8040 |
+
-moz-animation: rotate 1.5s infinite linear;
|
8041 |
+
}
|
8042 |
+
|
8043 |
+
.customer-account-create .scaffold-form .captcha-input-container label:first-child {
|
8044 |
+
width: 100%;
|
8045 |
+
}
|
8046 |
+
|
8047 |
+
.captcha-reload {
|
8048 |
+
position: absolute;
|
8049 |
+
right: 4px;
|
8050 |
+
top: 4px;
|
8051 |
+
}
|
8052 |
+
|
8053 |
+
.captcha-img {
|
8054 |
+
border: 20px solid #bbbbbb;
|
8055 |
+
}
|
8056 |
+
|
8057 |
+
.captcha-input-container {
|
8058 |
+
margin-bottom: 10px;
|
8059 |
+
}
|
8060 |
+
|
8061 |
+
.control.newsletter-box, .captcha-input-container, .captcha-img-container {
|
8062 |
+
float: none;
|
8063 |
+
clear: both;
|
8064 |
+
}
|
8065 |
+
.control.newsletter-box:after, .captcha-input-container:after, .captcha-img-container:after {
|
8066 |
+
content: '';
|
8067 |
+
content: '';
|
8068 |
+
display: table;
|
8069 |
+
clear: both;
|
8070 |
+
}
|
8071 |
+
|
8072 |
+
/* ============================================ *
|
8073 |
+
* Checkout Billing Fix to place the Captcha properly
|
8074 |
+
* ============================================ */
|
8075 |
+
#co-billing-form ul.form-list > .control {
|
8076 |
+
float: left;
|
8077 |
+
margin: 0 0 5px;
|
8078 |
+
width: 100%;
|
8079 |
+
}
|
8080 |
+
|
8081 |
+
/* ============================================ *
|
8082 |
+
* Account - Orders, Invoices, Credit Memos.
|
8083 |
+
* ============================================ */
|
8084 |
+
/* ============================================ *
|
8085 |
+
* Recurring Profiles
|
8086 |
+
* ============================================ */
|
8087 |
+
#recurring_profile_list_view th {
|
8088 |
+
white-space: normal;
|
8089 |
+
}
|
8090 |
+
#recurring_profile_list_view th span {
|
8091 |
+
white-space: inherit;
|
8092 |
+
}
|
8093 |
+
|
8094 |
+
.recurring-profiles-title {
|
8095 |
+
float: left;
|
8096 |
+
}
|
8097 |
+
.recurring-profiles-title h1 {
|
8098 |
+
margin-bottom: 7px;
|
8099 |
+
}
|
8100 |
+
|
8101 |
+
body.customer-account .my-account .title-buttons.recurring-profiles-title-buttons {
|
8102 |
+
float: right;
|
8103 |
+
text-align: right;
|
8104 |
+
margin-bottom: 30px;
|
8105 |
+
}
|
8106 |
+
body.customer-account .my-account .title-buttons.recurring-profiles-title-buttons .button {
|
8107 |
+
position: static;
|
8108 |
+
}
|
8109 |
+
|
8110 |
+
.recurring-profiles-messages:after {
|
8111 |
+
content: '';
|
8112 |
+
display: table;
|
8113 |
+
clear: both;
|
8114 |
+
}
|
8115 |
+
|
8116 |
+
#recurring_start_date_trig {
|
8117 |
+
display: inline;
|
8118 |
+
}
|
8119 |
+
|
8120 |
+
/* ============================================ *
|
8121 |
+
* Billing Agreements
|
8122 |
+
* ============================================ */
|
8123 |
+
.billing-agreements .info-box {
|
8124 |
+
margin-bottom: 30px;
|
8125 |
+
}
|
8126 |
+
.billing-agreements .info-box:after {
|
8127 |
+
content: '';
|
8128 |
+
display: table;
|
8129 |
+
clear: both;
|
8130 |
+
}
|
8131 |
+
.billing-agreements .info-box .form-list {
|
8132 |
+
max-width: 400px;
|
8133 |
+
width: 100%;
|
8134 |
+
}
|
8135 |
+
.billing-agreements .info-box .box-title {
|
8136 |
+
margin-top: 20px;
|
8137 |
+
margin-bottom: 7px;
|
8138 |
+
}
|
8139 |
+
.billing-agreements .info-box .button {
|
8140 |
+
float: right;
|
8141 |
+
margin-top: 7px;
|
8142 |
+
}
|
8143 |
+
.billing-agreements #payment_method {
|
8144 |
+
width: 100%;
|
8145 |
+
margin-top: 7px;
|
8146 |
+
margin-bottom: 7px;
|
8147 |
+
}
|
8148 |
+
|
8149 |
+
.billing-agreement-view-header-wrapper .heading {
|
8150 |
+
max-width: 80%;
|
8151 |
+
}
|
8152 |
+
|
8153 |
+
.billing-agreement-details td, .billing-agreement-details th {
|
8154 |
+
padding: 3.5px;
|
8155 |
+
}
|
8156 |
+
|
8157 |
+
/* ============================================ *
|
8158 |
+
* Popular Search Terms Cloud
|
8159 |
+
* ============================================ */
|
8160 |
+
.catalogsearch-term-popular .tags-list {
|
8161 |
+
float: left;
|
8162 |
+
width: 100%;
|
8163 |
+
}
|
8164 |
+
|
8165 |
+
.catalogsearch-term-popular .tags-list > li {
|
8166 |
+
float: left;
|
8167 |
+
height: 40px;
|
8168 |
+
margin-right: 25px;
|
8169 |
+
}
|
8170 |
+
|
8171 |
+
/* ============================================ *
|
8172 |
+
* Widgets
|
8173 |
+
* ============================================ */
|
8174 |
+
/* -------------------------------------------- *
|
8175 |
+
* Add to cart by SKU
|
8176 |
+
*/
|
8177 |
+
.sidebar .widget-addbysku .sku-table .input-text:not(.qty) {
|
8178 |
+
width: 100%;
|
8179 |
+
max-width: 100px;
|
8180 |
+
}
|
8181 |
+
|
8182 |
+
.widget {
|
8183 |
+
clear: both;
|
8184 |
+
}
|
8185 |
+
|
8186 |
+
.widget .pager {
|
8187 |
+
float: none;
|
8188 |
+
width: 100%;
|
8189 |
+
}
|
8190 |
+
|
8191 |
+
.col1-layout .col-main .widget {
|
8192 |
+
/* Config: Columns + flexible gutter */
|
8193 |
+
/* Undo three-column config */
|
8194 |
+
/* Set column config */
|
8195 |
+
/* Config: Columns + flexible gutter */
|
8196 |
+
/* Undo three-column config */
|
8197 |
+
/* Set column config */
|
8198 |
+
}
|
8199 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(odd) {
|
8200 |
+
clear: none;
|
8201 |
+
}
|
8202 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n+1) {
|
8203 |
+
clear: none;
|
8204 |
+
}
|
8205 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(even),
|
8206 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n) {
|
8207 |
+
margin-right: 2.22222%;
|
8208 |
+
}
|
8209 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li {
|
8210 |
+
margin-right: 2.22222%;
|
8211 |
+
}
|
8212 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li {
|
8213 |
+
width: 23.33333%;
|
8214 |
+
margin-right: 2.22222%;
|
8215 |
+
}
|
8216 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n+1) {
|
8217 |
+
clear: left;
|
8218 |
+
}
|
8219 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n) {
|
8220 |
+
margin-right: 0;
|
8221 |
+
}
|
8222 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(odd) {
|
8223 |
+
clear: none;
|
8224 |
+
}
|
8225 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n+1) {
|
8226 |
+
clear: none;
|
8227 |
+
}
|
8228 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(even),
|
8229 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n) {
|
8230 |
+
margin-right: 2.22222%;
|
8231 |
+
}
|
8232 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li {
|
8233 |
+
margin-right: 2.22222%;
|
8234 |
+
}
|
8235 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li {
|
8236 |
+
width: 18.22222%;
|
8237 |
+
margin-right: 2.22222%;
|
8238 |
+
}
|
8239 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n+1) {
|
8240 |
+
clear: left;
|
8241 |
+
}
|
8242 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n) {
|
8243 |
+
margin-right: 0;
|
8244 |
+
}
|
8245 |
+
|
8246 |
+
/* ============================================ *
|
8247 |
+
* Checkout - Multiple Addresses
|
8248 |
+
* ============================================ */
|
8249 |
+
body[class*="checkout-multishipping-"] .checkout-progress {
|
8250 |
+
width: 100%;
|
8251 |
+
float: left;
|
8252 |
+
margin-bottom: 25px;
|
8253 |
+
}
|
8254 |
+
body[class*="checkout-multishipping-"] .checkout-progress > li {
|
8255 |
+
float: left;
|
8256 |
+
width: 20%;
|
8257 |
+
text-align: center;
|
8258 |
+
padding: 8px 1% 6px;
|
8259 |
+
background: #f4f4f4;
|
8260 |
+
text-transform: uppercase;
|
8261 |
+
border-bottom: 1px solid #cccccc;
|
8262 |
+
border-right: 1px solid #cccccc;
|
8263 |
+
margin-bottom: 10px;
|
8264 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
8265 |
+
}
|
8266 |
+
body[class*="checkout-multishipping-"] .checkout-progress > li.active {
|
8267 |
+
background-color: #dddddd;
|
8268 |
+
}
|
8269 |
+
body[class*="checkout-multishipping-"] .checkout-progress > li.last {
|
8270 |
+
border-right: 0px;
|
8271 |
+
}
|
8272 |
+
body[class*="checkout-multishipping-"] .page-title {
|
8273 |
+
float: left;
|
8274 |
+
width: 100%;
|
8275 |
+
margin-bottom: 15px;
|
8276 |
+
}
|
8277 |
+
body[class*="checkout-multishipping-"] .page-title h1 {
|
8278 |
+
border: 0 none;
|
8279 |
+
float: left;
|
8280 |
+
margin-top: 2px;
|
8281 |
+
margin-right: 2%;
|
8282 |
+
}
|
8283 |
+
body[class*="checkout-multishipping-"] .page-title .button {
|
8284 |
+
float: right;
|
8285 |
+
}
|
8286 |
+
body[class*="checkout-multishipping-"] .multiple-checkout > h2 {
|
8287 |
+
text-transform: none;
|
8288 |
+
font-size: 17px;
|
8289 |
+
margin-bottom: 15px;
|
8290 |
+
}
|
8291 |
+
body[class*="checkout-multishipping-"] .messages {
|
8292 |
+
float: left;
|
8293 |
+
width: 100%;
|
8294 |
+
}
|
8295 |
+
body[class*="checkout-multishipping-"] .col-2.col-wide {
|
8296 |
+
width: 66%;
|
8297 |
+
}
|
8298 |
+
body[class*="checkout-multishipping-"] .col-1.col-narrow {
|
8299 |
+
width: 30%;
|
8300 |
+
}
|
8301 |
+
body[class*="checkout-multishipping-"] .actions {
|
8302 |
+
margin-bottom: 10px;
|
8303 |
+
}
|
8304 |
+
body[class*="checkout-multishipping-"] .grand-total {
|
8305 |
+
text-align: right;
|
8306 |
+
font-size: 16px;
|
8307 |
+
font-weight: bold;
|
8308 |
+
}
|
8309 |
+
body[class*="checkout-multishipping-"] #checkout-review-submit {
|
8310 |
+
float: right;
|
8311 |
+
}
|
8312 |
+
body[class*="checkout-multishipping-"] #review-buttons-container {
|
8313 |
+
float: right;
|
8314 |
+
text-align: right;
|
8315 |
+
}
|
8316 |
+
|
8317 |
+
.checkout-multishipping-addresses .btn-remove2 {
|
8318 |
+
text-indent: -5555px;
|
8319 |
+
display: block;
|
8320 |
+
width: 22px;
|
8321 |
+
height: 22px;
|
8322 |
+
}
|
8323 |
+
|
8324 |
+
.checkout-multishipping-shipping .gift-messages {
|
8325 |
+
margin-top: 20px;
|
8326 |
+
}
|
8327 |
+
.checkout-multishipping-shipping .gift-messages-form {
|
8328 |
+
margin-top: 15px;
|
8329 |
+
}
|
8330 |
+
.checkout-multishipping-shipping .gift-messages-form h4 {
|
8331 |
+
margin-top: 15px;
|
8332 |
+
margin-bottom: 5px;
|
8333 |
+
}
|
8334 |
+
.checkout-multishipping-shipping .gift-messages-form .form-list {
|
8335 |
+
margin-top: 10px;
|
8336 |
+
margin-bottom: 25px;
|
8337 |
+
}
|
8338 |
+
.checkout-multishipping-shipping .gift-messages-form .item {
|
8339 |
+
margin-top: 15px;
|
8340 |
+
}
|
8341 |
+
|
8342 |
+
.checkout-multishipping-shipping .col-1 .box-title h2, .checkout-multishipping-shipping .col-1 .box-title h3, .checkout-multishipping-shipping .col-1 .box-title h4, .checkout-multishipping-shipping .col-2 .box-title h2, .checkout-multishipping-shipping .col-2 .box-title h3, .checkout-multishipping-shipping .col-2 .box-title h4,
|
8343 |
+
.checkout-multishipping-billing .col-1 .box-title h2,
|
8344 |
+
.checkout-multishipping-billing .col-1 .box-title h3,
|
8345 |
+
.checkout-multishipping-billing .col-1 .box-title h4,
|
8346 |
+
.checkout-multishipping-billing .col-2 .box-title h2,
|
8347 |
+
.checkout-multishipping-billing .col-2 .box-title h3,
|
8348 |
+
.checkout-multishipping-billing .col-2 .box-title h4,
|
8349 |
+
.checkout-multishipping-overview .col-1 .box-title h2,
|
8350 |
+
.checkout-multishipping-overview .col-1 .box-title h3,
|
8351 |
+
.checkout-multishipping-overview .col-1 .box-title h4,
|
8352 |
+
.checkout-multishipping-overview .col-2 .box-title h2,
|
8353 |
+
.checkout-multishipping-overview .col-2 .box-title h3,
|
8354 |
+
.checkout-multishipping-overview .col-2 .box-title h4 {
|
8355 |
+
font-weight: normal;
|
8356 |
+
width: 100%;
|
8357 |
+
background: #f4f4f4;
|
8358 |
+
border-bottom: 1px solid #cccccc;
|
8359 |
+
padding: 10px;
|
8360 |
+
font-size: 14px;
|
8361 |
+
}
|
8362 |
+
.checkout-multishipping-shipping .col-1 > h4, .checkout-multishipping-shipping .col-2 > h4,
|
8363 |
+
.checkout-multishipping-billing .col-1 > h4,
|
8364 |
+
.checkout-multishipping-billing .col-2 > h4,
|
8365 |
+
.checkout-multishipping-overview .col-1 > h4,
|
8366 |
+
.checkout-multishipping-overview .col-2 > h4 {
|
8367 |
+
font-weight: normal;
|
8368 |
+
width: 100%;
|
8369 |
+
background: #f4f4f4;
|
8370 |
+
border-bottom: 1px solid #cccccc;
|
8371 |
+
padding: 10px;
|
8372 |
+
font-size: 14px;
|
8373 |
+
}
|
8374 |
+
.checkout-multishipping-shipping .col-1 .box-content, .checkout-multishipping-shipping .col-2 .box-content,
|
8375 |
+
.checkout-multishipping-billing .col-1 .box-content,
|
8376 |
+
.checkout-multishipping-billing .col-2 .box-content,
|
8377 |
+
.checkout-multishipping-overview .col-1 .box-content,
|
8378 |
+
.checkout-multishipping-overview .col-2 .box-content {
|
8379 |
+
margin-bottom: 25px;
|
8380 |
+
padding-left: 10px;
|
8381 |
+
margin-top: 10px;
|
8382 |
+
}
|
8383 |
+
|
8384 |
+
.checkout-multishipping-billing .sp-methods dt {
|
8385 |
+
float: left;
|
8386 |
+
width: 100%;
|
8387 |
+
}
|
8388 |
+
|
8389 |
+
#multiship-addresses-table > tbody > tr > td.a-center.last > a {
|
8390 |
+
background-image: none;
|
8391 |
+
}
|
8392 |
+
|
8393 |
+
#review-order-form > div:nth-child(3) > div.divider {
|
8394 |
+
width: 100%;
|
8395 |
+
clear: both;
|
8396 |
+
}
|
8397 |
+
|
8398 |
/* ============================================ *
|
8399 |
* Calendar styles (restore styles from /js/calendar)
|
8400 |
* ============================================ */
|
skin/frontend/rwd/default/css/styles.css
CHANGED
@@ -9,17 +9,17 @@
|
|
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@
|
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.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
-
* @copyright Copyright (c) 2014
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
@@ -621,11 +621,11 @@ h6, .h6 {
|
|
621 |
|
622 |
.availability.available-soon,
|
623 |
.availability.out-of-stock {
|
624 |
-
color:
|
625 |
}
|
626 |
|
627 |
.availability-only {
|
628 |
-
color:
|
629 |
margin-bottom: 10px;
|
630 |
}
|
631 |
|
@@ -789,6 +789,9 @@ body:not(.customer-account) .block:first-child .block-title {
|
|
789 |
top: 50%;
|
790 |
margin-top: -3px;
|
791 |
}
|
|
|
|
|
|
|
792 |
.sidebar .block:not(.block-layered-nav) .block-title.active > strong {
|
793 |
margin: 0;
|
794 |
margin-bottom: 10px;
|
@@ -828,6 +831,9 @@ body:not(.customer-account) .block:first-child .block-title {
|
|
828 |
top: 50%;
|
829 |
margin-top: -3px;
|
830 |
}
|
|
|
|
|
|
|
831 |
.sidebar .block:not(.block-layered-nav) .block-content {
|
832 |
padding: 10px;
|
833 |
margin-top: 0;
|
@@ -838,11 +844,6 @@ body:not(.customer-account) .block:first-child .block-title {
|
|
838 |
.sidebar .block:last-of-type {
|
839 |
border-bottom: 1px solid #cccccc;
|
840 |
}
|
841 |
-
|
842 |
-
.sidebar .block-account .block-title > strong span:after,
|
843 |
-
.sidebar .block-cms-menu .block-title > strong span:after {
|
844 |
-
content: ' Menu';
|
845 |
-
}
|
846 |
}
|
847 |
/* -------------------------------------------- *
|
848 |
* Secondary Navigation
|
@@ -907,6 +908,10 @@ body:not(.customer-account) .block:first-child .block-title {
|
|
907 |
outline: none;
|
908 |
}
|
909 |
|
|
|
|
|
|
|
|
|
910 |
/* Primary Buttons */
|
911 |
.button,
|
912 |
.cart-table .product-cart-actions .button,
|
@@ -1041,7 +1046,7 @@ a.button:hover {
|
|
1041 |
}
|
1042 |
|
1043 |
.paypal-or {
|
1044 |
-
line-height:
|
1045 |
margin: 0px 10px 5px;
|
1046 |
}
|
1047 |
|
@@ -1057,7 +1062,7 @@ a.button:hover {
|
|
1057 |
display: inline;
|
1058 |
}
|
1059 |
|
1060 |
-
@media only screen and (max-width:
|
1061 |
.paypal-or {
|
1062 |
line-height: 20px;
|
1063 |
}
|
@@ -1094,7 +1099,7 @@ a.button:hover {
|
|
1094 |
margin: 0;
|
1095 |
line-height: 33px;
|
1096 |
}
|
1097 |
-
.buttons-set a:not(
|
1098 |
line-height: 20px;
|
1099 |
display: inline-block;
|
1100 |
padding: 5px;
|
@@ -1549,7 +1554,7 @@ a.button:hover {
|
|
1549 |
}
|
1550 |
|
1551 |
.error {
|
1552 |
-
color:
|
1553 |
font-weight: bold;
|
1554 |
}
|
1555 |
|
@@ -1570,6 +1575,7 @@ a.button:hover {
|
|
1570 |
margin-bottom: 5px;
|
1571 |
padding: 7px 10px 7px 20px;
|
1572 |
background: #f4f4f4;
|
|
|
1573 |
}
|
1574 |
|
1575 |
.messages li li:before {
|
@@ -1579,7 +1585,9 @@ a.button:hover {
|
|
1579 |
}
|
1580 |
|
1581 |
.messages .error-msg li {
|
1582 |
-
|
|
|
|
|
1583 |
}
|
1584 |
|
1585 |
.messages .error-msg li:before {
|
@@ -1590,12 +1598,14 @@ a.button:hover {
|
|
1590 |
display: block;
|
1591 |
border-top: 6px solid transparent;
|
1592 |
border-bottom: 6px solid transparent;
|
1593 |
-
border-left: 6px solid
|
1594 |
border-right: none;
|
1595 |
}
|
1596 |
|
1597 |
.messages .notice-msg li {
|
|
|
1598 |
border-left: 5px solid #e26703;
|
|
|
1599 |
}
|
1600 |
|
1601 |
.messages .notice-msg li:before {
|
@@ -1611,7 +1621,9 @@ a.button:hover {
|
|
1611 |
}
|
1612 |
|
1613 |
.messages .success-msg li {
|
|
|
1614 |
border-left: 5px solid #11b400;
|
|
|
1615 |
}
|
1616 |
|
1617 |
.messages .success-msg li:before {
|
@@ -1754,7 +1766,6 @@ a.button:hover {
|
|
1754 |
|
1755 |
.price-box .price,
|
1756 |
.price {
|
1757 |
-
white-space: nowrap;
|
1758 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
1759 |
}
|
1760 |
|
@@ -1811,6 +1822,10 @@ a.button:hover {
|
|
1811 |
display: block;
|
1812 |
}
|
1813 |
|
|
|
|
|
|
|
|
|
1814 |
/* -------------------------------------------- *
|
1815 |
* Tier Prices
|
1816 |
*/
|
@@ -1977,6 +1992,11 @@ a.button:hover {
|
|
1977 |
border: 1px solid #ededed;
|
1978 |
}
|
1979 |
|
|
|
|
|
|
|
|
|
|
|
1980 |
.no-touch .product-image:hover {
|
1981 |
border-color: #3399cc;
|
1982 |
}
|
@@ -2425,14 +2445,6 @@ body.customer-account .data-table .show-details .summary-collapse:hover:before {
|
|
2425 |
margin-bottom: 5px;
|
2426 |
}
|
2427 |
|
2428 |
-
/* ============================================ *
|
2429 |
-
* Widgets
|
2430 |
-
* ============================================ */
|
2431 |
-
.widget .pager {
|
2432 |
-
float: none;
|
2433 |
-
width: 100%;
|
2434 |
-
}
|
2435 |
-
|
2436 |
/* ============================================ *
|
2437 |
* Magento Helpers
|
2438 |
* ============================================ */
|
@@ -2526,11 +2538,17 @@ form .legend {
|
|
2526 |
clear: both;
|
2527 |
}
|
2528 |
|
|
|
|
|
|
|
|
|
|
|
2529 |
/* For adjacent select inputs. */
|
2530 |
/* Example: credit card expiration month and year. */
|
2531 |
.input-box .v-fix {
|
2532 |
float: left;
|
2533 |
margin-right: 5px;
|
|
|
2534 |
}
|
2535 |
|
2536 |
/* -------------------------------------------- *
|
@@ -2551,7 +2569,7 @@ label {
|
|
2551 |
label.required:after,
|
2552 |
span.required:after {
|
2553 |
content: ' *';
|
2554 |
-
color:
|
2555 |
font-weight: normal;
|
2556 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
2557 |
font-size: 12px;
|
@@ -2595,8 +2613,8 @@ textarea {
|
|
2595 |
-webkit-box-sizing: border-box;
|
2596 |
-moz-box-sizing: border-box;
|
2597 |
box-sizing: border-box;
|
2598 |
-
|
2599 |
-
width: 450px;
|
2600 |
padding: 5px;
|
2601 |
}
|
2602 |
|
@@ -2621,11 +2639,11 @@ textarea {
|
|
2621 |
}
|
2622 |
|
2623 |
.input-text.validation-failed {
|
2624 |
-
border-color:
|
2625 |
}
|
2626 |
|
2627 |
.input-text.validation-failed:focus {
|
2628 |
-
outline-color: #
|
2629 |
}
|
2630 |
|
2631 |
input[type=email],
|
@@ -2712,7 +2730,7 @@ input:-moz-placeholder {
|
|
2712 |
p.required,
|
2713 |
.validation-advice {
|
2714 |
margin: 5px 0 0;
|
2715 |
-
color:
|
2716 |
font-size: 13px;
|
2717 |
}
|
2718 |
|
@@ -2794,7 +2812,7 @@ p.required,
|
|
2794 |
#checkout-shipping-method-load .sp-methods dd label:hover,
|
2795 |
#co-shipping-method-form .sp-methods dd label:hover,
|
2796 |
.product-options ul.options-list label:hover {
|
2797 |
-
background-color: #
|
2798 |
}
|
2799 |
.form-list .control .no-display + label,
|
2800 |
.sp-methods dt .no-display + label,
|
@@ -2899,6 +2917,33 @@ form .form-instructions {
|
|
2899 |
content: ':';
|
2900 |
}
|
2901 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2902 |
/* ============================================ *
|
2903 |
* Zebra-Stripe Table
|
2904 |
* ============================================ */
|
@@ -3361,6 +3406,17 @@ a.skip-link {
|
|
3361 |
text-decoration: none;
|
3362 |
}
|
3363 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3364 |
/* ============================================ *
|
3365 |
* Nav - Skip Link
|
3366 |
* ============================================ */
|
@@ -3503,7 +3559,6 @@ a.skip-link {
|
|
3503 |
.nav-primary {
|
3504 |
/* Default styles for 1+ drop-down menus */
|
3505 |
/* Level 2+ */
|
3506 |
-
/* Styles that only show when the menu is visible */
|
3507 |
/* Class for js to add briefly to evaluate element positioning. */
|
3508 |
/* Correct menus that will hang off the page (class added by js) */
|
3509 |
/* Level 1+ */
|
@@ -3522,8 +3577,7 @@ a.skip-link {
|
|
3522 |
.nav-primary li:hover > a {
|
3523 |
color: #3399cc;
|
3524 |
}
|
3525 |
-
.nav-primary .menu-active
|
3526 |
-
.nav-primary li.level0:hover {
|
3527 |
z-index: 200;
|
3528 |
}
|
3529 |
.nav-primary li.level0 ul {
|
@@ -3573,11 +3627,11 @@ a.skip-link {
|
|
3573 |
top: 50%;
|
3574 |
margin-top: -3px;
|
3575 |
}
|
3576 |
-
.no-touch li:hover > ul {
|
3577 |
-
display: block;
|
3578 |
-
/* Force display */
|
3579 |
-
}
|
3580 |
}
|
|
|
|
|
|
|
|
|
3581 |
/* ============================================ *
|
3582 |
* Search - Skip Link
|
3583 |
* ============================================ */
|
@@ -3677,10 +3731,10 @@ a.skip-link {
|
|
3677 |
|
3678 |
@media only screen and (min-width: 771px) {
|
3679 |
.skip-account {
|
3680 |
-
|
3681 |
-
top: 0;
|
3682 |
-
right: 115px;
|
3683 |
width: auto;
|
|
|
|
|
3684 |
padding: 0 10px;
|
3685 |
text-transform: uppercase;
|
3686 |
}
|
@@ -3717,8 +3771,8 @@ a.skip-link {
|
|
3717 |
#header-account a {
|
3718 |
position: relative;
|
3719 |
display: block;
|
3720 |
-
padding:
|
3721 |
-
line-height:
|
3722 |
text-align: center;
|
3723 |
}
|
3724 |
|
@@ -3741,9 +3795,6 @@ a.skip-link {
|
|
3741 |
|
3742 |
@media only screen and (min-width: 771px) {
|
3743 |
.skip-cart {
|
3744 |
-
position: absolute;
|
3745 |
-
top: 0;
|
3746 |
-
right: 0;
|
3747 |
width: auto;
|
3748 |
padding: 0 10px;
|
3749 |
}
|
@@ -3810,11 +3861,11 @@ a.skip-link {
|
|
3810 |
-ms-border-radius: 0px;
|
3811 |
-o-border-radius: 0px;
|
3812 |
border-radius: 0px;
|
3813 |
-
color: #3399cc;
|
3814 |
position: static;
|
3815 |
background: none;
|
3816 |
margin-left: 0px;
|
3817 |
font-size: 14px;
|
|
|
3818 |
}
|
3819 |
.skip-cart .count:before {
|
3820 |
content: '(';
|
@@ -3822,6 +3873,11 @@ a.skip-link {
|
|
3822 |
.skip-cart .count:after {
|
3823 |
content: ')';
|
3824 |
}
|
|
|
|
|
|
|
|
|
|
|
3825 |
}
|
3826 |
.skip-cart .count.empty {
|
3827 |
display: none;
|
@@ -4127,6 +4183,11 @@ body.catalogsearch-result-index .page-title h1 {
|
|
4127 |
margin-bottom: 1.5em;
|
4128 |
}
|
4129 |
|
|
|
|
|
|
|
|
|
|
|
4130 |
/* -------------------------------------------- *
|
4131 |
* Product Name
|
4132 |
*/
|
@@ -4215,6 +4276,12 @@ p.product-name a:hover {
|
|
4215 |
display: none;
|
4216 |
}
|
4217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4218 |
.products-grid .product-info {
|
4219 |
position: relative;
|
4220 |
padding-bottom: 95px;
|
@@ -4478,12 +4545,12 @@ p.product-name a:hover {
|
|
4478 |
.products-list .product-shop .product-primary,
|
4479 |
.products-list .product-shop .desc {
|
4480 |
float: left;
|
4481 |
-
width:
|
4482 |
overflow: hidden;
|
4483 |
}
|
4484 |
.products-list .product-shop .product-secondary {
|
4485 |
float: right;
|
4486 |
-
width:
|
4487 |
text-align: right;
|
4488 |
clear: right;
|
4489 |
}
|
@@ -4624,6 +4691,9 @@ p.product-name a:hover {
|
|
4624 |
top: 50%;
|
4625 |
margin-top: -3px;
|
4626 |
}
|
|
|
|
|
|
|
4627 |
|
4628 |
.block-layered-nav .block-content .toggle-tabs {
|
4629 |
display: none;
|
@@ -4668,6 +4738,9 @@ p.product-name a:hover {
|
|
4668 |
top: 50%;
|
4669 |
margin-top: -3px;
|
4670 |
}
|
|
|
|
|
|
|
4671 |
.block-layered-nav .block-content > dl > dd {
|
4672 |
padding: 10px;
|
4673 |
margin: 0;
|
@@ -4817,7 +4890,7 @@ p.product-name a:hover {
|
|
4817 |
}
|
4818 |
.block-layered-nav dl ol > li > a:hover {
|
4819 |
text-decoration: none;
|
4820 |
-
background: #
|
4821 |
}
|
4822 |
}
|
4823 |
.block-layered-nav .currently .block-subtitle {
|
@@ -4854,80 +4927,6 @@ p.product-name a:hover {
|
|
4854 |
margin-bottom: 7px;
|
4855 |
}
|
4856 |
|
4857 |
-
/* ============================================ *
|
4858 |
-
* Catalog Event
|
4859 |
-
* ============================================ */
|
4860 |
-
.event-container {
|
4861 |
-
clear: both;
|
4862 |
-
border: 1px solid #3399cc;
|
4863 |
-
position: relative;
|
4864 |
-
z-index: 2;
|
4865 |
-
border-width: 1px 1px;
|
4866 |
-
margin-top: 7px;
|
4867 |
-
height: 59px;
|
4868 |
-
}
|
4869 |
-
.event-container:after {
|
4870 |
-
content: '';
|
4871 |
-
position: absolute;
|
4872 |
-
width: 0;
|
4873 |
-
height: 0;
|
4874 |
-
display: block;
|
4875 |
-
border-right: 10px solid transparent;
|
4876 |
-
border-left: 10px solid transparent;
|
4877 |
-
border-top: 10px solid #3399cc;
|
4878 |
-
border-bottom: none;
|
4879 |
-
position: absolute;
|
4880 |
-
bottom: -10px;
|
4881 |
-
left: 50%;
|
4882 |
-
margin-left: -10px;
|
4883 |
-
}
|
4884 |
-
.event-container .event {
|
4885 |
-
padding-bottom: 18px;
|
4886 |
-
margin-bottom: -18px;
|
4887 |
-
padding-top: 5px;
|
4888 |
-
height: 52px;
|
4889 |
-
line-height: 50px;
|
4890 |
-
text-align: center;
|
4891 |
-
width: auto;
|
4892 |
-
position: relative;
|
4893 |
-
z-index: 2;
|
4894 |
-
border-bottom: 0 !important;
|
4895 |
-
}
|
4896 |
-
.event-container .event .event-ticker {
|
4897 |
-
display: inline;
|
4898 |
-
font-size: 28px;
|
4899 |
-
height: auto;
|
4900 |
-
}
|
4901 |
-
.event-container .event .event-ticker span {
|
4902 |
-
line-height: 50px;
|
4903 |
-
height: 50px;
|
4904 |
-
padding: 0;
|
4905 |
-
}
|
4906 |
-
.event-container .container {
|
4907 |
-
display: inline;
|
4908 |
-
margin: 0;
|
4909 |
-
padding: 0;
|
4910 |
-
background: none;
|
4911 |
-
}
|
4912 |
-
.event-container .status {
|
4913 |
-
display: inline;
|
4914 |
-
margin: 0 10px 0 0;
|
4915 |
-
background: none;
|
4916 |
-
font-size: 22px;
|
4917 |
-
}
|
4918 |
-
.event-container .event-dates {
|
4919 |
-
display: inline;
|
4920 |
-
font-size: 22px;
|
4921 |
-
height: auto;
|
4922 |
-
}
|
4923 |
-
.event-container .event-dates div,
|
4924 |
-
.event-container .event-dates p {
|
4925 |
-
display: inline;
|
4926 |
-
}
|
4927 |
-
.event-container .event-dates .time-part {
|
4928 |
-
font-size: 14px;
|
4929 |
-
}
|
4930 |
-
|
4931 |
/* ============================================ *
|
4932 |
* Catalog - Product
|
4933 |
* ============================================ */
|
@@ -4971,6 +4970,7 @@ p.product-name a:hover {
|
|
4971 |
float: left;
|
4972 |
padding-right: 15px;
|
4973 |
clear: left;
|
|
|
4974 |
}
|
4975 |
.product-view .product-shop .price-info {
|
4976 |
float: right;
|
@@ -4979,7 +4979,7 @@ p.product-name a:hover {
|
|
4979 |
}
|
4980 |
.product-view .product-shop .extra-info,
|
4981 |
.product-view .product-shop .price-info {
|
4982 |
-
max-width:
|
4983 |
margin-bottom: 10px;
|
4984 |
}
|
4985 |
.product-view .product-shop .short-description {
|
@@ -5011,10 +5011,17 @@ p.product-name a:hover {
|
|
5011 |
font-size: 16px;
|
5012 |
text-transform: uppercase;
|
5013 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
5014 |
.product-view .product-shop .price-box .price-excluding-tax,
|
5015 |
.product-view .product-shop .price-box .price-including-tax {
|
5016 |
display: block;
|
5017 |
line-height: 1.2;
|
|
|
5018 |
}
|
5019 |
.product-view .product-shop .price-box .price-excluding-tax .label,
|
5020 |
.product-view .product-shop .price-box .price-including-tax .label {
|
@@ -5025,6 +5032,9 @@ p.product-name a:hover {
|
|
5025 |
.product-view .product-shop .price-box .price-including-tax .price {
|
5026 |
font-size: 20px;
|
5027 |
}
|
|
|
|
|
|
|
5028 |
.product-view .old-price .price-label {
|
5029 |
display: none;
|
5030 |
}
|
@@ -5203,6 +5213,7 @@ p.product-name a:hover {
|
|
5203 |
.product-view .add-to-cart-buttons {
|
5204 |
float: left;
|
5205 |
margin-right: 10px;
|
|
|
5206 |
}
|
5207 |
.product-view .add-to-cart-buttons .paypal-logo {
|
5208 |
clear: left;
|
@@ -5211,11 +5222,11 @@ p.product-name a:hover {
|
|
5211 |
.product-view .add-to-cart-buttons .paypal-logo .paypal-button {
|
5212 |
margin: 0 auto;
|
5213 |
display: block;
|
5214 |
-
width:
|
5215 |
}
|
5216 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button {
|
5217 |
display: block;
|
5218 |
-
width:
|
5219 |
margin: 0 auto;
|
5220 |
}
|
5221 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button a {
|
@@ -5230,13 +5241,18 @@ p.product-name a:hover {
|
|
5230 |
text-align: center;
|
5231 |
}
|
5232 |
.product-view .add-to-cart-buttons .button {
|
5233 |
-
height: 40px;
|
5234 |
line-height: 40px;
|
5235 |
font-size: 16px;
|
5236 |
padding: 0px 30px;
|
5237 |
float: left;
|
5238 |
min-width: 160px;
|
5239 |
width: 100%;
|
|
|
|
|
|
|
|
|
|
|
5240 |
}
|
5241 |
|
5242 |
@media only screen and (max-width: 479px) {
|
@@ -5452,6 +5468,9 @@ p.product-name a:hover {
|
|
5452 |
top: 50%;
|
5453 |
margin-top: -3px;
|
5454 |
}
|
|
|
|
|
|
|
5455 |
.product-collateral > dl > dd {
|
5456 |
padding: 10px;
|
5457 |
margin: 0;
|
@@ -5583,6 +5602,13 @@ p.product-name a:hover {
|
|
5583 |
.grouped-items-table td {
|
5584 |
padding: 4px;
|
5585 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5586 |
|
5587 |
/* -------------------------------------------- *
|
5588 |
* Catalog - Product Options
|
@@ -5600,8 +5626,14 @@ p.product-name a:hover {
|
|
5600 |
position: absolute;
|
5601 |
top: 6px;
|
5602 |
right: 15px;
|
|
|
5603 |
}
|
5604 |
|
|
|
|
|
|
|
|
|
|
|
5605 |
.product-options dt {
|
5606 |
margin: 10px 0 3px;
|
5607 |
font-weight: normal;
|
@@ -5730,7 +5762,7 @@ p.product-name a:hover {
|
|
5730 |
background: 0;
|
5731 |
color: #636363;
|
5732 |
}
|
5733 |
-
@media only screen and (max-width:
|
5734 |
.product-options-bottom .product-pricing,
|
5735 |
.product-options-bottom .tier-prices {
|
5736 |
float: none;
|
@@ -5826,6 +5858,9 @@ p.product-name a:hover {
|
|
5826 |
.block-related .product-details .price-box p:first-child,
|
5827 |
.block-related .product-details .price-box span:first-child {
|
5828 |
margin-left: 0;
|
|
|
|
|
|
|
5829 |
}
|
5830 |
.block-related .product-details .price-box:after {
|
5831 |
content: '';
|
@@ -6005,17 +6040,20 @@ p.product-name a:hover {
|
|
6005 |
.map-popup .map-popup-price {
|
6006 |
padding: 10px 0;
|
6007 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
6008 |
.map-popup .map-popup-price .price-box,
|
6009 |
.map-popup .map-popup-price .price-box .special-price {
|
6010 |
display: inline-block;
|
6011 |
margin: 0;
|
6012 |
padding: 0;
|
6013 |
}
|
6014 |
-
|
6015 |
-
|
6016 |
-
text-align: center;
|
6017 |
-
padding-top: 0px;
|
6018 |
-
}
|
6019 |
}
|
6020 |
.map-popup .map-popup-text {
|
6021 |
padding: 10px 0;
|
@@ -6027,6 +6065,14 @@ p.product-name a:hover {
|
|
6027 |
border-top: 1px solid #ededed;
|
6028 |
}
|
6029 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6030 |
/* ============================================ *
|
6031 |
* Catalog - Compare
|
6032 |
* ============================================ */
|
@@ -6056,6 +6102,10 @@ p.product-name a:hover {
|
|
6056 |
width: 60%;
|
6057 |
}
|
6058 |
|
|
|
|
|
|
|
|
|
6059 |
.cart-forms,
|
6060 |
.cart-totals-wrapper,
|
6061 |
.crosssell {
|
@@ -6082,6 +6132,10 @@ p.product-name a:hover {
|
|
6082 |
margin-bottom: 20px;
|
6083 |
}
|
6084 |
|
|
|
|
|
|
|
|
|
6085 |
.display-both-prices .cart-table {
|
6086 |
float: none;
|
6087 |
width: 100%;
|
@@ -6147,6 +6201,12 @@ p.product-name a:hover {
|
|
6147 |
width: 100%;
|
6148 |
}
|
6149 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
6150 |
/* ============================================ *
|
6151 |
* Checkout - Cart
|
6152 |
* ============================================ */
|
@@ -6201,22 +6261,29 @@ p.product-name a:hover {
|
|
6201 |
.checkout-types.top .bml_button img {
|
6202 |
display: block;
|
6203 |
}
|
|
|
|
|
|
|
6204 |
.checkout-types.bottom .paypal-logo a, .checkout-types.minicart .paypal-logo a {
|
6205 |
display: block;
|
6206 |
}
|
6207 |
.checkout-types.bottom .paypal-or, .checkout-types.minicart .paypal-or {
|
6208 |
margin: 0px;
|
6209 |
-
width: 150px;
|
6210 |
display: block;
|
6211 |
text-align: center;
|
6212 |
-
float: right;
|
6213 |
}
|
6214 |
|
|
|
|
|
|
|
|
|
|
|
|
|
6215 |
.cart-totals .checkout-types .btn-checkout {
|
6216 |
margin-bottom: 7px;
|
6217 |
}
|
6218 |
|
6219 |
-
@media only screen and (max-width:
|
6220 |
.checkout-types {
|
6221 |
float: none;
|
6222 |
text-align: center;
|
@@ -6231,7 +6298,8 @@ p.product-name a:hover {
|
|
6231 |
width: 100%;
|
6232 |
margin-left: 0;
|
6233 |
}
|
6234 |
-
|
|
|
6235 |
.btn-checkout {
|
6236 |
width: 100%;
|
6237 |
}
|
@@ -6364,7 +6432,7 @@ p.product-name a:hover {
|
|
6364 |
border-radius: 0;
|
6365 |
margin-bottom: 10px;
|
6366 |
text-align: center;
|
6367 |
-
width:
|
6368 |
}
|
6369 |
.cart-table .product-cart-actions .button {
|
6370 |
margin-bottom: 5px;
|
@@ -6399,7 +6467,6 @@ p.product-name a:hover {
|
|
6399 |
display: block;
|
6400 |
margin-bottom: 10px;
|
6401 |
padding-bottom: 10px;
|
6402 |
-
overflow: hidden;
|
6403 |
position: relative;
|
6404 |
width: 100%;
|
6405 |
}
|
@@ -6545,7 +6612,7 @@ p.product-name a:hover {
|
|
6545 |
border: 1px solid silver;
|
6546 |
}
|
6547 |
.shipping select.validation-failed {
|
6548 |
-
border-color:
|
6549 |
}
|
6550 |
.shipping .shipping-desc {
|
6551 |
display: none;
|
@@ -6589,6 +6656,7 @@ p.product-name a:hover {
|
|
6589 |
font-size: 13px;
|
6590 |
font-weight: 400;
|
6591 |
text-transform: uppercase;
|
|
|
6592 |
}
|
6593 |
.shipping .sp-methods {
|
6594 |
padding: 10px 0 0;
|
@@ -6614,7 +6682,7 @@ p.product-name a:hover {
|
|
6614 |
}
|
6615 |
.shipping #co-shipping-method-form .sp-methods dd label {
|
6616 |
border: 1px solid #cccccc;
|
6617 |
-
background-color: #
|
6618 |
min-width: 220px;
|
6619 |
}
|
6620 |
.shipping #co-shipping-method-form .sp-methods dd label:hover {
|
@@ -6757,9 +6825,9 @@ p.product-name a:hover {
|
|
6757 |
.crosssell h2 {
|
6758 |
color: #3399cc;
|
6759 |
}
|
6760 |
-
.crosssell
|
6761 |
-
|
6762 |
-
|
6763 |
}
|
6764 |
|
6765 |
/* Change the layout to 2 columns at a breakpoint that is higher than a 3 columns layout would normally break */
|
@@ -6783,6 +6851,14 @@ p.product-name a:hover {
|
|
6783 |
clear: none;
|
6784 |
}
|
6785 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6786 |
@media only screen and (max-width: 320px) {
|
6787 |
.crosssell ul .item {
|
6788 |
padding: 0 0px 40px;
|
@@ -6923,6 +6999,11 @@ p.product-name a:hover {
|
|
6923 |
}
|
6924 |
}
|
6925 |
|
|
|
|
|
|
|
|
|
|
|
6926 |
.opc h3 {
|
6927 |
font-weight: 500;
|
6928 |
}
|
@@ -7066,6 +7147,9 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7066 |
.sp-methods input.cvv {
|
7067 |
width: 4em !important;
|
7068 |
}
|
|
|
|
|
|
|
7069 |
.sp-methods .checkmo-list li {
|
7070 |
margin: 0 0 5px;
|
7071 |
content: '';
|
@@ -7169,6 +7253,36 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7169 |
display: none;
|
7170 |
}
|
7171 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7172 |
/* show/hide "change" link for progress step depend on complete status
|
7173 |
* should be placed in .css file */
|
7174 |
.opc-block-progress dt.complete a,
|
@@ -7252,6 +7366,7 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7252 |
clear: both;
|
7253 |
width: 100%;
|
7254 |
margin-top: 15px;
|
|
|
7255 |
}
|
7256 |
.gift-message-form .inner-box > div.extra-options-container p {
|
7257 |
margin-bottom: 15px;
|
@@ -7262,21 +7377,6 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7262 |
.gift-message-form .gift-wrapping-form img {
|
7263 |
float: left;
|
7264 |
}
|
7265 |
-
|
7266 |
-
/* ============================================ *
|
7267 |
-
* Checkout - Success
|
7268 |
-
* ============================================ */
|
7269 |
-
.checkout-onepage-success .col-main {
|
7270 |
-
padding: 0;
|
7271 |
-
text-align: center;
|
7272 |
-
}
|
7273 |
-
.checkout-onepage-success .buttons-set {
|
7274 |
-
margin: 10px 0;
|
7275 |
-
text-align: center;
|
7276 |
-
}
|
7277 |
-
.checkout-onepage-success .buttons-set button {
|
7278 |
-
float: none;
|
7279 |
-
}
|
7280 |
.gift-message-form .gift-wrapping-form .gift-wrapping-design {
|
7281 |
height: 75px;
|
7282 |
}
|
@@ -7314,6 +7414,9 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7314 |
}
|
7315 |
|
7316 |
@media only screen and (max-width: 770px) {
|
|
|
|
|
|
|
7317 |
.gift-message-form .gift-item .product-img-box {
|
7318 |
width: 100%;
|
7319 |
float: none;
|
@@ -7325,99 +7428,56 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7325 |
width: 100%;
|
7326 |
}
|
7327 |
}
|
7328 |
-
|
7329 |
-
*
|
7330 |
-
*
|
7331 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7332 |
/* Clears */
|
7333 |
.clearfix:after,
|
7334 |
.configurable-swatch-list:after,
|
7335 |
.product-view .product-options .swatch-attr:after {
|
7336 |
-
|
7337 |
-
|
7338 |
-
clear: both;
|
7339 |
-
font-size: 0;
|
7340 |
-
line-height: 0;
|
7341 |
-
height: 0;
|
7342 |
-
overflow: hidden;
|
7343 |
-
}
|
7344 |
-
|
7345 |
-
.product-view .product-options .swatch-attr {
|
7346 |
-
float: none;
|
7347 |
-
display: block;
|
7348 |
clear: both;
|
7349 |
-
border: 0;
|
7350 |
-
}
|
7351 |
-
|
7352 |
-
.product-view .product-options dt.swatch-attr label {
|
7353 |
-
display: block;
|
7354 |
-
line-height: 1.3;
|
7355 |
}
|
7356 |
|
7357 |
/* General Swatch Styling */
|
7358 |
-
.configurable-swatch-list {
|
7359 |
-
margin-left: -3px;
|
7360 |
-
zoom: 1;
|
7361 |
-
clear: both;
|
7362 |
-
}
|
7363 |
-
|
7364 |
-
.configurable-swatch-list li {
|
7365 |
-
float: left;
|
7366 |
-
zoom: 1;
|
7367 |
-
margin: 0 0 0 3px;
|
7368 |
-
}
|
7369 |
-
|
7370 |
-
#narrow-by-list dd .configurable-swatch-list li {
|
7371 |
-
margin: 0 0 0 3px;
|
7372 |
-
width: 47%;
|
7373 |
-
}
|
7374 |
-
|
7375 |
-
.swatch-link img {
|
7376 |
-
border-radius: 3px;
|
7377 |
-
}
|
7378 |
-
|
7379 |
.swatch-link,
|
7380 |
.swatch-label {
|
7381 |
display: block;
|
7382 |
border-radius: 3px;
|
7383 |
font-size: 14px;
|
7384 |
text-align: center;
|
7385 |
-
color: #
|
7386 |
text-decoration: none;
|
7387 |
box-sizing: content-box;
|
7388 |
}
|
7389 |
|
7390 |
.swatch-link {
|
7391 |
-
border: 1px solid #
|
7392 |
margin: 0 0 3px;
|
7393 |
}
|
7394 |
-
|
7395 |
-
|
7396 |
-
float: left;
|
7397 |
-
margin-right: 2px;
|
7398 |
-
padding: 0;
|
7399 |
-
}
|
7400 |
-
|
7401 |
-
.currently .swatch-link {
|
7402 |
-
display: inline-block;
|
7403 |
-
margin: 0 0 0 10px;
|
7404 |
-
}
|
7405 |
-
|
7406 |
-
.swatch-label {
|
7407 |
-
border: 1px solid #fff;
|
7408 |
-
margin: 0;
|
7409 |
-
white-space: nowrap;
|
7410 |
-
background: #efefef;
|
7411 |
}
|
7412 |
-
|
7413 |
.swatch-link:hover {
|
7414 |
cursor: pointer;
|
|
|
7415 |
}
|
7416 |
-
|
7417 |
-
.currently .swatch-link:hover {
|
7418 |
-
cursor: default;
|
7419 |
-
}
|
7420 |
-
|
7421 |
.swatch-link .x {
|
7422 |
display: none;
|
7423 |
text-indent: -999em;
|
@@ -7429,63 +7489,140 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7429 |
background: url(../images/bg_x.png) center no-repeat transparent;
|
7430 |
z-index: 10;
|
7431 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7432 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7433 |
.configurable-swatch-list .not-available .x {
|
7434 |
display: block;
|
7435 |
}
|
7436 |
-
|
7437 |
.configurable-swatch-list .not-available .swatch-link {
|
7438 |
-
border-color: #
|
7439 |
position: relative;
|
7440 |
}
|
7441 |
-
|
|
|
|
|
|
|
7442 |
.configurable-swatch-list .not-available .swatch-label {
|
7443 |
color: #aaa;
|
7444 |
background: #fff;
|
7445 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
7446 |
|
7447 |
-
|
7448 |
-
|
7449 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7450 |
}
|
7451 |
|
7452 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7453 |
position: absolute;
|
7454 |
-
|
7455 |
-
|
7456 |
}
|
7457 |
-
|
7458 |
-
|
7459 |
-
|
7460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7461 |
}
|
7462 |
|
7463 |
/* Other Swatch States */
|
7464 |
.configurable-swatch-list .hover .swatch-link,
|
7465 |
.configurable-swatch-list .selected .swatch-link,
|
7466 |
.swatch-link:hover {
|
7467 |
-
border-color: #
|
7468 |
-
}
|
7469 |
-
|
7470 |
-
.currently .swatch-link:hover {
|
7471 |
-
border-color: #bbbbbb;
|
7472 |
-
}
|
7473 |
-
|
7474 |
-
.configurable-swatch-list .wide-swatch .swatch-label {
|
7475 |
-
padding: 0 6px;
|
7476 |
}
|
7477 |
|
7478 |
.configurable-swatch-box {
|
7479 |
background: none !important;
|
7480 |
}
|
7481 |
-
|
7482 |
.configurable-swatch-box select.swatch-select {
|
7483 |
display: none;
|
7484 |
}
|
7485 |
-
|
7486 |
.configurable-swatch-box .validation-advice {
|
7487 |
margin: 0 0 5px;
|
7488 |
-
background: #
|
7489 |
padding: 2px 5px !important;
|
7490 |
font-weight: bold;
|
7491 |
color: #fff !important;
|
@@ -7496,33 +7633,39 @@ body:not(.opc-has-progressed-from-login) .opc.opc-firststep-login .section#opc-l
|
|
7496 |
|
7497 |
/* CUSTOM */
|
7498 |
.availability.out-of-stock span {
|
7499 |
-
color: #
|
7500 |
}
|
7501 |
|
7502 |
-
.product-view .
|
7503 |
-
|
7504 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7505 |
}
|
7506 |
-
|
7507 |
.product-view .product-options dd .input-box {
|
7508 |
width: auto;
|
7509 |
height: auto;
|
7510 |
}
|
7511 |
-
|
7512 |
-
.product-options .select-label {
|
7513 |
display: none;
|
7514 |
}
|
7515 |
-
|
7516 |
-
|
7517 |
-
|
7518 |
-
font-size: 12px;
|
7519 |
-
}
|
7520 |
-
|
7521 |
-
.product-options dt.swatch-attr .select-label {
|
7522 |
-
display: inline;
|
7523 |
-
font-weight: normal;
|
7524 |
-
color: #00acb1;
|
7525 |
-
padding-left: 5px;
|
7526 |
}
|
7527 |
|
7528 |
/* ============================================ *
|
@@ -7708,6 +7851,18 @@ body.customer-account .data-table td a {
|
|
7708 |
font-style: normal;
|
7709 |
font-size: 13px;
|
7710 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7711 |
body.customer-account .sidebar .block ol#compare-items li {
|
7712 |
margin: 10px 0;
|
7713 |
}
|
@@ -7803,10 +7958,6 @@ body.customer-account .sidebar .block-reorder ol#cart-sidebar-reorder p.product-
|
|
7803 |
}
|
7804 |
.dashboard .col2-set .col-1 .box-title a,
|
7805 |
.dashboard .col2-set .col-2 .box-title a {
|
7806 |
-
position: absolute;
|
7807 |
-
top: -10px;
|
7808 |
-
right: -10px;
|
7809 |
-
padding: 10px;
|
7810 |
line-height: 19.6px;
|
7811 |
}
|
7812 |
.dashboard .box-reviews.box-account {
|
@@ -8036,6 +8187,10 @@ ol#cart-sidebar-reorder p.product-name {
|
|
8036 |
padding-right: 30px;
|
8037 |
padding-bottom: 0;
|
8038 |
}
|
|
|
|
|
|
|
|
|
8039 |
}
|
8040 |
@media only screen and (max-width: 979px) {
|
8041 |
body.customer-account .my-account .title-buttons {
|
@@ -8045,25 +8200,12 @@ ol#cart-sidebar-reorder p.product-name {
|
|
8045 |
body.customer-account .my-account .title-buttons a {
|
8046 |
top: -12px;
|
8047 |
}
|
8048 |
-
|
8049 |
-
.data-table span.nobr {
|
8050 |
-
white-space: normal;
|
8051 |
-
}
|
8052 |
-
.data-table span.nobr a {
|
8053 |
-
white-space: nowrap;
|
8054 |
-
}
|
8055 |
-
.data-table .separator {
|
8056 |
-
display: none;
|
8057 |
-
}
|
8058 |
-
|
8059 |
-
.dashboard .col2-set .col-1 .box-title a,
|
8060 |
-
.dashboard .col2-set .col-2 .box-title a {
|
8061 |
-
position: static;
|
8062 |
-
padding: 0;
|
8063 |
-
}
|
8064 |
}
|
8065 |
@media only screen and (max-width: 770px) {
|
8066 |
-
body.customer-account .data-table.orders th.ship,
|
|
|
|
|
|
|
8067 |
display: none;
|
8068 |
}
|
8069 |
|
@@ -8116,12 +8258,6 @@ ol#cart-sidebar-reorder p.product-name {
|
|
8116 |
padding-left: 0;
|
8117 |
}
|
8118 |
}
|
8119 |
-
@media only screen and (max-width: 530px) {
|
8120 |
-
.data-table.orders td.status,
|
8121 |
-
.data-table.orders th.status {
|
8122 |
-
display: none;
|
8123 |
-
}
|
8124 |
-
}
|
8125 |
@media only screen and (max-width: 479px) {
|
8126 |
body.customer-account .my-account .page-title h1 {
|
8127 |
text-align: center;
|
@@ -8134,6 +8270,9 @@ ol#cart-sidebar-reorder p.product-name {
|
|
8134 |
position: static;
|
8135 |
margin-bottom: 15px;
|
8136 |
}
|
|
|
|
|
|
|
8137 |
body.customer-account .my-account .fieldset h2 {
|
8138 |
margin-bottom: 15px;
|
8139 |
}
|
@@ -8170,11 +8309,6 @@ ol#cart-sidebar-reorder p.product-name {
|
|
8170 |
width: 100%;
|
8171 |
margin-top: 15px;
|
8172 |
}
|
8173 |
-
.dashboard .col2-set .col-1 .box-title a,
|
8174 |
-
.dashboard .col2-set .col-2 .box-title a {
|
8175 |
-
position: absolute;
|
8176 |
-
padding: 10px;
|
8177 |
-
}
|
8178 |
|
8179 |
.order-info-box {
|
8180 |
margin: 0;
|
@@ -8233,34 +8367,6 @@ body.newsletter-manage-index .my-account .form-list {
|
|
8233 |
}
|
8234 |
}
|
8235 |
|
8236 |
-
div.paypal-logo {
|
8237 |
-
text-align: center;
|
8238 |
-
margin: 15px 0;
|
8239 |
-
max-width: 100%;
|
8240 |
-
}
|
8241 |
-
div.paypal-logo span {
|
8242 |
-
display: block;
|
8243 |
-
width: 100%;
|
8244 |
-
}
|
8245 |
-
div.paypal-logo span a {
|
8246 |
-
display: inline-block;
|
8247 |
-
max-width: 100%;
|
8248 |
-
}
|
8249 |
-
div.paypal-logo span a img {
|
8250 |
-
max-width: 100%;
|
8251 |
-
}
|
8252 |
-
div.paypal-logo span > img {
|
8253 |
-
display: none;
|
8254 |
-
}
|
8255 |
-
|
8256 |
-
.checkout-types div.paypal-logo {
|
8257 |
-
text-align: right;
|
8258 |
-
}
|
8259 |
-
|
8260 |
-
.bml-checkout-type {
|
8261 |
-
list-style-type: none;
|
8262 |
-
}
|
8263 |
-
|
8264 |
/* ============================================ *
|
8265 |
* PayPal
|
8266 |
* ============================================ */
|
@@ -8292,24 +8398,104 @@ div.paypal-logo span > img {
|
|
8292 |
}
|
8293 |
}
|
8294 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8295 |
.bml-ad {
|
8296 |
display: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8297 |
}
|
8298 |
-
.bml-ad
|
8299 |
-
|
8300 |
max-width: 100%;
|
8301 |
}
|
8302 |
|
8303 |
-
|
|
|
|
|
|
|
|
|
|
|
8304 |
.bml-ad.small {
|
8305 |
display: block;
|
8306 |
}
|
8307 |
}
|
8308 |
-
@media only screen and (min-width:
|
8309 |
.bml-ad.large {
|
8310 |
display: block;
|
8311 |
}
|
8312 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8313 |
/* ============================================ *
|
8314 |
* Review - Customer
|
8315 |
* ============================================ */
|
@@ -8435,9 +8621,12 @@ div.paypal-logo span > img {
|
|
8435 |
width: 100%;
|
8436 |
}
|
8437 |
#customer-reviews dl dd .ratings-table tr {
|
8438 |
-
float: left;
|
8439 |
margin-right: 15px;
|
8440 |
}
|
|
|
|
|
|
|
|
|
8441 |
#customer-reviews dl dd table {
|
8442 |
margin: 15px 0;
|
8443 |
}
|
@@ -8529,7 +8718,6 @@ div.paypal-logo span > img {
|
|
8529 |
width: 100%;
|
8530 |
}
|
8531 |
body.review-product-list .product-view .product-shop .extra-info .ratings-table tr {
|
8532 |
-
float: left;
|
8533 |
margin-right: 15px;
|
8534 |
}
|
8535 |
}
|
@@ -8587,30 +8775,28 @@ div.paypal-logo span > img {
|
|
8587 |
float: none;
|
8588 |
}
|
8589 |
}
|
8590 |
-
|
8591 |
/* ============================================ *
|
8592 |
* Review View Page
|
8593 |
* ============================================ */
|
8594 |
.review-product-view .product-review .product-details h2 {
|
8595 |
-
|
8596 |
}
|
8597 |
.review-product-view .product-review .product-img-box {
|
8598 |
-
|
8599 |
-
|
8600 |
}
|
8601 |
.review-product-view .product-review .product-img-box > a {
|
8602 |
-
|
8603 |
}
|
8604 |
.review-product-view .product-review .product-img-box .product-image {
|
8605 |
-
|
8606 |
}
|
8607 |
|
8608 |
@media only screen and (max-width: 770px) {
|
8609 |
-
|
8610 |
-
|
8611 |
-
|
8612 |
}
|
8613 |
-
|
8614 |
/* ============================================ *
|
8615 |
* Slideshow
|
8616 |
* ============================================ */
|
@@ -8842,7 +9028,6 @@ div.paypal-logo span > img {
|
|
8842 |
padding-top: 5px;
|
8843 |
}
|
8844 |
#wishlist-table .item-manage .button {
|
8845 |
-
color: #FFFFFF;
|
8846 |
font-size: 11px;
|
8847 |
padding: 3px 5px;
|
8848 |
}
|
@@ -8883,6 +9068,10 @@ div.paypal-logo span > img {
|
|
8883 |
#wishlist-table td.customer-wishlist-item-remove {
|
8884 |
width: 20px;
|
8885 |
}
|
|
|
|
|
|
|
|
|
8886 |
#wishlist-table .price-box {
|
8887 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
8888 |
font-size: 12px;
|
@@ -8905,6 +9094,9 @@ div.paypal-logo span > img {
|
|
8905 |
background: none;
|
8906 |
color: #3399cc;
|
8907 |
}
|
|
|
|
|
|
|
8908 |
|
8909 |
@media only screen and (max-width: 1199px) {
|
8910 |
#wishlist-table.clean-table td {
|
@@ -9065,10 +9257,22 @@ div.paypal-logo span > img {
|
|
9065 |
/* ============================================ *
|
9066 |
* Checkout - Mini cart
|
9067 |
* ============================================ */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9068 |
.header-minicart .minicart-message {
|
9069 |
display: block;
|
9070 |
padding: 10px;
|
9071 |
}
|
|
|
|
|
|
|
|
|
9072 |
.header-minicart .minicart-wrapper {
|
9073 |
clear: both;
|
9074 |
position: relative;
|
@@ -9166,7 +9370,9 @@ div.paypal-logo span > img {
|
|
9166 |
padding-left: 4px;
|
9167 |
padding-right: 4px;
|
9168 |
margin-right: 2px;
|
9169 |
-
width:
|
|
|
|
|
9170 |
}
|
9171 |
.header-minicart .info-wrapper .quantity-button {
|
9172 |
opacity: 0;
|
@@ -9202,6 +9408,7 @@ div.paypal-logo span > img {
|
|
9202 |
margin-top: 0px;
|
9203 |
overflow: hidden;
|
9204 |
position: relative;
|
|
|
9205 |
}
|
9206 |
.header-minicart .minicart-actions .checkout-button {
|
9207 |
min-width: 145px;
|
@@ -9210,11 +9417,7 @@ div.paypal-logo span > img {
|
|
9210 |
height: 33px;
|
9211 |
line-height: 39px;
|
9212 |
text-transform: uppercase;
|
9213 |
-
display: block;
|
9214 |
font-size: 13px;
|
9215 |
-
left: 10px;
|
9216 |
-
bottom: 17px;
|
9217 |
-
position: absolute;
|
9218 |
}
|
9219 |
.header-minicart .minicart-actions .paypal-logo .paypal-or {
|
9220 |
line-height: 1.6;
|
@@ -9239,6 +9442,12 @@ div.paypal-logo span > img {
|
|
9239 |
display: block;
|
9240 |
}
|
9241 |
|
|
|
|
|
|
|
|
|
|
|
|
|
9242 |
@media only screen and (max-width: 479px) {
|
9243 |
.header-minicart a.skip-cart {
|
9244 |
z-index: 1;
|
@@ -9266,7 +9475,7 @@ div.paypal-logo span > img {
|
|
9266 |
.header-minicart .minicart-actions .cart-link {
|
9267 |
bottom: 0;
|
9268 |
right: 10px;
|
9269 |
-
|
9270 |
}
|
9271 |
.header-minicart .minicart-actions .checkout-types.minicart li {
|
9272 |
display: inline-block;
|
@@ -9286,10 +9495,7 @@ div.paypal-logo span > img {
|
|
9286 |
line-height: 40px;
|
9287 |
}
|
9288 |
}
|
9289 |
-
@media only screen and (max-width:
|
9290 |
-
.header-minicart .minicart-actions .checkout-button {
|
9291 |
-
width: 100%;
|
9292 |
-
}
|
9293 |
.header-minicart .minicart-actions .cart-link {
|
9294 |
right: auto;
|
9295 |
left: 0;
|
@@ -9306,6 +9512,11 @@ div.paypal-logo span > img {
|
|
9306 |
line-height: 1.6;
|
9307 |
}
|
9308 |
}
|
|
|
|
|
|
|
|
|
|
|
9309 |
/* ============================================ *
|
9310 |
* Search - Auto Suggest
|
9311 |
* ============================================ */
|
@@ -9564,6 +9775,9 @@ div.paypal-logo span > img {
|
|
9564 |
top: 50%;
|
9565 |
margin-top: -3px;
|
9566 |
}
|
|
|
|
|
|
|
9567 |
#accordion > dl > dd {
|
9568 |
padding: 10px;
|
9569 |
margin: 0;
|
@@ -9626,9 +9840,6 @@ div.paypal-logo span > img {
|
|
9626 |
/* ============================================ *
|
9627 |
* Pricing Conditions
|
9628 |
* ============================================ */
|
9629 |
-
.price-box.map-info .old-price {
|
9630 |
-
display: none;
|
9631 |
-
}
|
9632 |
.price-box .minimal-price-link .label {
|
9633 |
color: #cf5050;
|
9634 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
@@ -9636,6 +9847,22 @@ div.paypal-logo span > img {
|
|
9636 |
text-transform: uppercase;
|
9637 |
}
|
9638 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9639 |
/* ============================================ *
|
9640 |
* Cookies
|
9641 |
* ============================================ */
|
@@ -9698,7 +9925,666 @@ div.paypal-logo span > img {
|
|
9698 |
text-align: left;
|
9699 |
}
|
9700 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9701 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
9702 |
/* ============================================ *
|
9703 |
* Calendar styles (restore styles from /js/calendar)
|
9704 |
* ============================================ */
|
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@magento.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.magento.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
/*! normalize.css v2.0.1 | MIT License | git.io/normalize */
|
621 |
|
622 |
.availability.available-soon,
|
623 |
.availability.out-of-stock {
|
624 |
+
color: #df280a;
|
625 |
}
|
626 |
|
627 |
.availability-only {
|
628 |
+
color: #df280a;
|
629 |
margin-bottom: 10px;
|
630 |
}
|
631 |
|
789 |
top: 50%;
|
790 |
margin-top: -3px;
|
791 |
}
|
792 |
+
.sidebar .block:not(.block-layered-nav) .block-title > strong:hover {
|
793 |
+
background-color: #ececec;
|
794 |
+
}
|
795 |
.sidebar .block:not(.block-layered-nav) .block-title.active > strong {
|
796 |
margin: 0;
|
797 |
margin-bottom: 10px;
|
831 |
top: 50%;
|
832 |
margin-top: -3px;
|
833 |
}
|
834 |
+
.sidebar .block:not(.block-layered-nav) .block-title.active > strong:hover {
|
835 |
+
background-color: #ececec;
|
836 |
+
}
|
837 |
.sidebar .block:not(.block-layered-nav) .block-content {
|
838 |
padding: 10px;
|
839 |
margin-top: 0;
|
844 |
.sidebar .block:last-of-type {
|
845 |
border-bottom: 1px solid #cccccc;
|
846 |
}
|
|
|
|
|
|
|
|
|
|
|
847 |
}
|
848 |
/* -------------------------------------------- *
|
849 |
* Secondary Navigation
|
908 |
outline: none;
|
909 |
}
|
910 |
|
911 |
+
.sidebar .actions button.button {
|
912 |
+
white-space: normal;
|
913 |
+
}
|
914 |
+
|
915 |
/* Primary Buttons */
|
916 |
.button,
|
917 |
.cart-table .product-cart-actions .button,
|
1046 |
}
|
1047 |
|
1048 |
.paypal-or {
|
1049 |
+
line-height: 34px;
|
1050 |
margin: 0px 10px 5px;
|
1051 |
}
|
1052 |
|
1062 |
display: inline;
|
1063 |
}
|
1064 |
|
1065 |
+
@media only screen and (max-width: 740px) {
|
1066 |
.paypal-or {
|
1067 |
line-height: 20px;
|
1068 |
}
|
1099 |
margin: 0;
|
1100 |
line-height: 33px;
|
1101 |
}
|
1102 |
+
.buttons-set a:not(.button) {
|
1103 |
line-height: 20px;
|
1104 |
display: inline-block;
|
1105 |
padding: 5px;
|
1554 |
}
|
1555 |
|
1556 |
.error {
|
1557 |
+
color: #df280a;
|
1558 |
font-weight: bold;
|
1559 |
}
|
1560 |
|
1575 |
margin-bottom: 5px;
|
1576 |
padding: 7px 10px 7px 20px;
|
1577 |
background: #f4f4f4;
|
1578 |
+
font-size: 15px;
|
1579 |
}
|
1580 |
|
1581 |
.messages li li:before {
|
1585 |
}
|
1586 |
|
1587 |
.messages .error-msg li {
|
1588 |
+
color: black;
|
1589 |
+
border-left: 5px solid #df280a;
|
1590 |
+
background-color: #faebe7;
|
1591 |
}
|
1592 |
|
1593 |
.messages .error-msg li:before {
|
1598 |
display: block;
|
1599 |
border-top: 6px solid transparent;
|
1600 |
border-bottom: 6px solid transparent;
|
1601 |
+
border-left: 6px solid #df280a;
|
1602 |
border-right: none;
|
1603 |
}
|
1604 |
|
1605 |
.messages .notice-msg li {
|
1606 |
+
color: black;
|
1607 |
border-left: 5px solid #e26703;
|
1608 |
+
background-color: #f9ebe6;
|
1609 |
}
|
1610 |
|
1611 |
.messages .notice-msg li:before {
|
1621 |
}
|
1622 |
|
1623 |
.messages .success-msg li {
|
1624 |
+
color: black;
|
1625 |
border-left: 5px solid #11b400;
|
1626 |
+
background-color: #eff5ea;
|
1627 |
}
|
1628 |
|
1629 |
.messages .success-msg li:before {
|
1766 |
|
1767 |
.price-box .price,
|
1768 |
.price {
|
|
|
1769 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
1770 |
}
|
1771 |
|
1822 |
display: block;
|
1823 |
}
|
1824 |
|
1825 |
+
span.weee {
|
1826 |
+
display: block;
|
1827 |
+
}
|
1828 |
+
|
1829 |
/* -------------------------------------------- *
|
1830 |
* Tier Prices
|
1831 |
*/
|
1992 |
border: 1px solid #ededed;
|
1993 |
}
|
1994 |
|
1995 |
+
@media only screen and (max-width: 770px) {
|
1996 |
+
body .product-img-box .product-image:hover {
|
1997 |
+
border-color: #ededed;
|
1998 |
+
}
|
1999 |
+
}
|
2000 |
.no-touch .product-image:hover {
|
2001 |
border-color: #3399cc;
|
2002 |
}
|
2445 |
margin-bottom: 5px;
|
2446 |
}
|
2447 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2448 |
/* ============================================ *
|
2449 |
* Magento Helpers
|
2450 |
* ============================================ */
|
2538 |
clear: both;
|
2539 |
}
|
2540 |
|
2541 |
+
li.centinel-logos div.input-box img {
|
2542 |
+
display: inline;
|
2543 |
+
vertical-align: middle;
|
2544 |
+
}
|
2545 |
+
|
2546 |
/* For adjacent select inputs. */
|
2547 |
/* Example: credit card expiration month and year. */
|
2548 |
.input-box .v-fix {
|
2549 |
float: left;
|
2550 |
margin-right: 5px;
|
2551 |
+
max-width: 100%;
|
2552 |
}
|
2553 |
|
2554 |
/* -------------------------------------------- *
|
2569 |
label.required:after,
|
2570 |
span.required:after {
|
2571 |
content: ' *';
|
2572 |
+
color: #df280a;
|
2573 |
font-weight: normal;
|
2574 |
font-family: "Helvetica Neue", Verdana, Arial, sans-serif;
|
2575 |
font-size: 12px;
|
2613 |
-webkit-box-sizing: border-box;
|
2614 |
-moz-box-sizing: border-box;
|
2615 |
box-sizing: border-box;
|
2616 |
+
width: 100%;
|
2617 |
+
max-width: 450px;
|
2618 |
padding: 5px;
|
2619 |
}
|
2620 |
|
2639 |
}
|
2640 |
|
2641 |
.input-text.validation-failed {
|
2642 |
+
border-color: #df280a;
|
2643 |
}
|
2644 |
|
2645 |
.input-text.validation-failed:focus {
|
2646 |
+
outline-color: #ef9384;
|
2647 |
}
|
2648 |
|
2649 |
input[type=email],
|
2730 |
p.required,
|
2731 |
.validation-advice {
|
2732 |
margin: 5px 0 0;
|
2733 |
+
color: #df280a;
|
2734 |
font-size: 13px;
|
2735 |
}
|
2736 |
|
2812 |
#checkout-shipping-method-load .sp-methods dd label:hover,
|
2813 |
#co-shipping-method-form .sp-methods dd label:hover,
|
2814 |
.product-options ul.options-list label:hover {
|
2815 |
+
background-color: #ececec;
|
2816 |
}
|
2817 |
.form-list .control .no-display + label,
|
2818 |
.sp-methods dt .no-display + label,
|
2917 |
content: ':';
|
2918 |
}
|
2919 |
|
2920 |
+
/* ============================================ *
|
2921 |
+
* Generic Info Table
|
2922 |
+
* ============================================ */
|
2923 |
+
.info-box {
|
2924 |
+
border: 1px solid silver;
|
2925 |
+
padding: 12px 15px;
|
2926 |
+
margin: 0 0 15px;
|
2927 |
+
}
|
2928 |
+
.info-box h2 {
|
2929 |
+
font-weight: bold;
|
2930 |
+
font-size: 13px;
|
2931 |
+
}
|
2932 |
+
|
2933 |
+
.info-table th,
|
2934 |
+
.info-table td {
|
2935 |
+
vertical-align: top;
|
2936 |
+
}
|
2937 |
+
|
2938 |
+
.info-table th {
|
2939 |
+
font-weight: bold;
|
2940 |
+
padding: 4px 20px 4px 0;
|
2941 |
+
}
|
2942 |
+
|
2943 |
+
.info-table td {
|
2944 |
+
padding: 4px 0;
|
2945 |
+
}
|
2946 |
+
|
2947 |
/* ============================================ *
|
2948 |
* Zebra-Stripe Table
|
2949 |
* ============================================ */
|
3406 |
text-decoration: none;
|
3407 |
}
|
3408 |
}
|
3409 |
+
.account-cart-wrapper {
|
3410 |
+
position: absolute;
|
3411 |
+
top: 0px;
|
3412 |
+
right: 0px;
|
3413 |
+
}
|
3414 |
+
@media only screen and (max-width: 770px) {
|
3415 |
+
.account-cart-wrapper {
|
3416 |
+
position: static;
|
3417 |
+
}
|
3418 |
+
}
|
3419 |
+
|
3420 |
/* ============================================ *
|
3421 |
* Nav - Skip Link
|
3422 |
* ============================================ */
|
3559 |
.nav-primary {
|
3560 |
/* Default styles for 1+ drop-down menus */
|
3561 |
/* Level 2+ */
|
|
|
3562 |
/* Class for js to add briefly to evaluate element positioning. */
|
3563 |
/* Correct menus that will hang off the page (class added by js) */
|
3564 |
/* Level 1+ */
|
3577 |
.nav-primary li:hover > a {
|
3578 |
color: #3399cc;
|
3579 |
}
|
3580 |
+
.nav-primary .menu-active {
|
|
|
3581 |
z-index: 200;
|
3582 |
}
|
3583 |
.nav-primary li.level0 ul {
|
3627 |
top: 50%;
|
3628 |
margin-top: -3px;
|
3629 |
}
|
|
|
|
|
|
|
|
|
3630 |
}
|
3631 |
+
.nav-primary li.menu-active > ul {
|
3632 |
+
display: block;
|
3633 |
+
}
|
3634 |
+
|
3635 |
/* ============================================ *
|
3636 |
* Search - Skip Link
|
3637 |
* ============================================ */
|
3731 |
|
3732 |
@media only screen and (min-width: 771px) {
|
3733 |
.skip-account {
|
3734 |
+
float: none;
|
|
|
|
|
3735 |
width: auto;
|
3736 |
+
vertical-align: top;
|
3737 |
+
display: inline-block;
|
3738 |
padding: 0 10px;
|
3739 |
text-transform: uppercase;
|
3740 |
}
|
3771 |
#header-account a {
|
3772 |
position: relative;
|
3773 |
display: block;
|
3774 |
+
padding: 5px 10px;
|
3775 |
+
line-height: 23px;
|
3776 |
text-align: center;
|
3777 |
}
|
3778 |
|
3795 |
|
3796 |
@media only screen and (min-width: 771px) {
|
3797 |
.skip-cart {
|
|
|
|
|
|
|
3798 |
width: auto;
|
3799 |
padding: 0 10px;
|
3800 |
}
|
3861 |
-ms-border-radius: 0px;
|
3862 |
-o-border-radius: 0px;
|
3863 |
border-radius: 0px;
|
|
|
3864 |
position: static;
|
3865 |
background: none;
|
3866 |
margin-left: 0px;
|
3867 |
font-size: 14px;
|
3868 |
+
width: auto;
|
3869 |
}
|
3870 |
.skip-cart .count:before {
|
3871 |
content: '(';
|
3873 |
.skip-cart .count:after {
|
3874 |
content: ')';
|
3875 |
}
|
3876 |
+
|
3877 |
+
.skip-cart .count,
|
3878 |
+
.skip-link.skip-active .count {
|
3879 |
+
color: #3399cc;
|
3880 |
+
}
|
3881 |
}
|
3882 |
.skip-cart .count.empty {
|
3883 |
display: none;
|
4183 |
margin-bottom: 1.5em;
|
4184 |
}
|
4185 |
|
4186 |
+
.products-list .action .button,
|
4187 |
+
.products-grid .actions .button {
|
4188 |
+
white-space: normal;
|
4189 |
+
}
|
4190 |
+
|
4191 |
/* -------------------------------------------- *
|
4192 |
* Product Name
|
4193 |
*/
|
4276 |
display: none;
|
4277 |
}
|
4278 |
|
4279 |
+
.widget-new-products .products-grid .product-image {
|
4280 |
+
width: 75%;
|
4281 |
+
margin-bottom: 15px;
|
4282 |
+
margin-left: 10%;
|
4283 |
+
}
|
4284 |
+
|
4285 |
.products-grid .product-info {
|
4286 |
position: relative;
|
4287 |
padding-bottom: 95px;
|
4545 |
.products-list .product-shop .product-primary,
|
4546 |
.products-list .product-shop .desc {
|
4547 |
float: left;
|
4548 |
+
width: 65%;
|
4549 |
overflow: hidden;
|
4550 |
}
|
4551 |
.products-list .product-shop .product-secondary {
|
4552 |
float: right;
|
4553 |
+
width: 35%;
|
4554 |
text-align: right;
|
4555 |
clear: right;
|
4556 |
}
|
4691 |
top: 50%;
|
4692 |
margin-top: -3px;
|
4693 |
}
|
4694 |
+
.block-layered-nav .block-subtitle--filter:hover {
|
4695 |
+
background-color: #ececec;
|
4696 |
+
}
|
4697 |
|
4698 |
.block-layered-nav .block-content .toggle-tabs {
|
4699 |
display: none;
|
4738 |
top: 50%;
|
4739 |
margin-top: -3px;
|
4740 |
}
|
4741 |
+
.block-layered-nav .block-content > dl > dt:hover {
|
4742 |
+
background-color: #ececec;
|
4743 |
+
}
|
4744 |
.block-layered-nav .block-content > dl > dd {
|
4745 |
padding: 10px;
|
4746 |
margin: 0;
|
4890 |
}
|
4891 |
.block-layered-nav dl ol > li > a:hover {
|
4892 |
text-decoration: none;
|
4893 |
+
background: #ececec;
|
4894 |
}
|
4895 |
}
|
4896 |
.block-layered-nav .currently .block-subtitle {
|
4927 |
margin-bottom: 7px;
|
4928 |
}
|
4929 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4930 |
/* ============================================ *
|
4931 |
* Catalog - Product
|
4932 |
* ============================================ */
|
4970 |
float: left;
|
4971 |
padding-right: 15px;
|
4972 |
clear: left;
|
4973 |
+
width: 70%;
|
4974 |
}
|
4975 |
.product-view .product-shop .price-info {
|
4976 |
float: right;
|
4979 |
}
|
4980 |
.product-view .product-shop .extra-info,
|
4981 |
.product-view .product-shop .price-info {
|
4982 |
+
max-width: 70%;
|
4983 |
margin-bottom: 10px;
|
4984 |
}
|
4985 |
.product-view .product-shop .short-description {
|
5011 |
font-size: 16px;
|
5012 |
text-transform: uppercase;
|
5013 |
}
|
5014 |
+
.product-view .product-shop .price-box .special-price span.weee {
|
5015 |
+
color: #636363;
|
5016 |
+
}
|
5017 |
+
.product-view .product-shop .price-box .special-price span.weee span.price {
|
5018 |
+
font-size: 16px;
|
5019 |
+
}
|
5020 |
.product-view .product-shop .price-box .price-excluding-tax,
|
5021 |
.product-view .product-shop .price-box .price-including-tax {
|
5022 |
display: block;
|
5023 |
line-height: 1.2;
|
5024 |
+
color: #636363;
|
5025 |
}
|
5026 |
.product-view .product-shop .price-box .price-excluding-tax .label,
|
5027 |
.product-view .product-shop .price-box .price-including-tax .label {
|
5032 |
.product-view .product-shop .price-box .price-including-tax .price {
|
5033 |
font-size: 20px;
|
5034 |
}
|
5035 |
+
.product-view .price-box.map-info a {
|
5036 |
+
display: inherit;
|
5037 |
+
}
|
5038 |
.product-view .old-price .price-label {
|
5039 |
display: none;
|
5040 |
}
|
5213 |
.product-view .add-to-cart-buttons {
|
5214 |
float: left;
|
5215 |
margin-right: 10px;
|
5216 |
+
max-width: 100%;
|
5217 |
}
|
5218 |
.product-view .add-to-cart-buttons .paypal-logo {
|
5219 |
clear: left;
|
5222 |
.product-view .add-to-cart-buttons .paypal-logo .paypal-button {
|
5223 |
margin: 0 auto;
|
5224 |
display: block;
|
5225 |
+
width: 170px;
|
5226 |
}
|
5227 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button {
|
5228 |
display: block;
|
5229 |
+
width: 174px;
|
5230 |
margin: 0 auto;
|
5231 |
}
|
5232 |
.product-view .add-to-cart-buttons .paypal-logo .bml_button a {
|
5241 |
text-align: center;
|
5242 |
}
|
5243 |
.product-view .add-to-cart-buttons .button {
|
5244 |
+
min-height: 40px;
|
5245 |
line-height: 40px;
|
5246 |
font-size: 16px;
|
5247 |
padding: 0px 30px;
|
5248 |
float: left;
|
5249 |
min-width: 160px;
|
5250 |
width: 100%;
|
5251 |
+
white-space: normal;
|
5252 |
+
}
|
5253 |
+
.product-view .alert-price,
|
5254 |
+
.product-view .alert-stock {
|
5255 |
+
clear: both;
|
5256 |
}
|
5257 |
|
5258 |
@media only screen and (max-width: 479px) {
|
5468 |
top: 50%;
|
5469 |
margin-top: -3px;
|
5470 |
}
|
5471 |
+
.product-collateral > dl > dt:hover {
|
5472 |
+
background-color: #ececec;
|
5473 |
+
}
|
5474 |
.product-collateral > dl > dd {
|
5475 |
padding: 10px;
|
5476 |
margin: 0;
|
5602 |
.grouped-items-table td {
|
5603 |
padding: 4px;
|
5604 |
}
|
5605 |
+
.grouped-items-table td:last-child {
|
5606 |
+
width: 30%;
|
5607 |
+
text-align: left;
|
5608 |
+
}
|
5609 |
+
.grouped-items-table .price-box {
|
5610 |
+
text-align: right;
|
5611 |
+
}
|
5612 |
|
5613 |
/* -------------------------------------------- *
|
5614 |
* Catalog - Product Options
|
5626 |
position: absolute;
|
5627 |
top: 6px;
|
5628 |
right: 15px;
|
5629 |
+
text-align: right;
|
5630 |
}
|
5631 |
|
5632 |
+
@media only screen and (max-width: 979px) {
|
5633 |
+
.product-view .product-options .required {
|
5634 |
+
position: static;
|
5635 |
+
}
|
5636 |
+
}
|
5637 |
.product-options dt {
|
5638 |
margin: 10px 0 3px;
|
5639 |
font-weight: normal;
|
5762 |
background: 0;
|
5763 |
color: #636363;
|
5764 |
}
|
5765 |
+
@media only screen and (max-width: 1199px) {
|
5766 |
.product-options-bottom .product-pricing,
|
5767 |
.product-options-bottom .tier-prices {
|
5768 |
float: none;
|
5858 |
.block-related .product-details .price-box p:first-child,
|
5859 |
.block-related .product-details .price-box span:first-child {
|
5860 |
margin-left: 0;
|
5861 |
+
font-size: 16px;
|
5862 |
+
padding-right: 5px;
|
5863 |
+
padding-left: 5px;
|
5864 |
}
|
5865 |
.block-related .product-details .price-box:after {
|
5866 |
content: '';
|
6040 |
.map-popup .map-popup-price {
|
6041 |
padding: 10px 0;
|
6042 |
}
|
6043 |
+
@media only screen and (max-width: 479px) {
|
6044 |
+
.map-popup .map-popup-price {
|
6045 |
+
text-align: center;
|
6046 |
+
padding-top: 0px;
|
6047 |
+
}
|
6048 |
+
}
|
6049 |
.map-popup .map-popup-price .price-box,
|
6050 |
.map-popup .map-popup-price .price-box .special-price {
|
6051 |
display: inline-block;
|
6052 |
margin: 0;
|
6053 |
padding: 0;
|
6054 |
}
|
6055 |
+
.map-popup .map-popup-price .price-box .minimal-price-link {
|
6056 |
+
display: inline-block;
|
|
|
|
|
|
|
6057 |
}
|
6058 |
.map-popup .map-popup-text {
|
6059 |
padding: 10px 0;
|
6065 |
border-top: 1px solid #ededed;
|
6066 |
}
|
6067 |
|
6068 |
+
/* ============================================ *
|
6069 |
+
* Catalog - MSRP Product Listing
|
6070 |
+
* ============================================ */
|
6071 |
+
.price-box .map-link {
|
6072 |
+
display: block;
|
6073 |
+
text-align: center;
|
6074 |
+
}
|
6075 |
+
|
6076 |
/* ============================================ *
|
6077 |
* Catalog - Compare
|
6078 |
* ============================================ */
|
6102 |
width: 60%;
|
6103 |
}
|
6104 |
|
6105 |
+
.cart .button {
|
6106 |
+
white-space: normal;
|
6107 |
+
}
|
6108 |
+
|
6109 |
.cart-forms,
|
6110 |
.cart-totals-wrapper,
|
6111 |
.crosssell {
|
6132 |
margin-bottom: 20px;
|
6133 |
}
|
6134 |
|
6135 |
+
.checkout-cart-index #postcode {
|
6136 |
+
width: 100%;
|
6137 |
+
}
|
6138 |
+
|
6139 |
.display-both-prices .cart-table {
|
6140 |
float: none;
|
6141 |
width: 100%;
|
6201 |
width: 100%;
|
6202 |
}
|
6203 |
}
|
6204 |
+
.display-single-price:after {
|
6205 |
+
content: '';
|
6206 |
+
display: table;
|
6207 |
+
clear: both;
|
6208 |
+
}
|
6209 |
+
|
6210 |
/* ============================================ *
|
6211 |
* Checkout - Cart
|
6212 |
* ============================================ */
|
6261 |
.checkout-types.top .bml_button img {
|
6262 |
display: block;
|
6263 |
}
|
6264 |
+
.checkout-types.top .paypal-logo .paypal-or {
|
6265 |
+
margin-top: 5px;
|
6266 |
+
}
|
6267 |
.checkout-types.bottom .paypal-logo a, .checkout-types.minicart .paypal-logo a {
|
6268 |
display: block;
|
6269 |
}
|
6270 |
.checkout-types.bottom .paypal-or, .checkout-types.minicart .paypal-or {
|
6271 |
margin: 0px;
|
|
|
6272 |
display: block;
|
6273 |
text-align: center;
|
|
|
6274 |
}
|
6275 |
|
6276 |
+
@media only screen and (min-width: 741px) {
|
6277 |
+
.checkout-types.bottom .paypal-or {
|
6278 |
+
text-align: right;
|
6279 |
+
padding-right: 70px;
|
6280 |
+
}
|
6281 |
+
}
|
6282 |
.cart-totals .checkout-types .btn-checkout {
|
6283 |
margin-bottom: 7px;
|
6284 |
}
|
6285 |
|
6286 |
+
@media only screen and (max-width: 740px) {
|
6287 |
.checkout-types {
|
6288 |
float: none;
|
6289 |
text-align: center;
|
6298 |
width: 100%;
|
6299 |
margin-left: 0;
|
6300 |
}
|
6301 |
+
}
|
6302 |
+
@media only screen and (max-width: 599px) {
|
6303 |
.btn-checkout {
|
6304 |
width: 100%;
|
6305 |
}
|
6432 |
border-radius: 0;
|
6433 |
margin-bottom: 10px;
|
6434 |
text-align: center;
|
6435 |
+
width: 3.2em;
|
6436 |
}
|
6437 |
.cart-table .product-cart-actions .button {
|
6438 |
margin-bottom: 5px;
|
6467 |
display: block;
|
6468 |
margin-bottom: 10px;
|
6469 |
padding-bottom: 10px;
|
|
|
6470 |
position: relative;
|
6471 |
width: 100%;
|
6472 |
}
|
6612 |
border: 1px solid silver;
|
6613 |
}
|
6614 |
.shipping select.validation-failed {
|
6615 |
+
border-color: #df280a;
|
6616 |
}
|
6617 |
.shipping .shipping-desc {
|
6618 |
display: none;
|
6656 |
font-size: 13px;
|
6657 |
font-weight: 400;
|
6658 |
text-transform: uppercase;
|
6659 |
+
white-space: nowrap;
|
6660 |
}
|
6661 |
.shipping .sp-methods {
|
6662 |
padding: 10px 0 0;
|
6682 |
}
|
6683 |
.shipping #co-shipping-method-form .sp-methods dd label {
|
6684 |
border: 1px solid #cccccc;
|
6685 |
+
background-color: #ececec;
|
6686 |
min-width: 220px;
|
6687 |
}
|
6688 |
.shipping #co-shipping-method-form .sp-methods dd label:hover {
|
6825 |
.crosssell h2 {
|
6826 |
color: #3399cc;
|
6827 |
}
|
6828 |
+
.crosssell .item a.product-image {
|
6829 |
+
width: auto;
|
6830 |
+
float: left;
|
6831 |
}
|
6832 |
|
6833 |
/* Change the layout to 2 columns at a breakpoint that is higher than a 3 columns layout would normally break */
|
6851 |
clear: none;
|
6852 |
}
|
6853 |
}
|
6854 |
+
@media only screen and (max-width: 599px) {
|
6855 |
+
.cart-table .cart-tax-total:after {
|
6856 |
+
right: -9px;
|
6857 |
+
}
|
6858 |
+
.cart-table .cart-tax-total.cart-tax-total-expanded:after {
|
6859 |
+
right: -13px;
|
6860 |
+
}
|
6861 |
+
}
|
6862 |
@media only screen and (max-width: 320px) {
|
6863 |
.crosssell ul .item {
|
6864 |
padding: 0 0px 40px;
|
6999 |
}
|
7000 |
}
|
7001 |
|
7002 |
+
.opc select {
|
7003 |
+
max-width: 365px;
|
7004 |
+
width: 100%;
|
7005 |
+
}
|
7006 |
+
|
7007 |
.opc h3 {
|
7008 |
font-weight: 500;
|
7009 |
}
|
7147 |
.sp-methods input.cvv {
|
7148 |
width: 4em !important;
|
7149 |
}
|
7150 |
+
.sp-methods #advice-validate-cc-exp-ccsave_expiration {
|
7151 |
+
max-width: 130px;
|
7152 |
+
}
|
7153 |
.sp-methods .checkmo-list li {
|
7154 |
margin: 0 0 5px;
|
7155 |
content: '';
|
7253 |
display: none;
|
7254 |
}
|
7255 |
|
7256 |
+
#checkout-review-table-wrapper {
|
7257 |
+
clear: both;
|
7258 |
+
}
|
7259 |
+
|
7260 |
+
#review-buttons-container {
|
7261 |
+
width: 100%;
|
7262 |
+
margin-top: 15px;
|
7263 |
+
margin-bottom: 15px;
|
7264 |
+
}
|
7265 |
+
#review-buttons-container .btn-checkout {
|
7266 |
+
min-width: 220px;
|
7267 |
+
}
|
7268 |
+
#review-buttons-container .please-wait {
|
7269 |
+
float: left;
|
7270 |
+
margin-right: 10px;
|
7271 |
+
}
|
7272 |
+
#review-buttons-container .f-left {
|
7273 |
+
float: right;
|
7274 |
+
}
|
7275 |
+
|
7276 |
+
@media only screen and (max-width: 599px) {
|
7277 |
+
.linearize-table-large.checkout-review-table thead tr:nth-child(1n+2) {
|
7278 |
+
display: none;
|
7279 |
+
}
|
7280 |
+
}
|
7281 |
+
@media only screen and (max-width: 479px) {
|
7282 |
+
.linearize-table.checkout-review-table thead tr:nth-child(1n+2) {
|
7283 |
+
display: none;
|
7284 |
+
}
|
7285 |
+
}
|
7286 |
/* show/hide "change" link for progress step depend on complete status
|
7287 |
* should be placed in .css file */
|
7288 |
.opc-block-progress dt.complete a,
|
7366 |
clear: both;
|
7367 |
width: 100%;
|
7368 |
margin-top: 15px;
|
7369 |
+
display: block;
|
7370 |
}
|
7371 |
.gift-message-form .inner-box > div.extra-options-container p {
|
7372 |
margin-bottom: 15px;
|
7377 |
.gift-message-form .gift-wrapping-form img {
|
7378 |
float: left;
|
7379 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7380 |
.gift-message-form .gift-wrapping-form .gift-wrapping-design {
|
7381 |
height: 75px;
|
7382 |
}
|
7414 |
}
|
7415 |
|
7416 |
@media only screen and (max-width: 770px) {
|
7417 |
+
.gift-message-form .giftmessage-area {
|
7418 |
+
max-width: 100%;
|
7419 |
+
}
|
7420 |
.gift-message-form .gift-item .product-img-box {
|
7421 |
width: 100%;
|
7422 |
float: none;
|
7428 |
width: 100%;
|
7429 |
}
|
7430 |
}
|
7431 |
+
/* ============================================ *
|
7432 |
+
* Checkout - Success
|
7433 |
+
* ============================================ */
|
7434 |
+
.checkout-onepage-success .col-main {
|
7435 |
+
padding: 0;
|
7436 |
+
text-align: center;
|
7437 |
+
}
|
7438 |
+
.checkout-onepage-success .buttons-set {
|
7439 |
+
margin: 10px 0;
|
7440 |
+
text-align: center;
|
7441 |
+
}
|
7442 |
+
.checkout-onepage-success .buttons-set button {
|
7443 |
+
float: none;
|
7444 |
+
}
|
7445 |
+
|
7446 |
+
/* ============================================ *
|
7447 |
+
* Configurable Swatches
|
7448 |
+
* ============================================ */
|
7449 |
/* Clears */
|
7450 |
.clearfix:after,
|
7451 |
.configurable-swatch-list:after,
|
7452 |
.product-view .product-options .swatch-attr:after {
|
7453 |
+
content: '';
|
7454 |
+
display: table;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7455 |
clear: both;
|
|
|
|
|
|
|
|
|
|
|
|
|
7456 |
}
|
7457 |
|
7458 |
/* General Swatch Styling */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7459 |
.swatch-link,
|
7460 |
.swatch-label {
|
7461 |
display: block;
|
7462 |
border-radius: 3px;
|
7463 |
font-size: 14px;
|
7464 |
text-align: center;
|
7465 |
+
color: #636363;
|
7466 |
text-decoration: none;
|
7467 |
box-sizing: content-box;
|
7468 |
}
|
7469 |
|
7470 |
.swatch-link {
|
7471 |
+
border: 1px solid #cccccc;
|
7472 |
margin: 0 0 3px;
|
7473 |
}
|
7474 |
+
.swatch-link img {
|
7475 |
+
border-radius: 2px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7476 |
}
|
|
|
7477 |
.swatch-link:hover {
|
7478 |
cursor: pointer;
|
7479 |
+
text-decoration: none;
|
7480 |
}
|
|
|
|
|
|
|
|
|
|
|
7481 |
.swatch-link .x {
|
7482 |
display: none;
|
7483 |
text-indent: -999em;
|
7489 |
background: url(../images/bg_x.png) center no-repeat transparent;
|
7490 |
z-index: 10;
|
7491 |
}
|
7492 |
+
.swatch-link.has-image .swatch-label {
|
7493 |
+
position: relative;
|
7494 |
+
}
|
7495 |
+
.swatch-link.has-image img {
|
7496 |
+
position: absolute;
|
7497 |
+
top: 0;
|
7498 |
+
left: 0;
|
7499 |
+
}
|
7500 |
+
|
7501 |
+
.swatch-label {
|
7502 |
+
border: 1px solid #fff;
|
7503 |
+
margin: 0;
|
7504 |
+
white-space: nowrap;
|
7505 |
+
background: #f4f4f4;
|
7506 |
+
}
|
7507 |
|
7508 |
+
.configurable-swatch-list {
|
7509 |
+
margin-left: -3px;
|
7510 |
+
zoom: 1;
|
7511 |
+
clear: both;
|
7512 |
+
-webkit-transform: translateZ(0px);
|
7513 |
+
}
|
7514 |
+
.configurable-swatch-list li {
|
7515 |
+
float: left;
|
7516 |
+
zoom: 1;
|
7517 |
+
margin: 0 0 0 3px;
|
7518 |
+
}
|
7519 |
+
.products-grid .configurable-swatch-list li {
|
7520 |
+
display: inline-block;
|
7521 |
+
float: none;
|
7522 |
+
margin: 0;
|
7523 |
+
vertical-align: top;
|
7524 |
+
}
|
7525 |
.configurable-swatch-list .not-available .x {
|
7526 |
display: block;
|
7527 |
}
|
|
|
7528 |
.configurable-swatch-list .not-available .swatch-link {
|
7529 |
+
border-color: #ededed;
|
7530 |
position: relative;
|
7531 |
}
|
7532 |
+
.configurable-swatch-list .not-available .swatch-link.has-image img {
|
7533 |
+
opacity: 0.4;
|
7534 |
+
filter: alpha(opacity=40);
|
7535 |
+
}
|
7536 |
.configurable-swatch-list .not-available .swatch-label {
|
7537 |
color: #aaa;
|
7538 |
background: #fff;
|
7539 |
}
|
7540 |
+
.configurable-swatch-list .wide-swatch .swatch-label {
|
7541 |
+
padding: 0 6px;
|
7542 |
+
}
|
7543 |
+
.configurable-swatch-list .not-available a:focus {
|
7544 |
+
outline: 0;
|
7545 |
+
}
|
7546 |
|
7547 |
+
#narrow-by-list dd .configurable-swatch-list li {
|
7548 |
+
margin: 0 0 0 3px;
|
7549 |
+
width: 47%;
|
7550 |
+
}
|
7551 |
+
#narrow-by-list dd .swatch-link {
|
7552 |
+
border: none;
|
7553 |
+
line-height: 25px;
|
7554 |
+
margin-right: 2px;
|
7555 |
+
text-align: left;
|
7556 |
+
}
|
7557 |
+
#narrow-by-list dd .swatch-link.has-image {
|
7558 |
+
line-height: inherit;
|
7559 |
+
}
|
7560 |
+
#narrow-by-list dd .swatch-link:hover .swatch-label {
|
7561 |
+
border-color: #3399cc;
|
7562 |
+
}
|
7563 |
+
#narrow-by-list dd .swatch-label {
|
7564 |
+
background: #f4f4f4;
|
7565 |
+
border: 1px solid #cccccc;
|
7566 |
+
border-radius: 3px;
|
7567 |
+
display: block;
|
7568 |
+
float: left;
|
7569 |
+
line-height: 1.5em;
|
7570 |
+
margin: 0 5px 0 0;
|
7571 |
+
padding: 1px 5px;
|
7572 |
+
white-space: nowrap;
|
7573 |
+
}
|
7574 |
+
#narrow-by-list dd .swatch-label img {
|
7575 |
+
border: 1px solid #fff;
|
7576 |
+
border-radius: 3px;
|
7577 |
+
box-sizing: content-box;
|
7578 |
+
}
|
7579 |
+
#narrow-by-list dd .has-image .swatch-label {
|
7580 |
+
padding: 0;
|
7581 |
}
|
7582 |
|
7583 |
+
@media only screen and (max-width: 770px) {
|
7584 |
+
#narrow-by-list dd .configurable-swatch-list li:nth-child(odd) {
|
7585 |
+
clear: left;
|
7586 |
+
}
|
7587 |
+
}
|
7588 |
+
.currently .swatch-current {
|
7589 |
+
position: relative;
|
7590 |
+
}
|
7591 |
+
.currently .swatch-current .btn-remove {
|
7592 |
+
margin-top: -10px;
|
7593 |
position: absolute;
|
7594 |
+
right: 0;
|
7595 |
+
top: 50%;
|
7596 |
}
|
7597 |
+
.currently .swatch-current span {
|
7598 |
+
display: block;
|
7599 |
+
float: left;
|
7600 |
+
}
|
7601 |
+
.currently .swatch-link {
|
7602 |
+
display: inline-block;
|
7603 |
+
margin: 0 0 0 3px;
|
7604 |
+
}
|
7605 |
+
.currently .swatch-link:hover {
|
7606 |
+
border-color: #cccccc;
|
7607 |
+
cursor: default;
|
7608 |
}
|
7609 |
|
7610 |
/* Other Swatch States */
|
7611 |
.configurable-swatch-list .hover .swatch-link,
|
7612 |
.configurable-swatch-list .selected .swatch-link,
|
7613 |
.swatch-link:hover {
|
7614 |
+
border-color: #3399cc;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7615 |
}
|
7616 |
|
7617 |
.configurable-swatch-box {
|
7618 |
background: none !important;
|
7619 |
}
|
|
|
7620 |
.configurable-swatch-box select.swatch-select {
|
7621 |
display: none;
|
7622 |
}
|
|
|
7623 |
.configurable-swatch-box .validation-advice {
|
7624 |
margin: 0 0 5px;
|
7625 |
+
background: #df280a;
|
7626 |
padding: 2px 5px !important;
|
7627 |
font-weight: bold;
|
7628 |
color: #fff !important;
|
7633 |
|
7634 |
/* CUSTOM */
|
7635 |
.availability.out-of-stock span {
|
7636 |
+
color: #a0a0a0;
|
7637 |
}
|
7638 |
|
7639 |
+
.product-view .product-options .swatch-attr {
|
7640 |
+
float: none;
|
7641 |
+
display: block;
|
7642 |
+
clear: both;
|
7643 |
+
border: 0;
|
7644 |
+
}
|
7645 |
+
.product-view .product-options .swatch-attr label,
|
7646 |
+
.product-view .product-options .swatch-attr .select-label {
|
7647 |
+
font-size: 12px;
|
7648 |
+
}
|
7649 |
+
.product-view .product-options .swatch-attr label {
|
7650 |
+
display: block;
|
7651 |
+
line-height: 1.3;
|
7652 |
+
}
|
7653 |
+
.product-view .product-options .swatch-attr .select-label {
|
7654 |
+
display: inline;
|
7655 |
+
font-weight: normal;
|
7656 |
+
color: #3399cc;
|
7657 |
+
padding-left: 5px;
|
7658 |
}
|
|
|
7659 |
.product-view .product-options dd .input-box {
|
7660 |
width: auto;
|
7661 |
height: auto;
|
7662 |
}
|
7663 |
+
.product-view .product-options .select-label {
|
|
|
7664 |
display: none;
|
7665 |
}
|
7666 |
+
.product-view .add-to-cart button.out-of-stock {
|
7667 |
+
background-position: -80px -362px;
|
7668 |
+
cursor: default;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7669 |
}
|
7670 |
|
7671 |
/* ============================================ *
|
7851 |
font-style: normal;
|
7852 |
font-size: 13px;
|
7853 |
}
|
7854 |
+
body.customer-account .data-table span.nobr {
|
7855 |
+
white-space: normal;
|
7856 |
+
}
|
7857 |
+
body.customer-account .data-table span.nobr a {
|
7858 |
+
white-space: nowrap;
|
7859 |
+
}
|
7860 |
+
body.customer-account .data-table td.view a {
|
7861 |
+
display: block;
|
7862 |
+
}
|
7863 |
+
body.customer-account .data-table .separator {
|
7864 |
+
display: none;
|
7865 |
+
}
|
7866 |
body.customer-account .sidebar .block ol#compare-items li {
|
7867 |
margin: 10px 0;
|
7868 |
}
|
7958 |
}
|
7959 |
.dashboard .col2-set .col-1 .box-title a,
|
7960 |
.dashboard .col2-set .col-2 .box-title a {
|
|
|
|
|
|
|
|
|
7961 |
line-height: 19.6px;
|
7962 |
}
|
7963 |
.dashboard .box-reviews.box-account {
|
8187 |
padding-right: 30px;
|
8188 |
padding-bottom: 0;
|
8189 |
}
|
8190 |
+
|
8191 |
+
body.customer-account .data-table td.view a {
|
8192 |
+
white-space: normal;
|
8193 |
+
}
|
8194 |
}
|
8195 |
@media only screen and (max-width: 979px) {
|
8196 |
body.customer-account .my-account .title-buttons {
|
8200 |
body.customer-account .my-account .title-buttons a {
|
8201 |
top: -12px;
|
8202 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8203 |
}
|
8204 |
@media only screen and (max-width: 770px) {
|
8205 |
+
body.customer-account .data-table.orders th.ship,
|
8206 |
+
body.customer-account .data-table.orders td.ship,
|
8207 |
+
body.customer-account .data-table.orders td.status,
|
8208 |
+
body.customer-account .data-table.orders th.status {
|
8209 |
display: none;
|
8210 |
}
|
8211 |
|
8258 |
padding-left: 0;
|
8259 |
}
|
8260 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
8261 |
@media only screen and (max-width: 479px) {
|
8262 |
body.customer-account .my-account .page-title h1 {
|
8263 |
text-align: center;
|
8270 |
position: static;
|
8271 |
margin-bottom: 15px;
|
8272 |
}
|
8273 |
+
body.customer-account .my-account .title-buttons .button + .button {
|
8274 |
+
margin-left: 0px;
|
8275 |
+
}
|
8276 |
body.customer-account .my-account .fieldset h2 {
|
8277 |
margin-bottom: 15px;
|
8278 |
}
|
8309 |
width: 100%;
|
8310 |
margin-top: 15px;
|
8311 |
}
|
|
|
|
|
|
|
|
|
|
|
8312 |
|
8313 |
.order-info-box {
|
8314 |
margin: 0;
|
8367 |
}
|
8368 |
}
|
8369 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8370 |
/* ============================================ *
|
8371 |
* PayPal
|
8372 |
* ============================================ */
|
8398 |
}
|
8399 |
}
|
8400 |
|
8401 |
+
.top-container .bml-ad {
|
8402 |
+
margin-top: 7px;
|
8403 |
+
margin-bottom: 7px;
|
8404 |
+
text-align: center;
|
8405 |
+
}
|
8406 |
+
.top-container .bml-ad span {
|
8407 |
+
display: inline-block;
|
8408 |
+
}
|
8409 |
+
.top-container .bml-ad span a {
|
8410 |
+
display: block;
|
8411 |
+
}
|
8412 |
+
|
8413 |
.bml-ad {
|
8414 |
display: none;
|
8415 |
+
text-align: center;
|
8416 |
+
margin-bottom: 5px;
|
8417 |
+
}
|
8418 |
+
.bml-ad span {
|
8419 |
+
display: block;
|
8420 |
+
line-height: 0;
|
8421 |
+
}
|
8422 |
+
.bml-ad a {
|
8423 |
+
display: inline-block;
|
8424 |
+
max-width: 100%;
|
8425 |
+
}
|
8426 |
+
.bml-ad a:hover {
|
8427 |
+
opacity: 0.7;
|
8428 |
}
|
8429 |
+
.bml-ad img {
|
8430 |
+
height: auto !important;
|
8431 |
max-width: 100%;
|
8432 |
}
|
8433 |
|
8434 |
+
.cart-totals-wrapper .bml-ad.large img {
|
8435 |
+
display: block;
|
8436 |
+
margin: 0;
|
8437 |
+
}
|
8438 |
+
|
8439 |
+
@media only screen and (max-width: 770px) {
|
8440 |
.bml-ad.small {
|
8441 |
display: block;
|
8442 |
}
|
8443 |
}
|
8444 |
+
@media only screen and (min-width: 771px) {
|
8445 |
.bml-ad.large {
|
8446 |
display: block;
|
8447 |
}
|
8448 |
}
|
8449 |
+
div.paypal-logo {
|
8450 |
+
text-align: center;
|
8451 |
+
margin: 15px 0;
|
8452 |
+
max-width: 100%;
|
8453 |
+
}
|
8454 |
+
div.paypal-logo span {
|
8455 |
+
display: block;
|
8456 |
+
width: 100%;
|
8457 |
+
}
|
8458 |
+
div.paypal-logo span a {
|
8459 |
+
display: inline-block;
|
8460 |
+
max-width: 100%;
|
8461 |
+
}
|
8462 |
+
div.paypal-logo span a img {
|
8463 |
+
max-width: 100%;
|
8464 |
+
}
|
8465 |
+
div.paypal-logo span > img {
|
8466 |
+
display: none;
|
8467 |
+
}
|
8468 |
+
|
8469 |
+
.checkout-types div.paypal-logo {
|
8470 |
+
text-align: right;
|
8471 |
+
}
|
8472 |
+
|
8473 |
+
.bml-checkout-type {
|
8474 |
+
list-style-type: none;
|
8475 |
+
}
|
8476 |
+
|
8477 |
+
.sidebar .paypal-logo {
|
8478 |
+
text-align: center;
|
8479 |
+
line-height: 0;
|
8480 |
+
}
|
8481 |
+
.sidebar .paypal-logo > a {
|
8482 |
+
display: inline-block;
|
8483 |
+
max-width: 100%;
|
8484 |
+
}
|
8485 |
+
.sidebar .paypal-logo > a:hover {
|
8486 |
+
opacity: 0.8;
|
8487 |
+
}
|
8488 |
+
.sidebar .paypal-logo > a img {
|
8489 |
+
display: block;
|
8490 |
+
}
|
8491 |
+
.sidebar .paypal-logo .label {
|
8492 |
+
margin-top: 4px;
|
8493 |
+
}
|
8494 |
+
.sidebar .paypal-logo .label a {
|
8495 |
+
font-size: 12px;
|
8496 |
+
line-height: 1.5;
|
8497 |
+
}
|
8498 |
+
|
8499 |
/* ============================================ *
|
8500 |
* Review - Customer
|
8501 |
* ============================================ */
|
8621 |
width: 100%;
|
8622 |
}
|
8623 |
#customer-reviews dl dd .ratings-table tr {
|
|
|
8624 |
margin-right: 15px;
|
8625 |
}
|
8626 |
+
#customer-reviews dl dd .ratings-table .review-label {
|
8627 |
+
width: 300px;
|
8628 |
+
max-width: 70%;
|
8629 |
+
}
|
8630 |
#customer-reviews dl dd table {
|
8631 |
margin: 15px 0;
|
8632 |
}
|
8718 |
width: 100%;
|
8719 |
}
|
8720 |
body.review-product-list .product-view .product-shop .extra-info .ratings-table tr {
|
|
|
8721 |
margin-right: 15px;
|
8722 |
}
|
8723 |
}
|
8775 |
float: none;
|
8776 |
}
|
8777 |
}
|
|
|
8778 |
/* ============================================ *
|
8779 |
* Review View Page
|
8780 |
* ============================================ */
|
8781 |
.review-product-view .product-review .product-details h2 {
|
8782 |
+
border-bottom: none;
|
8783 |
}
|
8784 |
.review-product-view .product-review .product-img-box {
|
8785 |
+
width: auto;
|
8786 |
+
max-width: 50%;
|
8787 |
}
|
8788 |
.review-product-view .product-review .product-img-box > a {
|
8789 |
+
width: 100%;
|
8790 |
}
|
8791 |
.review-product-view .product-review .product-img-box .product-image {
|
8792 |
+
width: 100%;
|
8793 |
}
|
8794 |
|
8795 |
@media only screen and (max-width: 770px) {
|
8796 |
+
.review-product-view .product-review .product-img-box {
|
8797 |
+
max-width: 100%;
|
8798 |
+
}
|
8799 |
}
|
|
|
8800 |
/* ============================================ *
|
8801 |
* Slideshow
|
8802 |
* ============================================ */
|
9028 |
padding-top: 5px;
|
9029 |
}
|
9030 |
#wishlist-table .item-manage .button {
|
|
|
9031 |
font-size: 11px;
|
9032 |
padding: 3px 5px;
|
9033 |
}
|
9068 |
#wishlist-table td.customer-wishlist-item-remove {
|
9069 |
width: 20px;
|
9070 |
}
|
9071 |
+
#wishlist-table td .button,
|
9072 |
+
#wishlist-table td button {
|
9073 |
+
white-space: normal;
|
9074 |
+
}
|
9075 |
#wishlist-table .price-box {
|
9076 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
9077 |
font-size: 12px;
|
9094 |
background: none;
|
9095 |
color: #3399cc;
|
9096 |
}
|
9097 |
+
#wishlist-table td[data-rwd-label]:before {
|
9098 |
+
font-weight: 600;
|
9099 |
+
}
|
9100 |
|
9101 |
@media only screen and (max-width: 1199px) {
|
9102 |
#wishlist-table.clean-table td {
|
9257 |
/* ============================================ *
|
9258 |
* Checkout - Mini cart
|
9259 |
* ============================================ */
|
9260 |
+
.header-minicart {
|
9261 |
+
display: inline-block;
|
9262 |
+
}
|
9263 |
+
@media only screen and (max-width: 770px) {
|
9264 |
+
.header-minicart {
|
9265 |
+
display: block;
|
9266 |
+
}
|
9267 |
+
}
|
9268 |
.header-minicart .minicart-message {
|
9269 |
display: block;
|
9270 |
padding: 10px;
|
9271 |
}
|
9272 |
+
.header-minicart .empty {
|
9273 |
+
padding: 10px;
|
9274 |
+
text-align: center;
|
9275 |
+
}
|
9276 |
.header-minicart .minicart-wrapper {
|
9277 |
clear: both;
|
9278 |
position: relative;
|
9370 |
padding-left: 4px;
|
9371 |
padding-right: 4px;
|
9372 |
margin-right: 2px;
|
9373 |
+
width: 3.2em;
|
9374 |
+
text-align: center;
|
9375 |
+
height: 30px;
|
9376 |
}
|
9377 |
.header-minicart .info-wrapper .quantity-button {
|
9378 |
opacity: 0;
|
9408 |
margin-top: 0px;
|
9409 |
overflow: hidden;
|
9410 |
position: relative;
|
9411 |
+
text-align: center;
|
9412 |
}
|
9413 |
.header-minicart .minicart-actions .checkout-button {
|
9414 |
min-width: 145px;
|
9417 |
height: 33px;
|
9418 |
line-height: 39px;
|
9419 |
text-transform: uppercase;
|
|
|
9420 |
font-size: 13px;
|
|
|
|
|
|
|
9421 |
}
|
9422 |
.header-minicart .minicart-actions .paypal-logo .paypal-or {
|
9423 |
line-height: 1.6;
|
9442 |
display: block;
|
9443 |
}
|
9444 |
|
9445 |
+
@media only screen and (min-width: 771px) {
|
9446 |
+
.checkout-types.minicart {
|
9447 |
+
float: none;
|
9448 |
+
text-align: center;
|
9449 |
+
}
|
9450 |
+
}
|
9451 |
@media only screen and (max-width: 479px) {
|
9452 |
.header-minicart a.skip-cart {
|
9453 |
z-index: 1;
|
9475 |
.header-minicart .minicart-actions .cart-link {
|
9476 |
bottom: 0;
|
9477 |
right: 10px;
|
9478 |
+
position: absolute;
|
9479 |
}
|
9480 |
.header-minicart .minicart-actions .checkout-types.minicart li {
|
9481 |
display: inline-block;
|
9495 |
line-height: 40px;
|
9496 |
}
|
9497 |
}
|
9498 |
+
@media only screen and (max-width: 740px) {
|
|
|
|
|
|
|
9499 |
.header-minicart .minicart-actions .cart-link {
|
9500 |
right: auto;
|
9501 |
left: 0;
|
9512 |
line-height: 1.6;
|
9513 |
}
|
9514 |
}
|
9515 |
+
@media only screen and (max-width: 599px) {
|
9516 |
+
.header-minicart .minicart-actions .checkout-button {
|
9517 |
+
width: 100%;
|
9518 |
+
}
|
9519 |
+
}
|
9520 |
/* ============================================ *
|
9521 |
* Search - Auto Suggest
|
9522 |
* ============================================ */
|
9775 |
top: 50%;
|
9776 |
margin-top: -3px;
|
9777 |
}
|
9778 |
+
#accordion > dl > dt:hover {
|
9779 |
+
background-color: #ececec;
|
9780 |
+
}
|
9781 |
#accordion > dl > dd {
|
9782 |
padding: 10px;
|
9783 |
margin: 0;
|
9840 |
/* ============================================ *
|
9841 |
* Pricing Conditions
|
9842 |
* ============================================ */
|
|
|
|
|
|
|
9843 |
.price-box .minimal-price-link .label {
|
9844 |
color: #cf5050;
|
9845 |
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
9847 |
text-transform: uppercase;
|
9848 |
}
|
9849 |
|
9850 |
+
.map-info {
|
9851 |
+
white-space: nowrap;
|
9852 |
+
}
|
9853 |
+
|
9854 |
+
.catalog-product-view .map-info {
|
9855 |
+
white-space: normal;
|
9856 |
+
}
|
9857 |
+
.catalog-product-view .map-info > span {
|
9858 |
+
float: right;
|
9859 |
+
margin-bottom: 5px;
|
9860 |
+
}
|
9861 |
+
.catalog-product-view .map-info .price-box.map-info > a {
|
9862 |
+
float: right;
|
9863 |
+
width: 100%;
|
9864 |
+
}
|
9865 |
+
|
9866 |
/* ============================================ *
|
9867 |
* Cookies
|
9868 |
* ============================================ */
|
9925 |
text-align: left;
|
9926 |
}
|
9927 |
}
|
9928 |
+
/* ============================================ *
|
9929 |
+
* Tags
|
9930 |
+
* ============================================ */
|
9931 |
+
#addTagForm button {
|
9932 |
+
margin-top: 5px;
|
9933 |
+
margin-bottom: 10px;
|
9934 |
+
}
|
9935 |
+
|
9936 |
+
#addTagForm .form-add {
|
9937 |
+
margin-top: 10px;
|
9938 |
+
}
|
9939 |
+
|
9940 |
+
.product-tags {
|
9941 |
+
background-color: #f4f4f4;
|
9942 |
+
border: 1px solid #cccccc;
|
9943 |
+
float: left;
|
9944 |
+
margin-bottom: 10px;
|
9945 |
+
padding: 5px 1% 10px;
|
9946 |
+
width: 98%;
|
9947 |
+
}
|
9948 |
+
|
9949 |
+
.product-tags li {
|
9950 |
+
float: left;
|
9951 |
+
margin-right: 15px;
|
9952 |
+
}
|
9953 |
+
|
9954 |
+
.product-tags li.last {
|
9955 |
+
margin-right: 0px;
|
9956 |
+
}
|
9957 |
+
|
9958 |
+
.tags-list {
|
9959 |
+
float: left;
|
9960 |
+
width: 100%;
|
9961 |
+
margin-bottom: 10px;
|
9962 |
+
}
|
9963 |
+
|
9964 |
+
.tags-list > li {
|
9965 |
+
float: left;
|
9966 |
+
margin-right: 10px;
|
9967 |
+
}
|
9968 |
+
|
9969 |
+
.block-tags .actions > a {
|
9970 |
+
font-size: 12px;
|
9971 |
+
}
|
9972 |
+
|
9973 |
+
.my-tag-edit .button.btn-remove {
|
9974 |
+
padding: 0;
|
9975 |
+
}
|
9976 |
+
.my-tag-edit .button.btn-remove:after {
|
9977 |
+
color: white;
|
9978 |
+
}
|
9979 |
+
|
9980 |
+
@media only screen and (max-width: 770px) {
|
9981 |
+
.tags-list > li,
|
9982 |
+
.tags-list {
|
9983 |
+
float: none;
|
9984 |
+
}
|
9985 |
+
}
|
9986 |
+
/* ============================================ *
|
9987 |
+
* Captcha
|
9988 |
+
* ============================================ */
|
9989 |
+
.captcha-note {
|
9990 |
+
clear: left;
|
9991 |
+
padding-top: 5px;
|
9992 |
+
}
|
9993 |
+
|
9994 |
+
.captcha-image {
|
9995 |
+
float: left;
|
9996 |
+
display: inline;
|
9997 |
+
max-width: 100%;
|
9998 |
+
position: relative;
|
9999 |
+
width: 258px;
|
10000 |
+
margin-bottom: 10px;
|
10001 |
+
}
|
10002 |
+
|
10003 |
+
.captcha-image .captcha-img {
|
10004 |
+
border: 1px solid #b6b6b6;
|
10005 |
+
vertical-align: bottom;
|
10006 |
+
width: 100%;
|
10007 |
+
}
|
10008 |
+
|
10009 |
+
.registered-users .captcha-image {
|
10010 |
+
margin: 0;
|
10011 |
+
}
|
10012 |
+
|
10013 |
+
.captcha-reload {
|
10014 |
+
cursor: pointer;
|
10015 |
+
position: absolute;
|
10016 |
+
top: 2px;
|
10017 |
+
right: 2px;
|
10018 |
+
}
|
10019 |
+
|
10020 |
+
.captcha-reload.refreshing {
|
10021 |
+
animation: rotate 1.5s infinite linear;
|
10022 |
+
-webkit-animation: rotate 1.5s infinite linear;
|
10023 |
+
-moz-animation: rotate 1.5s infinite linear;
|
10024 |
+
}
|
10025 |
+
|
10026 |
+
.customer-account-create .scaffold-form .captcha-input-container label:first-child {
|
10027 |
+
width: 100%;
|
10028 |
+
}
|
10029 |
+
|
10030 |
+
.captcha-reload {
|
10031 |
+
position: absolute;
|
10032 |
+
right: 4px;
|
10033 |
+
top: 4px;
|
10034 |
+
}
|
10035 |
+
|
10036 |
+
.captcha-img {
|
10037 |
+
border: 20px solid #bbbbbb;
|
10038 |
+
}
|
10039 |
|
10040 |
+
.captcha-input-container {
|
10041 |
+
margin-bottom: 10px;
|
10042 |
+
}
|
10043 |
+
|
10044 |
+
.control.newsletter-box, .captcha-input-container, .captcha-img-container {
|
10045 |
+
float: none;
|
10046 |
+
clear: both;
|
10047 |
+
}
|
10048 |
+
.control.newsletter-box:after, .captcha-input-container:after, .captcha-img-container:after {
|
10049 |
+
content: '';
|
10050 |
+
content: '';
|
10051 |
+
display: table;
|
10052 |
+
clear: both;
|
10053 |
+
}
|
10054 |
+
|
10055 |
+
/* ============================================ *
|
10056 |
+
* Checkout Billing Fix to place the Captcha properly
|
10057 |
+
* ============================================ */
|
10058 |
+
#co-billing-form ul.form-list > .control {
|
10059 |
+
float: left;
|
10060 |
+
margin: 0 0 5px;
|
10061 |
+
width: 100%;
|
10062 |
+
}
|
10063 |
+
|
10064 |
+
/* ============================================ *
|
10065 |
+
* Account - Orders, Invoices, Credit Memos.
|
10066 |
+
* ============================================ */
|
10067 |
+
@media only screen and (max-width: 479px) {
|
10068 |
+
.sales-order-invoice .sub-title,
|
10069 |
+
.sales-order-creditmemo .sub-title,
|
10070 |
+
.sales-order-shipment .sub-title {
|
10071 |
+
float: left;
|
10072 |
+
font-size: 15px;
|
10073 |
+
text-align: center;
|
10074 |
+
width: 100%;
|
10075 |
+
}
|
10076 |
+
.sales-order-invoice .order-links,
|
10077 |
+
.sales-order-creditmemo .order-links,
|
10078 |
+
.sales-order-shipment .order-links {
|
10079 |
+
text-align: center;
|
10080 |
+
width: 100%;
|
10081 |
+
}
|
10082 |
+
}
|
10083 |
+
/* ============================================ *
|
10084 |
+
* Recurring Profiles
|
10085 |
+
* ============================================ */
|
10086 |
+
#recurring_profile_list_view th {
|
10087 |
+
white-space: normal;
|
10088 |
+
}
|
10089 |
+
#recurring_profile_list_view th span {
|
10090 |
+
white-space: inherit;
|
10091 |
+
}
|
10092 |
+
@media only screen and (max-width: 479px) {
|
10093 |
+
#recurring_profile_list_view {
|
10094 |
+
font-size: 12px;
|
10095 |
+
}
|
10096 |
+
#recurring_profile_list_view a {
|
10097 |
+
font-size: inherit;
|
10098 |
+
}
|
10099 |
+
#recurring_profile_list_view th,
|
10100 |
+
#recurring_profile_list_view td {
|
10101 |
+
padding: 2px;
|
10102 |
+
}
|
10103 |
+
}
|
10104 |
+
|
10105 |
+
.recurring-profiles-title {
|
10106 |
+
float: left;
|
10107 |
+
}
|
10108 |
+
.recurring-profiles-title h1 {
|
10109 |
+
margin-bottom: 7px;
|
10110 |
+
}
|
10111 |
+
|
10112 |
+
body.customer-account .my-account .title-buttons.recurring-profiles-title-buttons {
|
10113 |
+
float: right;
|
10114 |
+
text-align: right;
|
10115 |
+
margin-bottom: 30px;
|
10116 |
+
}
|
10117 |
+
@media only screen and (max-width: 479px) {
|
10118 |
+
body.customer-account .my-account .title-buttons.recurring-profiles-title-buttons {
|
10119 |
+
text-align: center;
|
10120 |
+
float: none;
|
10121 |
+
}
|
10122 |
+
}
|
10123 |
+
body.customer-account .my-account .title-buttons.recurring-profiles-title-buttons .button {
|
10124 |
+
position: static;
|
10125 |
+
}
|
10126 |
+
|
10127 |
+
.recurring-profiles-messages:after {
|
10128 |
+
content: '';
|
10129 |
+
display: table;
|
10130 |
+
clear: both;
|
10131 |
+
}
|
10132 |
+
|
10133 |
+
#recurring_start_date_trig {
|
10134 |
+
display: inline;
|
10135 |
+
}
|
10136 |
+
|
10137 |
+
/* ============================================ *
|
10138 |
+
* Billing Agreements
|
10139 |
+
* ============================================ */
|
10140 |
+
.billing-agreements .info-box {
|
10141 |
+
margin-bottom: 30px;
|
10142 |
+
}
|
10143 |
+
.billing-agreements .info-box:after {
|
10144 |
+
content: '';
|
10145 |
+
display: table;
|
10146 |
+
clear: both;
|
10147 |
+
}
|
10148 |
+
.billing-agreements .info-box .form-list {
|
10149 |
+
max-width: 400px;
|
10150 |
+
width: 100%;
|
10151 |
+
}
|
10152 |
+
.billing-agreements .info-box .box-title {
|
10153 |
+
margin-top: 20px;
|
10154 |
+
margin-bottom: 7px;
|
10155 |
+
}
|
10156 |
+
.billing-agreements .info-box .button {
|
10157 |
+
float: right;
|
10158 |
+
margin-top: 7px;
|
10159 |
+
}
|
10160 |
+
@media only screen and (max-width: 479px) {
|
10161 |
+
.billing-agreements .info-box .button {
|
10162 |
+
width: 100%;
|
10163 |
+
float: none;
|
10164 |
+
}
|
10165 |
+
}
|
10166 |
+
.billing-agreements #payment_method {
|
10167 |
+
width: 100%;
|
10168 |
+
margin-top: 7px;
|
10169 |
+
margin-bottom: 7px;
|
10170 |
+
}
|
10171 |
+
|
10172 |
+
.billing-agreement-view-header-wrapper .heading {
|
10173 |
+
max-width: 80%;
|
10174 |
+
}
|
10175 |
+
@media only screen and (max-width: 479px) {
|
10176 |
+
.billing-agreement-view-header-wrapper .heading {
|
10177 |
+
max-width: 100%;
|
10178 |
+
}
|
10179 |
+
}
|
10180 |
+
|
10181 |
+
.billing-agreement-details td, .billing-agreement-details th {
|
10182 |
+
padding: 3.5px;
|
10183 |
+
}
|
10184 |
+
|
10185 |
+
@media only screen and (max-width: 979px) {
|
10186 |
+
.billing-agreements .data-table .created-at,
|
10187 |
+
.billing-agreements .data-table .updated-at {
|
10188 |
+
display: none;
|
10189 |
+
}
|
10190 |
+
}
|
10191 |
+
/* ============================================ *
|
10192 |
+
* Popular Search Terms Cloud
|
10193 |
+
* ============================================ */
|
10194 |
+
.catalogsearch-term-popular .tags-list {
|
10195 |
+
float: left;
|
10196 |
+
width: 100%;
|
10197 |
+
}
|
10198 |
+
|
10199 |
+
.catalogsearch-term-popular .tags-list > li {
|
10200 |
+
float: left;
|
10201 |
+
height: 40px;
|
10202 |
+
margin-right: 25px;
|
10203 |
+
}
|
10204 |
+
|
10205 |
+
/* ============================================ *
|
10206 |
+
* Widgets
|
10207 |
+
* ============================================ */
|
10208 |
+
/* -------------------------------------------- *
|
10209 |
+
* Add to cart by SKU
|
10210 |
+
*/
|
10211 |
+
.sidebar .widget-addbysku .sku-table .input-text:not(.qty) {
|
10212 |
+
width: 100%;
|
10213 |
+
}
|
10214 |
+
@media only screen and (min-width: 771px) {
|
10215 |
+
.sidebar .widget-addbysku .sku-table .input-text:not(.qty) {
|
10216 |
+
max-width: 100px;
|
10217 |
+
}
|
10218 |
+
}
|
10219 |
+
|
10220 |
+
.widget {
|
10221 |
+
clear: both;
|
10222 |
+
}
|
10223 |
+
|
10224 |
+
.widget .pager {
|
10225 |
+
float: none;
|
10226 |
+
width: 100%;
|
10227 |
+
}
|
10228 |
+
|
10229 |
+
@media only screen and (min-width: 1199px) {
|
10230 |
+
.col2-left-layout .col-main .widget,
|
10231 |
+
.col2-right-layout .col-main .widget,
|
10232 |
+
.col3-layout .col-main .widget {
|
10233 |
+
/* Config: Columns + flexible gutter */
|
10234 |
+
/* Undo three-column config */
|
10235 |
+
/* Set column config */
|
10236 |
+
/* Config: Columns + flexible gutter */
|
10237 |
+
/* Undo three-column config */
|
10238 |
+
/* Set column config */
|
10239 |
+
}
|
10240 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(odd),
|
10241 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(odd),
|
10242 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(odd) {
|
10243 |
+
clear: none;
|
10244 |
+
}
|
10245 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n+1),
|
10246 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n+1),
|
10247 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n+1) {
|
10248 |
+
clear: none;
|
10249 |
+
}
|
10250 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(even),
|
10251 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n),
|
10252 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(even),
|
10253 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n),
|
10254 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(even),
|
10255 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n) {
|
10256 |
+
margin-right: 2.22222%;
|
10257 |
+
}
|
10258 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li,
|
10259 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li,
|
10260 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li {
|
10261 |
+
margin-right: 2.22222%;
|
10262 |
+
}
|
10263 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li,
|
10264 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li,
|
10265 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li {
|
10266 |
+
width: 23.33333%;
|
10267 |
+
margin-right: 2.22222%;
|
10268 |
+
}
|
10269 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n+1),
|
10270 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n+1),
|
10271 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n+1) {
|
10272 |
+
clear: left;
|
10273 |
+
}
|
10274 |
+
.col2-left-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n),
|
10275 |
+
.col2-right-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n),
|
10276 |
+
.col3-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n) {
|
10277 |
+
margin-right: 0;
|
10278 |
+
}
|
10279 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(odd),
|
10280 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(odd),
|
10281 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(odd) {
|
10282 |
+
clear: none;
|
10283 |
+
}
|
10284 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n+1),
|
10285 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n+1),
|
10286 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n+1) {
|
10287 |
+
clear: none;
|
10288 |
+
}
|
10289 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(even),
|
10290 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n),
|
10291 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(even),
|
10292 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n),
|
10293 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(even),
|
10294 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n) {
|
10295 |
+
margin-right: 2.22222%;
|
10296 |
+
}
|
10297 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li,
|
10298 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li,
|
10299 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li {
|
10300 |
+
margin-right: 2.22222%;
|
10301 |
+
}
|
10302 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li,
|
10303 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li,
|
10304 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li {
|
10305 |
+
width: 18.22222%;
|
10306 |
+
margin-right: 2.22222%;
|
10307 |
+
}
|
10308 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n+1),
|
10309 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n+1),
|
10310 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n+1) {
|
10311 |
+
clear: left;
|
10312 |
+
}
|
10313 |
+
.col2-left-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n),
|
10314 |
+
.col2-right-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n),
|
10315 |
+
.col3-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n) {
|
10316 |
+
margin-right: 0;
|
10317 |
+
}
|
10318 |
+
}
|
10319 |
+
@media only screen and (min-width: 770px) {
|
10320 |
+
.col1-layout .col-main .widget {
|
10321 |
+
/* Config: Columns + flexible gutter */
|
10322 |
+
/* Undo three-column config */
|
10323 |
+
/* Set column config */
|
10324 |
+
/* Config: Columns + flexible gutter */
|
10325 |
+
/* Undo three-column config */
|
10326 |
+
/* Set column config */
|
10327 |
+
}
|
10328 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(odd) {
|
10329 |
+
clear: none;
|
10330 |
+
}
|
10331 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n+1) {
|
10332 |
+
clear: none;
|
10333 |
+
}
|
10334 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(even),
|
10335 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(3n) {
|
10336 |
+
margin-right: 2.22222%;
|
10337 |
+
}
|
10338 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li {
|
10339 |
+
margin-right: 2.22222%;
|
10340 |
+
}
|
10341 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li {
|
10342 |
+
width: 23.33333%;
|
10343 |
+
margin-right: 2.22222%;
|
10344 |
+
}
|
10345 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n+1) {
|
10346 |
+
clear: left;
|
10347 |
+
}
|
10348 |
+
.col1-layout .col-main .widget .products-grid--max-4-col-widget > li:nth-child(4n) {
|
10349 |
+
margin-right: 0;
|
10350 |
+
}
|
10351 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(odd) {
|
10352 |
+
clear: none;
|
10353 |
+
}
|
10354 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n+1) {
|
10355 |
+
clear: none;
|
10356 |
+
}
|
10357 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(even),
|
10358 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(3n) {
|
10359 |
+
margin-right: 2.22222%;
|
10360 |
+
}
|
10361 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li {
|
10362 |
+
margin-right: 2.22222%;
|
10363 |
+
}
|
10364 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li {
|
10365 |
+
width: 18.22222%;
|
10366 |
+
margin-right: 2.22222%;
|
10367 |
+
}
|
10368 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n+1) {
|
10369 |
+
clear: left;
|
10370 |
+
}
|
10371 |
+
.col1-layout .col-main .widget .products-grid--max-5-col-widget > li:nth-child(5n) {
|
10372 |
+
margin-right: 0;
|
10373 |
+
}
|
10374 |
+
}
|
10375 |
+
/* ============================================ *
|
10376 |
+
* Checkout - Multiple Addresses
|
10377 |
+
* ============================================ */
|
10378 |
+
body[class*="checkout-multishipping-"] .checkout-progress {
|
10379 |
+
width: 100%;
|
10380 |
+
float: left;
|
10381 |
+
margin-bottom: 25px;
|
10382 |
+
}
|
10383 |
+
body[class*="checkout-multishipping-"] .checkout-progress > li {
|
10384 |
+
float: left;
|
10385 |
+
width: 20%;
|
10386 |
+
text-align: center;
|
10387 |
+
padding: 8px 1% 6px;
|
10388 |
+
background: #f4f4f4;
|
10389 |
+
text-transform: uppercase;
|
10390 |
+
border-bottom: 1px solid #cccccc;
|
10391 |
+
border-right: 1px solid #cccccc;
|
10392 |
+
margin-bottom: 10px;
|
10393 |
+
font-family: "Raleway", "Helvetica Neue", Verdana, Arial, sans-serif;
|
10394 |
+
}
|
10395 |
+
body[class*="checkout-multishipping-"] .checkout-progress > li.active {
|
10396 |
+
background-color: #dddddd;
|
10397 |
+
}
|
10398 |
+
body[class*="checkout-multishipping-"] .checkout-progress > li.last {
|
10399 |
+
border-right: 0px;
|
10400 |
+
}
|
10401 |
+
body[class*="checkout-multishipping-"] .page-title {
|
10402 |
+
float: left;
|
10403 |
+
width: 100%;
|
10404 |
+
margin-bottom: 15px;
|
10405 |
+
}
|
10406 |
+
body[class*="checkout-multishipping-"] .page-title h1 {
|
10407 |
+
border: 0 none;
|
10408 |
+
float: left;
|
10409 |
+
margin-top: 2px;
|
10410 |
+
margin-right: 2%;
|
10411 |
+
}
|
10412 |
+
body[class*="checkout-multishipping-"] .page-title .button {
|
10413 |
+
float: right;
|
10414 |
+
}
|
10415 |
+
body[class*="checkout-multishipping-"] .multiple-checkout > h2 {
|
10416 |
+
text-transform: none;
|
10417 |
+
font-size: 17px;
|
10418 |
+
margin-bottom: 15px;
|
10419 |
+
}
|
10420 |
+
body[class*="checkout-multishipping-"] .messages {
|
10421 |
+
float: left;
|
10422 |
+
width: 100%;
|
10423 |
+
}
|
10424 |
+
body[class*="checkout-multishipping-"] .col-2.col-wide {
|
10425 |
+
width: 66%;
|
10426 |
+
}
|
10427 |
+
body[class*="checkout-multishipping-"] .col-1.col-narrow {
|
10428 |
+
width: 30%;
|
10429 |
+
}
|
10430 |
+
body[class*="checkout-multishipping-"] .actions {
|
10431 |
+
margin-bottom: 10px;
|
10432 |
+
}
|
10433 |
+
body[class*="checkout-multishipping-"] .grand-total {
|
10434 |
+
text-align: right;
|
10435 |
+
font-size: 16px;
|
10436 |
+
font-weight: bold;
|
10437 |
+
}
|
10438 |
+
body[class*="checkout-multishipping-"] #checkout-review-submit {
|
10439 |
+
float: right;
|
10440 |
+
}
|
10441 |
+
body[class*="checkout-multishipping-"] #review-buttons-container {
|
10442 |
+
float: right;
|
10443 |
+
text-align: right;
|
10444 |
+
}
|
10445 |
+
|
10446 |
+
.checkout-multishipping-addresses .btn-remove2 {
|
10447 |
+
text-indent: -5555px;
|
10448 |
+
display: block;
|
10449 |
+
width: 22px;
|
10450 |
+
height: 22px;
|
10451 |
+
}
|
10452 |
+
|
10453 |
+
.checkout-multishipping-shipping .gift-messages {
|
10454 |
+
margin-top: 20px;
|
10455 |
+
}
|
10456 |
+
.checkout-multishipping-shipping .gift-messages-form {
|
10457 |
+
margin-top: 15px;
|
10458 |
+
}
|
10459 |
+
.checkout-multishipping-shipping .gift-messages-form h4 {
|
10460 |
+
margin-top: 15px;
|
10461 |
+
margin-bottom: 5px;
|
10462 |
+
}
|
10463 |
+
.checkout-multishipping-shipping .gift-messages-form .form-list {
|
10464 |
+
margin-top: 10px;
|
10465 |
+
margin-bottom: 25px;
|
10466 |
+
}
|
10467 |
+
.checkout-multishipping-shipping .gift-messages-form .item {
|
10468 |
+
margin-top: 15px;
|
10469 |
+
}
|
10470 |
+
|
10471 |
+
.checkout-multishipping-shipping .col-1 .box-title h2, .checkout-multishipping-shipping .col-1 .box-title h3, .checkout-multishipping-shipping .col-1 .box-title h4, .checkout-multishipping-shipping .col-2 .box-title h2, .checkout-multishipping-shipping .col-2 .box-title h3, .checkout-multishipping-shipping .col-2 .box-title h4,
|
10472 |
+
.checkout-multishipping-billing .col-1 .box-title h2,
|
10473 |
+
.checkout-multishipping-billing .col-1 .box-title h3,
|
10474 |
+
.checkout-multishipping-billing .col-1 .box-title h4,
|
10475 |
+
.checkout-multishipping-billing .col-2 .box-title h2,
|
10476 |
+
.checkout-multishipping-billing .col-2 .box-title h3,
|
10477 |
+
.checkout-multishipping-billing .col-2 .box-title h4,
|
10478 |
+
.checkout-multishipping-overview .col-1 .box-title h2,
|
10479 |
+
.checkout-multishipping-overview .col-1 .box-title h3,
|
10480 |
+
.checkout-multishipping-overview .col-1 .box-title h4,
|
10481 |
+
.checkout-multishipping-overview .col-2 .box-title h2,
|
10482 |
+
.checkout-multishipping-overview .col-2 .box-title h3,
|
10483 |
+
.checkout-multishipping-overview .col-2 .box-title h4 {
|
10484 |
+
font-weight: normal;
|
10485 |
+
width: 100%;
|
10486 |
+
background: #f4f4f4;
|
10487 |
+
border-bottom: 1px solid #cccccc;
|
10488 |
+
padding: 10px;
|
10489 |
+
font-size: 14px;
|
10490 |
+
}
|
10491 |
+
.checkout-multishipping-shipping .col-1 > h4, .checkout-multishipping-shipping .col-2 > h4,
|
10492 |
+
.checkout-multishipping-billing .col-1 > h4,
|
10493 |
+
.checkout-multishipping-billing .col-2 > h4,
|
10494 |
+
.checkout-multishipping-overview .col-1 > h4,
|
10495 |
+
.checkout-multishipping-overview .col-2 > h4 {
|
10496 |
+
font-weight: normal;
|
10497 |
+
width: 100%;
|
10498 |
+
background: #f4f4f4;
|
10499 |
+
border-bottom: 1px solid #cccccc;
|
10500 |
+
padding: 10px;
|
10501 |
+
font-size: 14px;
|
10502 |
+
}
|
10503 |
+
.checkout-multishipping-shipping .col-1 .box-content, .checkout-multishipping-shipping .col-2 .box-content,
|
10504 |
+
.checkout-multishipping-billing .col-1 .box-content,
|
10505 |
+
.checkout-multishipping-billing .col-2 .box-content,
|
10506 |
+
.checkout-multishipping-overview .col-1 .box-content,
|
10507 |
+
.checkout-multishipping-overview .col-2 .box-content {
|
10508 |
+
margin-bottom: 25px;
|
10509 |
+
padding-left: 10px;
|
10510 |
+
margin-top: 10px;
|
10511 |
+
}
|
10512 |
+
|
10513 |
+
.checkout-multishipping-billing .sp-methods dt {
|
10514 |
+
float: left;
|
10515 |
+
width: 100%;
|
10516 |
+
}
|
10517 |
+
|
10518 |
+
#multiship-addresses-table > tbody > tr > td.a-center.last > a {
|
10519 |
+
background-image: none;
|
10520 |
+
}
|
10521 |
+
|
10522 |
+
#review-order-form > div:nth-child(3) > div.divider {
|
10523 |
+
width: 100%;
|
10524 |
+
clear: both;
|
10525 |
+
}
|
10526 |
+
|
10527 |
+
@media only screen and (max-width: 979px) {
|
10528 |
+
body[class*="checkout-multishipping-"] .checkout-progress span {
|
10529 |
+
word-spacing: 300px;
|
10530 |
+
}
|
10531 |
+
|
10532 |
+
#review-order-form .col-1,
|
10533 |
+
#review-order-form .col-2 {
|
10534 |
+
float: none;
|
10535 |
+
width: auto;
|
10536 |
+
border: 0;
|
10537 |
+
padding-right: 0;
|
10538 |
+
padding-left: 0;
|
10539 |
+
}
|
10540 |
+
}
|
10541 |
+
@media only screen and (max-width: 770px) {
|
10542 |
+
body[class*="checkout-multishipping-"] .checkout-progress span {
|
10543 |
+
width: 12px;
|
10544 |
+
}
|
10545 |
+
body[class*="checkout-multishipping-"] .checkout-progress li {
|
10546 |
+
width: 100%;
|
10547 |
+
margin: 0;
|
10548 |
+
text-align: left;
|
10549 |
+
padding-left: 3%;
|
10550 |
+
border-right: 0px;
|
10551 |
+
}
|
10552 |
+
body[class*="checkout-multishipping-"] .checkout-progress span {
|
10553 |
+
word-spacing: 1px;
|
10554 |
+
width: 12px;
|
10555 |
+
}
|
10556 |
+
body[class*="checkout-multishipping-"] .box-title {
|
10557 |
+
float: left;
|
10558 |
+
width: 100%;
|
10559 |
+
}
|
10560 |
+
body[class*="checkout-multishipping-"] .page-title .button {
|
10561 |
+
float: left;
|
10562 |
+
margin-bottom: 10px;
|
10563 |
+
}
|
10564 |
+
body[class*="checkout-multishipping-"] .linearize-table tfoot td {
|
10565 |
+
text-align: right;
|
10566 |
+
}
|
10567 |
+
body[class*="checkout-multishipping-"] .linearize-table select {
|
10568 |
+
width: 100%;
|
10569 |
+
min-width: 200px;
|
10570 |
+
}
|
10571 |
+
body[class*="checkout-multishipping-"] .col-1.col-narrow, body[class*="checkout-multishipping-"] .col-2.col-wide {
|
10572 |
+
width: 100%;
|
10573 |
+
padding: 0;
|
10574 |
+
}
|
10575 |
+
}
|
10576 |
+
@media only screen and (max-width: 599px) {
|
10577 |
+
.checkout-multishipping-addresses .linearize-table tbody td[data-rwd-label] {
|
10578 |
+
text-align: left;
|
10579 |
+
padding-left: 10px;
|
10580 |
+
margin-top: 12px;
|
10581 |
+
}
|
10582 |
+
}
|
10583 |
+
@media only screen and (max-width: 479px) {
|
10584 |
+
body[class*="checkout-multishipping-"] .buttons-set .back-link {
|
10585 |
+
display: block;
|
10586 |
+
}
|
10587 |
+
}
|
10588 |
/* ============================================ *
|
10589 |
* Calendar styles (restore styles from /js/calendar)
|
10590 |
* ============================================ */
|
skin/frontend/rwd/default/images/logo_email.gif
CHANGED
Binary file
|
skin/frontend/rwd/default/js/app.js
CHANGED
@@ -9,17 +9,17 @@
|
|
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@
|
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.
|
19 |
*
|
20 |
* @category design
|
21 |
-
* @package
|
22 |
-
* @copyright Copyright (c) 2014
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
|
@@ -43,33 +43,623 @@ var bp = {
|
|
43 |
// Search
|
44 |
// ==============================================
|
45 |
|
|
|
|
|
|
|
|
|
46 |
Varien.searchForm.prototype.initialize = function (form, field, emptyText) {
|
47 |
this.form = $(form);
|
48 |
this.field = $(field);
|
49 |
this.emptyText = emptyText;
|
50 |
|
51 |
-
this.validator = new Validation(this.form);
|
52 |
-
|
53 |
Event.observe(this.form, 'submit', this.submit.bind(this));
|
|
|
54 |
Event.observe(this.field, 'focus', this.focus.bind(this));
|
55 |
Event.observe(this.field, 'blur', this.blur.bind(this));
|
56 |
this.blur();
|
57 |
}
|
58 |
|
59 |
Varien.searchForm.prototype.submit = function (event) {
|
60 |
-
if (
|
61 |
Event.stop(event);
|
|
|
|
|
62 |
return false;
|
63 |
}
|
64 |
return true;
|
65 |
}
|
66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
67 |
// ==============================================
|
68 |
-
//
|
69 |
// ==============================================
|
70 |
|
71 |
-
|
72 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
|
74 |
// Use $j(document).ready() because Magento executes Prototype inline
|
75 |
$j(document).ready(function () {
|
@@ -83,6 +673,25 @@ $j(document).ready(function () {
|
|
83 |
var d = $j(document);
|
84 |
var body = $j('body');
|
85 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
86 |
// =============================================
|
87 |
// Skip Links
|
88 |
// =============================================
|
@@ -94,7 +703,8 @@ $j(document).ready(function () {
|
|
94 |
e.preventDefault();
|
95 |
|
96 |
var self = $j(this);
|
97 |
-
|
|
|
98 |
|
99 |
// Get target element
|
100 |
var elem = $j(target);
|
@@ -130,118 +740,8 @@ $j(document).ready(function () {
|
|
130 |
// Header Menus
|
131 |
// ==============================================
|
132 |
|
133 |
-
|
134 |
-
|
135 |
-
// ----------------------------------------------
|
136 |
-
// Top Menus
|
137 |
-
|
138 |
-
var MenuManagerState = {
|
139 |
-
TOUCH_SCROLL_THRESHOLD: 20,
|
140 |
-
|
141 |
-
touchStartPosition: null,
|
142 |
-
|
143 |
-
shouldCancelTouch: function() {
|
144 |
-
if(!this.touchStartPosition) {
|
145 |
-
return false;
|
146 |
-
}
|
147 |
-
|
148 |
-
var scroll = $j(window).scrollTop() - this.touchStartPosition;
|
149 |
-
return Math.abs(scroll) > this.TOUCH_SCROLL_THRESHOLD;
|
150 |
-
}
|
151 |
-
};
|
152 |
-
|
153 |
-
var pointerEvent = 'touchend';
|
154 |
-
// If device has implemented touch/click agnostic event, use it instead of "click"
|
155 |
-
if (window.navigator.pointerEnabled) {
|
156 |
-
pointerEvent = 'pointerdown';
|
157 |
-
} else if (window.navigator.msPointerEnabled) {
|
158 |
-
pointerEvent = 'MSPointerDown';
|
159 |
-
}
|
160 |
-
nav.find('a.has-children.level0').on(pointerEvent,function (event) {
|
161 |
-
//scroll occurred, cancel event
|
162 |
-
if(MenuManagerState.shouldCancelTouch()) {
|
163 |
-
return;
|
164 |
-
}
|
165 |
-
|
166 |
-
// If mouse is being used on large viewport, use native hover state
|
167 |
-
if (window.navigator.msPointerEnabled
|
168 |
-
&& event.originalEvent.pointerType == 'mouse'
|
169 |
-
&& Modernizr.mq("screen and (min-width:" + (bp.medium + 1) + "px)")
|
170 |
-
) {
|
171 |
-
$j(this).data('has-touch', false);
|
172 |
-
return;
|
173 |
-
}
|
174 |
-
$j(this).data('has-touch', true);
|
175 |
-
var elem = $j(this).parent();
|
176 |
-
|
177 |
-
var alreadyExpanded = elem.hasClass('menu-active');
|
178 |
-
|
179 |
-
nav.find('li.level0').removeClass('menu-active');
|
180 |
-
|
181 |
-
// Collapse all active sub-menus
|
182 |
-
nav.find('.sub-menu-active').removeClass('sub-menu-active');
|
183 |
-
|
184 |
-
if (!alreadyExpanded) {
|
185 |
-
elem.addClass('menu-active');
|
186 |
-
}
|
187 |
-
|
188 |
-
event.preventDefault();
|
189 |
-
}).on('click', function (event) {
|
190 |
-
var elem = $j(this);
|
191 |
-
if (elem.data('has-touch')) {
|
192 |
-
elem.data('has-touch', false);
|
193 |
-
event.preventDefault();
|
194 |
-
return;
|
195 |
-
}
|
196 |
-
|
197 |
-
if(Modernizr.mq("screen and (max-width:" + bp.medium + "px)")) {
|
198 |
-
var elem = $j(this).parent();
|
199 |
-
|
200 |
-
var alreadyExpanded = elem.hasClass('menu-active');
|
201 |
-
|
202 |
-
nav.find('li.level0').removeClass('menu-active');
|
203 |
-
|
204 |
-
// Collapse all active sub-menus
|
205 |
-
nav.find('.sub-menu-active').removeClass('sub-menu-active');
|
206 |
-
|
207 |
-
if (!alreadyExpanded) {
|
208 |
-
elem.addClass('menu-active');
|
209 |
-
}
|
210 |
-
|
211 |
-
event.preventDefault();
|
212 |
-
}
|
213 |
-
}).on('touchstart', function(event) {
|
214 |
-
$j(this).data('has-touch');
|
215 |
-
MenuManagerState.touchStartPosition = $j(window).scrollTop();
|
216 |
-
});
|
217 |
-
|
218 |
-
// ----------------------------------------------
|
219 |
-
// Sub Menus
|
220 |
-
|
221 |
-
nav.find('li.level1 a.has-children').on('click', function (e) {
|
222 |
-
e.preventDefault();
|
223 |
-
e.stopPropagation();
|
224 |
-
|
225 |
-
var elem = $j(this).parent();
|
226 |
-
|
227 |
-
// Check if sub-menu is open
|
228 |
-
var isSubMenuActive = elem.hasClass('sub-menu-active') ? 1 : 0;
|
229 |
-
|
230 |
-
// On smaller screens, allow multiple sibling sub-menus to show at once,
|
231 |
-
// but this is a large touch device, avoid multiple sub-menus showing at once.
|
232 |
-
if (Modernizr.mq("screen and (min-width:" + (bp.medium + 1) + "px)")) {
|
233 |
-
elem
|
234 |
-
.siblings('.sub-menu-active')
|
235 |
-
.removeClass('sub-menu-active')
|
236 |
-
.find('.sub-menu-active')
|
237 |
-
.removeClass('sub-menu-active');
|
238 |
-
}
|
239 |
-
if (isSubMenuActive) {
|
240 |
-
elem.removeClass('sub-menu-active');
|
241 |
-
} else {
|
242 |
-
elem.addClass('sub-menu-active');
|
243 |
-
}
|
244 |
-
});
|
245 |
|
246 |
// Prevent sub menus from spilling out of the window.
|
247 |
function preventMenuSpill() {
|
@@ -534,6 +1034,27 @@ $j(document).ready(function () {
|
|
534 |
});
|
535 |
}
|
536 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
537 |
// ==============================================
|
538 |
// Product Listing - Align action buttons/links
|
539 |
// ==============================================
|
@@ -544,42 +1065,61 @@ $j(document).ready(function () {
|
|
544 |
if ($j('.products-grid').length) {
|
545 |
|
546 |
var alignProductGridActions = function () {
|
547 |
-
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
// in the grid, and if so, we add its row to the array
|
562 |
-
if (productGridElements.length == index + 1) {
|
563 |
-
gridRows.push(tempRow);
|
564 |
-
}
|
565 |
-
});
|
566 |
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
// so each cell can return to its natural size before being measured.
|
572 |
-
$j(this).find('.product-info').css('min-height', '');
|
573 |
-
// We are checking the height of .product-info (rather than the entire li), because the images
|
574 |
-
// will not be loaded when this JS is run.
|
575 |
-
elHeight = parseInt($j(this).find('.product-info').css('height'));
|
576 |
-
if (elHeight > tallestHeight) {
|
577 |
-
tallestHeight = elHeight;
|
578 |
}
|
579 |
});
|
580 |
-
|
581 |
-
$j.each(
|
582 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
583 |
});
|
584 |
});
|
585 |
}
|
@@ -612,7 +1152,6 @@ $j(document).ready(function () {
|
|
612 |
|
613 |
var ProductMediaManager = {
|
614 |
IMAGE_ZOOM_THRESHOLD: 20,
|
615 |
-
zoomEnabled: Modernizr.mq("screen and (min-width:768px)"),
|
616 |
imageWrapper: null,
|
617 |
|
618 |
destroyZoom: function() {
|
@@ -621,10 +1160,16 @@ var ProductMediaManager = {
|
|
621 |
},
|
622 |
|
623 |
createZoom: function(image) {
|
|
|
624 |
ProductMediaManager.destroyZoom();
|
625 |
|
626 |
-
if(
|
627 |
-
|
|
|
|
|
|
|
|
|
|
|
628 |
}
|
629 |
|
630 |
if(image.length <= 0) { //no image found
|
@@ -708,29 +1253,20 @@ var ProductMediaManager = {
|
|
708 |
},
|
709 |
|
710 |
initZoom: function() {
|
711 |
-
ProductMediaManager.createZoom($j(".
|
712 |
},
|
713 |
|
714 |
init: function() {
|
715 |
ProductMediaManager.imageWrapper = $j('.product-img-box');
|
716 |
|
717 |
-
|
718 |
-
|
719 |
-
ProductMediaManager.zoomEnabled = true;
|
720 |
-
ProductMediaManager.initZoom();
|
721 |
-
},
|
722 |
-
unmatch : function() {
|
723 |
-
ProductMediaManager.destroyZoom();
|
724 |
-
ProductMediaManager.zoomEnabled = false;
|
725 |
-
}
|
726 |
-
});
|
727 |
-
|
728 |
-
//resizing the window causes problems with zoom -- reinitialize
|
729 |
$j(window).on('delayed-resize', function(e, resizeEvent) {
|
730 |
-
ProductMediaManager.destroyZoom();
|
731 |
ProductMediaManager.initZoom();
|
732 |
});
|
733 |
|
|
|
|
|
734 |
ProductMediaManager.wireThumbnails();
|
735 |
|
736 |
$j(document).trigger('product-media-loaded', ProductMediaManager);
|
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@magento.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.magento.com for more information.
|
19 |
*
|
20 |
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
*/
|
25 |
|
43 |
// Search
|
44 |
// ==============================================
|
45 |
|
46 |
+
/**
|
47 |
+
* Implements a custom validation style for the search form. When the form is invalidly submitted, the validation-failed
|
48 |
+
* class gets added to the input, but the "This is a required field." text does not display
|
49 |
+
*/
|
50 |
Varien.searchForm.prototype.initialize = function (form, field, emptyText) {
|
51 |
this.form = $(form);
|
52 |
this.field = $(field);
|
53 |
this.emptyText = emptyText;
|
54 |
|
|
|
|
|
55 |
Event.observe(this.form, 'submit', this.submit.bind(this));
|
56 |
+
Event.observe(this.field, 'change', this.change.bind(this));
|
57 |
Event.observe(this.field, 'focus', this.focus.bind(this));
|
58 |
Event.observe(this.field, 'blur', this.blur.bind(this));
|
59 |
this.blur();
|
60 |
}
|
61 |
|
62 |
Varien.searchForm.prototype.submit = function (event) {
|
63 |
+
if (this.field.value == this.emptyText || this.field.value == ''){
|
64 |
Event.stop(event);
|
65 |
+
this.field.addClassName('validation-failed');
|
66 |
+
this.field.focus();
|
67 |
return false;
|
68 |
}
|
69 |
return true;
|
70 |
}
|
71 |
|
72 |
+
Varien.searchForm.prototype.change = function (event) {
|
73 |
+
if (
|
74 |
+
this.field.value != this.emptyText
|
75 |
+
&& this.field.value != ''
|
76 |
+
&& this.field.hasClassName('validation-failed')
|
77 |
+
) {
|
78 |
+
this.field.removeClassName('validation-failed');
|
79 |
+
}
|
80 |
+
}
|
81 |
+
|
82 |
+
Varien.searchForm.prototype.blur = function (event) {
|
83 |
+
if (this.field.hasClassName('validation-failed')) {
|
84 |
+
this.field.removeClassName('validation-failed');
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
// ==============================================
|
89 |
+
// Pointer abstraction
|
90 |
// ==============================================
|
91 |
|
92 |
+
/**
|
93 |
+
* This class provides an easy and abstracted mechanism to determine the
|
94 |
+
* best pointer behavior to use -- that is, is the user currently interacting
|
95 |
+
* with their device in a touch manner, or using a mouse.
|
96 |
+
*
|
97 |
+
* Since devices may use either touch or mouse or both, there is no way to
|
98 |
+
* know the user's preferred pointer type until they interact with the site.
|
99 |
+
*
|
100 |
+
* To accommodate this, this class provides a method and two events
|
101 |
+
* to determine the user's preferred pointer type.
|
102 |
+
*
|
103 |
+
* - getPointer() returns the last used pointer type, or, if the user has
|
104 |
+
* not yet interacted with the site, falls back to a Modernizr test.
|
105 |
+
*
|
106 |
+
* - The mouse-detected event is triggered on the window object when the user
|
107 |
+
* is using a mouse pointer input, or has switched from touch to mouse input.
|
108 |
+
* It can be observed in this manner: $j(window).on('mouse-detected', function(event) { // custom code });
|
109 |
+
*
|
110 |
+
* - The touch-detected event is triggered on the window object when the user
|
111 |
+
* is using touch pointer input, or has switched from mouse to touch input.
|
112 |
+
* It can be observed in this manner: $j(window).on('touch-detected', function(event) { // custom code });
|
113 |
+
*/
|
114 |
+
var PointerManager = {
|
115 |
+
MOUSE_POINTER_TYPE: 'mouse',
|
116 |
+
TOUCH_POINTER_TYPE: 'touch',
|
117 |
+
POINTER_EVENT_TIMEOUT_MS: 500,
|
118 |
+
standardTouch: false,
|
119 |
+
touchDetectionEvent: null,
|
120 |
+
lastTouchType: null,
|
121 |
+
pointerTimeout: null,
|
122 |
+
pointerEventLock: false,
|
123 |
+
|
124 |
+
getPointerEventsSupported: function() {
|
125 |
+
return this.standardTouch;
|
126 |
+
},
|
127 |
+
|
128 |
+
getPointerEventsInputTypes: function() {
|
129 |
+
if (window.navigator.pointerEnabled) { //IE 11+
|
130 |
+
//return string values from http://msdn.microsoft.com/en-us/library/windows/apps/hh466130.aspx
|
131 |
+
return {
|
132 |
+
MOUSE: 'mouse',
|
133 |
+
TOUCH: 'touch',
|
134 |
+
PEN: 'pen'
|
135 |
+
};
|
136 |
+
} else if (window.navigator.msPointerEnabled) { //IE 10
|
137 |
+
//return numeric values from http://msdn.microsoft.com/en-us/library/windows/apps/hh466130.aspx
|
138 |
+
return {
|
139 |
+
MOUSE: 0x00000004,
|
140 |
+
TOUCH: 0x00000002,
|
141 |
+
PEN: 0x00000003
|
142 |
+
};
|
143 |
+
} else { //other browsers don't support pointer events
|
144 |
+
return {}; //return empty object
|
145 |
+
}
|
146 |
+
},
|
147 |
+
|
148 |
+
/**
|
149 |
+
* If called before init(), get best guess of input pointer type
|
150 |
+
* using Modernizr test.
|
151 |
+
* If called after init(), get current pointer in use.
|
152 |
+
*/
|
153 |
+
getPointer: function() {
|
154 |
+
// On iOS devices, always default to touch, as this.lastTouchType will intermittently return 'mouse' if
|
155 |
+
// multiple touches are triggered in rapid succession in Safari on iOS
|
156 |
+
if(Modernizr.ios) {
|
157 |
+
return this.TOUCH_POINTER_TYPE;
|
158 |
+
}
|
159 |
+
|
160 |
+
if(this.lastTouchType) {
|
161 |
+
return this.lastTouchType;
|
162 |
+
}
|
163 |
+
|
164 |
+
return Modernizr.touch ? this.TOUCH_POINTER_TYPE : this.MOUSE_POINTER_TYPE;
|
165 |
+
},
|
166 |
+
|
167 |
+
setPointerEventLock: function() {
|
168 |
+
this.pointerEventLock = true;
|
169 |
+
},
|
170 |
+
clearPointerEventLock: function() {
|
171 |
+
this.pointerEventLock = false;
|
172 |
+
},
|
173 |
+
setPointerEventLockTimeout: function() {
|
174 |
+
var that = this;
|
175 |
+
|
176 |
+
if(this.pointerTimeout) {
|
177 |
+
clearTimeout(this.pointerTimeout);
|
178 |
+
}
|
179 |
+
|
180 |
+
this.setPointerEventLock();
|
181 |
+
this.pointerTimeout = setTimeout(function() { that.clearPointerEventLock(); }, this.POINTER_EVENT_TIMEOUT_MS);
|
182 |
+
},
|
183 |
+
|
184 |
+
triggerMouseEvent: function(originalEvent) {
|
185 |
+
if(this.lastTouchType == this.MOUSE_POINTER_TYPE) {
|
186 |
+
return; //prevent duplicate events
|
187 |
+
}
|
188 |
+
|
189 |
+
this.lastTouchType = this.MOUSE_POINTER_TYPE;
|
190 |
+
$j(window).trigger('mouse-detected', originalEvent);
|
191 |
+
},
|
192 |
+
triggerTouchEvent: function(originalEvent) {
|
193 |
+
if(this.lastTouchType == this.TOUCH_POINTER_TYPE) {
|
194 |
+
return; //prevent duplicate events
|
195 |
+
}
|
196 |
+
|
197 |
+
this.lastTouchType = this.TOUCH_POINTER_TYPE;
|
198 |
+
$j(window).trigger('touch-detected', originalEvent);
|
199 |
+
},
|
200 |
+
|
201 |
+
initEnv: function() {
|
202 |
+
if (window.navigator.pointerEnabled) {
|
203 |
+
this.standardTouch = true;
|
204 |
+
this.touchDetectionEvent = 'pointermove';
|
205 |
+
} else if (window.navigator.msPointerEnabled) {
|
206 |
+
this.standardTouch = true;
|
207 |
+
this.touchDetectionEvent = 'MSPointerMove';
|
208 |
+
} else {
|
209 |
+
this.touchDetectionEvent = 'touchstart';
|
210 |
+
}
|
211 |
+
},
|
212 |
+
|
213 |
+
wirePointerDetection: function() {
|
214 |
+
var that = this;
|
215 |
+
|
216 |
+
if(this.standardTouch) { //standard-based touch events. Wire only one event.
|
217 |
+
//detect pointer event
|
218 |
+
$j(window).on(this.touchDetectionEvent, function(e) {
|
219 |
+
switch(e.originalEvent.pointerType) {
|
220 |
+
case that.getPointerEventsInputTypes().MOUSE:
|
221 |
+
that.triggerMouseEvent(e);
|
222 |
+
break;
|
223 |
+
case that.getPointerEventsInputTypes().TOUCH:
|
224 |
+
case that.getPointerEventsInputTypes().PEN:
|
225 |
+
// intentionally group pen and touch together
|
226 |
+
that.triggerTouchEvent(e);
|
227 |
+
break;
|
228 |
+
}
|
229 |
+
});
|
230 |
+
} else { //non-standard touch events. Wire touch and mouse competing events.
|
231 |
+
//detect first touch
|
232 |
+
$j(window).on(this.touchDetectionEvent, function(e) {
|
233 |
+
if(that.pointerEventLock) {
|
234 |
+
return;
|
235 |
+
}
|
236 |
+
|
237 |
+
that.setPointerEventLockTimeout();
|
238 |
+
that.triggerTouchEvent(e);
|
239 |
+
});
|
240 |
+
|
241 |
+
//detect mouse usage
|
242 |
+
$j(document).on('mouseover', function(e) {
|
243 |
+
if(that.pointerEventLock) {
|
244 |
+
return;
|
245 |
+
}
|
246 |
+
|
247 |
+
that.setPointerEventLockTimeout();
|
248 |
+
that.triggerMouseEvent(e);
|
249 |
+
});
|
250 |
+
}
|
251 |
+
},
|
252 |
+
|
253 |
+
init: function() {
|
254 |
+
this.initEnv();
|
255 |
+
this.wirePointerDetection();
|
256 |
+
}
|
257 |
+
};
|
258 |
+
|
259 |
+
/**
|
260 |
+
* This class manages the main navigation and supports infinite nested
|
261 |
+
* menus which support touch, mouse click, and hover correctly.
|
262 |
+
*
|
263 |
+
* The following is the expected behavior:
|
264 |
+
*
|
265 |
+
* - Hover with an actual mouse should expand the menu (at any level of nesting)
|
266 |
+
* - Click with an actual mouse will follow the link, regardless of any children
|
267 |
+
* - Touch will follow links without children, and toggle submenus of links with children
|
268 |
+
*
|
269 |
+
* Caveats:
|
270 |
+
* - According to Mozilla's documentation (https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Touch_events),
|
271 |
+
* Firefox has disabled Apple-style touch events on desktop, so desktop devices using Firefox will not support
|
272 |
+
* the desired touch behavior.
|
273 |
+
*/
|
274 |
+
var MenuManager = {
|
275 |
+
// These variables are used to detect incorrect touch / mouse event order
|
276 |
+
mouseEnterEventObserved: false,
|
277 |
+
touchEventOrderIncorrect: false,
|
278 |
+
cancelNextTouch: false,
|
279 |
+
|
280 |
+
/**
|
281 |
+
* This class manages touch scroll detection
|
282 |
+
*/
|
283 |
+
TouchScroll: {
|
284 |
+
/**
|
285 |
+
* Touch which moves the screen vertically more than
|
286 |
+
* this many pixels will be considered a scroll.
|
287 |
+
*/
|
288 |
+
TOUCH_SCROLL_THRESHOLD: 20,
|
289 |
+
|
290 |
+
touchStartPosition: null,
|
291 |
+
|
292 |
+
/**
|
293 |
+
* Note scroll position so that scroll action can be detected later.
|
294 |
+
* Should probably be called on touchstart (or similar) event.
|
295 |
+
*/
|
296 |
+
reset: function() {
|
297 |
+
this.touchStartPosition = $j(window).scrollTop();
|
298 |
+
},
|
299 |
+
|
300 |
+
/**
|
301 |
+
* Determines if touch was actually a scroll. Should probably be checked
|
302 |
+
* on touchend (or similar) event.
|
303 |
+
* @returns {boolean}
|
304 |
+
*/
|
305 |
+
shouldCancelTouch: function() {
|
306 |
+
if(this.touchStartPosition == null) {
|
307 |
+
return false;
|
308 |
+
}
|
309 |
+
|
310 |
+
var scroll = $j(window).scrollTop() - this.touchStartPosition;
|
311 |
+
return Math.abs(scroll) > this.TOUCH_SCROLL_THRESHOLD;
|
312 |
+
}
|
313 |
+
},
|
314 |
+
|
315 |
+
/**
|
316 |
+
* Determines if small screen behavior should be used.
|
317 |
+
*
|
318 |
+
* @returns {boolean}
|
319 |
+
*/
|
320 |
+
useSmallScreenBehavior: function() {
|
321 |
+
return Modernizr.mq("screen and (max-width:" + bp.medium + "px)");
|
322 |
+
},
|
323 |
+
|
324 |
+
/**
|
325 |
+
* Toggles a given menu item's visibility.
|
326 |
+
* On large screens, also closes sibling and children of sibling menus.
|
327 |
+
*
|
328 |
+
* @param target
|
329 |
+
*/
|
330 |
+
toggleMenuVisibility: function(target) {
|
331 |
+
var link = $j(target);
|
332 |
+
var li = link.closest('li');
|
333 |
+
|
334 |
+
if(!this.useSmallScreenBehavior()) {
|
335 |
+
// remove menu-active from siblings and children of siblings
|
336 |
+
li.siblings()
|
337 |
+
.removeClass('menu-active')
|
338 |
+
.find('li')
|
339 |
+
.removeClass('menu-active');
|
340 |
+
//remove menu-active from children
|
341 |
+
li.find('li.menu-active').removeClass('menu-active');
|
342 |
+
}
|
343 |
+
|
344 |
+
//toggle current item's active state
|
345 |
+
li.toggleClass('menu-active');
|
346 |
+
},
|
347 |
+
|
348 |
+
// --------------------------------------------
|
349 |
+
// Initialization methods
|
350 |
+
//
|
351 |
+
|
352 |
+
/**
|
353 |
+
* Initialize MenuManager and wire all required events.
|
354 |
+
* Should only be called once.
|
355 |
+
*
|
356 |
+
*/
|
357 |
+
init: function() {
|
358 |
+
this.wirePointerEvents();
|
359 |
+
},
|
360 |
+
|
361 |
+
/**
|
362 |
+
* This method observes an absurd number of events
|
363 |
+
* depending on the capabilities of the current browser
|
364 |
+
* to implement expected header navigation functionality.
|
365 |
+
*
|
366 |
+
* The goal is to separate interactions into four buckets:
|
367 |
+
* - pointer enter using an actual mouse
|
368 |
+
* - pointer leave using an actual mouse
|
369 |
+
* - pointer down using an actual mouse
|
370 |
+
* - pointer down using touch
|
371 |
+
*
|
372 |
+
* Browsers supporting PointerEvent events will use these
|
373 |
+
* to differentiate pointer types.
|
374 |
+
*
|
375 |
+
* Browsers supporting Apple-style will use those events
|
376 |
+
* along with mouseenter / mouseleave to emulate pointer events.
|
377 |
+
*/
|
378 |
+
wirePointerEvents: function() {
|
379 |
+
var that = this;
|
380 |
+
var pointerTarget = $j('#nav a.has-children');
|
381 |
+
var hoverTarget = $j('#nav li');
|
382 |
+
|
383 |
+
if(PointerManager.getPointerEventsSupported()) {
|
384 |
+
// pointer events supported, so observe those type of events
|
385 |
+
|
386 |
+
var enterEvent = window.navigator.pointerEnabled ? 'pointerenter' : 'mouseenter';
|
387 |
+
var leaveEvent = window.navigator.pointerEnabled ? 'pointerleave' : 'mouseleave';
|
388 |
+
var fullPointerSupport = window.navigator.pointerEnabled;
|
389 |
+
|
390 |
+
hoverTarget.on(enterEvent, function(e) {
|
391 |
+
if(e.originalEvent.pointerType === undefined // Browsers with partial PointerEvent support don't provide pointer type
|
392 |
+
|| e.originalEvent.pointerType == PointerManager.getPointerEventsInputTypes().MOUSE) {
|
393 |
+
|
394 |
+
if(fullPointerSupport) {
|
395 |
+
that.mouseEnterAction(e, this);
|
396 |
+
} else {
|
397 |
+
that.PartialPointerEventsSupport.mouseEnterAction(e, this);
|
398 |
+
}
|
399 |
+
}
|
400 |
+
}).on(leaveEvent, function(e) {
|
401 |
+
if(e.originalEvent.pointerType === undefined // Browsers with partial PointerEvent support don't provide pointer type
|
402 |
+
|| e.originalEvent.pointerType == PointerManager.getPointerEventsInputTypes().MOUSE) {
|
403 |
+
|
404 |
+
if(fullPointerSupport) {
|
405 |
+
that.mouseLeaveAction(e, this);
|
406 |
+
} else {
|
407 |
+
that.PartialPointerEventsSupport.mouseLeaveAction(e, this);
|
408 |
+
}
|
409 |
+
}
|
410 |
+
});
|
411 |
+
|
412 |
+
if(!fullPointerSupport) {
|
413 |
+
//click event doesn't have pointer type on it.
|
414 |
+
//observe MSPointerDown to set pointer type for click to find later
|
415 |
+
|
416 |
+
pointerTarget.on('MSPointerDown', function(e) {
|
417 |
+
$j(this).data('pointer-type', e.originalEvent.pointerType);
|
418 |
+
});
|
419 |
+
}
|
420 |
+
|
421 |
+
pointerTarget.on('click', function(e) {
|
422 |
+
var pointerType = fullPointerSupport ? e.originalEvent.pointerType : $j(this).data('pointer-type');
|
423 |
+
|
424 |
+
if(pointerType === undefined || pointerType == PointerManager.getPointerEventsInputTypes().MOUSE) {
|
425 |
+
that.mouseClickAction(e, this);
|
426 |
+
} else {
|
427 |
+
if(fullPointerSupport) {
|
428 |
+
that.touchAction(e, this);
|
429 |
+
} else {
|
430 |
+
that.PartialPointerEventsSupport.touchAction(e, this);
|
431 |
+
}
|
432 |
+
}
|
433 |
+
|
434 |
+
$j(this).removeData('pointer-type'); // clear pointer type hint from target, if any
|
435 |
+
});
|
436 |
+
} else {
|
437 |
+
//pointer events not supported, use Apple-style events to simulate
|
438 |
+
|
439 |
+
hoverTarget.on('mouseenter', function(e) {
|
440 |
+
// Touch events should cancel this event if a touch pointer is used.
|
441 |
+
// Record that this method has fired so that erroneous following
|
442 |
+
// touch events (if any) can respond accordingly.
|
443 |
+
that.mouseEnterEventObserved = true;
|
444 |
+
that.cancelNextTouch = true;
|
445 |
+
|
446 |
+
that.mouseEnterAction(e, this);
|
447 |
+
}).on('mouseleave', function(e) {
|
448 |
+
that.mouseLeaveAction(e, this);
|
449 |
+
});
|
450 |
+
|
451 |
+
$j(window).on('touchstart', function(e) {
|
452 |
+
if(that.mouseEnterEventObserved) {
|
453 |
+
// If mouse enter observed before touch, then device touch
|
454 |
+
// event order is incorrect.
|
455 |
+
that.touchEventOrderIncorrect = true;
|
456 |
+
that.mouseEnterEventObserved = false; // Reset test
|
457 |
+
}
|
458 |
+
|
459 |
+
// Reset TouchScroll in order to detect scroll later.
|
460 |
+
that.TouchScroll.reset();
|
461 |
+
});
|
462 |
+
|
463 |
+
pointerTarget.on('touchend', function(e) {
|
464 |
+
$j(this).data('was-touch', true); // Note that element was invoked by touch pointer
|
465 |
+
|
466 |
+
e.preventDefault(); // Prevent mouse compatibility events from firing where possible
|
467 |
+
|
468 |
+
if(that.TouchScroll.shouldCancelTouch()) {
|
469 |
+
return; // Touch was a scroll -- don't do anything else
|
470 |
+
}
|
471 |
+
|
472 |
+
if(that.touchEventOrderIncorrect) {
|
473 |
+
that.PartialTouchEventsSupport.touchAction(e, this);
|
474 |
+
} else {
|
475 |
+
that.touchAction(e, this);
|
476 |
+
}
|
477 |
+
}).on('click', function(e) {
|
478 |
+
if($j(this).data('was-touch')) { // Event invoked after touch
|
479 |
+
e.preventDefault(); // Prevent following link
|
480 |
+
return; // Prevent other behavior
|
481 |
+
}
|
482 |
+
|
483 |
+
that.mouseClickAction(e, this);
|
484 |
+
});
|
485 |
+
}
|
486 |
+
},
|
487 |
+
|
488 |
+
// --------------------------------------------
|
489 |
+
// Behavior "buckets"
|
490 |
+
//
|
491 |
+
|
492 |
+
/**
|
493 |
+
* Browsers with incomplete PointerEvent support (such as IE 10)
|
494 |
+
* require special event management. This collection of methods
|
495 |
+
* accommodate such browsers.
|
496 |
+
*/
|
497 |
+
PartialPointerEventsSupport: {
|
498 |
+
/**
|
499 |
+
* Without proper pointerenter / pointerleave / click pointerType support,
|
500 |
+
* we have to use mouseenter events. These end up triggering
|
501 |
+
* lots of mouseleave events that can be misleading.
|
502 |
+
*
|
503 |
+
* Each touch mouseenter and click event that ends up triggering
|
504 |
+
* an undesired mouseleave increments this lock variable.
|
505 |
+
*
|
506 |
+
* Mouseleave events are cancelled if this variable is > 0,
|
507 |
+
* and then the variable is decremented regardless.
|
508 |
+
*/
|
509 |
+
mouseleaveLock: 0,
|
510 |
+
|
511 |
+
/**
|
512 |
+
* Handles mouse enter behavior, but if using touch,
|
513 |
+
* toggle menus in the absence of full PointerEvent support.
|
514 |
+
*
|
515 |
+
* @param event
|
516 |
+
* @param target
|
517 |
+
*/
|
518 |
+
mouseEnterAction: function(event, target) {
|
519 |
+
if(MenuManager.useSmallScreenBehavior()) {
|
520 |
+
// fall back to normal method behavior
|
521 |
+
MenuManager.mouseEnterAction(event, target);
|
522 |
+
return;
|
523 |
+
}
|
524 |
+
|
525 |
+
event.stopPropagation();
|
526 |
+
|
527 |
+
var jtarget = $j(target);
|
528 |
+
if(!jtarget.hasClass('level0')) {
|
529 |
+
this.mouseleaveLock = jtarget.parents('li').length + 1;
|
530 |
+
}
|
531 |
+
|
532 |
+
MenuManager.toggleMenuVisibility(target);
|
533 |
+
},
|
534 |
+
|
535 |
+
/**
|
536 |
+
* Handles mouse leave behaivor, but obeys the mouseleaveLock
|
537 |
+
* to allow undesired mouseleave events to be cancelled.
|
538 |
+
*
|
539 |
+
* @param event
|
540 |
+
* @param target
|
541 |
+
*/
|
542 |
+
mouseLeaveAction: function(event, target) {
|
543 |
+
if(MenuManager.useSmallScreenBehavior()) {
|
544 |
+
// fall back to normal method behavior
|
545 |
+
MenuManager.mouseLeaveAction(event, target);
|
546 |
+
return;
|
547 |
+
}
|
548 |
+
|
549 |
+
if(this.mouseleaveLock > 0) {
|
550 |
+
this.mouseleaveLock--;
|
551 |
+
return; // suppress duplicate mouseleave event after touch
|
552 |
+
}
|
553 |
+
|
554 |
+
$j(target).removeClass('menu-active'); //hide all menus
|
555 |
+
},
|
556 |
+
|
557 |
+
/**
|
558 |
+
* Does no work on its own, but increments mouseleaveLock
|
559 |
+
* to prevent following undesireable mouseleave events.
|
560 |
+
*
|
561 |
+
* @param event
|
562 |
+
* @param target
|
563 |
+
*/
|
564 |
+
touchAction: function(event, target) {
|
565 |
+
if(MenuManager.useSmallScreenBehavior()) {
|
566 |
+
// fall back to normal method behavior
|
567 |
+
MenuManager.touchAction(event, target);
|
568 |
+
return;
|
569 |
+
}
|
570 |
+
event.preventDefault(); // prevent following link
|
571 |
+
this.mouseleaveLock++;
|
572 |
+
}
|
573 |
+
},
|
574 |
+
|
575 |
+
/**
|
576 |
+
* Browsers with incomplete Apple-style touch event support
|
577 |
+
* (such as the legacy Android browser) sometimes fire
|
578 |
+
* touch events out of order. In particular, mouseenter may
|
579 |
+
* fire before the touch events. This collection of methods
|
580 |
+
* accommodate such browsers.
|
581 |
+
*/
|
582 |
+
PartialTouchEventsSupport: {
|
583 |
+
/**
|
584 |
+
* Toggles visibility of menu, unless suppressed by previous
|
585 |
+
* out of order mouseenter event.
|
586 |
+
*
|
587 |
+
* @param event
|
588 |
+
* @param target
|
589 |
+
*/
|
590 |
+
touchAction: function(event, target) {
|
591 |
+
if(MenuManager.cancelNextTouch) {
|
592 |
+
// Mouseenter has already manipulated the menu.
|
593 |
+
// Suppress this undesired touch event.
|
594 |
+
MenuManager.cancelNextTouch = false;
|
595 |
+
return;
|
596 |
+
}
|
597 |
+
|
598 |
+
MenuManager.toggleMenuVisibility(target);
|
599 |
+
}
|
600 |
+
},
|
601 |
+
|
602 |
+
/**
|
603 |
+
* On large screens, show menu.
|
604 |
+
* On small screens, do nothing.
|
605 |
+
*
|
606 |
+
* @param event
|
607 |
+
* @param target
|
608 |
+
*/
|
609 |
+
mouseEnterAction: function(event, target) {
|
610 |
+
if(this.useSmallScreenBehavior()) {
|
611 |
+
return; // don't do mouse enter functionality on smaller screens
|
612 |
+
}
|
613 |
+
|
614 |
+
$j(target).addClass('menu-active'); //show current menu
|
615 |
+
},
|
616 |
+
|
617 |
+
/**
|
618 |
+
* On large screens, hide menu.
|
619 |
+
* On small screens, do nothing.
|
620 |
+
*
|
621 |
+
* @param event
|
622 |
+
* @param target
|
623 |
+
*/
|
624 |
+
mouseLeaveAction: function(event, target) {
|
625 |
+
if(this.useSmallScreenBehavior()) {
|
626 |
+
return; // don't do mouse leave functionality on smaller screens
|
627 |
+
}
|
628 |
+
|
629 |
+
$j(target).removeClass('menu-active'); //hide all menus
|
630 |
+
},
|
631 |
+
|
632 |
+
/**
|
633 |
+
* On large screens, don't interfere so that browser will follow link.
|
634 |
+
* On small screens, toggle menu visibility.
|
635 |
+
*
|
636 |
+
* @param event
|
637 |
+
* @param target
|
638 |
+
*/
|
639 |
+
mouseClickAction: function(event, target) {
|
640 |
+
if(this.useSmallScreenBehavior()) {
|
641 |
+
event.preventDefault(); //don't follow link
|
642 |
+
this.toggleMenuVisibility(target); //instead, toggle visibility
|
643 |
+
}
|
644 |
+
},
|
645 |
+
|
646 |
+
/**
|
647 |
+
* Toggle menu visibility, and prevent event default to avoid
|
648 |
+
* undesired, duplicate, synthetic mouse events.
|
649 |
+
*
|
650 |
+
* @param event
|
651 |
+
* @param target
|
652 |
+
*/
|
653 |
+
touchAction: function(event, target) {
|
654 |
+
this.toggleMenuVisibility(target);
|
655 |
+
|
656 |
+
event.preventDefault();
|
657 |
+
}
|
658 |
+
};
|
659 |
+
|
660 |
+
// ==============================================
|
661 |
+
// jQuery Init
|
662 |
+
// ==============================================
|
663 |
|
664 |
// Use $j(document).ready() because Magento executes Prototype inline
|
665 |
$j(document).ready(function () {
|
673 |
var d = $j(document);
|
674 |
var body = $j('body');
|
675 |
|
676 |
+
Modernizr.addTest('ios', function () {
|
677 |
+
return navigator.userAgent.match(/(iPad|iPhone|iPod)/g);
|
678 |
+
});
|
679 |
+
|
680 |
+
//initialize pointer abstraction manager
|
681 |
+
PointerManager.init();
|
682 |
+
|
683 |
+
/* Wishlist Toggle Class */
|
684 |
+
|
685 |
+
$j(".change").click(function (e) {
|
686 |
+
$j( this ).toggleClass('active');
|
687 |
+
e.stopPropagation()
|
688 |
+
});
|
689 |
+
|
690 |
+
$j(document).click(function (e) {
|
691 |
+
if (! $j(e.target).hasClass('.change')) $j(".change").removeClass('active');
|
692 |
+
});
|
693 |
+
|
694 |
+
|
695 |
// =============================================
|
696 |
// Skip Links
|
697 |
// =============================================
|
703 |
e.preventDefault();
|
704 |
|
705 |
var self = $j(this);
|
706 |
+
// Use the data-target-element attribute, if it exists. Fall back to href.
|
707 |
+
var target = self.attr('data-target-element') ? self.attr('data-target-element') : self.attr('href');
|
708 |
|
709 |
// Get target element
|
710 |
var elem = $j(target);
|
740 |
// Header Menus
|
741 |
// ==============================================
|
742 |
|
743 |
+
// initialize menu
|
744 |
+
MenuManager.init();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
745 |
|
746 |
// Prevent sub menus from spilling out of the window.
|
747 |
function preventMenuSpill() {
|
1034 |
});
|
1035 |
}
|
1036 |
|
1037 |
+
|
1038 |
+
// ==============================================
|
1039 |
+
// Gift Registry Styles
|
1040 |
+
// ==============================================
|
1041 |
+
|
1042 |
+
if ($j('.a-left').length) {
|
1043 |
+
enquire.register('(max-width: ' + bp.large + 'px)', {
|
1044 |
+
match: function () {
|
1045 |
+
$j('.gift-info').each(function() {
|
1046 |
+
$j(this).next('td').children('textarea').appendTo(this).children();
|
1047 |
+
})
|
1048 |
+
},
|
1049 |
+
unmatch: function () {
|
1050 |
+
$j('.left-note').each(function() {
|
1051 |
+
$j(this).prev('td').children('textarea').appendTo(this).children();
|
1052 |
+
})
|
1053 |
+
}
|
1054 |
+
});
|
1055 |
+
}
|
1056 |
+
|
1057 |
+
|
1058 |
// ==============================================
|
1059 |
// Product Listing - Align action buttons/links
|
1060 |
// ==============================================
|
1065 |
if ($j('.products-grid').length) {
|
1066 |
|
1067 |
var alignProductGridActions = function () {
|
1068 |
+
// Loop through each product grid on the page
|
1069 |
+
$j('.products-grid').each(function(){
|
1070 |
+
var gridRows = []; // This will store an array per row
|
1071 |
+
var tempRow = [];
|
1072 |
+
productGridElements = $j(this).children('li');
|
1073 |
+
productGridElements.each(function (index) {
|
1074 |
+
// The JS ought to be agnostic of the specific CSS breakpoints, so we are dynamically checking to find
|
1075 |
+
// each row by grouping all cells (eg, li elements) up until we find an element that is cleared.
|
1076 |
+
// We are ignoring the first cell since it will always be cleared.
|
1077 |
+
if ($j(this).css('clear') != 'none' && index != 0) {
|
1078 |
+
gridRows.push(tempRow); // Add the previous set of rows to the main array
|
1079 |
+
tempRow = []; // Reset the array since we're on a new row
|
1080 |
+
}
|
1081 |
+
tempRow.push(this);
|
|
|
|
|
|
|
|
|
|
|
1082 |
|
1083 |
+
// The last row will not contain any cells that clear that row, so we check to see if this is the last cell
|
1084 |
+
// in the grid, and if so, we add its row to the array
|
1085 |
+
if (productGridElements.length == index + 1) {
|
1086 |
+
gridRows.push(tempRow);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1087 |
}
|
1088 |
});
|
1089 |
+
|
1090 |
+
$j.each(gridRows, function () {
|
1091 |
+
var tallestProductInfo = 0;
|
1092 |
+
$j.each(this, function () {
|
1093 |
+
// Since this function is called every time the page is resized, we need to remove the min-height
|
1094 |
+
// and bottom-padding so each cell can return to its natural size before being measured.
|
1095 |
+
$j(this).find('.product-info').css({
|
1096 |
+
'min-height': '',
|
1097 |
+
'padding-bottom': ''
|
1098 |
+
});
|
1099 |
+
|
1100 |
+
// We are checking the height of .product-info (rather than the entire li), because the images
|
1101 |
+
// will not be loaded when this JS is run.
|
1102 |
+
var productInfoHeight = $j(this).find('.product-info').height();
|
1103 |
+
// Space above .actions element
|
1104 |
+
var actionSpacing = 10;
|
1105 |
+
// The height of the absolutely positioned .actions element
|
1106 |
+
var actionHeight = $j(this).find('.product-info .actions').height();
|
1107 |
+
|
1108 |
+
// Add height of two elements. This is necessary since .actions is absolutely positioned and won't
|
1109 |
+
// be included in the height of .product-info
|
1110 |
+
var totalHeight = productInfoHeight + actionSpacing + actionHeight;
|
1111 |
+
if (totalHeight > tallestProductInfo) {
|
1112 |
+
tallestProductInfo = totalHeight;
|
1113 |
+
}
|
1114 |
+
|
1115 |
+
// Set the bottom-padding to accommodate the height of the .actions element. Note: if .actions
|
1116 |
+
// elements are of varying heights, they will not be aligned.
|
1117 |
+
$j(this).find('.product-info').css('padding-bottom', actionHeight + 'px');
|
1118 |
+
});
|
1119 |
+
// Set the height of all .product-info elements in a row to the tallest height
|
1120 |
+
$j.each(this, function () {
|
1121 |
+
$j(this).find('.product-info').css('min-height', tallestProductInfo);
|
1122 |
+
});
|
1123 |
});
|
1124 |
});
|
1125 |
}
|
1152 |
|
1153 |
var ProductMediaManager = {
|
1154 |
IMAGE_ZOOM_THRESHOLD: 20,
|
|
|
1155 |
imageWrapper: null,
|
1156 |
|
1157 |
destroyZoom: function() {
|
1160 |
},
|
1161 |
|
1162 |
createZoom: function(image) {
|
1163 |
+
// Destroy since zoom shouldn't be enabled under certain conditions
|
1164 |
ProductMediaManager.destroyZoom();
|
1165 |
|
1166 |
+
if(
|
1167 |
+
// Don't use zoom on devices where touch has been used
|
1168 |
+
PointerManager.getPointer() == PointerManager.TOUCH_POINTER_TYPE
|
1169 |
+
// Don't use zoom when screen is small, or else zoom window shows outside body
|
1170 |
+
|| Modernizr.mq("screen and (max-width:" + bp.medium + "px)")
|
1171 |
+
) {
|
1172 |
+
return; // zoom not enabled
|
1173 |
}
|
1174 |
|
1175 |
if(image.length <= 0) { //no image found
|
1253 |
},
|
1254 |
|
1255 |
initZoom: function() {
|
1256 |
+
ProductMediaManager.createZoom($j(".gallery-image.visible")); //set zoom on first image
|
1257 |
},
|
1258 |
|
1259 |
init: function() {
|
1260 |
ProductMediaManager.imageWrapper = $j('.product-img-box');
|
1261 |
|
1262 |
+
// Re-initialize zoom on viewport size change since resizing causes problems with zoom and since smaller
|
1263 |
+
// viewport sizes shouldn't have zoom
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1264 |
$j(window).on('delayed-resize', function(e, resizeEvent) {
|
|
|
1265 |
ProductMediaManager.initZoom();
|
1266 |
});
|
1267 |
|
1268 |
+
ProductMediaManager.initZoom();
|
1269 |
+
|
1270 |
ProductMediaManager.wireThumbnails();
|
1271 |
|
1272 |
$j(document).trigger('product-media-loaded', ProductMediaManager);
|
skin/frontend/rwd/default/js/configurableswatches/product-media.js
ADDED
@@ -0,0 +1,235 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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@magento.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.magento.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
|
26 |
+
var ConfigurableMediaImages = {
|
27 |
+
imageType: null,
|
28 |
+
productImages: {},
|
29 |
+
imageObjects: {},
|
30 |
+
|
31 |
+
arrayIntersect: function(a, b) {
|
32 |
+
var ai=0, bi=0;
|
33 |
+
var result = new Array();
|
34 |
+
|
35 |
+
while( ai < a.length && bi < b.length )
|
36 |
+
{
|
37 |
+
if (a[ai] < b[bi] ){ ai++; }
|
38 |
+
else if (a[ai] > b[bi] ){ bi++; }
|
39 |
+
else /* they're equal */
|
40 |
+
{
|
41 |
+
result.push(a[ai]);
|
42 |
+
ai++;
|
43 |
+
bi++;
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
return result;
|
48 |
+
},
|
49 |
+
|
50 |
+
getCompatibleProductImages: function(productFallback, selectedLabels) {
|
51 |
+
//find compatible products
|
52 |
+
var compatibleProducts = [];
|
53 |
+
var compatibleProductSets = [];
|
54 |
+
selectedLabels.each(function(selectedLabel) {
|
55 |
+
if(!productFallback['option_labels'][selectedLabel]) {
|
56 |
+
return;
|
57 |
+
}
|
58 |
+
|
59 |
+
var optionProducts = productFallback['option_labels'][selectedLabel]['products'];
|
60 |
+
compatibleProductSets.push(optionProducts);
|
61 |
+
|
62 |
+
//optimistically push all products
|
63 |
+
optionProducts.each(function(productId) {
|
64 |
+
compatibleProducts.push(productId);
|
65 |
+
});
|
66 |
+
});
|
67 |
+
|
68 |
+
//intersect compatible products
|
69 |
+
compatibleProductSets.each(function(productSet) {
|
70 |
+
compatibleProducts = ConfigurableMediaImages.arrayIntersect(compatibleProducts, productSet);
|
71 |
+
});
|
72 |
+
|
73 |
+
return compatibleProducts;
|
74 |
+
},
|
75 |
+
|
76 |
+
isValidImage: function(fallbackImageUrl) {
|
77 |
+
if(!fallbackImageUrl) {
|
78 |
+
return false;
|
79 |
+
}
|
80 |
+
|
81 |
+
return true;
|
82 |
+
},
|
83 |
+
|
84 |
+
getSwatchImage: function(productId, optionLabel, selectedLabels) {
|
85 |
+
var fallback = ConfigurableMediaImages.productImages[productId];
|
86 |
+
if(!fallback) {
|
87 |
+
return null;
|
88 |
+
}
|
89 |
+
|
90 |
+
//first, try to get label-matching image on config product for this option's label
|
91 |
+
var currentLabelImage = fallback['option_labels'][optionLabel];
|
92 |
+
if(currentLabelImage && fallback['option_labels'][optionLabel]['configurable_product'][ConfigurableMediaImages.imageType]) {
|
93 |
+
//found label image on configurable product
|
94 |
+
return fallback['option_labels'][optionLabel]['configurable_product'][ConfigurableMediaImages.imageType];
|
95 |
+
}
|
96 |
+
|
97 |
+
var compatibleProducts = ConfigurableMediaImages.getCompatibleProductImages(fallback, selectedLabels);
|
98 |
+
|
99 |
+
if(compatibleProducts.length == 0) { //no compatible products
|
100 |
+
return null; //bail
|
101 |
+
}
|
102 |
+
|
103 |
+
//second, get any product which is compatible with currently selected option(s)
|
104 |
+
$j.each(fallback['option_labels'], function(key, value) {
|
105 |
+
var image = value['configurable_product'][ConfigurableMediaImages.imageType];
|
106 |
+
var products = value['products'];
|
107 |
+
|
108 |
+
if(image) { //configurable product has image in the first place
|
109 |
+
//if intersection between compatible products and this label's products, we found a match
|
110 |
+
var isCompatibleProduct = ConfigurableMediaImages.arrayIntersect(products, compatibleProducts).length > 0;
|
111 |
+
if(isCompatibleProduct) {
|
112 |
+
return image;
|
113 |
+
}
|
114 |
+
}
|
115 |
+
});
|
116 |
+
|
117 |
+
//third, get image off of child product which is compatible
|
118 |
+
var childSwatchImage = null;
|
119 |
+
var childProductImages = fallback[ConfigurableMediaImages.imageType];
|
120 |
+
compatibleProducts.each(function(productId) {
|
121 |
+
if(childProductImages[productId] && ConfigurableMediaImages.isValidImage(childProductImages[productId])) {
|
122 |
+
childSwatchImage = childProductImages[productId];
|
123 |
+
return false; //break "loop"
|
124 |
+
}
|
125 |
+
});
|
126 |
+
if (childSwatchImage) {
|
127 |
+
return childSwatchImage;
|
128 |
+
}
|
129 |
+
|
130 |
+
//fourth, get base image off parent product
|
131 |
+
if (childProductImages[productId] && ConfigurableMediaImages.isValidImage(childProductImages[productId])) {
|
132 |
+
return childProductImages[productId];
|
133 |
+
}
|
134 |
+
|
135 |
+
//no fallback image found
|
136 |
+
return null;
|
137 |
+
},
|
138 |
+
|
139 |
+
getImageObject: function(productId, imageUrl) {
|
140 |
+
var key = productId+'-'+imageUrl;
|
141 |
+
if(!ConfigurableMediaImages.imageObjects[key]) {
|
142 |
+
var image = $j('<img />');
|
143 |
+
image.attr('src', imageUrl);
|
144 |
+
ConfigurableMediaImages.imageObjects[key] = image;
|
145 |
+
}
|
146 |
+
return ConfigurableMediaImages.imageObjects[key];
|
147 |
+
},
|
148 |
+
|
149 |
+
updateImage: function(el) {
|
150 |
+
var select = $j(el);
|
151 |
+
var label = select.find('option:selected').attr('data-label');
|
152 |
+
var productId = optionsPrice.productId; //get product ID from options price object
|
153 |
+
|
154 |
+
//find all selected labels
|
155 |
+
var selectedLabels = new Array();
|
156 |
+
|
157 |
+
$j('.product-options .super-attribute-select').each(function() {
|
158 |
+
var $option = $j(this);
|
159 |
+
if($option.val() != '') {
|
160 |
+
selectedLabels.push($option.find('option:selected').attr('data-label'));
|
161 |
+
}
|
162 |
+
});
|
163 |
+
|
164 |
+
var swatchImageUrl = ConfigurableMediaImages.getSwatchImage(productId, label, selectedLabels);
|
165 |
+
if(!ConfigurableMediaImages.isValidImage(swatchImageUrl)) {
|
166 |
+
return;
|
167 |
+
}
|
168 |
+
|
169 |
+
var swatchImage = ConfigurableMediaImages.getImageObject(productId, swatchImageUrl);
|
170 |
+
|
171 |
+
ProductMediaManager.swapImage(swatchImage);
|
172 |
+
},
|
173 |
+
|
174 |
+
wireOptions: function() {
|
175 |
+
$j('.product-options .super-attribute-select').change(function(e) {
|
176 |
+
ConfigurableMediaImages.updateImage(this);
|
177 |
+
});
|
178 |
+
},
|
179 |
+
|
180 |
+
swapListImage: function(productId, imageObject) {
|
181 |
+
var originalImage = $j('#product-collection-image-' + productId);
|
182 |
+
|
183 |
+
if(imageObject[0].complete) { //swap image immediately
|
184 |
+
|
185 |
+
//remove old image
|
186 |
+
originalImage.addClass('hidden');
|
187 |
+
$j('.product-collection-image-' + productId).remove();
|
188 |
+
|
189 |
+
//add new image
|
190 |
+
imageObject.insertAfter(originalImage);
|
191 |
+
|
192 |
+
} else { //need to load image
|
193 |
+
|
194 |
+
var wrapper = originalImage.parent();
|
195 |
+
|
196 |
+
//add spinner
|
197 |
+
wrapper.addClass('loading');
|
198 |
+
|
199 |
+
//wait until image is loaded
|
200 |
+
imagesLoaded(imageObject, function() {
|
201 |
+
//remove spinner
|
202 |
+
wrapper.removeClass('loading');
|
203 |
+
|
204 |
+
//remove old image
|
205 |
+
originalImage.addClass('hidden');
|
206 |
+
$j('.product-collection-image-' + productId).remove();
|
207 |
+
|
208 |
+
//add new image
|
209 |
+
imageObject.insertAfter(originalImage);
|
210 |
+
});
|
211 |
+
|
212 |
+
}
|
213 |
+
},
|
214 |
+
|
215 |
+
swapListImageByOption: function(productId, optionLabel) {
|
216 |
+
var swatchImageUrl = ConfigurableMediaImages.getSwatchImage(productId, optionLabel, [optionLabel]);
|
217 |
+
if(!swatchImageUrl) {
|
218 |
+
return;
|
219 |
+
}
|
220 |
+
|
221 |
+
var newImage = ConfigurableMediaImages.getImageObject(productId, swatchImageUrl);
|
222 |
+
newImage.addClass('product-collection-image-' + productId);
|
223 |
+
|
224 |
+
ConfigurableMediaImages.swapListImage(productId, newImage);
|
225 |
+
},
|
226 |
+
|
227 |
+
setImageFallback: function(productId, imageFallback) {
|
228 |
+
ConfigurableMediaImages.productImages[productId] = imageFallback;
|
229 |
+
},
|
230 |
+
|
231 |
+
init: function(imageType) {
|
232 |
+
ConfigurableMediaImages.imageType = imageType;
|
233 |
+
ConfigurableMediaImages.wireOptions();
|
234 |
+
}
|
235 |
+
};
|
skin/frontend/rwd/default/js/configurableswatches/swatches-list.js
ADDED
@@ -0,0 +1,77 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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@magento.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.magento.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
|
26 |
+
var ConfigurableSwatchesList = {
|
27 |
+
swatchesByProduct: {},
|
28 |
+
|
29 |
+
init: function()
|
30 |
+
{
|
31 |
+
var that = this;
|
32 |
+
$j('.configurable-swatch-list li').each(function() {
|
33 |
+
that.initSwatch(this);
|
34 |
+
var $swatch = $j(this);
|
35 |
+
if ($swatch.hasClass('filter-match')) {
|
36 |
+
that.handleSwatchSelect($swatch);
|
37 |
+
}
|
38 |
+
});
|
39 |
+
},
|
40 |
+
|
41 |
+
initSwatch: function(swatch)
|
42 |
+
{
|
43 |
+
var that = this;
|
44 |
+
var $swatch = $j(swatch);
|
45 |
+
var productId;
|
46 |
+
if (productId = $swatch.data('product-id')) {
|
47 |
+
if (typeof(this.swatchesByProduct[productId]) == 'undefined') {
|
48 |
+
this.swatchesByProduct[productId] = [];
|
49 |
+
}
|
50 |
+
this.swatchesByProduct[productId].push($swatch);
|
51 |
+
|
52 |
+
$swatch.find('a').on('click', function() {
|
53 |
+
that.handleSwatchSelect($swatch);
|
54 |
+
return false;
|
55 |
+
});
|
56 |
+
}
|
57 |
+
},
|
58 |
+
|
59 |
+
handleSwatchSelect: function($swatch)
|
60 |
+
{
|
61 |
+
var productId = $swatch.data('product-id');
|
62 |
+
var label;
|
63 |
+
if (label = $swatch.data('option-label')) {
|
64 |
+
ConfigurableMediaImages.swapListImageByOption(productId, label);
|
65 |
+
}
|
66 |
+
|
67 |
+
$j.each(this.swatchesByProduct[productId], function(key, $productSwatch) {
|
68 |
+
$productSwatch.removeClass('selected');
|
69 |
+
});
|
70 |
+
|
71 |
+
$swatch.addClass('selected');
|
72 |
+
}
|
73 |
+
}
|
74 |
+
|
75 |
+
$j(document).on('configurable-media-images-init', function(){
|
76 |
+
ConfigurableSwatchesList.init();
|
77 |
+
});
|
skin/frontend/rwd/default/js/configurableswatches/swatches-product.js
ADDED
@@ -0,0 +1,803 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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@magento.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.magento.com for more information.
|
19 |
+
*
|
20 |
+
* @category design
|
21 |
+
* @package rwd_default
|
22 |
+
* @copyright Copyright (c) 2006-2014 X.commerce, Inc. (http://www.magento.com)
|
23 |
+
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
24 |
+
*/
|
25 |
+
|
26 |
+
var windowLoaded = false;
|
27 |
+
Event.observe(window, 'load', function() { windowLoaded = true; });
|
28 |
+
|
29 |
+
// rewrite the fillselect method from /js/varien/configurable.js
|
30 |
+
Product.Config.prototype.fillSelect = function (element) {
|
31 |
+
return;
|
32 |
+
};
|
33 |
+
// rewrite the resetChildren method from /js/varien/configurable.js; it would reset the third attribute when selecting a swatch in the first attribute
|
34 |
+
Product.Config.prototype.resetChildren = function (element) {
|
35 |
+
return;
|
36 |
+
};
|
37 |
+
// rewrite the configureForValues method from /js/varien/configurable.js; it tries to select the options when a product has been selected (e.g. editing product from cart page), but we have our own method for that
|
38 |
+
// @see: Product.ConfigurableSwatches.run()
|
39 |
+
Product.Config.prototype.configureForValues = function(){
|
40 |
+
return;
|
41 |
+
};
|
42 |
+
|
43 |
+
Product.Config.prototype.origInitialize = Product.Config.prototype.initialize;
|
44 |
+
Product.Config.prototype.initialize = function(config)
|
45 |
+
{
|
46 |
+
this.origInitialize(config);
|
47 |
+
this.configureObservers = [];
|
48 |
+
this.loadOptions();
|
49 |
+
}
|
50 |
+
|
51 |
+
Product.Config.prototype.handleSelectChange = function(element) {
|
52 |
+
this.configureElement(element);
|
53 |
+
this.configureObservers.each(function(funct) {
|
54 |
+
funct(element);
|
55 |
+
});
|
56 |
+
};
|
57 |
+
|
58 |
+
Product.Config.prototype.origConfigure = Product.Config.prototype.configure;
|
59 |
+
Product.Config.prototype.configure = function(event) {
|
60 |
+
this.origConfigure(event);
|
61 |
+
var element = Event.element(event);
|
62 |
+
this.configureObservers.each(function(funct) {
|
63 |
+
funct(element);
|
64 |
+
});
|
65 |
+
};
|
66 |
+
|
67 |
+
Product.Config.prototype.configureSubscribe = function(funct)
|
68 |
+
{
|
69 |
+
this.configureObservers.push(funct);
|
70 |
+
};
|
71 |
+
|
72 |
+
/**
|
73 |
+
*
|
74 |
+
* Load ALL the options into the selects
|
75 |
+
* Uses global var spConfig declared in template/configurableswatches/catalog/product/view/type/configurable.phtml
|
76 |
+
**/
|
77 |
+
Product.Config.prototype.loadOptions = function() {
|
78 |
+
this.settings.each(function(element){
|
79 |
+
element.disabled = false;
|
80 |
+
element.options[0] = new Option(this.config.chooseText, '');
|
81 |
+
var attributeId = element.id.replace(/[a-z]*/, '');
|
82 |
+
var options = this.getAttributeOptions(attributeId);
|
83 |
+
if(options) {
|
84 |
+
var index = 1;
|
85 |
+
for(var i=0;i<options.length;i++){
|
86 |
+
options[i].allowedProducts = options[i].products.clone();
|
87 |
+
element.options[index] = new Option(this.getOptionLabel(options[i], options[i].price), options[i].id);
|
88 |
+
if (typeof options[i].price != 'undefined') {
|
89 |
+
element.options[index].setAttribute('price', options[i].price);
|
90 |
+
}
|
91 |
+
element.options[index].setAttribute('data-label', options[i].label.toLowerCase());
|
92 |
+
element.options[index].config = options[i];
|
93 |
+
index++;
|
94 |
+
}
|
95 |
+
}
|
96 |
+
this.reloadOptionLabels(element);
|
97 |
+
}.bind(this));
|
98 |
+
},
|
99 |
+
|
100 |
+
|
101 |
+
Product.ConfigurableSwatches = Class.create();
|
102 |
+
Product.ConfigurableSwatches.prototype = {
|
103 |
+
productConfig: false,
|
104 |
+
configurableAttributes: {},
|
105 |
+
// Options
|
106 |
+
_O: {
|
107 |
+
selectFirstOption: false // select the first option of the first configurable attribute (or first custom option if no configurable attributes exist)
|
108 |
+
},
|
109 |
+
// Flags
|
110 |
+
_F: {
|
111 |
+
currentAction: false,
|
112 |
+
firstOptionSelected: false,
|
113 |
+
nativeSelectChange: true
|
114 |
+
},
|
115 |
+
// Namespaces
|
116 |
+
_N: {
|
117 |
+
resetTimeout: false
|
118 |
+
},
|
119 |
+
// Elements
|
120 |
+
_E: {
|
121 |
+
cartBtn: {
|
122 |
+
btn: false,
|
123 |
+
txt: ['Add to Cart'],
|
124 |
+
onclick: function() { return false; }
|
125 |
+
},
|
126 |
+
availability: false,
|
127 |
+
optionOver: false,
|
128 |
+
optionOut: false,
|
129 |
+
_last: {
|
130 |
+
optionOver: false
|
131 |
+
},
|
132 |
+
activeConfigurableOptions: [],
|
133 |
+
allConfigurableOptions: []
|
134 |
+
},
|
135 |
+
/**
|
136 |
+
*
|
137 |
+
* Gather configurable or custom option data (configurableAttributes),
|
138 |
+
* load the selects with options, and start to run everything that needs to be done
|
139 |
+
*
|
140 |
+
* @var configurableAttributes -
|
141 |
+
* For configurable options: a JSON created/modified in template/configurableswatches/catalog/product/view/type/configurable.phtml
|
142 |
+
* originally from Mage_Catalog_Block_Product_View_Type_Configurable::getJsonConfig()
|
143 |
+
* For custom options: a JSON created/modified in template/configurableswatches/catalog/product/view/options.phtml
|
144 |
+
* which comes from Mage_ConfigurableSwatches_Block_Catalog_Product_View_Options::getOptionJsonConfig()
|
145 |
+
**/
|
146 |
+
initialize: function(productConfig, config) {
|
147 |
+
// redefine some default options if configured
|
148 |
+
if (config && typeof(config) == 'object') {
|
149 |
+
this.setConfig(config);
|
150 |
+
}
|
151 |
+
this.productConfig = productConfig;
|
152 |
+
// Store configurable attribute data
|
153 |
+
var attributes = [];
|
154 |
+
for (var i in productConfig.config.attributes) {
|
155 |
+
attributes.push(productConfig.config.attributes[i]);
|
156 |
+
}
|
157 |
+
this.configurableAttributes = attributes;
|
158 |
+
// Run it
|
159 |
+
this.run();
|
160 |
+
return this;
|
161 |
+
},
|
162 |
+
/**
|
163 |
+
*
|
164 |
+
* redefine some default options if configured
|
165 |
+
**/
|
166 |
+
setConfig: function(config) {
|
167 |
+
this._O = Object.extend( this._O, config );
|
168 |
+
},
|
169 |
+
/**
|
170 |
+
*
|
171 |
+
* Sets the stage for configurable swatches, including attaching all the data and events needed in the process to all attributes and options
|
172 |
+
**/
|
173 |
+
run: function() {
|
174 |
+
// Set some dom dependent flags
|
175 |
+
this._F.hasPresetValues = (typeof spConfig != "undefined" && typeof spConfig.values != "undefined");
|
176 |
+
|
177 |
+
// Store stock status related items
|
178 |
+
this.setStockData();
|
179 |
+
|
180 |
+
// Set and store additional data on attributes and options and attach events to them
|
181 |
+
this.configurableAttributes.each(function(attr, i){
|
182 |
+
// set attribute data
|
183 |
+
this.setAttrData(attr, i);
|
184 |
+
attr.options.each(function(opt, j){
|
185 |
+
// set option data
|
186 |
+
this.setOptData(opt, attr, j);
|
187 |
+
// add option to allConfigurableOptions
|
188 |
+
this._E.allConfigurableOptions.push( opt );
|
189 |
+
// attach option events
|
190 |
+
this.attachOptEvents(opt);
|
191 |
+
}.bind(this));
|
192 |
+
}.bind(this));
|
193 |
+
|
194 |
+
this.productConfig.configureSubscribe(this.onSelectChange.bind(this));
|
195 |
+
|
196 |
+
if (this._F.hasPresetValues) {
|
197 |
+
// store values
|
198 |
+
this.values = spConfig.values;
|
199 |
+
// find the options
|
200 |
+
this.configurableAttributes.each(function(attr){
|
201 |
+
var optId = this.values[attr.id];
|
202 |
+
// Make new break so I don't break both loops using prototypes $break; This is so I don't have to loop through ALL options
|
203 |
+
var $break2 = {};
|
204 |
+
try {
|
205 |
+
attr.options.each(function(opt){
|
206 |
+
if (optId == opt.id) {
|
207 |
+
this.selectOption(opt);
|
208 |
+
throw $break2;
|
209 |
+
};
|
210 |
+
}.bind(this))
|
211 |
+
} catch(e) {};
|
212 |
+
}.bind(this));
|
213 |
+
this._F.presetValuesSelected = true;
|
214 |
+
} else if (this._O.selectFirstOption) {
|
215 |
+
this.selectFirstOption();
|
216 |
+
}
|
217 |
+
return this;
|
218 |
+
},
|
219 |
+
/**
|
220 |
+
*
|
221 |
+
* Enables/Disables the add to cart button to prevent the user from selecting an out of stock item.
|
222 |
+
* This also makes the necessary visual cues to show in stock/out of stock.
|
223 |
+
**/
|
224 |
+
setStockData: function() {
|
225 |
+
var cartBtn = $$('.add-to-cart button.button');
|
226 |
+
this._E.cartBtn = {
|
227 |
+
btn: cartBtn,
|
228 |
+
txt: cartBtn.invoke('readAttribute', 'title'),
|
229 |
+
onclick: cartBtn.length ? cartBtn[0].getAttribute('onclick') : ''
|
230 |
+
};
|
231 |
+
this._E.availability = $$('p.availability');
|
232 |
+
// Set cart button event
|
233 |
+
this._E.cartBtn.btn.invoke('up').invoke('observe','mouseenter',function(){
|
234 |
+
clearTimeout(this._N.resetTimeout);
|
235 |
+
this.resetAvailableOptions();
|
236 |
+
}.bind(this));
|
237 |
+
},
|
238 |
+
/**
|
239 |
+
*
|
240 |
+
* Sets the necessary flags on the attribute and stores the DOM elements related to the attribute
|
241 |
+
*
|
242 |
+
* @var attr - an object with options
|
243 |
+
* @var i - index of attr in `configurableAttributes`
|
244 |
+
**/
|
245 |
+
setAttrData: function(attr, i) {
|
246 |
+
var optionSelect = $('attribute' + attr.id);
|
247 |
+
// Flags
|
248 |
+
attr._f = {};
|
249 |
+
// FIXME for Custom Option Support
|
250 |
+
attr._f.isCustomOption = false;
|
251 |
+
attr._f.isSwatch = optionSelect.hasClassName('swatch-select');
|
252 |
+
// Elements
|
253 |
+
attr._e = {
|
254 |
+
optionSelect: optionSelect,
|
255 |
+
attrLabel: this._u.getAttrLabelElement( attr.code ),
|
256 |
+
selectedOption: false,
|
257 |
+
_last: {
|
258 |
+
selectedOption: false
|
259 |
+
}
|
260 |
+
};
|
261 |
+
attr._e.optionSelect.attr = attr;
|
262 |
+
if (attr._f.isSwatch) {
|
263 |
+
attr._e.ul = $('configurable_swatch_' + attr.code);
|
264 |
+
};
|
265 |
+
return attr;
|
266 |
+
},
|
267 |
+
/**
|
268 |
+
*
|
269 |
+
* Set necessary flags and related DOM elements at an option level
|
270 |
+
*
|
271 |
+
* @var opt - object being looped through
|
272 |
+
* @var attr - the object from which the `opt` came from
|
273 |
+
* @var j - index of `opt` in `attr`
|
274 |
+
**/
|
275 |
+
setOptData: function(opt, attr, j) {
|
276 |
+
// Store Attribute on option
|
277 |
+
opt.attr = attr;
|
278 |
+
// Flags
|
279 |
+
opt._f = {
|
280 |
+
isSwatch: attr._f.isSwatch,
|
281 |
+
enabled: true,
|
282 |
+
active: false
|
283 |
+
};
|
284 |
+
// Elements
|
285 |
+
opt._e = {
|
286 |
+
option: this._u.getOptionElement(opt, attr, j)
|
287 |
+
};
|
288 |
+
opt._e.option.opt = opt;
|
289 |
+
if (attr._f.isSwatch) {
|
290 |
+
opt._e.a = $('swatch'+opt.id);
|
291 |
+
opt._e.li = $('option'+opt.id);
|
292 |
+
opt._e.ul = attr._e.ul;
|
293 |
+
}
|
294 |
+
return opt;
|
295 |
+
},
|
296 |
+
/**
|
297 |
+
*
|
298 |
+
* Attach click, mouseenter, and mouseleave events for each option/swatch
|
299 |
+
**/
|
300 |
+
attachOptEvents: function(opt) {
|
301 |
+
var attr = opt.attr;
|
302 |
+
// Swatch Events
|
303 |
+
if (opt._f.isSwatch) {
|
304 |
+
opt._e.a.observe('click', function(event) {
|
305 |
+
Event.stop(event);
|
306 |
+
this._F.currentAction = "click";
|
307 |
+
// set new last option
|
308 |
+
attr._e._last.selectedOption = attr._e.selectedOption;
|
309 |
+
// Store selected option
|
310 |
+
attr._e.selectedOption = opt;
|
311 |
+
|
312 |
+
// Run the event
|
313 |
+
this.onOptionClick( attr );
|
314 |
+
return false;
|
315 |
+
}.bind(this)).observe('mouseenter', function(){
|
316 |
+
this._F.currentAction = "over-swatch";
|
317 |
+
// set active over option to this option
|
318 |
+
this._E.optionOver = opt;
|
319 |
+
this.onOptionOver();
|
320 |
+
// set the new last option
|
321 |
+
this._E._last.optionOver = this._E.optionOver;
|
322 |
+
}.bind(this)).observe('mouseleave', function(){
|
323 |
+
this._F.currentAction = "out-swatch";
|
324 |
+
this._E.optionOut = opt;
|
325 |
+
this.onOptionOut();
|
326 |
+
}.bind(this));
|
327 |
+
};
|
328 |
+
},
|
329 |
+
/**
|
330 |
+
*
|
331 |
+
* An optional method to select the first option on page load
|
332 |
+
**/
|
333 |
+
selectFirstOption: function() {
|
334 |
+
if (this.configurableAttributes.length) {
|
335 |
+
var attr = this.configurableAttributes[0];
|
336 |
+
if (attr.options.length) {
|
337 |
+
var opt = attr.options[0];
|
338 |
+
this.selectOption(opt);
|
339 |
+
};
|
340 |
+
};
|
341 |
+
},
|
342 |
+
/**
|
343 |
+
*
|
344 |
+
* Initialize the selecting of an option: set necessary flags,
|
345 |
+
* store active options, and remove last active options
|
346 |
+
* Send to onOptionClick method
|
347 |
+
**/
|
348 |
+
selectOption: function(opt) {
|
349 |
+
var attr = opt.attr;
|
350 |
+
|
351 |
+
this._F.currentAction = "click";
|
352 |
+
// set new last option
|
353 |
+
attr._e._last.selectedOption = attr._e.selectedOption;
|
354 |
+
// Store selected option
|
355 |
+
attr._e.selectedOption = opt;
|
356 |
+
|
357 |
+
// Run the event
|
358 |
+
this.onOptionClick( attr );
|
359 |
+
},
|
360 |
+
onSelectChange: function(select)
|
361 |
+
{
|
362 |
+
var attr = select.attr;
|
363 |
+
|
364 |
+
if (this._F.nativeSelectChange) {
|
365 |
+
this._F.currentAction = 'change';
|
366 |
+
var option = select.options[select.selectedIndex];
|
367 |
+
if (option.opt) {
|
368 |
+
attr._e._last.selectedOption = attr._e.selectedOption;
|
369 |
+
attr._e.selectedOption = option.opt;
|
370 |
+
|
371 |
+
// Mark last option as no longer active
|
372 |
+
if (attr._e._last.selectedOption) attr._e._last.selectedOption._f.active = false;
|
373 |
+
// Mark this option as active
|
374 |
+
option.opt._f.active = true;
|
375 |
+
|
376 |
+
// remove last active option from activeConfigurableOptions
|
377 |
+
var pos = this._E.activeConfigurableOptions.indexOf( attr._e._last.selectedOption );
|
378 |
+
if (pos !== -1) this._E.activeConfigurableOptions.splice(pos, 1);
|
379 |
+
|
380 |
+
// add active option to activeConfigurableOptions
|
381 |
+
this._E.activeConfigurableOptions.push( option.opt );
|
382 |
+
|
383 |
+
} else { // opt is null (e.g. the first option in a select "--Please Select--")
|
384 |
+
// remove last active option from activeConfigurableOptions
|
385 |
+
var pos = this._E.activeConfigurableOptions.indexOf( attr._e._last.selectedOption );
|
386 |
+
if (pos !== -1) this._E.activeConfigurableOptions.splice(pos, 1);
|
387 |
+
// Make last option no longer active
|
388 |
+
if (attr._e._last.selectedOption) attr._e._last.selectedOption._f.active = false;
|
389 |
+
}
|
390 |
+
this.setAvailableOptions();
|
391 |
+
this.checkStockStatus();
|
392 |
+
}
|
393 |
+
},
|
394 |
+
/**
|
395 |
+
*
|
396 |
+
* Run everything that needs to happen (visually and functionally) when an option is clicked
|
397 |
+
**/
|
398 |
+
onOptionClick: function(attr) {
|
399 |
+
var opt = attr._e.selectedOption;
|
400 |
+
if (opt) {
|
401 |
+
if (opt != attr._e._last.selectedOption) {
|
402 |
+
// Set the attribute's label
|
403 |
+
attr._e.attrLabel.innerHTML = this.getOptionLabel(opt);
|
404 |
+
|
405 |
+
if (opt._f.isSwatch) {
|
406 |
+
// Clear .selected from any other li for this attr
|
407 |
+
opt._e.ul.select('li').invoke('removeClassName','selected');
|
408 |
+
// Add selected class to swatch's li
|
409 |
+
opt._e.li.addClassName('selected');
|
410 |
+
// Add validation styling to label
|
411 |
+
var inputBox = attr._e.optionSelect.up();
|
412 |
+
if (inputBox.hasClassName('validation-error')) {
|
413 |
+
inputBox.removeClassName('validation-error');
|
414 |
+
inputBox.down('.validation-advice').remove();
|
415 |
+
}
|
416 |
+
};
|
417 |
+
|
418 |
+
// Mark last option as no longer active
|
419 |
+
if (attr._e._last.selectedOption) attr._e._last.selectedOption._f.active = false;
|
420 |
+
// Mark this option as active
|
421 |
+
opt._f.active = true;
|
422 |
+
|
423 |
+
// remove last active option from activeConfigurableOptions
|
424 |
+
var pos = this._E.activeConfigurableOptions.indexOf( attr._e._last.selectedOption );
|
425 |
+
if (pos !== -1) this._E.activeConfigurableOptions.splice(pos, 1);
|
426 |
+
|
427 |
+
// add active option to activeConfigurableOptions
|
428 |
+
this._E.activeConfigurableOptions.push( opt );
|
429 |
+
|
430 |
+
// Set what other configurable options are available now this option was selected
|
431 |
+
this.setAvailableOptions();
|
432 |
+
// preview available after clicking to show the mouseover state
|
433 |
+
if (opt._f.isSwatch && !attr._f.isCustomOption && this._F.firstOptionSelected) {
|
434 |
+
this.previewAvailableOptions();
|
435 |
+
};
|
436 |
+
};
|
437 |
+
} else { // opt is null (e.g. the first option in a select "--Please Select--")
|
438 |
+
// remove last active option from activeConfigurableOptions
|
439 |
+
var pos = this._E.activeConfigurableOptions.indexOf( attr._e._last.selectedOption );
|
440 |
+
if (pos !== -1) this._E.activeConfigurableOptions.splice(pos, 1);
|
441 |
+
// Make last option no longer active
|
442 |
+
if (attr._e._last.selectedOption) attr._e._last.selectedOption._f.active = false;
|
443 |
+
// loop through all options and set available
|
444 |
+
this.setAvailableOptions();
|
445 |
+
}
|
446 |
+
// check and set stock status
|
447 |
+
this.checkStockStatus();
|
448 |
+
|
449 |
+
// Make sure all the selected options are actually selected in their hidden select elements
|
450 |
+
this._E.activeConfigurableOptions.each(function(selectedOpt){
|
451 |
+
var oldDisabledValue = selectedOpt._e.option.disabled;
|
452 |
+
selectedOpt._e.option.disabled = false;
|
453 |
+
selectedOpt._e.option.selected = true;
|
454 |
+
selectedOpt._e.option.disabled = oldDisabledValue;
|
455 |
+
});
|
456 |
+
|
457 |
+
// update select
|
458 |
+
if ((this._O.selectFirstOption && !this._F.firstOptionSelected) ||
|
459 |
+
(this._F.hasPresetValues && !this._F.presetValuesSelected) ||
|
460 |
+
(!windowLoaded)) {
|
461 |
+
Event.observe(window, 'load', function() {
|
462 |
+
window.setTimeout(function() {
|
463 |
+
this.updateSelect( attr );
|
464 |
+
this._F.firstOptionSelected = true;
|
465 |
+
}.bind(this), 200);
|
466 |
+
}.bind(this));
|
467 |
+
} else {
|
468 |
+
this.updateSelect(attr);
|
469 |
+
this._F.firstOptionSelected = true;
|
470 |
+
}
|
471 |
+
},
|
472 |
+
/**
|
473 |
+
*
|
474 |
+
* Visual cues if you were to click on the option/swatch you're hovering over
|
475 |
+
* - Show enabled/disabled state of other options/swatches
|
476 |
+
* - Preview label of hovered swatch
|
477 |
+
* - Preview the stock status
|
478 |
+
**/
|
479 |
+
onOptionOver: function() {
|
480 |
+
// Since browsers like Safari on iOS will emulate a hover event, use custom event detection to determine
|
481 |
+
// whether if input is touch. If event *is* touch, then don't run this code so that the onOptionClick
|
482 |
+
// method will be triggered.
|
483 |
+
if(PointerManager.getPointer() == PointerManager.TOUCH_POINTER_TYPE) {
|
484 |
+
return;
|
485 |
+
}
|
486 |
+
|
487 |
+
var opt = this._E.optionOver;
|
488 |
+
var attr = opt.attr;
|
489 |
+
var lastOpt = this._E._last.optionOver;
|
490 |
+
|
491 |
+
// clear mouseout timeout
|
492 |
+
clearTimeout(this._N.resetTimeout);
|
493 |
+
|
494 |
+
// Remove last hover class
|
495 |
+
if (lastOpt && lastOpt._f.isSwatch) {
|
496 |
+
lastOpt._e.li.removeClassName('hover');
|
497 |
+
}
|
498 |
+
// Set new hover class
|
499 |
+
if (opt._f.isSwatch) {
|
500 |
+
opt._e.li.addClassName('hover');
|
501 |
+
}
|
502 |
+
|
503 |
+
// Change label
|
504 |
+
attr._e.attrLabel.innerHTML = this.getOptionLabel(opt);
|
505 |
+
|
506 |
+
// run setAvailable before previewAvailable and reset last label if
|
507 |
+
// 1) the timeout has not been run (which means lastOpt != false) and
|
508 |
+
// 2) the last hover swatch's attribute is different than this hover swatch's
|
509 |
+
if(lastOpt && lastOpt.attr.id != opt.attr.id) {
|
510 |
+
this.setAvailableOptions();
|
511 |
+
|
512 |
+
// reset last hover swatch's attribute
|
513 |
+
lastOpt.attr._e.attrLabel.innerHTML = lastOpt.attr._e.selectedOption ? this.getOptionLabel(lastOpt.attr._e.selectedOption) : '';
|
514 |
+
}
|
515 |
+
|
516 |
+
// Preview available
|
517 |
+
if (!attr._f.isCustomOption) {
|
518 |
+
this.previewAvailableOptions();
|
519 |
+
|
520 |
+
// Set Stock Status
|
521 |
+
// start with all active options, minus the one from the attribute currently being hovered
|
522 |
+
var stockCheckOptions = this._E.activeConfigurableOptions;
|
523 |
+
if (!opt._f.active) {
|
524 |
+
// Remove the attribute's selected option (if applicable)
|
525 |
+
stockCheckOptions = stockCheckOptions.without( attr._e.selectedOption );
|
526 |
+
// Add the currently hovered option
|
527 |
+
stockCheckOptions.push(opt);
|
528 |
+
};
|
529 |
+
this.checkStockStatus( stockCheckOptions );
|
530 |
+
};
|
531 |
+
},
|
532 |
+
/**
|
533 |
+
*
|
534 |
+
* Reset all visual cues from onOptionOver
|
535 |
+
**/
|
536 |
+
onOptionOut: function() {
|
537 |
+
// Since browsers like Safari on iOS will emulate a hover event, use custom event detection to determine
|
538 |
+
// whether if input is touch. If event *is* touch, then don't run this code so that the onOptionClick
|
539 |
+
// method will be triggered.
|
540 |
+
if (PointerManager.getPointer() == PointerManager.TOUCH_POINTER_TYPE) {
|
541 |
+
return;
|
542 |
+
}
|
543 |
+
|
544 |
+
var opt = this._E.optionOver;
|
545 |
+
|
546 |
+
// Set timeout
|
547 |
+
this._N.resetTimeout = setTimeout(function(){
|
548 |
+
this.resetAvailableOptions();
|
549 |
+
}.bind(this), 300);
|
550 |
+
|
551 |
+
if (opt && opt._f.isSwatch) {
|
552 |
+
opt._e.li.removeClassName('hover');
|
553 |
+
};
|
554 |
+
},
|
555 |
+
/**
|
556 |
+
*
|
557 |
+
* Loop through each option across all attributes to set them as available or not
|
558 |
+
* and set necessary flags as such
|
559 |
+
**/
|
560 |
+
setAvailableOptions: function() {
|
561 |
+
var args = arguments;
|
562 |
+
// Allows to check one specific option instead of having to loop through all of them
|
563 |
+
var loopThroughOptions = args.length ? args[0] : this._E.allConfigurableOptions;
|
564 |
+
loopThroughOptions.each( function(loopingOption) {
|
565 |
+
var productArrays = [ loopingOption.products ];
|
566 |
+
// If the attr of the looping swatch has a selection
|
567 |
+
if (loopingOption.attr._e.selectedOption) {
|
568 |
+
this._E.activeConfigurableOptions.without( loopingOption.attr._e.selectedOption ).each(function(selectedOpt) {
|
569 |
+
productArrays.push( selectedOpt.products );
|
570 |
+
});
|
571 |
+
} else {
|
572 |
+
this._E.activeConfigurableOptions.each(function(selectedOpt){
|
573 |
+
productArrays.push( selectedOpt.products );
|
574 |
+
});
|
575 |
+
}
|
576 |
+
var result = this._u.intersectAll( productArrays );
|
577 |
+
this.setOptionStatus(loopingOption, result.length);
|
578 |
+
}.bind(this));
|
579 |
+
},
|
580 |
+
/**
|
581 |
+
*
|
582 |
+
* Loop though each option across all attributes to preview their availability if the
|
583 |
+
* option being hovered were to be selected
|
584 |
+
**/
|
585 |
+
previewAvailableOptions: function() {
|
586 |
+
var opt = this._E.optionOver;
|
587 |
+
if (!opt) {
|
588 |
+
return; // Exit if there is no option currently being hovered
|
589 |
+
}
|
590 |
+
|
591 |
+
var attr = opt.attr;
|
592 |
+
|
593 |
+
this._E.allConfigurableOptions.each( function(loopingOption, i) {
|
594 |
+
var productArrays = [ loopingOption.products, opt.products ];
|
595 |
+
|
596 |
+
// keep all swatches in the same attribute as they were
|
597 |
+
if (attr.id == loopingOption.attr.id) {
|
598 |
+
return;
|
599 |
+
}
|
600 |
+
// if loop attribute has no selection, then add selected swatches that are not in the hover swatch's attribute
|
601 |
+
if (!loopingOption.attr._e.selectedOption) {
|
602 |
+
this._E.activeConfigurableOptions.each(function(selectedOpt){
|
603 |
+
if (selectedOpt.attr.id != opt.attr.id) {
|
604 |
+
productArrays.push( selectedOpt.products );
|
605 |
+
};
|
606 |
+
});
|
607 |
+
};
|
608 |
+
var result = this._u.intersectAll( productArrays );
|
609 |
+
this.setOptionStatus(loopingOption, result.length);
|
610 |
+
}.bind(this));
|
611 |
+
},
|
612 |
+
/**
|
613 |
+
*
|
614 |
+
* Reset all the options and their availability, the attribute labels, and the stock status
|
615 |
+
**/
|
616 |
+
resetAvailableOptions: function() {
|
617 |
+
var opt = this._E.optionOver;
|
618 |
+
|
619 |
+
if (opt) {
|
620 |
+
var attr = opt.attr;
|
621 |
+
|
622 |
+
// Reset last label
|
623 |
+
attr._e.attrLabel.innerHTML = attr._e.selectedOption ? this.getOptionLabel(attr._e.selectedOption) : '';
|
624 |
+
|
625 |
+
// Reset current action
|
626 |
+
this._F.currentAction = false;
|
627 |
+
|
628 |
+
// process
|
629 |
+
if (!attr._f.isCustomOption) {
|
630 |
+
// Reset the availability of all options
|
631 |
+
this.setAvailableOptions();
|
632 |
+
// Set stock status
|
633 |
+
this.checkStockStatus();
|
634 |
+
}
|
635 |
+
|
636 |
+
// reset the last optionOver
|
637 |
+
this._E._last.optionOver = false;
|
638 |
+
};
|
639 |
+
},
|
640 |
+
/**
|
641 |
+
*
|
642 |
+
* Run a check though all the selected options and set the stock status if any are disabled
|
643 |
+
**/
|
644 |
+
checkStockStatus: function() {
|
645 |
+
var inStock = true;
|
646 |
+
var checkOptions = arguments.length ? arguments[0] : this._E.activeConfigurableOptions;
|
647 |
+
// Set out of stock if any selected item is not enabled
|
648 |
+
checkOptions.each( function(selectedOpt) {
|
649 |
+
if (!selectedOpt._f.enabled) {
|
650 |
+
inStock = false;
|
651 |
+
throw $break;
|
652 |
+
}
|
653 |
+
});
|
654 |
+
this.setStockStatus( inStock );
|
655 |
+
},
|
656 |
+
/**
|
657 |
+
*
|
658 |
+
* Do all the visual changes and enable/disable add to cart button depending on the stock status
|
659 |
+
*
|
660 |
+
* @var inStock - boolean
|
661 |
+
**/
|
662 |
+
setStockStatus: function(inStock) {
|
663 |
+
if (inStock) {
|
664 |
+
this._E.availability.each(function(el) {
|
665 |
+
var el = $(el);
|
666 |
+
el.addClassName('in-stock').removeClassName('out-of-stock');
|
667 |
+
el.select('span').invoke('update', Translator.translate('In Stock'));
|
668 |
+
});
|
669 |
+
|
670 |
+
this._E.cartBtn.btn.each(function(el, index) {
|
671 |
+
var el = $(el);
|
672 |
+
el.disabled = false;
|
673 |
+
el.removeClassName('out-of-stock');
|
674 |
+
el.writeAttribute('onclick', this._E.cartBtn.onclick);
|
675 |
+
el.title = '' + Translator.translate(this._E.cartBtn.txt[index]);
|
676 |
+
el.select('span span').invoke('update', Translator.translate(this._E.cartBtn.txt[index]));
|
677 |
+
}.bind(this));
|
678 |
+
} else {
|
679 |
+
this._E.availability.each(function(el) {
|
680 |
+
var el = $(el);
|
681 |
+
el.addClassName('out-of-stock').removeClassName('in-stock');
|
682 |
+
el.select('span').invoke('update', Translator.translate('Out of Stock'));
|
683 |
+
});
|
684 |
+
this._E.cartBtn.btn.each(function(el) {
|
685 |
+
var el = $(el);
|
686 |
+
el.addClassName('out-of-stock');
|
687 |
+
el.disabled = true;
|
688 |
+
el.removeAttribute('onclick');
|
689 |
+
el.observe('click', function(event) {
|
690 |
+
Event.stop(event);
|
691 |
+
return false;
|
692 |
+
});
|
693 |
+
el.writeAttribute('title', Translator.translate('Out of Stock'));
|
694 |
+
el.select('span span').invoke('update', Translator.translate('Out of Stock'));
|
695 |
+
});
|
696 |
+
}
|
697 |
+
},
|
698 |
+
/**
|
699 |
+
*
|
700 |
+
* Enable/disable a specific option
|
701 |
+
**/
|
702 |
+
setOptionStatus: function(opt, enabled) {
|
703 |
+
var attr = opt.attr;
|
704 |
+
var enabled = enabled > 0;
|
705 |
+
|
706 |
+
// Set enabled flag on option
|
707 |
+
opt._f.enabled = enabled;
|
708 |
+
if (opt._f.isSwatch) {
|
709 |
+
var method = enabled ? 'removeClassName' : 'addClassName';
|
710 |
+
opt._e.li[method]('not-available');
|
711 |
+
} else if (this._F.currentAction == "click" || this._F.currentAction == "change") {
|
712 |
+
// Set disabled and selected if action is permanent, ONLY for non-swatch selects
|
713 |
+
var attrDisable = enabled ? 'removeAttribute' : 'writeAttribute';
|
714 |
+
$(opt._e.option)[attrDisable]('disabled');
|
715 |
+
}
|
716 |
+
return enabled;
|
717 |
+
},
|
718 |
+
/**
|
719 |
+
*
|
720 |
+
* Make sure all events related to the select being updated are fired appropriately
|
721 |
+
**/
|
722 |
+
updateSelect: function(attr) {
|
723 |
+
// fire select change event
|
724 |
+
// this will trigger the validation of the select
|
725 |
+
// only fire if this attribute has had a selected option at one time
|
726 |
+
if (attr._e.selectedOption !== false && attr._e.optionSelect) {
|
727 |
+
this._F.nativeSelectChange = false;
|
728 |
+
ConfigurableMediaImages.updateImage(attr._e.optionSelect);
|
729 |
+
this.productConfig.handleSelectChange(attr._e.optionSelect);
|
730 |
+
this._F.nativeSelectChange = true;
|
731 |
+
};
|
732 |
+
},
|
733 |
+
/**
|
734 |
+
* Return text that should be displayed in attribute label for a certain option
|
735 |
+
*
|
736 |
+
* @param {object} option
|
737 |
+
* return {string}
|
738 |
+
*/
|
739 |
+
getOptionLabel: function(option) {
|
740 |
+
return this.productConfig.getOptionLabel(option, option.price);
|
741 |
+
},
|
742 |
+
|
743 |
+
/**
|
744 |
+
* Utility methods - none of these require more information than what is sent to them in the params or any outside methods
|
745 |
+
*/
|
746 |
+
_u: {
|
747 |
+
/**
|
748 |
+
*
|
749 |
+
* Find (or else, make) the attribute's label
|
750 |
+
**/
|
751 |
+
getAttrLabelElement: function(attrCode) {
|
752 |
+
var spanLabel = $$('#select_label_'+attrCode);
|
753 |
+
if (spanLabel.length) {
|
754 |
+
return spanLabel[0];
|
755 |
+
} else {
|
756 |
+
var label = $$('#'+attrCode+'_label');
|
757 |
+
if (label.length) {
|
758 |
+
return label[0].insert({ 'bottom': ' <span id="select_label_'+attrCode+'" class="select-label"></span>'}).select('span.select-label')[0];
|
759 |
+
};
|
760 |
+
};
|
761 |
+
return false;
|
762 |
+
},
|
763 |
+
/**
|
764 |
+
*
|
765 |
+
* Find the DOM element option relating to the option object in configurableAttributes
|
766 |
+
**/
|
767 |
+
getOptionElement: function(opt, attr, idx) {
|
768 |
+
var indexedOption = attr._e.optionSelect.options[idx+1];
|
769 |
+
if (indexedOption && indexedOption.value == opt.id) {
|
770 |
+
return indexedOption;
|
771 |
+
};
|
772 |
+
var optionElement = false;
|
773 |
+
var optionsLen = attr._e.optionSelect.options.length;
|
774 |
+
var option;
|
775 |
+
for (var i=0; i<optionsLen; i++) {
|
776 |
+
option = attr._e.optionSelect.options[i];
|
777 |
+
if (option.value == opt.id) {
|
778 |
+
optionElement = option;
|
779 |
+
throw $break;
|
780 |
+
};
|
781 |
+
}
|
782 |
+
return optionElement;
|
783 |
+
},
|
784 |
+
/**
|
785 |
+
*
|
786 |
+
* Find intersecting items from an array of arrays
|
787 |
+
*
|
788 |
+
* @var lists - array
|
789 |
+
* Example: intersectAll([ [1,2,3], [2,3,4] ]); returns [2,3]
|
790 |
+
**/
|
791 |
+
intersectAll: function(lists) {
|
792 |
+
if (lists.length == 0) return [];
|
793 |
+
else if (lists.length == 1) return lists[0];
|
794 |
+
|
795 |
+
var result = lists[0];
|
796 |
+
for (var i = 1; i < lists.length; i++) {
|
797 |
+
if (!result.length) break;
|
798 |
+
result = result.intersect(lists[i]);
|
799 |
+
}
|
800 |
+
return result;
|
801 |
+
}
|
802 |
+
}
|
803 |
+
}
|
skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevateZoom-3.0.8.min.js
CHANGED
@@ -63,4 +63,4 @@ newvalue,this.fullwidth=!1));scrcontinue=!1;"inner"==this.options.zoomType&&(thi
|
|
63 |
"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();
|
64 |
self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(b){"enable"==b&&(this.options.zoomEnabled=!0);"disable"==b&&(this.options.zoomEnabled=!1)}};d.fn.elevateZoom=function(b){return this.each(function(){var a=Object.create(k);a.init(b,this);d.data(this,"elevateZoom",a)})};d.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:0.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,
|
65 |
zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:0.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:0.4,gallery:!1,
|
66 |
-
galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:d.noop,onZoomedImageLoaded:function(){},onImageSwap:d.noop,onImageSwapComplete:d.noop}})(jQuery,window,document);
|
63 |
"inner"!=this.options.zoomType&&(this.changeBgSize=!0,this.zoomLens.css({width:String(this.options.zoomWindowWidth/this.widthRatio)+"px"})),"lens"==this.options.zoomType||"inner"==this.options.zoomType)&&(this.changeBgSize=!0),"inner"==this.options.zoomType&&(this.changeBgSize=!0,this.nzWidth>this.nzHeight&&(this.currentZoomLevel=this.newvaluewidth),this.nzHeight>this.nzWidth&&(this.currentZoomLevel=this.newvaluewidth)));this.setPosition(this.currentLoc)},closeAll:function(){self.zoomWindow&&self.zoomWindow.hide();
|
64 |
self.zoomLens&&self.zoomLens.hide();self.zoomTint&&self.zoomTint.hide()},changeState:function(b){"enable"==b&&(this.options.zoomEnabled=!0);"disable"==b&&(this.options.zoomEnabled=!1)}};d.fn.elevateZoom=function(b){return this.each(function(){var a=Object.create(k);a.init(b,this);d.data(this,"elevateZoom",a)})};d.fn.elevateZoom.options={zoomActivation:"hover",zoomEnabled:!0,preloading:1,zoomLevel:1,scrollZoom:!1,scrollZoomIncrement:0.1,minZoomLevel:!1,maxZoomLevel:!1,easing:!1,easingAmount:12,lensSize:200,
|
65 |
zoomWindowWidth:400,zoomWindowHeight:400,zoomWindowOffetx:0,zoomWindowOffety:0,zoomWindowPosition:1,zoomWindowBgColour:"#fff",lensFadeIn:!1,lensFadeOut:!1,debug:!1,zoomWindowFadeIn:!1,zoomWindowFadeOut:!1,zoomWindowAlwaysShow:!1,zoomTintFadeIn:!1,zoomTintFadeOut:!1,borderSize:4,showLens:!0,borderColour:"#888",lensBorderSize:1,lensBorderColour:"#000",lensShape:"square",zoomType:"window",containLensZoom:!1,lensColour:"white",lensOpacity:0.4,lenszoom:!1,tint:!1,tintColour:"#333",tintOpacity:0.4,gallery:!1,
|
66 |
+
galleryActiveClass:"zoomGalleryActive",imageCrossfade:!1,constrainType:!1,constrainSize:!1,loadingIcon:!1,cursor:"default",responsive:!0,onComplete:d.noop,onZoomedImageLoaded:function(){},onImageSwap:d.noop,onImageSwapComplete:d.noop}})(jQuery,window,document);
|
skin/frontend/rwd/default/js/lib/elevatezoom/jquery.elevatezoom.js
CHANGED
@@ -26,1035 +26,1035 @@
|
|
26 |
|
27 |
|
28 |
if ( typeof Object.create !== 'function' ) {
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
}
|
35 |
|
36 |
(function( $, window, document, undefined ) {
|
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 |
-
|
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 |
|
90 |
-
|
91 |
-
|
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 |
// var delta = parseInt(e.originalEvent.wheelDelta || -e.originalEvent.detail);
|
473 |
|
474 |
-
|
475 |
-
|
476 |
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
|
489 |
|
490 |
-
|
491 |
|
492 |
|
493 |
-
|
494 |
|
495 |
|
496 |
// in IE there is issue with firing of mouseleave - So check whether still scrolling
|
497 |
-
// and on mouseleave check if scrolllock
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
|
505 |
-
|
506 |
|
507 |
|
508 |
-
|
509 |
-
|
510 |
|
511 |
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
|
516 |
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
|
527 |
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
|
536 |
-
|
537 |
-
|
538 |
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
|
544 |
|
545 |
-
|
546 |
-
|
547 |
-
|
548 |
if(!self.options.zoomEnabled){return false;}
|
549 |
-
|
550 |
-
|
551 |
-
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
if(!self.options.zoomEnabled){return false;}
|
571 |
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
-
|
611 |
-
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
|
700 |
-
|
701 |
-
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
|
706 |
-
|
707 |
-
|
708 |
-
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
713 |
-
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
-
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
-
|
726 |
-
|
727 |
-
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
732 |
-
|
733 |
-
|
734 |
-
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
|
744 |
-
|
745 |
-
|
746 |
-
|
747 |
-
|
748 |
-
|
749 |
-
|
750 |
-
|
751 |
-
|
752 |
-
|
753 |
-
|
754 |
-
|
755 |
-
|
756 |
-
|
757 |
-
|
758 |
-
|
759 |
-
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
|
767 |
-
|
768 |
-
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
|
777 |
-
|
778 |
-
|
779 |
-
|
780 |
-
|
781 |
-
|
782 |
-
|
783 |
-
|
784 |
-
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
-
|
796 |
-
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
-
|
802 |
-
|
803 |
-
|
804 |
-
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
|
809 |
-
|
810 |
-
|
811 |
-
|
812 |
-
|
813 |
-
|
814 |
-
|
815 |
-
|
816 |
-
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
|
821 |
-
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
|
828 |
-
|
829 |
-
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
-
|
834 |
-
|
835 |
-
|
836 |
-
|
837 |
-
|
838 |
-
|
839 |
-
|
840 |
-
|
841 |
-
|
842 |
-
|
843 |
-
|
844 |
-
|
845 |
-
|
846 |
-
|
847 |
-
|
848 |
-
|
849 |
-
|
850 |
-
|
851 |
-
|
852 |
-
|
853 |
-
|
854 |
-
|
855 |
-
|
856 |
-
|
857 |
-
|
858 |
-
|
859 |
-
|
860 |
-
|
861 |
-
|
862 |
-
|
863 |
-
|
864 |
-
|
865 |
-
|
866 |
-
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
-
|
873 |
-
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
|
878 |
-
|
879 |
-
|
880 |
-
|
881 |
-
|
882 |
-
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
-
|
930 |
-
|
931 |
-
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
-
|
939 |
-
|
940 |
-
|
941 |
-
|
942 |
-
|
943 |
-
|
944 |
-
|
945 |
-
|
946 |
-
|
947 |
-
|
948 |
-
|
949 |
-
|
950 |
-
|
951 |
-
|
952 |
-
|
953 |
-
|
954 |
-
|
955 |
-
|
956 |
-
|
957 |
-
|
958 |
-
|
959 |
-
|
960 |
-
|
961 |
-
|
962 |
-
|
963 |
-
|
964 |
-
|
965 |
-
|
966 |
-
|
967 |
-
|
968 |
-
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
-
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
-
|
977 |
-
|
978 |
-
|
979 |
-
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
-
|
987 |
-
|
988 |
-
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
997 |
-
|
998 |
-
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
1003 |
-
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
|
1008 |
-
|
1009 |
-
|
1010 |
-
|
1011 |
-
|
1012 |
-
|
1013 |
-
|
1014 |
-
|
1015 |
-
|
1016 |
-
|
1017 |
-
|
1018 |
-
|
1019 |
-
|
1020 |
-
|
1021 |
-
|
1022 |
-
|
1023 |
-
|
1024 |
-
|
1025 |
-
|
1026 |
-
|
1027 |
-
|
1028 |
-
|
1029 |
-
|
1030 |
-
|
1031 |
-
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
1038 |
-
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
|
1045 |
-
|
1046 |
-
|
1047 |
-
|
1048 |
-
|
1049 |
|
1050 |
-
|
1051 |
if(!self.bgxp){self.bgxp = self.largeWidth/self.newvalue;}
|
1052 |
-
|
1053 |
-
if (!self.bgloop){
|
1054 |
-
|
1055 |
|
1056 |
-
self.bgxp += (self.largeWidth/self.newvalue - self.bgxp) / self.options.easingAmount;
|
1057 |
-
|
1058 |
|
1059 |
self.zoomWindow.css({ "background-size": self.bgxp + 'px ' + self.bgyp + 'px' });
|
1060 |
|
@@ -1062,716 +1062,716 @@ if ( typeof Object.create !== 'function' ) {
|
|
1062 |
}, 16);
|
1063 |
|
1064 |
}
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
|
1069 |
-
|
1070 |
-
|
1071 |
-
|
1072 |
-
|
1073 |
-
|
1074 |
-
|
1075 |
-
|
1076 |
-
|
1077 |
-
|
1078 |
-
|
1079 |
-
|
1080 |
-
|
1081 |
-
|
1082 |
-
|
1083 |
-
|
1084 |
-
|
1085 |
-
|
1086 |
-
|
1087 |
-
|
1088 |
-
|
1089 |
-
|
1090 |
-
|
1091 |
-
|
1092 |
-
|
1093 |
-
|
1094 |
-
|
1095 |
-
|
1096 |
-
|
1097 |
-
|
1098 |
-
|
1099 |
-
|
1100 |
-
|
1101 |
-
|
1102 |
-
|
1103 |
-
|
1104 |
-
|
1105 |
-
|
1106 |
-
|
1107 |
-
|
1108 |
-
|
1109 |
-
|
1110 |
-
|
1111 |
-
|
1112 |
-
|
1113 |
-
|
1114 |
-
|
1115 |
-
|
1116 |
-
|
1117 |
-
|
1118 |
-
|
1119 |
-
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
1134 |
-
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
1139 |
-
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
|
1145 |
-
|
1146 |
-
|
1147 |
-
|
1148 |
-
|
1149 |
-
|
1150 |
-
|
1151 |
-
|
1152 |
-
|
1153 |
-
|
1154 |
-
|
1155 |
-
|
1156 |
-
|
1157 |
-
|
1158 |
-
|
1159 |
-
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
-
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
1178 |
-
|
1179 |
-
|
1180 |
-
|
1181 |
-
|
1182 |
-
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
|
1231 |
-
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
|
1243 |
-
|
1244 |
-
|
1245 |
-
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
1250 |
-
|
1251 |
-
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
1255 |
-
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
1293 |
-
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
1330 |
-
|
1331 |
-
|
1332 |
-
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
1340 |
-
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
|
1345 |
-
|
1346 |
-
|
1347 |
-
|
1348 |
-
|
1349 |
-
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
1373 |
-
|
1374 |
-
|
1375 |
-
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
1411 |
-
|
1412 |
-
|
1413 |
-
|
1414 |
-
|
1415 |
-
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
|
1420 |
-
|
1421 |
-
|
1422 |
-
|
1423 |
-
|
1424 |
-
|
1425 |
-
|
1426 |
-
|
1427 |
-
|
1428 |
-
|
1429 |
-
|
1430 |
-
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
|
1435 |
-
|
1436 |
-
|
1437 |
-
|
1438 |
-
|
1439 |
-
|
1440 |
-
|
1441 |
-
|
1442 |
-
|
1443 |
-
|
1444 |
-
|
1445 |
-
|
1446 |
-
|
1447 |
-
|
1448 |
-
|
1449 |
-
|
1450 |
|
1451 |
|
1452 |
-
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
1461 |
-
|
1462 |
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
|
1467 |
-
|
1468 |
-
|
1469 |
|
1470 |
-
|
1471 |
-
|
1472 |
-
|
1473 |
|
1474 |
|
1475 |
|
1476 |
|
1477 |
-
|
1478 |
-
|
1479 |
-
|
1480 |
|
1481 |
|
1482 |
|
1483 |
|
1484 |
-
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
1490 |
-
|
1491 |
|
1492 |
-
|
1493 |
-
|
1494 |
-
|
1495 |
-
|
1496 |
-
|
1497 |
|
1498 |
-
|
1499 |
|
1500 |
|
1501 |
// calculate new width ratio
|
1502 |
|
1503 |
-
|
1504 |
-
|
1505 |
-
|
1506 |
-
|
1507 |
|
1508 |
-
|
1509 |
-
|
1510 |
-
|
1511 |
-
|
1512 |
-
|
1513 |
|
1514 |
-
|
1515 |
-
|
1516 |
-
|
1517 |
-
|
1518 |
-
|
1519 |
|
1520 |
-
|
1521 |
-
|
1522 |
-
|
1523 |
|
1524 |
-
|
1525 |
-
|
1526 |
-
|
1527 |
|
1528 |
|
1529 |
|
1530 |
-
|
1531 |
-
|
1532 |
-
|
1533 |
-
|
1534 |
-
|
1535 |
-
|
1536 |
-
|
1537 |
-
|
1538 |
-
|
1539 |
-
|
1540 |
|
1541 |
|
1542 |
-
|
1543 |
|
1544 |
|
1545 |
-
|
1546 |
-
|
1547 |
-
|
1548 |
-
|
1549 |
-
|
1550 |
-
|
1551 |
-
|
1552 |
|
1553 |
|
1554 |
-
|
1555 |
-
|
1556 |
|
1557 |
|
1558 |
|
1559 |
-
|
1560 |
|
1561 |
-
|
1562 |
|
1563 |
-
|
1564 |
-
|
1565 |
-
|
1566 |
-
|
1567 |
-
|
1568 |
-
|
1569 |
|
1570 |
|
1571 |
|
1572 |
|
1573 |
-
|
1574 |
|
1575 |
-
|
1576 |
-
|
1577 |
|
1578 |
-
|
1579 |
-
|
1580 |
-
|
1581 |
-
|
1582 |
|
1583 |
-
|
1584 |
|
1585 |
|
1586 |
-
|
1587 |
-
|
1588 |
|
1589 |
-
|
1590 |
-
|
1591 |
-
|
1592 |
-
|
1593 |
|
1594 |
|
1595 |
-
|
1596 |
-
|
1597 |
|
1598 |
-
|
1599 |
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
1610 |
-
|
1611 |
-
|
1612 |
-
|
1613 |
-
|
1614 |
-
|
1615 |
-
|
1616 |
-
|
1617 |
|
1618 |
-
|
1619 |
-
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
|
1624 |
-
|
1625 |
-
|
1626 |
-
|
1627 |
|
1628 |
-
|
1629 |
|
1630 |
|
1631 |
|
1632 |
-
|
1633 |
-
|
1634 |
|
1635 |
-
|
1636 |
|
1637 |
|
1638 |
-
|
1639 |
|
1640 |
|
1641 |
-
|
1642 |
-
|
1643 |
-
|
1644 |
|
1645 |
-
|
1646 |
-
|
1647 |
-
|
1648 |
-
|
1649 |
-
|
1650 |
|
1651 |
|
1652 |
-
|
1653 |
|
1654 |
|
1655 |
|
1656 |
|
1657 |
-
|
1658 |
|
1659 |
|
1660 |
|
1661 |
-
|
1662 |
-
|
1663 |
-
|
1664 |
|
1665 |
-
|
1666 |
-
|
1667 |
|
1668 |
-
|
1669 |
-
|
1670 |
|
1671 |
-
|
1672 |
-
|
1673 |
-
|
1674 |
-
|
1675 |
-
|
1676 |
|
1677 |
-
|
1678 |
-
|
1679 |
-
|
1680 |
|
1681 |
-
|
1682 |
-
|
1683 |
-
|
1684 |
-
|
1685 |
-
|
1686 |
-
|
1687 |
-
|
1688 |
|
1689 |
-
|
1690 |
|
1691 |
-
|
1692 |
-
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
1696 |
-
|
1697 |
-
|
1698 |
-
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
|
1703 |
-
|
1704 |
|
1705 |
-
|
1706 |
|
1707 |
-
|
1708 |
|
1709 |
|
1710 |
|
1711 |
|
1712 |
-
|
1713 |
-
|
1714 |
-
|
1715 |
|
1716 |
-
|
1717 |
|
1718 |
-
|
1719 |
|
1720 |
-
|
1721 |
-
|
1722 |
|
1723 |
-
|
1724 |
-
|
1725 |
zoomEnabled: true, //false disables zoomwindow from showing
|
1726 |
-
|
1727 |
-
|
1728 |
-
|
1729 |
-
|
1730 |
-
|
1731 |
-
|
1732 |
-
|
1733 |
-
|
1734 |
-
|
1735 |
-
|
1736 |
-
|
1737 |
-
|
1738 |
-
|
1739 |
-
|
1740 |
-
|
1741 |
-
|
1742 |
-
|
1743 |
-
|
1744 |
-
|
1745 |
-
|
1746 |
-
|
1747 |
-
|
1748 |
-
|
1749 |
-
|
1750 |
-
|
1751 |
-
|
1752 |
-
|
1753 |
-
|
1754 |
-
|
1755 |
-
|
1756 |
-
|
1757 |
-
|
1758 |
-
|
1759 |
-
|
1760 |
-
|
1761 |
-
|
1762 |
-
|
1763 |
-
|
1764 |
-
|
1765 |
-
|
1766 |
-
|
1767 |
-
|
1768 |
-
|
1769 |
-
|
1770 |
-
|
1771 |
-
|
1772 |
-
|
1773 |
-
|
1774 |
-
|
1775 |
-
|
1776 |
-
|
1777 |
-
})( jQuery, window, document );
|
26 |
|
27 |
|
28 |
if ( typeof Object.create !== 'function' ) {
|
29 |
+
Object.create = function( obj ) {
|
30 |
+
function F() {};
|
31 |
+
F.prototype = obj;
|
32 |
+
return new F();
|
33 |
+
};
|
34 |
}
|
35 |
|
36 |
(function( $, window, document, undefined ) {
|
37 |
+
var ElevateZoom = {
|
38 |
+
init: function( options, elem ) {
|
39 |
+
var self = this;
|
40 |
|
41 |
+
self.elem = elem;
|
42 |
+
self.$elem = $( elem );
|
43 |
|
44 |
+
self.imageSrc = self.$elem.data("zoom-image") ? self.$elem.data("zoom-image") : self.$elem.attr("src");
|
45 |
|
46 |
+
self.options = $.extend( {}, $.fn.elevateZoom.options, options );
|
47 |
|
48 |
+
//TINT OVERRIDE SETTINGS
|
49 |
+
if(self.options.tint) {
|
50 |
+
self.options.lensColour = "none", //colour of the lens background
|
51 |
+
self.options.lensOpacity = "1" //opacity of the lens
|
52 |
+
}
|
53 |
+
//INNER OVERRIDE SETTINGS
|
54 |
+
if(self.options.zoomType == "inner") {self.options.showLens = false;}
|
55 |
|
56 |
|
57 |
+
//Remove alt on hover
|
58 |
+
|
59 |
+
self.$elem.parent().removeAttr('title').removeAttr('alt');
|
60 |
+
|
61 |
+
self.zoomImage = self.imageSrc;
|
62 |
+
|
63 |
+
self.refresh( 1 );
|
64 |
+
|
65 |
+
|
66 |
+
|
67 |
+
//Create the image swap from the gallery
|
68 |
+
$('#'+self.options.gallery + ' a').click( function(e) {
|
69 |
+
|
70 |
+
//Set a class on the currently active gallery image
|
71 |
+
if(self.options.galleryActiveClass){
|
72 |
+
$('#'+self.options.gallery + ' a').removeClass(self.options.galleryActiveClass);
|
73 |
+
$(this).addClass(self.options.galleryActiveClass);
|
74 |
+
}
|
75 |
+
//stop any link on the a tag from working
|
76 |
+
e.preventDefault();
|
77 |
+
|
78 |
+
//call the swap image function
|
79 |
+
if($(this).data("zoom-image")){self.zoomImagePre = $(this).data("zoom-image")}
|
80 |
+
else{self.zoomImagePre = $(this).data("image");}
|
81 |
+
self.swaptheimage($(this).data("image"), self.zoomImagePre);
|
82 |
+
return false;
|
83 |
+
});
|
84 |
+
|
85 |
+
},
|
86 |
+
|
87 |
+
refresh: function( length ) {
|
88 |
+
var self = this;
|
89 |
|
90 |
+
setTimeout(function() {
|
91 |
+
self.fetch(self.imageSrc);
|
92 |
|
93 |
+
}, length || self.options.refresh );
|
94 |
+
},
|
95 |
|
96 |
+
fetch: function(imgsrc) {
|
97 |
+
//get the image
|
98 |
+
var self = this;
|
99 |
+
var newImg = new Image();
|
100 |
+
newImg.onload = function() {
|
101 |
+
//set the large image dimensions - used to calculte ratio's
|
102 |
+
self.largeWidth = newImg.width;
|
103 |
+
self.largeHeight = newImg.height;
|
104 |
+
//once image is loaded start the calls
|
105 |
+
self.startZoom();
|
106 |
+
self.currentImage = self.imageSrc;
|
107 |
+
//let caller know image has been loaded
|
108 |
+
self.options.onZoomedImageLoaded(self.$elem);
|
109 |
+
}
|
110 |
+
newImg.src = imgsrc; // this must be done AFTER setting onload
|
111 |
+
|
112 |
+
return;
|
113 |
+
|
114 |
+
},
|
115 |
+
|
116 |
+
startZoom: function( ) {
|
117 |
+
var self = this;
|
118 |
+
//get dimensions of the non zoomed image
|
119 |
+
self.nzWidth = self.$elem.width();
|
120 |
+
self.nzHeight = self.$elem.height();
|
121 |
+
|
122 |
+
//activated elements
|
123 |
+
self.isWindowActive = false;
|
124 |
+
self.isLensActive = false;
|
125 |
+
self.isTintActive = false;
|
126 |
+
self.overWindow = false;
|
127 |
+
|
128 |
+
//CrossFade Wrappe
|
129 |
+
if(self.options.imageCrossfade){
|
130 |
+
self.zoomWrap = self.$elem.wrap('<div style="height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;" class="zoomWrapper" />');
|
131 |
+
self.$elem.css('position', 'absolute');
|
132 |
+
}
|
133 |
+
|
134 |
+
self.zoomLock = 1;
|
135 |
+
self.scrollingLock = false;
|
136 |
+
self.changeBgSize = false;
|
137 |
+
self.currentZoomLevel = self.options.zoomLevel;
|
138 |
+
|
139 |
+
|
140 |
+
//get offset of the non zoomed image
|
141 |
+
self.nzOffset = self.$elem.offset();
|
142 |
+
//calculate the width ratio of the large/small image
|
143 |
+
self.widthRatio = (self.largeWidth/self.currentZoomLevel) / self.nzWidth;
|
144 |
+
self.heightRatio = (self.largeHeight/self.currentZoomLevel) / self.nzHeight;
|
145 |
+
|
146 |
+
|
147 |
+
//if window zoom
|
148 |
+
if(self.options.zoomType == "window") {
|
149 |
+
self.zoomWindowStyle = "overflow: hidden;"
|
150 |
+
+ "background-position: 0px 0px;text-align:center;"
|
151 |
+
+ "background-color: " + String(self.options.zoomWindowBgColour)
|
152 |
+
+ ";width: " + String(self.options.zoomWindowWidth) + "px;"
|
153 |
+
+ "height: " + String(self.options.zoomWindowHeight)
|
154 |
+
+ "px;float: left;"
|
155 |
+
+ "background-size: "+ self.largeWidth/self.currentZoomLevel+ "px " +self.largeHeight/self.currentZoomLevel + "px;"
|
156 |
+
+ "display: none;z-index:100;"
|
157 |
+
+ "border: " + String(self.options.borderSize)
|
158 |
+
+ "px solid " + self.options.borderColour
|
159 |
+
+ ";background-repeat: no-repeat;"
|
160 |
+
+ "position: absolute;";
|
161 |
+
}
|
162 |
+
|
163 |
+
|
164 |
+
//if inner zoom
|
165 |
+
if(self.options.zoomType == "inner") {
|
166 |
+
//has a border been put on the image? Lets cater for this
|
167 |
+
|
168 |
+
var borderWidth = self.$elem.css("border-left-width");
|
169 |
+
|
170 |
+
self.zoomWindowStyle = "overflow: hidden;"
|
171 |
+
+ "margin-left: " + String(borderWidth) + ";"
|
172 |
+
+ "margin-top: " + String(borderWidth) + ";"
|
173 |
+
+ "background-position: 0px 0px;"
|
174 |
+
+ "width: " + String(self.nzWidth) + "px;"
|
175 |
+
+ "height: " + String(self.nzHeight)
|
176 |
+
+ "px;float: left;"
|
177 |
+
+ "display: none;"
|
178 |
+
+ "cursor:"+(self.options.cursor)+";"
|
179 |
+
+ "px solid " + self.options.borderColour
|
180 |
+
+ ";background-repeat: no-repeat;"
|
181 |
+
+ "position: absolute;";
|
182 |
+
}
|
183 |
+
|
184 |
+
|
185 |
+
|
186 |
+
//lens style for window zoom
|
187 |
+
if(self.options.zoomType == "window") {
|
188 |
+
|
189 |
+
|
190 |
+
// adjust images less than the window height
|
191 |
+
|
192 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
193 |
+
lensHeight = self.nzHeight;
|
194 |
+
}
|
195 |
+
else{
|
196 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
197 |
+
}
|
198 |
+
if(self.largeWidth < self.options.zoomWindowWidth){
|
199 |
+
lensWidth = self.nzWidth;
|
200 |
+
}
|
201 |
+
else{
|
202 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
203 |
+
}
|
204 |
|
205 |
|
206 |
+
self.lensStyle = "background-position: 0px 0px;width: " + String((self.options.zoomWindowWidth)/self.widthRatio) + "px;height: " + String((self.options.zoomWindowHeight)/self.heightRatio)
|
207 |
+
+ "px;float: right;display: none;"
|
208 |
+
+ "overflow: hidden;"
|
209 |
+
+ "z-index: 999;"
|
210 |
+
+ "-webkit-transform: translateZ(0);"
|
211 |
+
+ "opacity:"+(self.options.lensOpacity)+";filter: alpha(opacity = "+(self.options.lensOpacity*100)+"); zoom:1;"
|
212 |
+
+ "width:"+lensWidth+"px;"
|
213 |
+
+ "height:"+lensHeight+"px;"
|
214 |
+
+ "background-color:"+(self.options.lensColour)+";"
|
215 |
+
+ "cursor:"+(self.options.cursor)+";"
|
216 |
+
+ "border: "+(self.options.lensBorderSize)+"px" +
|
217 |
+
" solid "+(self.options.lensBorderColour)+";background-repeat: no-repeat;position: absolute;";
|
218 |
+
}
|
219 |
|
220 |
|
221 |
+
//tint style
|
222 |
+
self.tintStyle = "display: block;"
|
223 |
+
+ "position: absolute;"
|
224 |
+
+ "background-color: "+self.options.tintColour+";"
|
225 |
+
+ "filter:alpha(opacity=0);"
|
226 |
+
+ "opacity: 0;"
|
227 |
+
+ "width: " + self.nzWidth + "px;"
|
228 |
+
+ "height: " + self.nzHeight + "px;"
|
229 |
|
230 |
+
;
|
231 |
|
232 |
+
//lens style for lens zoom with optional round for modern browsers
|
233 |
+
self.lensRound = '';
|
234 |
|
235 |
+
if(self.options.zoomType == "lens") {
|
236 |
|
237 |
+
self.lensStyle = "background-position: 0px 0px;"
|
238 |
+
+ "float: left;display: none;"
|
239 |
+
+ "border: " + String(self.options.borderSize) + "px solid " + self.options.borderColour+";"
|
240 |
+
+ "width:"+ String(self.options.lensSize) +"px;"
|
241 |
+
+ "height:"+ String(self.options.lensSize)+"px;"
|
242 |
+
+ "background-repeat: no-repeat;position: absolute;";
|
243 |
|
244 |
|
245 |
+
}
|
246 |
|
247 |
|
248 |
+
//does not round in all browsers
|
249 |
+
if(self.options.lensShape == "round") {
|
250 |
+
self.lensRound = "border-top-left-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;"
|
251 |
+
+ "border-top-right-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;"
|
252 |
+
+ "border-bottom-left-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;"
|
253 |
+
+ "border-bottom-right-radius: " + String(self.options.lensSize / 2 + self.options.borderSize) + "px;";
|
254 |
|
255 |
+
}
|
256 |
|
257 |
+
//create the div's + ""
|
258 |
+
//self.zoomContainer = $('<div/>').addClass('zoomContainer').css({"position":"relative", "height":self.nzHeight, "width":self.nzWidth});
|
259 |
|
260 |
+
self.zoomContainer = $('<div class="zoomContainer" style="-webkit-transform: translateZ(0);position:absolute;left:'+self.nzOffset.left+'px;top:'+self.nzOffset.top+'px;height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;"></div>');
|
261 |
+
$('body').append(self.zoomContainer);
|
262 |
|
263 |
|
264 |
+
//this will add overflow hidden and contrain the lens on lens mode
|
265 |
+
if(self.options.containLensZoom && self.options.zoomType == "lens"){
|
266 |
+
self.zoomContainer.css("overflow", "hidden");
|
267 |
+
}
|
268 |
+
if(self.options.zoomType != "inner") {
|
269 |
+
self.zoomLens = $("<div class='zoomLens' style='" + self.lensStyle + self.lensRound +"'> </div>")
|
270 |
+
.appendTo(self.zoomContainer)
|
271 |
+
.click(function () {
|
272 |
+
self.$elem.trigger('click');
|
273 |
+
});
|
274 |
|
275 |
|
276 |
+
if(self.options.tint) {
|
277 |
+
self.tintContainer = $('<div/>').addClass('tintContainer');
|
278 |
+
self.zoomTint = $("<div class='zoomTint' style='"+self.tintStyle+"'></div>");
|
279 |
|
280 |
|
281 |
+
self.zoomLens.wrap(self.tintContainer);
|
282 |
|
283 |
|
284 |
+
self.zoomTintcss = self.zoomLens.after(self.zoomTint);
|
285 |
+
|
286 |
+
//if tint enabled - set an image to show over the tint
|
287 |
+
|
288 |
+
self.zoomTintImage = $('<img style="position: absolute; left: 0px; top: 0px; max-width: none; width: '+self.nzWidth+'px; height: '+self.nzHeight+'px;" src="'+self.imageSrc+'">')
|
289 |
+
.appendTo(self.zoomLens)
|
290 |
+
.click(function () {
|
291 |
+
|
292 |
+
self.$elem.trigger('click');
|
293 |
+
});
|
294 |
+
|
295 |
+
}
|
296 |
+
|
297 |
+
}
|
298 |
+
|
299 |
+
|
300 |
+
|
301 |
+
|
302 |
+
|
303 |
+
|
304 |
+
|
305 |
+
//create zoom window
|
306 |
+
if(isNaN(self.options.zoomWindowPosition)){
|
307 |
+
self.zoomWindow = $("<div style='z-index:999;left:"+(self.windowOffsetLeft)+"px;top:"+(self.windowOffsetTop)+"px;" + self.zoomWindowStyle + "' class='zoomWindow'> </div>")
|
308 |
+
.appendTo('body')
|
309 |
+
.click(function () {
|
310 |
+
self.$elem.trigger('click');
|
311 |
+
});
|
312 |
+
}else{
|
313 |
+
self.zoomWindow = $("<div style='z-index:999;left:"+(self.windowOffsetLeft)+"px;top:"+(self.windowOffsetTop)+"px;" + self.zoomWindowStyle + "' class='zoomWindow'> </div>")
|
314 |
+
.appendTo(self.zoomContainer)
|
315 |
+
.click(function () {
|
316 |
+
self.$elem.trigger('click');
|
317 |
+
});
|
318 |
+
}
|
319 |
+
self.zoomWindowContainer = $('<div/>').addClass('zoomWindowContainer').css("width",self.options.zoomWindowWidth);
|
320 |
+
self.zoomWindow.wrap(self.zoomWindowContainer);
|
321 |
+
|
322 |
+
|
323 |
+
// self.captionStyle = "text-align: left;background-color: black;color: white;font-weight: bold;padding: 10px;font-family: sans-serif;font-size: 11px";
|
324 |
+
// self.zoomCaption = $('<div class="elevatezoom-caption" style="'+self.captionStyle+'display: block; width: 280px;">INSERT ALT TAG</div>').appendTo(self.zoomWindow.parent());
|
325 |
+
|
326 |
+
if(self.options.zoomType == "lens") {
|
327 |
+
self.zoomLens.css({ backgroundImage: "url('" + self.imageSrc + "')" });
|
328 |
+
}
|
329 |
+
if(self.options.zoomType == "window") {
|
330 |
+
self.zoomWindow.css({ backgroundImage: "url('" + self.imageSrc + "')" });
|
331 |
+
}
|
332 |
+
if(self.options.zoomType == "inner") {
|
333 |
+
self.zoomWindow.css({ backgroundImage: "url('" + self.imageSrc + "')" });
|
334 |
+
}
|
335 |
+
/*-------------------END THE ZOOM WINDOW AND LENS----------------------------------*/
|
336 |
+
//touch events
|
337 |
+
self.$elem.bind('touchmove', function(e){
|
338 |
+
e.preventDefault();
|
339 |
+
var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
|
340 |
+
self.setPosition(touch);
|
341 |
+
|
342 |
+
});
|
343 |
+
self.zoomContainer.bind('touchmove', function(e){
|
344 |
+
if(self.options.zoomType == "inner") {
|
345 |
+
self.showHideWindow("show");
|
346 |
+
|
347 |
+
}
|
348 |
+
e.preventDefault();
|
349 |
+
var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
|
350 |
+
self.setPosition(touch);
|
351 |
+
|
352 |
+
});
|
353 |
+
self.zoomContainer.bind('touchend', function(e){
|
354 |
+
self.showHideWindow("hide");
|
355 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
356 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("hide");}
|
357 |
+
});
|
358 |
+
|
359 |
+
self.$elem.bind('touchend', function(e){
|
360 |
+
self.showHideWindow("hide");
|
361 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
362 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("hide");}
|
363 |
+
});
|
364 |
+
if(self.options.showLens) {
|
365 |
+
self.zoomLens.bind('touchmove', function(e){
|
366 |
+
|
367 |
+
e.preventDefault();
|
368 |
+
var touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
|
369 |
+
self.setPosition(touch);
|
370 |
+
});
|
371 |
+
|
372 |
+
|
373 |
+
self.zoomLens.bind('touchend', function(e){
|
374 |
+
self.showHideWindow("hide");
|
375 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
376 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("hide");}
|
377 |
+
});
|
378 |
+
}
|
379 |
+
//Needed to work in IE
|
380 |
+
self.$elem.bind('mousemove', function(e){
|
381 |
+
if(self.overWindow == false){self.setElements("show");}
|
382 |
+
//make sure on orientation change the setposition is not fired
|
383 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
384 |
+
self.setPosition(e);
|
385 |
+
self.currentLoc = e;
|
386 |
+
}
|
387 |
+
self.lastX = e.clientX;
|
388 |
+
self.lastY = e.clientY;
|
389 |
+
|
390 |
+
});
|
391 |
+
|
392 |
+
self.zoomContainer.bind('mousemove', function(e){
|
393 |
+
|
394 |
+
if(self.overWindow == false){self.setElements("show");}
|
395 |
+
|
396 |
+
//make sure on orientation change the setposition is not fired
|
397 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
398 |
+
self.setPosition(e);
|
399 |
+
self.currentLoc = e;
|
400 |
+
}
|
401 |
+
self.lastX = e.clientX;
|
402 |
+
self.lastY = e.clientY;
|
403 |
+
});
|
404 |
+
if(self.options.zoomType != "inner") {
|
405 |
+
self.zoomLens.bind('mousemove', function(e){
|
406 |
+
//make sure on orientation change the setposition is not fired
|
407 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
408 |
+
self.setPosition(e);
|
409 |
+
self.currentLoc = e;
|
410 |
+
}
|
411 |
+
self.lastX = e.clientX;
|
412 |
+
self.lastY = e.clientY;
|
413 |
+
});
|
414 |
+
}
|
415 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
416 |
+
self.zoomTint.bind('mousemove', function(e){
|
417 |
+
//make sure on orientation change the setposition is not fired
|
418 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
419 |
+
self.setPosition(e);
|
420 |
+
self.currentLoc = e;
|
421 |
+
}
|
422 |
+
self.lastX = e.clientX;
|
423 |
+
self.lastY = e.clientY;
|
424 |
+
});
|
425 |
+
|
426 |
+
}
|
427 |
+
if(self.options.zoomType == "inner") {
|
428 |
+
self.zoomWindow.bind('mousemove', function(e) {
|
429 |
+
//self.overWindow = true;
|
430 |
+
//make sure on orientation change the setposition is not fired
|
431 |
+
if(self.lastX !== e.clientX || self.lastY !== e.clientY){
|
432 |
+
self.setPosition(e);
|
433 |
+
self.currentLoc = e;
|
434 |
+
}
|
435 |
+
self.lastX = e.clientX;
|
436 |
+
self.lastY = e.clientY;
|
437 |
+
});
|
438 |
+
|
439 |
+
}
|
440 |
+
|
441 |
+
|
442 |
+
// lensFadeOut: 500, zoomTintFadeIn
|
443 |
+
self.zoomContainer.add(self.$elem).mouseenter(function(){
|
444 |
+
|
445 |
+
if(self.overWindow == false){self.setElements("show");}
|
446 |
+
|
447 |
+
|
448 |
+
}).mouseleave(function(){
|
449 |
+
if(!self.scrollLock){
|
450 |
+
self.setElements("hide");
|
451 |
+
}
|
452 |
+
});
|
453 |
+
//end ove image
|
454 |
+
|
455 |
+
|
456 |
+
|
457 |
+
|
458 |
+
|
459 |
+
if(self.options.zoomType != "inner") {
|
460 |
+
self.zoomWindow.mouseenter(function(){
|
461 |
+
self.overWindow = true;
|
462 |
+
self.setElements("hide");
|
463 |
+
}).mouseleave(function(){
|
464 |
+
|
465 |
+
self.overWindow = false;
|
466 |
+
});
|
467 |
+
}
|
468 |
+
//end ove image
|
469 |
|
470 |
|
471 |
|
472 |
// var delta = parseInt(e.originalEvent.wheelDelta || -e.originalEvent.detail);
|
473 |
|
474 |
+
// $(this).empty();
|
475 |
+
// return false;
|
476 |
|
477 |
+
//fix for initial zoom setting
|
478 |
+
if (self.options.zoomLevel != 1){
|
479 |
+
// self.changeZoomLevel(self.currentZoomLevel);
|
480 |
+
}
|
481 |
+
//set the min zoomlevel
|
482 |
+
if(self.options.minZoomLevel){
|
483 |
+
self.minZoomLevel = self.options.minZoomLevel;
|
484 |
+
}
|
485 |
+
else{
|
486 |
+
self.minZoomLevel = self.options.scrollZoomIncrement * 2;
|
487 |
+
}
|
488 |
|
489 |
|
490 |
+
if(self.options.scrollZoom){
|
491 |
|
492 |
|
493 |
+
self.zoomContainer.add(self.$elem).bind('mousewheel DOMMouseScroll MozMousePixelScroll', function(e){
|
494 |
|
495 |
|
496 |
// in IE there is issue with firing of mouseleave - So check whether still scrolling
|
497 |
+
// and on mouseleave check if scrolllock
|
498 |
+
self.scrollLock = true;
|
499 |
+
clearTimeout($.data(this, 'timer'));
|
500 |
+
$.data(this, 'timer', setTimeout(function() {
|
501 |
+
self.scrollLock = false;
|
502 |
+
//do something
|
503 |
+
}, 250));
|
504 |
|
505 |
+
var theEvent = e.originalEvent.wheelDelta || e.originalEvent.detail*-1
|
506 |
|
507 |
|
508 |
+
//this.scrollTop += ( delta < 0 ? 1 : -1 ) * 30;
|
509 |
+
// e.preventDefault();
|
510 |
|
511 |
|
512 |
+
e.stopImmediatePropagation();
|
513 |
+
e.stopPropagation();
|
514 |
+
e.preventDefault();
|
515 |
|
516 |
|
517 |
+
if(theEvent /120 > 0) {
|
518 |
+
//scrolling up
|
519 |
+
if(self.currentZoomLevel >= self.minZoomLevel){
|
520 |
+
self.changeZoomLevel(self.currentZoomLevel-self.options.scrollZoomIncrement);
|
521 |
+
}
|
522 |
|
523 |
+
}
|
524 |
+
else{
|
525 |
+
//scrolling down
|
526 |
|
527 |
|
528 |
+
if(self.options.maxZoomLevel){
|
529 |
+
if(self.currentZoomLevel <= self.options.maxZoomLevel){
|
530 |
+
self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement);
|
531 |
+
}
|
532 |
+
}
|
533 |
+
else{
|
534 |
+
//andy
|
535 |
|
536 |
+
self.changeZoomLevel(parseFloat(self.currentZoomLevel)+self.options.scrollZoomIncrement);
|
537 |
+
}
|
538 |
|
539 |
+
}
|
540 |
+
return false;
|
541 |
+
});
|
542 |
+
}
|
543 |
|
544 |
|
545 |
+
},
|
546 |
+
setElements: function(type) {
|
547 |
+
var self = this;
|
548 |
if(!self.options.zoomEnabled){return false;}
|
549 |
+
if(type=="show"){
|
550 |
+
if(self.isWindowSet){
|
551 |
+
if(self.options.zoomType == "inner") {self.showHideWindow("show");}
|
552 |
+
if(self.options.zoomType == "window") {self.showHideWindow("show");}
|
553 |
+
if(self.options.showLens) {self.showHideLens("show");}
|
554 |
+
if(self.options.tint && self.options.zoomType != "inner") {self.showHideTint("show");
|
555 |
+
}
|
556 |
+
}
|
557 |
+
}
|
558 |
+
|
559 |
+
if(type=="hide"){
|
560 |
+
if(self.options.zoomType == "window") {self.showHideWindow("hide");}
|
561 |
+
if(!self.options.tint) {self.showHideWindow("hide");}
|
562 |
+
if(self.options.showLens) {self.showHideLens("hide");}
|
563 |
+
if(self.options.tint) { self.showHideTint("hide");}
|
564 |
+
}
|
565 |
+
},
|
566 |
+
setPosition: function(e) {
|
567 |
+
|
568 |
+
var self = this;
|
569 |
+
|
570 |
if(!self.options.zoomEnabled){return false;}
|
571 |
|
572 |
+
//recaclc offset each time in case the image moves
|
573 |
+
//this can be caused by other on page elements
|
574 |
+
self.nzHeight = self.$elem.height();
|
575 |
+
self.nzWidth = self.$elem.width();
|
576 |
+
self.nzOffset = self.$elem.offset();
|
577 |
+
|
578 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
579 |
+
self.zoomTint.css({ top: 0});
|
580 |
+
self.zoomTint.css({ left: 0});
|
581 |
+
}
|
582 |
+
//set responsive
|
583 |
+
//will checking if the image needs changing before running this code work faster?
|
584 |
+
if(self.options.responsive && !self.options.scrollZoom){
|
585 |
+
if(self.options.showLens){
|
586 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
587 |
+
lensHeight = self.nzHeight;
|
588 |
+
}
|
589 |
+
else{
|
590 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
591 |
+
}
|
592 |
+
if(self.largeWidth < self.options.zoomWindowWidth){
|
593 |
+
lensWidth = self.nzWidth;
|
594 |
+
}
|
595 |
+
else{
|
596 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
597 |
+
}
|
598 |
+
self.widthRatio = self.largeWidth / self.nzWidth;
|
599 |
+
self.heightRatio = self.largeHeight / self.nzHeight;
|
600 |
+
if(self.options.zoomType != "lens") {
|
601 |
+
|
602 |
+
|
603 |
+
//possibly dont need to keep recalcalculating
|
604 |
+
//if the lens is heigher than the image, then set lens size to image size
|
605 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
606 |
+
lensHeight = self.nzHeight;
|
607 |
+
|
608 |
+
}
|
609 |
+
else{
|
610 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
611 |
+
}
|
612 |
+
|
613 |
+
if(self.options.zoomWindowWidth < self.options.zoomWindowWidth){
|
614 |
+
lensWidth = self.nzWidth;
|
615 |
+
}
|
616 |
+
else{
|
617 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
618 |
+
}
|
619 |
+
|
620 |
+
self.zoomLens.css('width', lensWidth);
|
621 |
+
self.zoomLens.css('height', lensHeight);
|
622 |
+
|
623 |
+
if(self.options.tint){
|
624 |
+
self.zoomTintImage.css('width', self.nzWidth);
|
625 |
+
self.zoomTintImage.css('height', self.nzHeight);
|
626 |
+
}
|
627 |
+
|
628 |
+
}
|
629 |
+
if(self.options.zoomType == "lens") {
|
630 |
+
|
631 |
+
self.zoomLens.css({ width: String(self.options.lensSize) + 'px', height: String(self.options.lensSize) + 'px' })
|
632 |
+
|
633 |
+
|
634 |
+
}
|
635 |
+
//end responsive image change
|
636 |
+
}
|
637 |
+
}
|
638 |
+
|
639 |
+
//container fix
|
640 |
+
self.zoomContainer.css({ top: self.nzOffset.top});
|
641 |
+
self.zoomContainer.css({ left: self.nzOffset.left});
|
642 |
+
self.mouseLeft = parseInt(e.pageX - self.nzOffset.left);
|
643 |
+
self.mouseTop = parseInt(e.pageY - self.nzOffset.top);
|
644 |
+
//calculate the Location of the Lens
|
645 |
+
|
646 |
+
//calculate the bound regions - but only if zoom window
|
647 |
+
if(self.options.zoomType == "window") {
|
648 |
+
self.Etoppos = (self.mouseTop < (self.zoomLens.height()/2));
|
649 |
+
self.Eboppos = (self.mouseTop > self.nzHeight - (self.zoomLens.height()/2)-(self.options.lensBorderSize*2));
|
650 |
+
self.Eloppos = (self.mouseLeft < 0+((self.zoomLens.width()/2)));
|
651 |
+
self.Eroppos = (self.mouseLeft > (self.nzWidth - (self.zoomLens.width()/2)-(self.options.lensBorderSize*2)));
|
652 |
+
}
|
653 |
+
//calculate the bound regions - but only for inner zoom
|
654 |
+
if(self.options.zoomType == "inner"){
|
655 |
+
self.Etoppos = (self.mouseTop < ((self.nzHeight/2)/self.heightRatio) );
|
656 |
+
self.Eboppos = (self.mouseTop > (self.nzHeight - ((self.nzHeight/2)/self.heightRatio)));
|
657 |
+
self.Eloppos = (self.mouseLeft < 0+(((self.nzWidth/2)/self.widthRatio)));
|
658 |
+
self.Eroppos = (self.mouseLeft > (self.nzWidth - (self.nzWidth/2)/self.widthRatio-(self.options.lensBorderSize*2)));
|
659 |
+
}
|
660 |
+
|
661 |
+
// if the mouse position of the slider is one of the outerbounds, then hide window and lens
|
662 |
+
if (self.mouseLeft <= 0 || self.mouseTop < 0 || self.mouseLeft > self.nzWidth || self.mouseTop > self.nzHeight ) {
|
663 |
+
self.setElements("hide");
|
664 |
+
return;
|
665 |
+
}
|
666 |
+
//else continue with operations
|
667 |
+
else {
|
668 |
+
|
669 |
+
|
670 |
+
//lens options
|
671 |
+
if(self.options.showLens) {
|
672 |
+
// self.showHideLens("show");
|
673 |
+
//set background position of lens
|
674 |
+
self.lensLeftPos = String(self.mouseLeft - self.zoomLens.width() / 2);
|
675 |
+
self.lensTopPos = String(self.mouseTop - self.zoomLens.height() / 2);
|
676 |
+
|
677 |
+
|
678 |
+
}
|
679 |
+
//adjust the background position if the mouse is in one of the outer regions
|
680 |
+
|
681 |
+
//Top region
|
682 |
+
if(self.Etoppos){
|
683 |
+
self.lensTopPos = 0;
|
684 |
+
}
|
685 |
+
//Left Region
|
686 |
+
if(self.Eloppos){
|
687 |
+
self.windowLeftPos = 0;
|
688 |
+
self.lensLeftPos = 0;
|
689 |
+
self.tintpos=0;
|
690 |
+
}
|
691 |
+
//Set bottom and right region for window mode
|
692 |
+
if(self.options.zoomType == "window") {
|
693 |
+
if(self.Eboppos){
|
694 |
+
self.lensTopPos = Math.max( (self.nzHeight)-self.zoomLens.height()-(self.options.lensBorderSize*2), 0 );
|
695 |
+
}
|
696 |
+
if(self.Eroppos){
|
697 |
+
self.lensLeftPos = (self.nzWidth-(self.zoomLens.width())-(self.options.lensBorderSize*2));
|
698 |
+
}
|
699 |
+
}
|
700 |
+
//Set bottom and right region for inner mode
|
701 |
+
if(self.options.zoomType == "inner") {
|
702 |
+
if(self.Eboppos){
|
703 |
+
self.lensTopPos = Math.max( ((self.nzHeight)-(self.options.lensBorderSize*2)), 0 );
|
704 |
+
}
|
705 |
+
if(self.Eroppos){
|
706 |
+
self.lensLeftPos = (self.nzWidth-(self.nzWidth)-(self.options.lensBorderSize*2));
|
707 |
+
}
|
708 |
+
|
709 |
+
}
|
710 |
+
//if lens zoom
|
711 |
+
if(self.options.zoomType == "lens") {
|
712 |
+
self.windowLeftPos = String(((e.pageX - self.nzOffset.left) * self.widthRatio - self.zoomLens.width() / 2) * (-1));
|
713 |
+
self.windowTopPos = String(((e.pageY - self.nzOffset.top) * self.heightRatio - self.zoomLens.height() / 2) * (-1));
|
714 |
+
|
715 |
+
self.zoomLens.css({ backgroundPosition: self.windowLeftPos + 'px ' + self.windowTopPos + 'px' });
|
716 |
+
|
717 |
+
if(self.changeBgSize){
|
718 |
+
|
719 |
+
if(self.nzHeight>self.nzWidth){
|
720 |
+
if(self.options.zoomType == "lens"){
|
721 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
722 |
+
}
|
723 |
+
|
724 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
725 |
+
}
|
726 |
+
else{
|
727 |
+
if(self.options.zoomType == "lens"){
|
728 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
729 |
+
}
|
730 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
731 |
+
}
|
732 |
+
self.changeBgSize = false;
|
733 |
+
}
|
734 |
+
|
735 |
+
self.setWindowPostition(e);
|
736 |
+
}
|
737 |
+
//if tint zoom
|
738 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
739 |
+
self.setTintPosition(e);
|
740 |
+
|
741 |
+
}
|
742 |
+
//set the css background position
|
743 |
+
if(self.options.zoomType == "window") {
|
744 |
+
self.setWindowPostition(e);
|
745 |
+
}
|
746 |
+
if(self.options.zoomType == "inner") {
|
747 |
+
self.setWindowPostition(e);
|
748 |
+
}
|
749 |
+
if(self.options.showLens) {
|
750 |
+
|
751 |
+
if(self.fullwidth && self.options.zoomType != "lens"){
|
752 |
+
self.lensLeftPos = 0;
|
753 |
+
|
754 |
+
}
|
755 |
+
self.zoomLens.css({ left: self.lensLeftPos + 'px', top: self.lensTopPos + 'px' })
|
756 |
+
}
|
757 |
+
|
758 |
+
} //end else
|
759 |
+
|
760 |
+
|
761 |
+
|
762 |
+
},
|
763 |
+
showHideWindow: function(change) {
|
764 |
+
var self = this;
|
765 |
+
if(change == "show"){
|
766 |
+
if(!self.isWindowActive){
|
767 |
+
if(self.options.zoomWindowFadeIn){
|
768 |
+
self.zoomWindow.stop(true, true, false).fadeIn(self.options.zoomWindowFadeIn);
|
769 |
+
}
|
770 |
+
else{self.zoomWindow.show();}
|
771 |
+
self.isWindowActive = true;
|
772 |
+
}
|
773 |
+
}
|
774 |
+
if(change == "hide"){
|
775 |
+
if(self.isWindowActive){
|
776 |
+
if(self.options.zoomWindowFadeOut){
|
777 |
+
self.zoomWindow.stop(true, true).fadeOut(self.options.zoomWindowFadeOut);
|
778 |
+
}
|
779 |
+
else{self.zoomWindow.hide();}
|
780 |
+
self.isWindowActive = false;
|
781 |
+
}
|
782 |
+
}
|
783 |
+
},
|
784 |
+
showHideLens: function(change) {
|
785 |
+
var self = this;
|
786 |
+
if(change == "show"){
|
787 |
+
if(!self.isLensActive){
|
788 |
+
if(self.options.lensFadeIn){
|
789 |
+
self.zoomLens.stop(true, true, false).fadeIn(self.options.lensFadeIn);
|
790 |
+
}
|
791 |
+
else{self.zoomLens.show();}
|
792 |
+
self.isLensActive = true;
|
793 |
+
}
|
794 |
+
}
|
795 |
+
if(change == "hide"){
|
796 |
+
if(self.isLensActive){
|
797 |
+
if(self.options.lensFadeOut){
|
798 |
+
self.zoomLens.stop(true, true).fadeOut(self.options.lensFadeOut);
|
799 |
+
}
|
800 |
+
else{self.zoomLens.hide();}
|
801 |
+
self.isLensActive = false;
|
802 |
+
}
|
803 |
+
}
|
804 |
+
},
|
805 |
+
showHideTint: function(change) {
|
806 |
+
var self = this;
|
807 |
+
if(change == "show"){
|
808 |
+
if(!self.isTintActive){
|
809 |
+
|
810 |
+
if(self.options.zoomTintFadeIn){
|
811 |
+
self.zoomTint.css({opacity:self.options.tintOpacity}).animate().stop(true, true).fadeIn("slow");
|
812 |
+
}
|
813 |
+
else{
|
814 |
+
self.zoomTint.css({opacity:self.options.tintOpacity}).animate();
|
815 |
+
self.zoomTint.show();
|
816 |
+
|
817 |
+
|
818 |
+
}
|
819 |
+
self.isTintActive = true;
|
820 |
+
}
|
821 |
+
}
|
822 |
+
if(change == "hide"){
|
823 |
+
if(self.isTintActive){
|
824 |
+
|
825 |
+
if(self.options.zoomTintFadeOut){
|
826 |
+
self.zoomTint.stop(true, true).fadeOut(self.options.zoomTintFadeOut);
|
827 |
+
}
|
828 |
+
else{self.zoomTint.hide();}
|
829 |
+
self.isTintActive = false;
|
830 |
+
}
|
831 |
+
}
|
832 |
+
},
|
833 |
+
setLensPostition: function( e ) {
|
834 |
+
|
835 |
+
|
836 |
+
},
|
837 |
+
setWindowPostition: function( e ) {
|
838 |
+
//return obj.slice( 0, count );
|
839 |
+
var self = this;
|
840 |
+
|
841 |
+
if(!isNaN(self.options.zoomWindowPosition)){
|
842 |
+
|
843 |
+
switch (self.options.zoomWindowPosition) {
|
844 |
+
case 1: //done
|
845 |
+
self.windowOffsetTop = (self.options.zoomWindowOffety);//DONE - 1
|
846 |
+
self.windowOffsetLeft =(+self.nzWidth); //DONE 1, 2, 3, 4, 16
|
847 |
+
break;
|
848 |
+
case 2:
|
849 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
850 |
+
|
851 |
+
self.windowOffsetTop = ((self.options.zoomWindowHeight/2)-(self.nzHeight/2))*(-1);
|
852 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
853 |
+
}
|
854 |
+
else{ //negative margin
|
855 |
+
|
856 |
+
}
|
857 |
+
break;
|
858 |
+
case 3: //done
|
859 |
+
self.windowOffsetTop = (self.nzHeight - self.zoomWindow.height() - (self.options.borderSize*2)); //DONE 3,9
|
860 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
861 |
+
break;
|
862 |
+
case 4: //done
|
863 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
864 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
865 |
+
break;
|
866 |
+
case 5: //done
|
867 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
868 |
+
self.windowOffsetLeft =(self.nzWidth-self.zoomWindow.width()-(self.options.borderSize*2)); //DONE - 5,15
|
869 |
+
break;
|
870 |
+
case 6:
|
871 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
872 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
873 |
+
|
874 |
+
self.windowOffsetLeft =((self.options.zoomWindowWidth/2)-(self.nzWidth/2)+(self.options.borderSize*2))*(-1);
|
875 |
+
}
|
876 |
+
else{ //negative margin
|
877 |
+
|
878 |
+
}
|
879 |
+
|
880 |
+
|
881 |
+
break;
|
882 |
+
case 7: //done
|
883 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
884 |
+
self.windowOffsetLeft = 0; //DONE 7, 13
|
885 |
+
break;
|
886 |
+
case 8: //done
|
887 |
+
self.windowOffsetTop = (self.nzHeight); //DONE - 4,5,6,7,8
|
888 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
889 |
+
break;
|
890 |
+
case 9: //done
|
891 |
+
self.windowOffsetTop = (self.nzHeight - self.zoomWindow.height() - (self.options.borderSize*2)); //DONE 3,9
|
892 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
893 |
+
break;
|
894 |
+
case 10:
|
895 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
896 |
+
|
897 |
+
self.windowOffsetTop = ((self.options.zoomWindowHeight/2)-(self.nzHeight/2))*(-1);
|
898 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
899 |
+
}
|
900 |
+
else{ //negative margin
|
901 |
+
|
902 |
+
}
|
903 |
+
break;
|
904 |
+
case 11:
|
905 |
+
self.windowOffsetTop = (self.options.zoomWindowOffety);
|
906 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
907 |
+
break;
|
908 |
+
case 12: //done
|
909 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
910 |
+
self.windowOffsetLeft =(self.zoomWindow.width()+(self.options.borderSize*2) )* (-1); //DONE 8,9,10,11,12
|
911 |
+
break;
|
912 |
+
case 13: //done
|
913 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
914 |
+
self.windowOffsetLeft =(0); //DONE 7, 13
|
915 |
+
break;
|
916 |
+
case 14:
|
917 |
+
if(self.options.zoomWindowHeight > self.nzHeight){ //positive margin
|
918 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
919 |
+
|
920 |
+
self.windowOffsetLeft =((self.options.zoomWindowWidth/2)-(self.nzWidth/2)+(self.options.borderSize*2))*(-1);
|
921 |
+
}
|
922 |
+
else{ //negative margin
|
923 |
+
|
924 |
+
}
|
925 |
+
|
926 |
+
break;
|
927 |
+
case 15://done
|
928 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
929 |
+
self.windowOffsetLeft =(self.nzWidth-self.zoomWindow.width()-(self.options.borderSize*2)); //DONE - 5,15
|
930 |
+
break;
|
931 |
+
case 16: //done
|
932 |
+
self.windowOffsetTop = (self.zoomWindow.height()+(self.options.borderSize*2))*(-1); //DONE 12,13,14,15,16
|
933 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
934 |
+
break;
|
935 |
+
default: //done
|
936 |
+
self.windowOffsetTop = (self.options.zoomWindowOffety);//DONE - 1
|
937 |
+
self.windowOffsetLeft =(self.nzWidth); //DONE 1, 2, 3, 4, 16
|
938 |
+
}
|
939 |
+
} //end isNAN
|
940 |
+
else{
|
941 |
+
//WE CAN POSITION IN A CLASS - ASSUME THAT ANY STRING PASSED IS
|
942 |
+
self.externalContainer = $('#'+self.options.zoomWindowPosition);
|
943 |
+
self.externalContainerWidth = self.externalContainer.width();
|
944 |
+
self.externalContainerHeight = self.externalContainer.height();
|
945 |
+
self.externalContainerOffset = self.externalContainer.offset();
|
946 |
+
|
947 |
+
self.windowOffsetTop = self.externalContainerOffset.top;//DONE - 1
|
948 |
+
self.windowOffsetLeft =self.externalContainerOffset.left; //DONE 1, 2, 3, 4, 16
|
949 |
+
|
950 |
+
}
|
951 |
+
self.isWindowSet = true;
|
952 |
+
self.windowOffsetTop = self.windowOffsetTop + self.options.zoomWindowOffety;
|
953 |
+
self.windowOffsetLeft = self.windowOffsetLeft + self.options.zoomWindowOffetx;
|
954 |
+
|
955 |
+
self.zoomWindow.css({ top: self.windowOffsetTop});
|
956 |
+
self.zoomWindow.css({ left: self.windowOffsetLeft});
|
957 |
+
|
958 |
+
if(self.options.zoomType == "inner") {
|
959 |
+
self.zoomWindow.css({ top: 0});
|
960 |
+
self.zoomWindow.css({ left: 0});
|
961 |
+
|
962 |
+
}
|
963 |
+
|
964 |
+
|
965 |
+
self.windowLeftPos = String(((e.pageX - self.nzOffset.left) * self.widthRatio - self.zoomWindow.width() / 2) * (-1));
|
966 |
+
self.windowTopPos = String(((e.pageY - self.nzOffset.top) * self.heightRatio - self.zoomWindow.height() / 2) * (-1));
|
967 |
+
if(self.Etoppos){self.windowTopPos = 0;}
|
968 |
+
if(self.Eloppos){self.windowLeftPos = 0;}
|
969 |
+
if(self.Eboppos){self.windowTopPos = (self.largeHeight/self.currentZoomLevel-self.zoomWindow.height())*(-1); }
|
970 |
+
if(self.Eroppos){self.windowLeftPos = ((self.largeWidth/self.currentZoomLevel-self.zoomWindow.width())*(-1));}
|
971 |
+
|
972 |
+
//stops micro movements
|
973 |
+
if(self.fullheight){
|
974 |
+
self.windowTopPos = 0;
|
975 |
+
|
976 |
+
}
|
977 |
+
if(self.fullwidth){
|
978 |
+
self.windowLeftPos = 0;
|
979 |
+
|
980 |
+
}
|
981 |
+
//set the css background position
|
982 |
+
|
983 |
+
|
984 |
+
if(self.options.zoomType == "window" || self.options.zoomType == "inner") {
|
985 |
+
|
986 |
+
if(self.zoomLock == 1){
|
987 |
+
//overrides for images not zoomable
|
988 |
+
if(self.widthRatio <= 1){
|
989 |
+
|
990 |
+
self.windowLeftPos = 0;
|
991 |
+
}
|
992 |
+
if(self.heightRatio <= 1){
|
993 |
+
self.windowTopPos = 0;
|
994 |
+
}
|
995 |
+
}
|
996 |
+
// adjust images less than the window height
|
997 |
+
|
998 |
+
if(self.largeHeight < self.options.zoomWindowHeight){
|
999 |
+
|
1000 |
+
self.windowTopPos = 0;
|
1001 |
+
}
|
1002 |
+
if(self.largeWidth < self.options.zoomWindowWidth){
|
1003 |
+
self.windowLeftPos = 0;
|
1004 |
+
}
|
1005 |
+
|
1006 |
+
//set the zoomwindow background position
|
1007 |
+
if (self.options.easing){
|
1008 |
+
|
1009 |
+
// if(self.changeZoom){
|
1010 |
+
// clearInterval(self.loop);
|
1011 |
+
// self.changeZoom = false;
|
1012 |
+
// self.loop = false;
|
1013 |
+
|
1014 |
+
// }
|
1015 |
+
//set the pos to 0 if not set
|
1016 |
+
if(!self.xp){self.xp = 0;}
|
1017 |
+
if(!self.yp){self.yp = 0;}
|
1018 |
+
//if loop not already started, then run it
|
1019 |
+
if (!self.loop){
|
1020 |
+
self.loop = setInterval(function(){
|
1021 |
+
//using zeno's paradox
|
1022 |
+
|
1023 |
+
self.xp += (self.windowLeftPos - self.xp) / self.options.easingAmount;
|
1024 |
+
self.yp += (self.windowTopPos - self.yp) / self.options.easingAmount;
|
1025 |
+
if(self.scrollingLock){
|
1026 |
+
|
1027 |
+
|
1028 |
+
clearInterval(self.loop);
|
1029 |
+
self.xp = self.windowLeftPos;
|
1030 |
+
self.yp = self.windowTopPos
|
1031 |
+
|
1032 |
+
self.xp = ((e.pageX - self.nzOffset.left) * self.widthRatio - self.zoomWindow.width() / 2) * (-1);
|
1033 |
+
self.yp = (((e.pageY - self.nzOffset.top) * self.heightRatio - self.zoomWindow.height() / 2) * (-1));
|
1034 |
+
|
1035 |
+
if(self.changeBgSize){
|
1036 |
+
if(self.nzHeight>self.nzWidth){
|
1037 |
+
if(self.options.zoomType == "lens"){
|
1038 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1039 |
+
}
|
1040 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1041 |
+
}
|
1042 |
+
else{
|
1043 |
+
if(self.options.zoomType != "lens"){
|
1044 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1045 |
+
}
|
1046 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
1047 |
+
|
1048 |
+
}
|
1049 |
|
1050 |
+
/*
|
1051 |
if(!self.bgxp){self.bgxp = self.largeWidth/self.newvalue;}
|
1052 |
+
if(!self.bgyp){self.bgyp = self.largeHeight/self.newvalue ;}
|
1053 |
+
if (!self.bgloop){
|
1054 |
+
self.bgloop = setInterval(function(){
|
1055 |
|
1056 |
+
self.bgxp += (self.largeWidth/self.newvalue - self.bgxp) / self.options.easingAmount;
|
1057 |
+
self.bgyp += (self.largeHeight/self.newvalue - self.bgyp) / self.options.easingAmount;
|
1058 |
|
1059 |
self.zoomWindow.css({ "background-size": self.bgxp + 'px ' + self.bgyp + 'px' });
|
1060 |
|
1062 |
}, 16);
|
1063 |
|
1064 |
}
|
1065 |
+
*/
|
1066 |
+
self.changeBgSize = false;
|
1067 |
+
}
|
1068 |
+
|
1069 |
+
self.zoomWindow.css({ backgroundPosition: self.windowLeftPos + 'px ' + self.windowTopPos + 'px' });
|
1070 |
+
self.scrollingLock = false;
|
1071 |
+
self.loop = false;
|
1072 |
+
|
1073 |
+
}
|
1074 |
+
else{
|
1075 |
+
if(self.changeBgSize){
|
1076 |
+
if(self.nzHeight>self.nzWidth){
|
1077 |
+
if(self.options.zoomType == "lens"){
|
1078 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1079 |
+
}
|
1080 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1081 |
+
}
|
1082 |
+
else{
|
1083 |
+
if(self.options.zoomType != "lens"){
|
1084 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
1085 |
+
}
|
1086 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
1087 |
+
}
|
1088 |
+
self.changeBgSize = false;
|
1089 |
+
}
|
1090 |
+
|
1091 |
+
self.zoomWindow.css({ backgroundPosition: self.xp + 'px ' + self.yp + 'px' });
|
1092 |
+
}
|
1093 |
+
}, 16);
|
1094 |
+
}
|
1095 |
+
}
|
1096 |
+
else{
|
1097 |
+
if(self.changeBgSize){
|
1098 |
+
if(self.nzHeight>self.nzWidth){
|
1099 |
+
if(self.options.zoomType == "lens"){
|
1100 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1101 |
+
}
|
1102 |
+
|
1103 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1104 |
+
}
|
1105 |
+
else{
|
1106 |
+
if(self.options.zoomType == "lens"){
|
1107 |
+
self.zoomLens.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
1108 |
+
}
|
1109 |
+
if((self.largeHeight/self.newvaluewidth) < self.options.zoomWindowHeight){
|
1110 |
+
|
1111 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvaluewidth + 'px ' + self.largeHeight/self.newvaluewidth + 'px' });
|
1112 |
+
}
|
1113 |
+
else{
|
1114 |
+
|
1115 |
+
self.zoomWindow.css({ "background-size": self.largeWidth/self.newvalueheight + 'px ' + self.largeHeight/self.newvalueheight + 'px' });
|
1116 |
+
}
|
1117 |
+
|
1118 |
+
}
|
1119 |
+
self.changeBgSize = false;
|
1120 |
+
}
|
1121 |
+
|
1122 |
+
self.zoomWindow.css({ backgroundPosition: self.windowLeftPos + 'px ' + self.windowTopPos + 'px' });
|
1123 |
+
}
|
1124 |
+
}
|
1125 |
+
},
|
1126 |
+
setTintPosition: function(e){
|
1127 |
+
var self = this;
|
1128 |
+
self.nzOffset = self.$elem.offset();
|
1129 |
+
self.tintpos = String(((e.pageX - self.nzOffset.left)-(self.zoomLens.width() / 2)) * (-1));
|
1130 |
+
self.tintposy = String(((e.pageY - self.nzOffset.top) - self.zoomLens.height() / 2) * (-1));
|
1131 |
+
if(self.Etoppos){
|
1132 |
+
self.tintposy = 0;
|
1133 |
+
}
|
1134 |
+
if(self.Eloppos){
|
1135 |
+
self.tintpos=0;
|
1136 |
+
}
|
1137 |
+
if(self.Eboppos){
|
1138 |
+
self.tintposy = (self.nzHeight-self.zoomLens.height()-(self.options.lensBorderSize*2))*(-1);
|
1139 |
+
}
|
1140 |
+
if(self.Eroppos){
|
1141 |
+
self.tintpos = ((self.nzWidth-self.zoomLens.width()-(self.options.lensBorderSize*2))*(-1));
|
1142 |
+
}
|
1143 |
+
if(self.options.tint) {
|
1144 |
+
//stops micro movements
|
1145 |
+
if(self.fullheight){
|
1146 |
+
self.tintposy = 0;
|
1147 |
+
|
1148 |
+
}
|
1149 |
+
if(self.fullwidth){
|
1150 |
+
self.tintpos = 0;
|
1151 |
+
|
1152 |
+
}
|
1153 |
+
self.zoomTintImage.css({'left': self.tintpos+'px'});
|
1154 |
+
self.zoomTintImage.css({'top': self.tintposy+'px'});
|
1155 |
+
}
|
1156 |
+
},
|
1157 |
+
|
1158 |
+
swaptheimage: function(smallimage, largeimage){
|
1159 |
+
var self = this;
|
1160 |
+
var newImg = new Image();
|
1161 |
+
|
1162 |
+
if(self.options.loadingIcon){
|
1163 |
+
self.spinner = $('<div style="background: url(\''+self.options.loadingIcon+'\') no-repeat center;height:'+self.nzHeight+'px;width:'+self.nzWidth+'px;z-index: 2000;position: absolute; background-position: center center;"></div>');
|
1164 |
+
self.$elem.after(self.spinner);
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
self.options.onImageSwap(self.$elem);
|
1168 |
+
|
1169 |
+
newImg.onload = function() {
|
1170 |
+
self.largeWidth = newImg.width;
|
1171 |
+
self.largeHeight = newImg.height;
|
1172 |
+
self.zoomImage = largeimage;
|
1173 |
+
self.zoomWindow.css({ "background-size": self.largeWidth + 'px ' + self.largeHeight + 'px' });
|
1174 |
+
self.zoomWindow.css({ "background-size": self.largeWidth + 'px ' + self.largeHeight + 'px' });
|
1175 |
+
|
1176 |
+
|
1177 |
+
self.swapAction(smallimage, largeimage);
|
1178 |
+
return;
|
1179 |
+
}
|
1180 |
+
newImg.src = largeimage; // this must be done AFTER setting onload
|
1181 |
+
|
1182 |
+
},
|
1183 |
+
swapAction: function(smallimage, largeimage){
|
1184 |
+
|
1185 |
+
|
1186 |
+
var self = this;
|
1187 |
+
|
1188 |
+
var newImg2 = new Image();
|
1189 |
+
newImg2.onload = function() {
|
1190 |
+
//re-calculate values
|
1191 |
+
self.nzHeight = newImg2.height;
|
1192 |
+
self.nzWidth = newImg2.width;
|
1193 |
+
self.options.onImageSwapComplete(self.$elem);
|
1194 |
+
|
1195 |
+
self.doneCallback();
|
1196 |
+
return;
|
1197 |
+
}
|
1198 |
+
newImg2.src = smallimage;
|
1199 |
+
|
1200 |
+
//reset the zoomlevel to that initially set in options
|
1201 |
+
self.currentZoomLevel = self.options.zoomLevel;
|
1202 |
+
self.options.maxZoomLevel = false;
|
1203 |
+
|
1204 |
+
//swaps the main image
|
1205 |
+
//self.$elem.attr("src",smallimage);
|
1206 |
+
//swaps the zoom image
|
1207 |
+
if(self.options.zoomType == "lens") {
|
1208 |
+
self.zoomLens.css({ backgroundImage: "url('" + largeimage + "')" });
|
1209 |
+
}
|
1210 |
+
if(self.options.zoomType == "window") {
|
1211 |
+
self.zoomWindow.css({ backgroundImage: "url('" + largeimage + "')" });
|
1212 |
+
}
|
1213 |
+
if(self.options.zoomType == "inner") {
|
1214 |
+
self.zoomWindow.css({ backgroundImage: "url('" + largeimage + "')" });
|
1215 |
+
}
|
1216 |
+
|
1217 |
+
|
1218 |
+
|
1219 |
+
self.currentImage = largeimage;
|
1220 |
+
|
1221 |
+
if(self.options.imageCrossfade){
|
1222 |
+
var oldImg = self.$elem;
|
1223 |
+
var newImg = oldImg.clone();
|
1224 |
+
self.$elem.attr("src",smallimage)
|
1225 |
+
self.$elem.after(newImg);
|
1226 |
+
newImg.stop(true).fadeOut(self.options.imageCrossfade, function() {
|
1227 |
+
$(this).remove();
|
1228 |
+
});
|
1229 |
+
|
1230 |
+
// if(self.options.zoomType == "inner"){
|
1231 |
+
//remove any attributes on the cloned image so we can resize later
|
1232 |
+
self.$elem.width("auto").removeAttr("width");
|
1233 |
+
self.$elem.height("auto").removeAttr("height");
|
1234 |
+
// }
|
1235 |
+
|
1236 |
+
oldImg.fadeIn(self.options.imageCrossfade);
|
1237 |
+
|
1238 |
+
if(self.options.tint && self.options.zoomType != "inner") {
|
1239 |
+
|
1240 |
+
var oldImgTint = self.zoomTintImage;
|
1241 |
+
var newImgTint = oldImgTint.clone();
|
1242 |
+
self.zoomTintImage.attr("src",largeimage)
|
1243 |
+
self.zoomTintImage.after(newImgTint);
|
1244 |
+
newImgTint.stop(true).fadeOut(self.options.imageCrossfade, function() {
|
1245 |
+
$(this).remove();
|
1246 |
+
});
|
1247 |
+
|
1248 |
+
|
1249 |
+
|
1250 |
+
oldImgTint.fadeIn(self.options.imageCrossfade);
|
1251 |
+
|
1252 |
+
|
1253 |
+
//self.zoomTintImage.attr("width",elem.data("image"));
|
1254 |
+
|
1255 |
+
//resize the tint window
|
1256 |
+
self.zoomTint.css({ height: self.$elem.height()});
|
1257 |
+
self.zoomTint.css({ width: self.$elem.width()});
|
1258 |
+
}
|
1259 |
+
|
1260 |
+
self.zoomContainer.css("height", self.$elem.height());
|
1261 |
+
self.zoomContainer.css("width", self.$elem.width());
|
1262 |
+
|
1263 |
+
if(self.options.zoomType == "inner"){
|
1264 |
+
if(!self.options.constrainType){
|
1265 |
+
self.zoomWrap.parent().css("height", self.$elem.height());
|
1266 |
+
self.zoomWrap.parent().css("width", self.$elem.width());
|
1267 |
+
|
1268 |
+
self.zoomWindow.css("height", self.$elem.height());
|
1269 |
+
self.zoomWindow.css("width", self.$elem.width());
|
1270 |
+
}
|
1271 |
+
}
|
1272 |
+
|
1273 |
+
if(self.options.imageCrossfade){
|
1274 |
+
self.zoomWrap.css("height", self.$elem.height());
|
1275 |
+
self.zoomWrap.css("width", self.$elem.width());
|
1276 |
+
}
|
1277 |
+
}
|
1278 |
+
else{
|
1279 |
+
self.$elem.attr("src",smallimage);
|
1280 |
+
if(self.options.tint) {
|
1281 |
+
self.zoomTintImage.attr("src",largeimage);
|
1282 |
+
//self.zoomTintImage.attr("width",elem.data("image"));
|
1283 |
+
self.zoomTintImage.attr("height",self.$elem.height());
|
1284 |
+
//self.zoomTintImage.attr('src') = elem.data("image");
|
1285 |
+
self.zoomTintImage.css({ height: self.$elem.height()});
|
1286 |
+
self.zoomTint.css({ height: self.$elem.height()});
|
1287 |
+
|
1288 |
+
}
|
1289 |
+
self.zoomContainer.css("height", self.$elem.height());
|
1290 |
+
self.zoomContainer.css("width", self.$elem.width());
|
1291 |
+
|
1292 |
+
if(self.options.imageCrossfade){
|
1293 |
+
self.zoomWrap.css("height", self.$elem.height());
|
1294 |
+
self.zoomWrap.css("width", self.$elem.width());
|
1295 |
+
}
|
1296 |
+
}
|
1297 |
+
if(self.options.constrainType){
|
1298 |
+
|
1299 |
+
//This will contrain the image proportions
|
1300 |
+
if(self.options.constrainType == "height"){
|
1301 |
+
|
1302 |
+
self.zoomContainer.css("height", self.options.constrainSize);
|
1303 |
+
self.zoomContainer.css("width", "auto");
|
1304 |
+
|
1305 |
+
if(self.options.imageCrossfade){
|
1306 |
+
self.zoomWrap.css("height", self.options.constrainSize);
|
1307 |
+
self.zoomWrap.css("width", "auto");
|
1308 |
+
self.constwidth = self.zoomWrap.width();
|
1309 |
+
|
1310 |
+
|
1311 |
+
}
|
1312 |
+
else{
|
1313 |
+
self.$elem.css("height", self.options.constrainSize);
|
1314 |
+
self.$elem.css("width", "auto");
|
1315 |
+
self.constwidth = self.$elem.width();
|
1316 |
+
}
|
1317 |
+
|
1318 |
+
if(self.options.zoomType == "inner"){
|
1319 |
+
|
1320 |
+
self.zoomWrap.parent().css("height", self.options.constrainSize);
|
1321 |
+
self.zoomWrap.parent().css("width", self.constwidth);
|
1322 |
+
self.zoomWindow.css("height", self.options.constrainSize);
|
1323 |
+
self.zoomWindow.css("width", self.constwidth);
|
1324 |
+
}
|
1325 |
+
if(self.options.tint){
|
1326 |
+
self.tintContainer.css("height", self.options.constrainSize);
|
1327 |
+
self.tintContainer.css("width", self.constwidth);
|
1328 |
+
self.zoomTint.css("height", self.options.constrainSize);
|
1329 |
+
self.zoomTint.css("width", self.constwidth);
|
1330 |
+
self.zoomTintImage.css("height", self.options.constrainSize);
|
1331 |
+
self.zoomTintImage.css("width", self.constwidth);
|
1332 |
+
}
|
1333 |
+
|
1334 |
+
}
|
1335 |
+
if(self.options.constrainType == "width"){
|
1336 |
+
self.zoomContainer.css("height", "auto");
|
1337 |
+
self.zoomContainer.css("width", self.options.constrainSize);
|
1338 |
+
|
1339 |
+
if(self.options.imageCrossfade){
|
1340 |
+
self.zoomWrap.css("height", "auto");
|
1341 |
+
self.zoomWrap.css("width", self.options.constrainSize);
|
1342 |
+
self.constheight = self.zoomWrap.height();
|
1343 |
+
}
|
1344 |
+
else{
|
1345 |
+
self.$elem.css("height", "auto");
|
1346 |
+
self.$elem.css("width", self.options.constrainSize);
|
1347 |
+
self.constheight = self.$elem.height();
|
1348 |
+
}
|
1349 |
+
if(self.options.zoomType == "inner"){
|
1350 |
+
self.zoomWrap.parent().css("height", self.constheight);
|
1351 |
+
self.zoomWrap.parent().css("width", self.options.constrainSize);
|
1352 |
+
self.zoomWindow.css("height", self.constheight);
|
1353 |
+
self.zoomWindow.css("width", self.options.constrainSize);
|
1354 |
+
}
|
1355 |
+
if(self.options.tint){
|
1356 |
+
self.tintContainer.css("height", self.constheight);
|
1357 |
+
self.tintContainer.css("width", self.options.constrainSize);
|
1358 |
+
self.zoomTint.css("height", self.constheight);
|
1359 |
+
self.zoomTint.css("width", self.options.constrainSize);
|
1360 |
+
self.zoomTintImage.css("height", self.constheight);
|
1361 |
+
self.zoomTintImage.css("width", self.options.constrainSize);
|
1362 |
+
}
|
1363 |
+
|
1364 |
+
}
|
1365 |
+
|
1366 |
+
|
1367 |
+
}
|
1368 |
+
|
1369 |
+
},
|
1370 |
+
doneCallback: function(){
|
1371 |
+
|
1372 |
+
var self = this;
|
1373 |
+
if(self.options.loadingIcon){
|
1374 |
+
self.spinner.hide();
|
1375 |
+
}
|
1376 |
+
|
1377 |
+
self.nzOffset = self.$elem.offset();
|
1378 |
+
self.nzWidth = self.$elem.width();
|
1379 |
+
self.nzHeight = self.$elem.height();
|
1380 |
+
|
1381 |
+
// reset the zoomlevel back to default
|
1382 |
+
self.currentZoomLevel = self.options.zoomLevel;
|
1383 |
+
|
1384 |
+
//ratio of the large to small image
|
1385 |
+
self.widthRatio = self.largeWidth / self.nzWidth;
|
1386 |
+
self.heightRatio = self.largeHeight / self.nzHeight;
|
1387 |
+
|
1388 |
+
//NEED TO ADD THE LENS SIZE FOR ROUND
|
1389 |
+
// adjust images less than the window height
|
1390 |
+
if(self.options.zoomType == "window") {
|
1391 |
+
|
1392 |
+
if(self.nzHeight < self.options.zoomWindowWidth/self.widthRatio){
|
1393 |
+
lensHeight = self.nzHeight;
|
1394 |
+
|
1395 |
+
}
|
1396 |
+
else{
|
1397 |
+
lensHeight = String((self.options.zoomWindowHeight/self.heightRatio))
|
1398 |
+
}
|
1399 |
+
|
1400 |
+
if(self.options.zoomWindowWidth < self.options.zoomWindowWidth){
|
1401 |
+
lensWidth = self.nzWidth;
|
1402 |
+
}
|
1403 |
+
else{
|
1404 |
+
lensWidth = (self.options.zoomWindowWidth/self.widthRatio);
|
1405 |
+
}
|
1406 |
+
|
1407 |
+
|
1408 |
+
if(self.zoomLens){
|
1409 |
+
|
1410 |
+
self.zoomLens.css('width', lensWidth);
|
1411 |
+
self.zoomLens.css('height', lensHeight);
|
1412 |
+
|
1413 |
+
|
1414 |
+
}
|
1415 |
+
}
|
1416 |
+
},
|
1417 |
+
getCurrentImage: function(){
|
1418 |
+
var self = this;
|
1419 |
+
return self.zoomImage;
|
1420 |
+
},
|
1421 |
+
getGalleryList: function(){
|
1422 |
+
var self = this;
|
1423 |
+
//loop through the gallery options and set them in list for fancybox
|
1424 |
+
self.gallerylist = [];
|
1425 |
+
if (self.options.gallery){
|
1426 |
+
|
1427 |
+
|
1428 |
+
$('#'+self.options.gallery + ' a').each(function() {
|
1429 |
+
|
1430 |
+
var img_src = '';
|
1431 |
+
if($(this).data("zoom-image")){
|
1432 |
+
img_src = $(this).data("zoom-image");
|
1433 |
+
}
|
1434 |
+
else if($(this).data("image")){
|
1435 |
+
img_src = $(this).data("image");
|
1436 |
+
}
|
1437 |
+
//put the current image at the start
|
1438 |
+
if(img_src == self.zoomImage){
|
1439 |
+
self.gallerylist.unshift({
|
1440 |
+
href: ''+img_src+'',
|
1441 |
+
title: $(this).find('img').attr("title")
|
1442 |
+
});
|
1443 |
+
}
|
1444 |
+
else{
|
1445 |
+
self.gallerylist.push({
|
1446 |
+
href: ''+img_src+'',
|
1447 |
+
title: $(this).find('img').attr("title")
|
1448 |
+
});
|
1449 |
+
}
|
1450 |
|
1451 |
|
1452 |
+
});
|
1453 |
+
}
|
1454 |
+
//if no gallery - return current image
|
1455 |
+
else{
|
1456 |
+
self.gallerylist.push({
|
1457 |
+
href: ''+self.zoomImage+'',
|
1458 |
+
title: $(this).find('img').attr("title")
|
1459 |
+
});
|
1460 |
+
}
|
1461 |
+
return self.gallerylist;
|
1462 |
|
1463 |
+
},
|
1464 |
+
changeZoomLevel: function(value){
|
1465 |
+
var self = this;
|
1466 |
|
1467 |
+
//flag a zoom, so can adjust the easing during setPosition
|
1468 |
+
self.scrollingLock = true;
|
1469 |
|
1470 |
+
//round to two decimal places
|
1471 |
+
self.newvalue = parseFloat(value).toFixed(2);
|
1472 |
+
newvalue = parseFloat(value).toFixed(2);
|
1473 |
|
1474 |
|
1475 |
|
1476 |
|
1477 |
+
//maxwidth & Maxheight of the image
|
1478 |
+
maxheightnewvalue = self.largeHeight/((self.options.zoomWindowHeight / self.nzHeight) * self.nzHeight);
|
1479 |
+
maxwidthtnewvalue = self.largeWidth/((self.options.zoomWindowWidth / self.nzWidth) * self.nzWidth);
|
1480 |
|
1481 |
|
1482 |
|
1483 |
|
1484 |
+
//calculate new heightratio
|
1485 |
+
if(self.options.zoomType != "inner")
|
1486 |
+
{
|
1487 |
+
if(maxheightnewvalue <= newvalue){
|
1488 |
+
self.heightRatio = (self.largeHeight/maxheightnewvalue) / self.nzHeight;
|
1489 |
+
self.newvalueheight = maxheightnewvalue;
|
1490 |
+
self.fullheight = true;
|
1491 |
|
1492 |
+
}
|
1493 |
+
else{
|
1494 |
+
self.heightRatio = (self.largeHeight/newvalue) / self.nzHeight;
|
1495 |
+
self.newvalueheight = newvalue;
|
1496 |
+
self.fullheight = false;
|
1497 |
|
1498 |
+
}
|
1499 |
|
1500 |
|
1501 |
// calculate new width ratio
|
1502 |
|
1503 |
+
if(maxwidthtnewvalue <= newvalue){
|
1504 |
+
self.widthRatio = (self.largeWidth/maxwidthtnewvalue) / self.nzWidth;
|
1505 |
+
self.newvaluewidth = maxwidthtnewvalue;
|
1506 |
+
self.fullwidth = true;
|
1507 |
|
1508 |
+
}
|
1509 |
+
else{
|
1510 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
1511 |
+
self.newvaluewidth = newvalue;
|
1512 |
+
self.fullwidth = false;
|
1513 |
|
1514 |
+
}
|
1515 |
+
if(self.options.zoomType == "lens"){
|
1516 |
+
if(maxheightnewvalue <= newvalue){
|
1517 |
+
self.fullwidth = true;
|
1518 |
+
self.newvaluewidth = maxheightnewvalue;
|
1519 |
|
1520 |
+
} else{
|
1521 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
1522 |
+
self.newvaluewidth = newvalue;
|
1523 |
|
1524 |
+
self.fullwidth = false;
|
1525 |
+
}}
|
1526 |
+
}
|
1527 |
|
1528 |
|
1529 |
|
1530 |
+
if(self.options.zoomType == "inner")
|
1531 |
+
{
|
1532 |
+
maxheightnewvalue = parseFloat(self.largeHeight/self.nzHeight).toFixed(2);
|
1533 |
+
maxwidthtnewvalue = parseFloat(self.largeWidth/self.nzWidth).toFixed(2);
|
1534 |
+
if(newvalue > maxheightnewvalue){
|
1535 |
+
newvalue = maxheightnewvalue;
|
1536 |
+
}
|
1537 |
+
if(newvalue > maxwidthtnewvalue){
|
1538 |
+
newvalue = maxwidthtnewvalue;
|
1539 |
+
}
|
1540 |
|
1541 |
|
1542 |
+
if(maxheightnewvalue <= newvalue){
|
1543 |
|
1544 |
|
1545 |
+
self.heightRatio = (self.largeHeight/newvalue) / self.nzHeight;
|
1546 |
+
if(newvalue > maxheightnewvalue){
|
1547 |
+
self.newvalueheight = maxheightnewvalue;
|
1548 |
+
}else{
|
1549 |
+
self.newvalueheight = newvalue;
|
1550 |
+
}
|
1551 |
+
self.fullheight = true;
|
1552 |
|
1553 |
|
1554 |
+
}
|
1555 |
+
else{
|
1556 |
|
1557 |
|
1558 |
|
1559 |
+
self.heightRatio = (self.largeHeight/newvalue) / self.nzHeight;
|
1560 |
|
1561 |
+
if(newvalue > maxheightnewvalue){
|
1562 |
|
1563 |
+
self.newvalueheight = maxheightnewvalue;
|
1564 |
+
}else{
|
1565 |
+
self.newvalueheight = newvalue;
|
1566 |
+
}
|
1567 |
+
self.fullheight = false;
|
1568 |
+
}
|
1569 |
|
1570 |
|
1571 |
|
1572 |
|
1573 |
+
if(maxwidthtnewvalue <= newvalue){
|
1574 |
|
1575 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
1576 |
+
if(newvalue > maxwidthtnewvalue){
|
1577 |
|
1578 |
+
self.newvaluewidth = maxwidthtnewvalue;
|
1579 |
+
}else{
|
1580 |
+
self.newvaluewidth = newvalue;
|
1581 |
+
}
|
1582 |
|
1583 |
+
self.fullwidth = true;
|
1584 |
|
1585 |
|
1586 |
+
}
|
1587 |
+
else{
|
1588 |
|
1589 |
+
self.widthRatio = (self.largeWidth/newvalue) / self.nzWidth;
|
1590 |
+
self.newvaluewidth = newvalue;
|
1591 |
+
self.fullwidth = false;
|
1592 |
+
}
|
1593 |
|
1594 |
|
1595 |
+
} //end inner
|
1596 |
+
scrcontinue = false;
|
1597 |
|
1598 |
+
if(self.options.zoomType == "inner"){
|
1599 |
|
1600 |
+
if(self.nzWidth > self.nzHeight){
|
1601 |
+
if( self.newvaluewidth <= maxwidthtnewvalue){
|
1602 |
+
scrcontinue = true;
|
1603 |
+
}
|
1604 |
+
else{
|
1605 |
|
1606 |
+
scrcontinue = false;
|
1607 |
+
self.fullheight = true;
|
1608 |
+
self.fullwidth = true;
|
1609 |
+
}
|
1610 |
+
}
|
1611 |
+
if(self.nzHeight > self.nzWidth){
|
1612 |
+
if( self.newvaluewidth <= maxwidthtnewvalue){
|
1613 |
+
scrcontinue = true;
|
1614 |
+
}
|
1615 |
+
else{
|
1616 |
+
scrcontinue = false;
|
1617 |
|
1618 |
+
self.fullheight = true;
|
1619 |
+
self.fullwidth = true;
|
1620 |
+
}
|
1621 |
+
}
|
1622 |
+
}
|
1623 |
|
1624 |
+
if(self.options.zoomType != "inner"){
|
1625 |
+
scrcontinue = true;
|
1626 |
+
}
|
1627 |
|
1628 |
+
if(scrcontinue){
|
1629 |
|
1630 |
|
1631 |
|
1632 |
+
self.zoomLock = 0;
|
1633 |
+
self.changeZoom = true;
|
1634 |
|
1635 |
+
//if lens height is less than image height
|
1636 |
|
1637 |
|
1638 |
+
if(((self.options.zoomWindowHeight)/self.heightRatio) <= self.nzHeight){
|
1639 |
|
1640 |
|
1641 |
+
self.currentZoomLevel = self.newvalueheight;
|
1642 |
+
if(self.options.zoomType != "lens" && self.options.zoomType != "inner") {
|
1643 |
+
self.changeBgSize = true;
|
1644 |
|
1645 |
+
self.zoomLens.css({height: String((self.options.zoomWindowHeight)/self.heightRatio) + 'px' })
|
1646 |
+
}
|
1647 |
+
if(self.options.zoomType == "lens" || self.options.zoomType == "inner") {
|
1648 |
+
self.changeBgSize = true;
|
1649 |
+
}
|
1650 |
|
1651 |
|
1652 |
+
}
|
1653 |
|
1654 |
|
1655 |
|
1656 |
|
1657 |
+
if((self.options.zoomWindowWidth/self.widthRatio) <= self.nzWidth){
|
1658 |
|
1659 |
|
1660 |
|
1661 |
+
if(self.options.zoomType != "inner"){
|
1662 |
+
if(self.newvaluewidth > self.newvalueheight) {
|
1663 |
+
self.currentZoomLevel = self.newvaluewidth;
|
1664 |
|
1665 |
+
}
|
1666 |
+
}
|
1667 |
|
1668 |
+
if(self.options.zoomType != "lens" && self.options.zoomType != "inner") {
|
1669 |
+
self.changeBgSize = true;
|
1670 |
|
1671 |
+
self.zoomLens.css({width: String((self.options.zoomWindowWidth)/self.widthRatio) + 'px' })
|
1672 |
+
}
|
1673 |
+
if(self.options.zoomType == "lens" || self.options.zoomType == "inner") {
|
1674 |
+
self.changeBgSize = true;
|
1675 |
+
}
|
1676 |
|
1677 |
+
}
|
1678 |
+
if(self.options.zoomType == "inner"){
|
1679 |
+
self.changeBgSize = true;
|
1680 |
|
1681 |
+
if(self.nzWidth > self.nzHeight){
|
1682 |
+
self.currentZoomLevel = self.newvaluewidth;
|
1683 |
+
}
|
1684 |
+
if(self.nzHeight > self.nzWidth){
|
1685 |
+
self.currentZoomLevel = self.newvaluewidth;
|
1686 |
+
}
|
1687 |
+
}
|
1688 |
|
1689 |
+
} //under
|
1690 |
|
1691 |
+
//sets the boundry change, called in setWindowPos
|
1692 |
+
self.setPosition(self.currentLoc);
|
1693 |
+
//
|
1694 |
+
},
|
1695 |
+
closeAll: function(){
|
1696 |
+
if(self.zoomWindow){self.zoomWindow.hide();}
|
1697 |
+
if(self.zoomLens){self.zoomLens.hide();}
|
1698 |
+
if(self.zoomTint){self.zoomTint.hide();}
|
1699 |
+
},
|
1700 |
+
changeState: function(value){
|
1701 |
+
var self = this;
|
1702 |
+
if(value == 'enable'){self.options.zoomEnabled = true;}
|
1703 |
+
if(value == 'disable'){self.options.zoomEnabled = false;}
|
1704 |
|
1705 |
+
}
|
1706 |
|
1707 |
+
};
|
1708 |
|
1709 |
|
1710 |
|
1711 |
|
1712 |
+
$.fn.elevateZoom = function( options ) {
|
1713 |
+
return this.each(function() {
|
1714 |
+
var elevate = Object.create( ElevateZoom );
|
1715 |
|
1716 |
+
elevate.init( options, this );
|
1717 |
|
1718 |
+
$.data( this, 'elevateZoom', elevate );
|
1719 |
|
1720 |
+
});
|
1721 |
+
};
|
1722 |
|
1723 |
+
$.fn.elevateZoom.options = {
|
1724 |
+
zoomActivation: "hover", // Can also be click (PLACEHOLDER FOR NEXT VERSION)
|
1725 |
zoomEnabled: true, //false disables zoomwindow from showing
|
1726 |
+
preloading: 1, //by default, load all the images, if 0, then only load images after activated (PLACEHOLDER FOR NEXT VERSION)
|
1727 |
+
zoomLevel: 1, //default zoom level of image
|
1728 |
+
scrollZoom: false, //allow zoom on mousewheel, true to activate
|
1729 |
+
scrollZoomIncrement: 0.1, //steps of the scrollzoom
|
1730 |
+
minZoomLevel: false,
|
1731 |
+
maxZoomLevel: false,
|
1732 |
+
easing: false,
|
1733 |
+
easingAmount: 12,
|
1734 |
+
lensSize: 200,
|
1735 |
+
zoomWindowWidth: 400,
|
1736 |
+
zoomWindowHeight: 400,
|
1737 |
+
zoomWindowOffetx: 0,
|
1738 |
+
zoomWindowOffety: 0,
|
1739 |
+
zoomWindowPosition: 1,
|
1740 |
+
zoomWindowBgColour: "#fff",
|
1741 |
+
lensFadeIn: false,
|
1742 |
+
lensFadeOut: false,
|
1743 |
+
debug: false,
|
1744 |
+
zoomWindowFadeIn: false,
|
1745 |
+
zoomWindowFadeOut: false,
|
1746 |
+
zoomWindowAlwaysShow: false,
|
1747 |
+
zoomTintFadeIn: false,
|
1748 |
+
zoomTintFadeOut: false,
|
1749 |
+
borderSize: 4,
|
1750 |
+
showLens: true,
|
1751 |
+
borderColour: "#888",
|
1752 |
+
lensBorderSize: 1,
|
1753 |
+
lensBorderColour: "#000",
|
1754 |
+
lensShape: "square", //can be "round"
|
1755 |
+
zoomType: "window", //window is default, also "lens" available -
|
1756 |
+
containLensZoom: false,
|
1757 |
+
lensColour: "white", //colour of the lens background
|
1758 |
+
lensOpacity: 0.4, //opacity of the lens
|
1759 |
+
lenszoom: false,
|
1760 |
+
tint: false, //enable the tinting
|
1761 |
+
tintColour: "#333", //default tint color, can be anything, red, #ccc, rgb(0,0,0)
|
1762 |
+
tintOpacity: 0.4, //opacity of the tint
|
1763 |
+
gallery: false,
|
1764 |
+
galleryActiveClass: "zoomGalleryActive",
|
1765 |
+
imageCrossfade: false,
|
1766 |
+
constrainType: false, //width or height
|
1767 |
+
constrainSize: false, //in pixels the dimensions you want to constrain on
|
1768 |
+
loadingIcon: false, //http://www.example.com/spinner.gif
|
1769 |
+
cursor:"default", // user should set to what they want the cursor as, if they have set a click function
|
1770 |
+
responsive:true,
|
1771 |
+
onComplete: $.noop,
|
1772 |
+
onZoomedImageLoaded: function() {},
|
1773 |
+
onImageSwap: $.noop,
|
1774 |
+
onImageSwapComplete: $.noop
|
1775 |
+
};
|
1776 |
+
|
1777 |
+
})( jQuery, window, document );
|
skin/frontend/rwd/default/js/lib/enquire.js
CHANGED
@@ -290,4 +290,4 @@
|
|
290 |
|
291 |
return new MediaQueryDispatch();
|
292 |
|
293 |
-
}));
|
290 |
|
291 |
return new MediaQueryDispatch();
|
292 |
|
293 |
+
}));
|
skin/frontend/rwd/default/js/lib/fastclick.js
CHANGED
@@ -774,4 +774,4 @@ if (typeof define !== 'undefined' && define.amd) {
|
|
774 |
module.exports.FastClick = FastClick;
|
775 |
} else {
|
776 |
window.FastClick = FastClick;
|
777 |
-
}
|
774 |
module.exports.FastClick = FastClick;
|
775 |
} else {
|
776 |
window.FastClick = FastClick;
|
777 |
+
}
|
skin/frontend/rwd/default/js/lib/imagesloaded.js
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
* MIT License
|
5 |
*/
|
6 |
|
7 |
-
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("eventEmitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(this,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function c(e){this.img=e}function f(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),c.prototype=new t,c.prototype.check=function(){var e=v[this.img.src]||new f(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
|
4 |
* MIT License
|
5 |
*/
|
6 |
|
7 |
+
(function(){function e(){}function t(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function n(e){return function(){return this[e].apply(this,arguments)}}var i=e.prototype,r=this,o=r.EventEmitter;i.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e){t={};for(n in i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n])}else t=i[e]||(i[e]=[]);return t},i.flattenListeners=function(e){var t,n=[];for(t=0;e.length>t;t+=1)n.push(e[t].listener);return n},i.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&(t={},t[e]=n),t||n},i.addListener=function(e,n){var i,r=this.getListenersAsObject(e),o="object"==typeof n;for(i in r)r.hasOwnProperty(i)&&-1===t(r[i],n)&&r[i].push(o?n:{listener:n,once:!1});return this},i.on=n("addListener"),i.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},i.once=n("addOnceListener"),i.defineEvent=function(e){return this.getListeners(e),this},i.defineEvents=function(e){for(var t=0;e.length>t;t+=1)this.defineEvent(e[t]);return this},i.removeListener=function(e,n){var i,r,o=this.getListenersAsObject(e);for(r in o)o.hasOwnProperty(r)&&(i=t(o[r],n),-1!==i&&o[r].splice(i,1));return this},i.off=n("removeListener"),i.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},i.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},i.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},i.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},i.removeAllListeners=n("removeEvent"),i.emitEvent=function(e,t){var n,i,r,o,s=this.getListenersAsObject(e);for(r in s)if(s.hasOwnProperty(r))for(i=s[r].length;i--;)n=s[r][i],n.once===!0&&this.removeListener(e,n.listener),o=n.listener.apply(this,t||[]),o===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},i.trigger=n("emitEvent"),i.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},i.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},i._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},i._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return r.EventEmitter=o,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),function(e){function t(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}var n=document.documentElement,i=function(){};n.addEventListener?i=function(e,t,n){e.addEventListener(t,n,!1)}:n.attachEvent&&(i=function(e,n,i){e[n+i]=i.handleEvent?function(){var n=t(e);i.handleEvent.call(i,n)}:function(){var n=t(e);i.call(e,n)},e.attachEvent("on"+n,e[n+i])});var r=function(){};n.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:n.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:i,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("eventEmitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(this,function(e,t,n){function i(e,t){for(var n in t)e[n]=t[n];return e}function r(e){return"[object Array]"===d.call(e)}function o(e){var t=[];if(r(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;i>n;n++)t.push(e[n]);else t.push(e);return t}function s(e,t,n){if(!(this instanceof s))return new s(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=o(e),this.options=i({},this.options),"function"==typeof t?n=t:i(this.options,t),n&&this.on("always",n),this.getImages(),a&&(this.jqDeferred=new a.Deferred);var r=this;setTimeout(function(){r.check()})}function c(e){this.img=e}function f(e){this.src=e,v[e]=this}var a=e.jQuery,u=e.console,h=u!==void 0,d=Object.prototype.toString;s.prototype=new t,s.prototype.options={},s.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;t>e;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);for(var i=n.querySelectorAll("img"),r=0,o=i.length;o>r;r++){var s=i[r];this.addImage(s)}}},s.prototype.addImage=function(e){var t=new c(e);this.images.push(t)},s.prototype.check=function(){function e(e,r){return t.options.debug&&h&&u.log("confirm",e,r),t.progress(e),n++,n===i&&t.complete(),!0}var t=this,n=0,i=this.images.length;if(this.hasAnyBroken=!1,!i)return this.complete(),void 0;for(var r=0;i>r;r++){var o=this.images[r];o.on("confirm",e),o.check()}},s.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},s.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},a&&(a.fn.imagesLoaded=function(e,t){var n=new s(this,e,t);return n.jqDeferred.promise(a(this))}),c.prototype=new t,c.prototype.check=function(){var e=v[this.img.src]||new f(this.img.src);if(e.isConfirmed)return this.confirm(e.isLoaded,"cached was confirmed"),void 0;if(this.img.complete&&void 0!==this.img.naturalWidth)return this.confirm(0!==this.img.naturalWidth,"naturalWidth"),void 0;var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()},c.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var v={};return f.prototype=new t,f.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},f.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},f.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},f.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},f.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},f.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},s});
|
skin/frontend/rwd/default/js/lib/jquery-1.10.2.js
DELETED
@@ -1,9789 +0,0 @@
|
|
1 |
-
/*!
|
2 |
-
* jQuery JavaScript Library v1.10.2
|
3 |
-
* http://jquery.com/
|
4 |
-
*
|
5 |
-
* Includes Sizzle.js
|
6 |
-
* http://sizzlejs.com/
|
7 |
-
*
|
8 |
-
* Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
|
9 |
-
* Released under the MIT license
|
10 |
-
* http://jquery.org/license
|
11 |
-
*
|
12 |
-
* Date: 2013-07-03T13:48Z
|
13 |
-
*/
|
14 |
-
(function( window, undefined ) {
|
15 |
-
|
16 |
-
// Can't do this because several apps including ASP.NET trace
|
17 |
-
// the stack via arguments.caller.callee and Firefox dies if
|
18 |
-
// you try to trace through "use strict" call chains. (#13335)
|
19 |
-
// Support: Firefox 18+
|
20 |
-
//"use strict";
|
21 |
-
var
|
22 |
-
// The deferred used on DOM ready
|
23 |
-
readyList,
|
24 |
-
|
25 |
-
// A central reference to the root jQuery(document)
|
26 |
-
rootjQuery,
|
27 |
-
|
28 |
-
// Support: IE<10
|
29 |
-
// For `typeof xmlNode.method` instead of `xmlNode.method !== undefined`
|
30 |
-
core_strundefined = typeof undefined,
|
31 |
-
|
32 |
-
// Use the correct document accordingly with window argument (sandbox)
|
33 |
-
location = window.location,
|
34 |
-
document = window.document,
|
35 |
-
docElem = document.documentElement,
|
36 |
-
|
37 |
-
// Map over jQuery in case of overwrite
|
38 |
-
_jQuery = window.jQuery,
|
39 |
-
|
40 |
-
// Map over the $ in case of overwrite
|
41 |
-
_$ = window.$,
|
42 |
-
|
43 |
-
// [[Class]] -> type pairs
|
44 |
-
class2type = {},
|
45 |
-
|
46 |
-
// List of deleted data cache ids, so we can reuse them
|
47 |
-
core_deletedIds = [],
|
48 |
-
|
49 |
-
core_version = "1.10.2",
|
50 |
-
|
51 |
-
// Save a reference to some core methods
|
52 |
-
core_concat = core_deletedIds.concat,
|
53 |
-
core_push = core_deletedIds.push,
|
54 |
-
core_slice = core_deletedIds.slice,
|
55 |
-
core_indexOf = core_deletedIds.indexOf,
|
56 |
-
core_toString = class2type.toString,
|
57 |
-
core_hasOwn = class2type.hasOwnProperty,
|
58 |
-
core_trim = core_version.trim,
|
59 |
-
|
60 |
-
// Define a local copy of jQuery
|
61 |
-
jQuery = function( selector, context ) {
|
62 |
-
// The jQuery object is actually just the init constructor 'enhanced'
|
63 |
-
return new jQuery.fn.init( selector, context, rootjQuery );
|
64 |
-
},
|
65 |
-
|
66 |
-
// Used for matching numbers
|
67 |
-
core_pnum = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
|
68 |
-
|
69 |
-
// Used for splitting on whitespace
|
70 |
-
core_rnotwhite = /\S+/g,
|
71 |
-
|
72 |
-
// Make sure we trim BOM and NBSP (here's looking at you, Safari 5.0 and IE)
|
73 |
-
rtrim = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
|
74 |
-
|
75 |
-
// A simple way to check for HTML strings
|
76 |
-
// Prioritize #id over <tag> to avoid XSS via location.hash (#9521)
|
77 |
-
// Strict HTML recognition (#11290: must start with <)
|
78 |
-
rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
|
79 |
-
|
80 |
-
// Match a standalone tag
|
81 |
-
rsingleTag = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
|
82 |
-
|
83 |
-
// JSON RegExp
|
84 |
-
rvalidchars = /^[\],:{}\s]*$/,
|
85 |
-
rvalidbraces = /(?:^|:|,)(?:\s*\[)+/g,
|
86 |
-
rvalidescape = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
|
87 |
-
rvalidtokens = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,
|
88 |
-
|
89 |
-
// Matches dashed string for camelizing
|
90 |
-
rmsPrefix = /^-ms-/,
|
91 |
-
rdashAlpha = /-([\da-z])/gi,
|
92 |
-
|
93 |
-
// Used by jQuery.camelCase as callback to replace()
|
94 |
-
fcamelCase = function( all, letter ) {
|
95 |
-
return letter.toUpperCase();
|
96 |
-
},
|
97 |
-
|
98 |
-
// The ready event handler
|
99 |
-
completed = function( event ) {
|
100 |
-
|
101 |
-
// readyState === "complete" is good enough for us to call the dom ready in oldIE
|
102 |
-
if ( document.addEventListener || event.type === "load" || document.readyState === "complete" ) {
|
103 |
-
detach();
|
104 |
-
jQuery.ready();
|
105 |
-
}
|
106 |
-
},
|
107 |
-
// Clean-up method for dom ready events
|
108 |
-
detach = function() {
|
109 |
-
if ( document.addEventListener ) {
|
110 |
-
document.removeEventListener( "DOMContentLoaded", completed, false );
|
111 |
-
window.removeEventListener( "load", completed, false );
|
112 |
-
|
113 |
-
} else {
|
114 |
-
document.detachEvent( "onreadystatechange", completed );
|
115 |
-
window.detachEvent( "onload", completed );
|
116 |
-
}
|
117 |
-
};
|
118 |
-
|
119 |
-
jQuery.fn = jQuery.prototype = {
|
120 |
-
// The current version of jQuery being used
|
121 |
-
jquery: core_version,
|
122 |
-
|
123 |
-
constructor: jQuery,
|
124 |
-
init: function( selector, context, rootjQuery ) {
|
125 |
-
var match, elem;
|
126 |
-
|
127 |
-
// HANDLE: $(""), $(null), $(undefined), $(false)
|
128 |
-
if ( !selector ) {
|
129 |
-
return this;
|
130 |
-
}
|
131 |
-
|
132 |
-
// Handle HTML strings
|
133 |
-
if ( typeof selector === "string" ) {
|
134 |
-
if ( selector.charAt(0) === "<" && selector.charAt( selector.length - 1 ) === ">" && selector.length >= 3 ) {
|
135 |
-
// Assume that strings that start and end with <> are HTML and skip the regex check
|
136 |
-
match = [ null, selector, null ];
|
137 |
-
|
138 |
-
} else {
|
139 |
-
match = rquickExpr.exec( selector );
|
140 |
-
}
|
141 |
-
|
142 |
-
// Match html or make sure no context is specified for #id
|
143 |
-
if ( match && (match[1] || !context) ) {
|
144 |
-
|
145 |
-
// HANDLE: $(html) -> $(array)
|
146 |
-
if ( match[1] ) {
|
147 |
-
context = context instanceof jQuery ? context[0] : context;
|
148 |
-
|
149 |
-
// scripts is true for back-compat
|
150 |
-
jQuery.merge( this, jQuery.parseHTML(
|
151 |
-
match[1],
|
152 |
-
context && context.nodeType ? context.ownerDocument || context : document,
|
153 |
-
true
|
154 |
-
) );
|
155 |
-
|
156 |
-
// HANDLE: $(html, props)
|
157 |
-
if ( rsingleTag.test( match[1] ) && jQuery.isPlainObject( context ) ) {
|
158 |
-
for ( match in context ) {
|
159 |
-
// Properties of context are called as methods if possible
|
160 |
-
if ( jQuery.isFunction( this[ match ] ) ) {
|
161 |
-
this[ match ]( context[ match ] );
|
162 |
-
|
163 |
-
// ...and otherwise set as attributes
|
164 |
-
} else {
|
165 |
-
this.attr( match, context[ match ] );
|
166 |
-
}
|
167 |
-
}
|
168 |
-
}
|
169 |
-
|
170 |
-
return this;
|
171 |
-
|
172 |
-
// HANDLE: $(#id)
|
173 |
-
} else {
|
174 |
-
elem = document.getElementById( match[2] );
|
175 |
-
|
176 |
-
// Check parentNode to catch when Blackberry 4.6 returns
|
177 |
-
// nodes that are no longer in the document #6963
|
178 |
-
if ( elem && elem.parentNode ) {
|
179 |
-
// Handle the case where IE and Opera return items
|
180 |
-
// by name instead of ID
|
181 |
-
if ( elem.id !== match[2] ) {
|
182 |
-
return rootjQuery.find( selector );
|
183 |
-
}
|
184 |
-
|
185 |
-
// Otherwise, we inject the element directly into the jQuery object
|
186 |
-
this.length = 1;
|
187 |
-
this[0] = elem;
|
188 |
-
}
|
189 |
-
|
190 |
-
this.context = document;
|
191 |
-
this.selector = selector;
|
192 |
-
return this;
|
193 |
-
}
|
194 |
-
|
195 |
-
// HANDLE: $(expr, $(...))
|
196 |
-
} else if ( !context || context.jquery ) {
|
197 |
-
return ( context || rootjQuery ).find( selector );
|
198 |
-
|
199 |
-
// HANDLE: $(expr, context)
|
200 |
-
// (which is just equivalent to: $(context).find(expr)
|
201 |
-
} else {
|
202 |
-
return this.constructor( context ).find( selector );
|
203 |
-
}
|
204 |
-
|
205 |
-
// HANDLE: $(DOMElement)
|
206 |
-
} else if ( selector.nodeType ) {
|
207 |
-
this.context = this[0] = selector;
|
208 |
-
this.length = 1;
|
209 |
-
return this;
|
210 |
-
|
211 |
-
// HANDLE: $(function)
|
212 |
-
// Shortcut for document ready
|
213 |
-
} else if ( jQuery.isFunction( selector ) ) {
|
214 |
-
return rootjQuery.ready( selector );
|
215 |
-
}
|
216 |
-
|
217 |
-
if ( selector.selector !== undefined ) {
|
218 |
-
this.selector = selector.selector;
|
219 |
-
this.context = selector.context;
|
220 |
-
}
|
221 |
-
|
222 |
-
return jQuery.makeArray( selector, this );
|
223 |
-
},
|
224 |
-
|
225 |
-
// Start with an empty selector
|
226 |
-
selector: "",
|
227 |
-
|
228 |
-
// The default length of a jQuery object is 0
|
229 |
-
length: 0,
|
230 |
-
|
231 |
-
toArray: function() {
|
232 |
-
return core_slice.call( this );
|
233 |
-
},
|
234 |
-
|
235 |
-
// Get the Nth element in the matched element set OR
|
236 |
-
// Get the whole matched element set as a clean array
|
237 |
-
get: function( num ) {
|
238 |
-
return num == null ?
|
239 |
-
|
240 |
-
// Return a 'clean' array
|
241 |
-
this.toArray() :
|
242 |
-
|
243 |
-
// Return just the object
|
244 |
-
( num < 0 ? this[ this.length + num ] : this[ num ] );
|
245 |
-
},
|
246 |
-
|
247 |
-
// Take an array of elements and push it onto the stack
|
248 |
-
// (returning the new matched element set)
|
249 |
-
pushStack: function( elems ) {
|
250 |
-
|
251 |
-
// Build a new jQuery matched element set
|
252 |
-
var ret = jQuery.merge( this.constructor(), elems );
|
253 |
-
|
254 |
-
// Add the old object onto the stack (as a reference)
|
255 |
-
ret.prevObject = this;
|
256 |
-
ret.context = this.context;
|
257 |
-
|
258 |
-
// Return the newly-formed element set
|
259 |
-
return ret;
|
260 |
-
},
|
261 |
-
|
262 |
-
// Execute a callback for every element in the matched set.
|
263 |
-
// (You can seed the arguments with an array of args, but this is
|
264 |
-
// only used internally.)
|
265 |
-
each: function( callback, args ) {
|
266 |
-
return jQuery.each( this, callback, args );
|
267 |
-
},
|
268 |
-
|
269 |
-
ready: function( fn ) {
|
270 |
-
// Add the callback
|
271 |
-
jQuery.ready.promise().done( fn );
|
272 |
-
|
273 |
-
return this;
|
274 |
-
},
|
275 |
-
|
276 |
-
slice: function() {
|
277 |
-
return this.pushStack( core_slice.apply( this, arguments ) );
|
278 |
-
},
|
279 |
-
|
280 |
-
first: function() {
|
281 |
-
return this.eq( 0 );
|
282 |
-
},
|
283 |
-
|
284 |
-
last: function() {
|
285 |
-
return this.eq( -1 );
|
286 |
-
},
|
287 |
-
|
288 |
-
eq: function( i ) {
|
289 |
-
var len = this.length,
|
290 |
-
j = +i + ( i < 0 ? len : 0 );
|
291 |
-
return this.pushStack( j >= 0 && j < len ? [ this[j] ] : [] );
|
292 |
-
},
|
293 |
-
|
294 |
-
map: function( callback ) {
|
295 |
-
return this.pushStack( jQuery.map(this, function( elem, i ) {
|
296 |
-
return callback.call( elem, i, elem );
|
297 |
-
}));
|
298 |
-
},
|
299 |
-
|
300 |
-
end: function() {
|
301 |
-
return this.prevObject || this.constructor(null);
|
302 |
-
},
|
303 |
-
|
304 |
-
// For internal use only.
|
305 |
-
// Behaves like an Array's method, not like a jQuery method.
|
306 |
-
push: core_push,
|
307 |
-
sort: [].sort,
|
308 |
-
splice: [].splice
|
309 |
-
};
|
310 |
-
|
311 |
-
// Give the init function the jQuery prototype for later instantiation
|
312 |
-
jQuery.fn.init.prototype = jQuery.fn;
|
313 |
-
|
314 |
-
jQuery.extend = jQuery.fn.extend = function() {
|
315 |
-
var src, copyIsArray, copy, name, options, clone,
|
316 |
-
target = arguments[0] || {},
|
317 |
-
i = 1,
|
318 |
-
length = arguments.length,
|
319 |
-
deep = false;
|
320 |
-
|
321 |
-
// Handle a deep copy situation
|
322 |
-
if ( typeof target === "boolean" ) {
|
323 |
-
deep = target;
|
324 |
-
target = arguments[1] || {};
|
325 |
-
// skip the boolean and the target
|
326 |
-
i = 2;
|
327 |
-
}
|
328 |
-
|
329 |
-
// Handle case when target is a string or something (possible in deep copy)
|
330 |
-
if ( typeof target !== "object" && !jQuery.isFunction(target) ) {
|
331 |
-
target = {};
|
332 |
-
}
|
333 |
-
|
334 |
-
// extend jQuery itself if only one argument is passed
|
335 |
-
if ( length === i ) {
|
336 |
-
target = this;
|
337 |
-
--i;
|
338 |
-
}
|
339 |
-
|
340 |
-
for ( ; i < length; i++ ) {
|
341 |
-
// Only deal with non-null/undefined values
|
342 |
-
if ( (options = arguments[ i ]) != null ) {
|
343 |
-
// Extend the base object
|
344 |
-
for ( name in options ) {
|
345 |
-
src = target[ name ];
|
346 |
-
copy = options[ name ];
|
347 |
-
|
348 |
-
// Prevent never-ending loop
|
349 |
-
if ( target === copy ) {
|
350 |
-
continue;
|
351 |
-
}
|
352 |
-
|
353 |
-
// Recurse if we're merging plain objects or arrays
|
354 |
-
if ( deep && copy && ( jQuery.isPlainObject(copy) || (copyIsArray = jQuery.isArray(copy)) ) ) {
|
355 |
-
if ( copyIsArray ) {
|
356 |
-
copyIsArray = false;
|
357 |
-
clone = src && jQuery.isArray(src) ? src : [];
|
358 |
-
|
359 |
-
} else {
|
360 |
-
clone = src && jQuery.isPlainObject(src) ? src : {};
|
361 |
-
}
|
362 |
-
|
363 |
-
// Never move original objects, clone them
|
364 |
-
target[ name ] = jQuery.extend( deep, clone, copy );
|
365 |
-
|
366 |
-
// Don't bring in undefined values
|
367 |
-
} else if ( copy !== undefined ) {
|
368 |
-
target[ name ] = copy;
|
369 |
-
}
|
370 |
-
}
|
371 |
-
}
|
372 |
-
}
|
373 |
-
|
374 |
-
// Return the modified object
|
375 |
-
return target;
|
376 |
-
};
|
377 |
-
|
378 |
-
jQuery.extend({
|
379 |
-
// Unique for each copy of jQuery on the page
|
380 |
-
// Non-digits removed to match rinlinejQuery
|
381 |
-
expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ),
|
382 |
-
|
383 |
-
noConflict: function( deep ) {
|
384 |
-
if ( window.$ === jQuery ) {
|
385 |
-
window.$ = _$;
|
386 |
-
}
|
387 |
-
|
388 |
-
if ( deep && window.jQuery === jQuery ) {
|
389 |
-
window.jQuery = _jQuery;
|
390 |
-
}
|
391 |
-
|
392 |
-
return jQuery;
|
393 |
-
},
|
394 |
-
|
395 |
-
// Is the DOM ready to be used? Set to true once it occurs.
|
396 |
-
isReady: false,
|
397 |
-
|
398 |
-
// A counter to track how many items to wait for before
|
399 |
-
// the ready event fires. See #6781
|
400 |
-
readyWait: 1,
|
401 |
-
|
402 |
-
// Hold (or release) the ready event
|
403 |
-
holdReady: function( hold ) {
|
404 |
-
if ( hold ) {
|
405 |
-
jQuery.readyWait++;
|
406 |
-
} else {
|
407 |
-
jQuery.ready( true );
|
408 |
-
}
|
409 |
-
},
|
410 |
-
|
411 |
-
// Handle when the DOM is ready
|
412 |
-
ready: function( wait ) {
|
413 |
-
|
414 |
-
// Abort if there are pending holds or we're already ready
|
415 |
-
if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {
|
416 |
-
return;
|
417 |
-
}
|
418 |
-
|
419 |
-
// Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443).
|
420 |
-
if ( !document.body ) {
|
421 |
-
return setTimeout( jQuery.ready );
|
422 |
-
}
|
423 |
-
|
424 |
-
// Remember that the DOM is ready
|
425 |
-
jQuery.isReady = true;
|
426 |
-
|
427 |
-
// If a normal DOM Ready event fired, decrement, and wait if need be
|
428 |
-
if ( wait !== true && --jQuery.readyWait > 0 ) {
|
429 |
-
return;
|
430 |
-
}
|
431 |
-
|
432 |
-
// If there are functions bound, to execute
|
433 |
-
readyList.resolveWith( document, [ jQuery ] );
|
434 |
-
|
435 |
-
// Trigger any bound ready events
|
436 |
-
if ( jQuery.fn.trigger ) {
|
437 |
-
jQuery( document ).trigger("ready").off("ready");
|
438 |
-
}
|
439 |
-
},
|
440 |
-
|
441 |
-
// See test/unit/core.js for details concerning isFunction.
|
442 |
-
// Since version 1.3, DOM methods and functions like alert
|
443 |
-
// aren't supported. They return false on IE (#2968).
|
444 |
-
isFunction: function( obj ) {
|
445 |
-
return jQuery.type(obj) === "function";
|
446 |
-
},
|
447 |
-
|
448 |
-
isArray: Array.isArray || function( obj ) {
|
449 |
-
return jQuery.type(obj) === "array";
|
450 |
-
},
|
451 |
-
|
452 |
-
isWindow: function( obj ) {
|
453 |
-
/* jshint eqeqeq: false */
|
454 |
-
return obj != null && obj == obj.window;
|
455 |
-
},
|
456 |
-
|
457 |
-
isNumeric: function( obj ) {
|
458 |
-
return !isNaN( parseFloat(obj) ) && isFinite( obj );
|
459 |
-
},
|
460 |
-
|
461 |
-
type: function( obj ) {
|
462 |
-
if ( obj == null ) {
|
463 |
-
return String( obj );
|
464 |
-
}
|
465 |
-
return typeof obj === "object" || typeof obj === "function" ?
|
466 |
-
class2type[ core_toString.call(obj) ] || "object" :
|
467 |
-
typeof obj;
|
468 |
-
},
|
469 |
-
|
470 |
-
isPlainObject: function( obj ) {
|
471 |
-
var key;
|
472 |
-
|
473 |
-
// Must be an Object.
|
474 |
-
// Because of IE, we also have to check the presence of the constructor property.
|
475 |
-
// Make sure that DOM nodes and window objects don't pass through, as well
|
476 |
-
if ( !obj || jQuery.type(obj) !== "object" || obj.nodeType || jQuery.isWindow( obj ) ) {
|
477 |
-
return false;
|
478 |
-
}
|
479 |
-
|
480 |
-
try {
|
481 |
-
// Not own constructor property must be Object
|
482 |
-
if ( obj.constructor &&
|
483 |
-
!core_hasOwn.call(obj, "constructor") &&
|
484 |
-
!core_hasOwn.call(obj.constructor.prototype, "isPrototypeOf") ) {
|
485 |
-
return false;
|
486 |
-
}
|
487 |
-
} catch ( e ) {
|
488 |
-
// IE8,9 Will throw exceptions on certain host objects #9897
|
489 |
-
return false;
|
490 |
-
}
|
491 |
-
|
492 |
-
// Support: IE<9
|
493 |
-
// Handle iteration over inherited properties before own properties.
|
494 |
-
if ( jQuery.support.ownLast ) {
|
495 |
-
for ( key in obj ) {
|
496 |
-
return core_hasOwn.call( obj, key );
|
497 |
-
}
|
498 |
-
}
|
499 |
-
|
500 |
-
// Own properties are enumerated firstly, so to speed up,
|
501 |
-
// if last one is own, then all properties are own.
|
502 |
-
for ( key in obj ) {}
|
503 |
-
|
504 |
-
return key === undefined || core_hasOwn.call( obj, key );
|
505 |
-
},
|
506 |
-
|
507 |
-
isEmptyObject: function( obj ) {
|
508 |
-
var name;
|
509 |
-
for ( name in obj ) {
|
510 |
-
return false;
|
511 |
-
}
|
512 |
-
return true;
|
513 |
-
},
|
514 |
-
|
515 |
-
error: function( msg ) {
|
516 |
-
throw new Error( msg );
|
517 |
-
},
|
518 |
-
|
519 |
-
// data: string of html
|
520 |
-
// context (optional): If specified, the fragment will be created in this context, defaults to document
|
521 |
-
// keepScripts (optional): If true, will include scripts passed in the html string
|
522 |
-
parseHTML: function( data, context, keepScripts ) {
|
523 |
-
if ( !data || typeof data !== "string" ) {
|
524 |
-
return null;
|
525 |
-
}
|
526 |
-
if ( typeof context === "boolean" ) {
|
527 |
-
keepScripts = context;
|
528 |
-
context = false;
|
529 |
-
}
|
530 |
-
context = context || document;
|
531 |
-
|
532 |
-
var parsed = rsingleTag.exec( data ),
|
533 |
-
scripts = !keepScripts && [];
|
534 |
-
|
535 |
-
// Single tag
|
536 |
-
if ( parsed ) {
|
537 |
-
return [ context.createElement( parsed[1] ) ];
|
538 |
-
}
|
539 |
-
|
540 |
-
parsed = jQuery.buildFragment( [ data ], context, scripts );
|
541 |
-
if ( scripts ) {
|
542 |
-
jQuery( scripts ).remove();
|
543 |
-
}
|
544 |
-
return jQuery.merge( [], parsed.childNodes );
|
545 |
-
},
|
546 |
-
|
547 |
-
parseJSON: function( data ) {
|
548 |
-
// Attempt to parse using the native JSON parser first
|
549 |
-
if ( window.JSON && window.JSON.parse ) {
|
550 |
-
return window.JSON.parse( data );
|
551 |
-
}
|
552 |
-
|
553 |
-
if ( data === null ) {
|
554 |
-
return data;
|
555 |
-
}
|
556 |
-
|
557 |
-
if ( typeof data === "string" ) {
|
558 |
-
|
559 |
-
// Make sure leading/trailing whitespace is removed (IE can't handle it)
|
560 |
-
data = jQuery.trim( data );
|
561 |
-
|
562 |
-
if ( data ) {
|
563 |
-
// Make sure the incoming data is actual JSON
|
564 |
-
// Logic borrowed from http://json.org/json2.js
|
565 |
-
if ( rvalidchars.test( data.replace( rvalidescape, "@" )
|
566 |
-
.replace( rvalidtokens, "]" )
|
567 |
-
.replace( rvalidbraces, "")) ) {
|
568 |
-
|
569 |
-
return ( new Function( "return " + data ) )();
|
570 |
-
}
|
571 |
-
}
|
572 |
-
}
|
573 |
-
|
574 |
-
jQuery.error( "Invalid JSON: " + data );
|
575 |
-
},
|
576 |
-
|
577 |
-
// Cross-browser xml parsing
|
578 |
-
parseXML: function( data ) {
|
579 |
-
var xml, tmp;
|
580 |
-
if ( !data || typeof data !== "string" ) {
|
581 |
-
return null;
|
582 |
-
}
|
583 |
-
try {
|
584 |
-
if ( window.DOMParser ) { // Standard
|
585 |
-
tmp = new DOMParser();
|
586 |
-
xml = tmp.parseFromString( data , "text/xml" );
|
587 |
-
} else { // IE
|
588 |
-
xml = new ActiveXObject( "Microsoft.XMLDOM" );
|
589 |
-
xml.async = "false";
|
590 |
-
xml.loadXML( data );
|
591 |
-
}
|
592 |
-
} catch( e ) {
|
593 |
-
xml = undefined;
|
594 |
-
}
|
595 |
-
if ( !xml || !xml.documentElement || xml.getElementsByTagName( "parsererror" ).length ) {
|
596 |
-
jQuery.error( "Invalid XML: " + data );
|
597 |
-
}
|
598 |
-
return xml;
|
599 |
-
},
|
600 |
-
|
601 |
-
noop: function() {},
|
602 |
-
|
603 |
-
// Evaluates a script in a global context
|
604 |
-
// Workarounds based on findings by Jim Driscoll
|
605 |
-
// http://weblogs.java.net/blog/driscoll/archive/2009/09/08/eval-javascript-global-context
|
606 |
-
globalEval: function( data ) {
|
607 |
-
if ( data && jQuery.trim( data ) ) {
|
608 |
-
// We use execScript on Internet Explorer
|
609 |
-
// We use an anonymous function so that context is window
|
610 |
-
// rather than jQuery in Firefox
|
611 |
-
( window.execScript || function( data ) {
|
612 |
-
window[ "eval" ].call( window, data );
|
613 |
-
} )( data );
|
614 |
-
}
|
615 |
-
},
|
616 |
-
|
617 |
-
// Convert dashed to camelCase; used by the css and data modules
|
618 |
-
// Microsoft forgot to hump their vendor prefix (#9572)
|
619 |
-
camelCase: function( string ) {
|
620 |
-
return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
|
621 |
-
},
|
622 |
-
|
623 |
-
nodeName: function( elem, name ) {
|
624 |
-
return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
|
625 |
-
},
|
626 |
-
|
627 |
-
// args is for internal usage only
|
628 |
-
each: function( obj, callback, args ) {
|
629 |
-
var value,
|
630 |
-
i = 0,
|
631 |
-
length = obj.length,
|
632 |
-
isArray = isArraylike( obj );
|
633 |
-
|
634 |
-
if ( args ) {
|
635 |
-
if ( isArray ) {
|
636 |
-
for ( ; i < length; i++ ) {
|
637 |
-
value = callback.apply( obj[ i ], args );
|
638 |
-
|
639 |
-
if ( value === false ) {
|
640 |
-
break;
|
641 |
-
}
|
642 |
-
}
|
643 |
-
} else {
|
644 |
-
for ( i in obj ) {
|
645 |
-
value = callback.apply( obj[ i ], args );
|
646 |
-
|
647 |
-
if ( value === false ) {
|
648 |
-
break;
|
649 |
-
}
|
650 |
-
}
|
651 |
-
}
|
652 |
-
|
653 |
-
// A special, fast, case for the most common use of each
|
654 |
-
} else {
|
655 |
-
if ( isArray ) {
|
656 |
-
for ( ; i < length; i++ ) {
|
657 |
-
value = callback.call( obj[ i ], i, obj[ i ] );
|
658 |
-
|
659 |
-
if ( value === false ) {
|
660 |
-
break;
|
661 |
-
}
|
662 |
-
}
|
663 |
-
} else {
|
664 |
-
for ( i in obj ) {
|
665 |
-
value = callback.call( obj[ i ], i, obj[ i ] );
|
666 |
-
|
667 |
-
if ( value === false ) {
|
668 |
-
break;
|
669 |
-
}
|
670 |
-
}
|
671 |
-
}
|
672 |
-
}
|
673 |
-
|
674 |
-
return obj;
|
675 |
-
},
|
676 |
-
|
677 |
-
// Use native String.trim function wherever possible
|
678 |
-
trim: core_trim && !core_trim.call("\uFEFF\xA0") ?
|
679 |
-
function( text ) {
|
680 |
-
return text == null ?
|
681 |
-
"" :
|
682 |
-
core_trim.call( text );
|
683 |
-
} :
|
684 |
-
|
685 |
-
// Otherwise use our own trimming functionality
|
686 |
-
function( text ) {
|
687 |
-
return text == null ?
|
688 |
-
"" :
|
689 |
-
( text + "" ).replace( rtrim, "" );
|
690 |
-
},
|
691 |
-
|
692 |
-
// results is for internal usage only
|
693 |
-
makeArray: function( arr, results ) {
|
694 |
-
var ret = results || [];
|
695 |
-
|
696 |
-
if ( arr != null ) {
|
697 |
-
if ( isArraylike( Object(arr) ) ) {
|
698 |
-
jQuery.merge( ret,
|
699 |
-
typeof arr === "string" ?
|
700 |
-
[ arr ] : arr
|
701 |
-
);
|
702 |
-
} else {
|
703 |
-
core_push.call( ret, arr );
|
704 |
-
}
|
705 |
-
}
|
706 |
-
|
707 |
-
return ret;
|
708 |
-
},
|
709 |
-
|
710 |
-
inArray: function( elem, arr, i ) {
|
711 |
-
var len;
|
712 |
-
|
713 |
-
if ( arr ) {
|
714 |
-
if ( core_indexOf ) {
|
715 |
-
return core_indexOf.call( arr, elem, i );
|
716 |
-
}
|
717 |
-
|
718 |
-
len = arr.length;
|
719 |
-
i = i ? i < 0 ? Math.max( 0, len + i ) : i : 0;
|
720 |
-
|
721 |
-
for ( ; i < len; i++ ) {
|
722 |
-
// Skip accessing in sparse arrays
|
723 |
-
if ( i in arr && arr[ i ] === elem ) {
|
724 |
-
return i;
|
725 |
-
}
|
726 |
-
}
|
727 |
-
}
|
728 |
-
|
729 |
-
return -1;
|
730 |
-
},
|
731 |
-
|
732 |
-
merge: function( first, second ) {
|
733 |
-
var l = second.length,
|
734 |
-
i = first.length,
|
735 |
-
j = 0;
|
736 |
-
|
737 |
-
if ( typeof l === "number" ) {
|
738 |
-
for ( ; j < l; j++ ) {
|
739 |
-
first[ i++ ] = second[ j ];
|
740 |
-
}
|
741 |
-
} else {
|
742 |
-
while ( second[j] !== undefined ) {
|
743 |
-
first[ i++ ] = second[ j++ ];
|
744 |
-
}
|
745 |
-
}
|
746 |
-
|
747 |
-
first.length = i;
|
748 |
-
|
749 |
-
return first;
|
750 |
-
},
|
751 |
-
|
752 |
-
grep: function( elems, callback, inv ) {
|
753 |
-
var retVal,
|
754 |
-
ret = [],
|
755 |
-
i = 0,
|
756 |
-
length = elems.length;
|
757 |
-
inv = !!inv;
|
758 |
-
|
759 |
-
// Go through the array, only saving the items
|
760 |
-
// that pass the validator function
|
761 |
-
for ( ; i < length; i++ ) {
|
762 |
-
retVal = !!callback( elems[ i ], i );
|
763 |
-
if ( inv !== retVal ) {
|
764 |
-
ret.push( elems[ i ] );
|
765 |
-
}
|
766 |
-
}
|
767 |
-
|
768 |
-
return ret;
|
769 |
-
},
|
770 |
-
|
771 |
-
// arg is for internal usage only
|
772 |
-
map: function( elems, callback, arg ) {
|
773 |
-
var value,
|
774 |
-
i = 0,
|
775 |
-
length = elems.length,
|
776 |
-
isArray = isArraylike( elems ),
|
777 |
-
ret = [];
|
778 |
-
|
779 |
-
// Go through the array, translating each of the items to their
|
780 |
-
if ( isArray ) {
|
781 |
-
for ( ; i < length; i++ ) {
|
782 |
-
value = callback( elems[ i ], i, arg );
|
783 |
-
|
784 |
-
if ( value != null ) {
|
785 |
-
ret[ ret.length ] = value;
|
786 |
-
}
|
787 |
-
}
|
788 |
-
|
789 |
-
// Go through every key on the object,
|
790 |
-
} else {
|
791 |
-
for ( i in elems ) {
|
792 |
-
value = callback( elems[ i ], i, arg );
|
793 |
-
|
794 |
-
if ( value != null ) {
|
795 |
-
ret[ ret.length ] = value;
|
796 |
-
}
|
797 |
-
}
|
798 |
-
}
|
799 |
-
|
800 |
-
// Flatten any nested arrays
|
801 |
-
return core_concat.apply( [], ret );
|
802 |
-
},
|
803 |
-
|
804 |
-
// A global GUID counter for objects
|
805 |
-
guid: 1,
|
806 |
-
|
807 |
-
// Bind a function to a context, optionally partially applying any
|
808 |
-
// arguments.
|
809 |
-
proxy: function( fn, context ) {
|
810 |
-
var args, proxy, tmp;
|
811 |
-
|
812 |
-
if ( typeof context === "string" ) {
|
813 |
-
tmp = fn[ context ];
|
814 |
-
context = fn;
|
815 |
-
fn = tmp;
|
816 |
-
}
|
817 |
-
|
818 |
-
// Quick check to determine if target is callable, in the spec
|
819 |
-
// this throws a TypeError, but we will just return undefined.
|
820 |
-
if ( !jQuery.isFunction( fn ) ) {
|
821 |
-
return undefined;
|
822 |
-
}
|
823 |
-
|
824 |
-
// Simulated bind
|
825 |
-
args = core_slice.call( arguments, 2 );
|
826 |
-
proxy = function() {
|
827 |
-
return fn.apply( context || this, args.concat( core_slice.call( arguments ) ) );
|
828 |
-
};
|
829 |
-
|
830 |
-
// Set the guid of unique handler to the same of original handler, so it can be removed
|
831 |
-
proxy.guid = fn.guid = fn.guid || jQuery.guid++;
|
832 |
-
|
833 |
-
return proxy;
|
834 |
-
},
|
835 |
-
|
836 |
-
// Multifunctional method to get and set values of a collection
|
837 |
-
// The value/s can optionally be executed if it's a function
|
838 |
-
access: function( elems, fn, key, value, chainable, emptyGet, raw ) {
|
839 |
-
var i = 0,
|
840 |
-
length = elems.length,
|
841 |
-
bulk = key == null;
|
842 |
-
|
843 |
-
// Sets many values
|
844 |
-
if ( jQuery.type( key ) === "object" ) {
|
845 |
-
chainable = true;
|
846 |
-
for ( i in key ) {
|
847 |
-
jQuery.access( elems, fn, i, key[i], true, emptyGet, raw );
|
848 |
-
}
|
849 |
-
|
850 |
-
// Sets one value
|
851 |
-
} else if ( value !== undefined ) {
|
852 |
-
chainable = true;
|
853 |
-
|
854 |
-
if ( !jQuery.isFunction( value ) ) {
|
855 |
-
raw = true;
|
856 |
-
}
|
857 |
-
|
858 |
-
if ( bulk ) {
|
859 |
-
// Bulk operations run against the entire set
|
860 |
-
if ( raw ) {
|
861 |
-
fn.call( elems, value );
|
862 |
-
fn = null;
|
863 |
-
|
864 |
-
// ...except when executing function values
|
865 |
-
} else {
|
866 |
-
bulk = fn;
|
867 |
-
fn = function( elem, key, value ) {
|
868 |
-
return bulk.call( jQuery( elem ), value );
|
869 |
-
};
|
870 |
-
}
|
871 |
-
}
|
872 |
-
|
873 |
-
if ( fn ) {
|
874 |
-
for ( ; i < length; i++ ) {
|
875 |
-
fn( elems[i], key, raw ? value : value.call( elems[i], i, fn( elems[i], key ) ) );
|
876 |
-
}
|
877 |
-
}
|
878 |
-
}
|
879 |
-
|
880 |
-
return chainable ?
|
881 |
-
elems :
|
882 |
-
|
883 |
-
// Gets
|
884 |
-
bulk ?
|
885 |
-
fn.call( elems ) :
|
886 |
-
length ? fn( elems[0], key ) : emptyGet;
|
887 |
-
},
|
888 |
-
|
889 |
-
now: function() {
|
890 |
-
return ( new Date() ).getTime();
|
891 |
-
},
|
892 |
-
|
893 |
-
// A method for quickly swapping in/out CSS properties to get correct calculations.
|
894 |
-
// Note: this method belongs to the css module but it's needed here for the support module.
|
895 |
-
// If support gets modularized, this method should be moved back to the css module.
|
896 |
-
swap: function( elem, options, callback, args ) {
|
897 |
-
var ret, name,
|
898 |
-
old = {};
|
899 |
-
|
900 |
-
// Remember the old values, and insert the new ones
|
901 |
-
for ( name in options ) {
|
902 |
-
old[ name ] = elem.style[ name ];
|
903 |
-
elem.style[ name ] = options[ name ];
|
904 |
-
}
|
905 |
-
|
906 |
-
ret = callback.apply( elem, args || [] );
|
907 |
-
|
908 |
-
// Revert the old values
|
909 |
-
for ( name in options ) {
|
910 |
-
elem.style[ name ] = old[ name ];
|
911 |
-
}
|
912 |
-
|
913 |
-
return ret;
|
914 |
-
}
|
915 |
-
});
|
916 |
-
|
917 |
-
jQuery.ready.promise = function( obj ) {
|
918 |
-
if ( !readyList ) {
|
919 |
-
|
920 |
-
readyList = jQuery.Deferred();
|
921 |
-
|
922 |
-
// Catch cases where $(document).ready() is called after the browser event has already occurred.
|
923 |
-
// we once tried to use readyState "interactive" here, but it caused issues like the one
|
924 |
-
// discovered by ChrisS here: http://bugs.jquery.com/ticket/12282#comment:15
|
925 |
-
if ( document.readyState === "complete" ) {
|
926 |
-
// Handle it asynchronously to allow scripts the opportunity to delay ready
|
927 |
-
setTimeout( jQuery.ready );
|
928 |
-
|
929 |
-
// Standards-based browsers support DOMContentLoaded
|
930 |
-
} else if ( document.addEventListener ) {
|
931 |
-
// Use the handy event callback
|
932 |
-
document.addEventListener( "DOMContentLoaded", completed, false );
|
933 |
-
|
934 |
-
// A fallback to window.onload, that will always work
|
935 |
-
window.addEventListener( "load", completed, false );
|
936 |
-
|
937 |
-
// If IE event model is used
|
938 |
-
} else {
|
939 |
-
// Ensure firing before onload, maybe late but safe also for iframes
|
940 |
-
document.attachEvent( "onreadystatechange", completed );
|
941 |
-
|
942 |
-
// A fallback to window.onload, that will always work
|
943 |
-
window.attachEvent( "onload", completed );
|
944 |
-
|
945 |
-
// If IE and not a frame
|
946 |
-
// continually check to see if the document is ready
|
947 |
-
var top = false;
|
948 |
-
|
949 |
-
try {
|
950 |
-
top = window.frameElement == null && document.documentElement;
|
951 |
-
} catch(e) {}
|
952 |
-
|
953 |
-
if ( top && top.doScroll ) {
|
954 |
-
(function doScrollCheck() {
|
955 |
-
if ( !jQuery.isReady ) {
|
956 |
-
|
957 |
-
try {
|
958 |
-
// Use the trick by Diego Perini
|
959 |
-
// http://javascript.nwbox.com/IEContentLoaded/
|
960 |
-
top.doScroll("left");
|
961 |
-
} catch(e) {
|
962 |
-
return setTimeout( doScrollCheck, 50 );
|
963 |
-
}
|
964 |
-
|
965 |
-
// detach all dom ready events
|
966 |
-
detach();
|
967 |
-
|
968 |
-
// and execute any waiting functions
|
969 |
-
jQuery.ready();
|
970 |
-
}
|
971 |
-
})();
|
972 |
-
}
|
973 |
-
}
|
974 |
-
}
|
975 |
-
return readyList.promise( obj );
|
976 |
-
};
|
977 |
-
|
978 |
-
// Populate the class2type map
|
979 |
-
jQuery.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(i, name) {
|
980 |
-
class2type[ "[object " + name + "]" ] = name.toLowerCase();
|
981 |
-
});
|
982 |
-
|
983 |
-
function isArraylike( obj ) {
|
984 |
-
var length = obj.length,
|
985 |
-
type = jQuery.type( obj );
|
986 |
-
|
987 |
-
if ( jQuery.isWindow( obj ) ) {
|
988 |
-
return false;
|
989 |
-
}
|
990 |
-
|
991 |
-
if ( obj.nodeType === 1 && length ) {
|
992 |
-
return true;
|
993 |
-
}
|
994 |
-
|
995 |
-
return type === "array" || type !== "function" &&
|
996 |
-
( length === 0 ||
|
997 |
-
typeof length === "number" && length > 0 && ( length - 1 ) in obj );
|
998 |
-
}
|
999 |
-
|
1000 |
-
// All jQuery objects should point back to these
|
1001 |
-
rootjQuery = jQuery(document);
|
1002 |
-
/*!
|
1003 |
-
* Sizzle CSS Selector Engine v1.10.2
|
1004 |
-
* http://sizzlejs.com/
|
1005 |
-
*
|
1006 |
-
* Copyright 2013 jQuery Foundation, Inc. and other contributors
|
1007 |
-
* Released under the MIT license
|
1008 |
-
* http://jquery.org/license
|
1009 |
-
*
|
1010 |
-
* Date: 2013-07-03
|
1011 |
-
*/
|
1012 |
-
(function( window, undefined ) {
|
1013 |
-
|
1014 |
-
var i,
|
1015 |
-
support,
|
1016 |
-
cachedruns,
|
1017 |
-
Expr,
|
1018 |
-
getText,
|
1019 |
-
isXML,
|
1020 |
-
compile,
|
1021 |
-
outermostContext,
|
1022 |
-
sortInput,
|
1023 |
-
|
1024 |
-
// Local document vars
|
1025 |
-
setDocument,
|
1026 |
-
document,
|
1027 |
-
docElem,
|
1028 |
-
documentIsHTML,
|
1029 |
-
rbuggyQSA,
|
1030 |
-
rbuggyMatches,
|
1031 |
-
matches,
|
1032 |
-
contains,
|
1033 |
-
|
1034 |
-
// Instance-specific data
|
1035 |
-
expando = "sizzle" + -(new Date()),
|
1036 |
-
preferredDoc = window.document,
|
1037 |
-
dirruns = 0,
|
1038 |
-
done = 0,
|
1039 |
-
classCache = createCache(),
|
1040 |
-
tokenCache = createCache(),
|
1041 |
-
compilerCache = createCache(),
|
1042 |
-
hasDuplicate = false,
|
1043 |
-
sortOrder = function( a, b ) {
|
1044 |
-
if ( a === b ) {
|
1045 |
-
hasDuplicate = true;
|
1046 |
-
return 0;
|
1047 |
-
}
|
1048 |
-
return 0;
|
1049 |
-
},
|
1050 |
-
|
1051 |
-
// General-purpose constants
|
1052 |
-
strundefined = typeof undefined,
|
1053 |
-
MAX_NEGATIVE = 1 << 31,
|
1054 |
-
|
1055 |
-
// Instance methods
|
1056 |
-
hasOwn = ({}).hasOwnProperty,
|
1057 |
-
arr = [],
|
1058 |
-
pop = arr.pop,
|
1059 |
-
push_native = arr.push,
|
1060 |
-
push = arr.push,
|
1061 |
-
slice = arr.slice,
|
1062 |
-
// Use a stripped-down indexOf if we can't use a native one
|
1063 |
-
indexOf = arr.indexOf || function( elem ) {
|
1064 |
-
var i = 0,
|
1065 |
-
len = this.length;
|
1066 |
-
for ( ; i < len; i++ ) {
|
1067 |
-
if ( this[i] === elem ) {
|
1068 |
-
return i;
|
1069 |
-
}
|
1070 |
-
}
|
1071 |
-
return -1;
|
1072 |
-
},
|
1073 |
-
|
1074 |
-
booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
|
1075 |
-
|
1076 |
-
// Regular expressions
|
1077 |
-
|
1078 |
-
// Whitespace characters http://www.w3.org/TR/css3-selectors/#whitespace
|
1079 |
-
whitespace = "[\\x20\\t\\r\\n\\f]",
|
1080 |
-
// http://www.w3.org/TR/css3-syntax/#characters
|
1081 |
-
characterEncoding = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
|
1082 |
-
|
1083 |
-
// Loosely modeled on CSS identifier characters
|
1084 |
-
// An unquoted value should be a CSS identifier http://www.w3.org/TR/css3-selectors/#attribute-selectors
|
1085 |
-
// Proper syntax: http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
|
1086 |
-
identifier = characterEncoding.replace( "w", "w#" ),
|
1087 |
-
|
1088 |
-
// Acceptable operators http://www.w3.org/TR/selectors/#attribute-selectors
|
1089 |
-
attributes = "\\[" + whitespace + "*(" + characterEncoding + ")" + whitespace +
|
1090 |
-
"*(?:([*^$|!~]?=)" + whitespace + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + identifier + ")|)|)" + whitespace + "*\\]",
|
1091 |
-
|
1092 |
-
// Prefer arguments quoted,
|
1093 |
-
// then not containing pseudos/brackets,
|
1094 |
-
// then attribute selectors/non-parenthetical expressions,
|
1095 |
-
// then anything else
|
1096 |
-
// These preferences are here to reduce the number of selectors
|
1097 |
-
// needing tokenize in the PSEUDO preFilter
|
1098 |
-
pseudos = ":(" + characterEncoding + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + attributes.replace( 3, 8 ) + ")*)|.*)\\)|)",
|
1099 |
-
|
1100 |
-
// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter
|
1101 |
-
rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + whitespace + "+$", "g" ),
|
1102 |
-
|
1103 |
-
rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ),
|
1104 |
-
rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + "*" ),
|
1105 |
-
|
1106 |
-
rsibling = new RegExp( whitespace + "*[+~]" ),
|
1107 |
-
rattributeQuotes = new RegExp( "=" + whitespace + "*([^\\]'\"]*)" + whitespace + "*\\]", "g" ),
|
1108 |
-
|
1109 |
-
rpseudo = new RegExp( pseudos ),
|
1110 |
-
ridentifier = new RegExp( "^" + identifier + "$" ),
|
1111 |
-
|
1112 |
-
matchExpr = {
|
1113 |
-
"ID": new RegExp( "^#(" + characterEncoding + ")" ),
|
1114 |
-
"CLASS": new RegExp( "^\\.(" + characterEncoding + ")" ),
|
1115 |
-
"TAG": new RegExp( "^(" + characterEncoding.replace( "w", "w*" ) + ")" ),
|
1116 |
-
"ATTR": new RegExp( "^" + attributes ),
|
1117 |
-
"PSEUDO": new RegExp( "^" + pseudos ),
|
1118 |
-
"CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + whitespace +
|
1119 |
-
"*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + whitespace +
|
1120 |
-
"*(\\d+)|))" + whitespace + "*\\)|)", "i" ),
|
1121 |
-
"bool": new RegExp( "^(?:" + booleans + ")$", "i" ),
|
1122 |
-
// For use in libraries implementing .is()
|
1123 |
-
// We use this for POS matching in `select`
|
1124 |
-
"needsContext": new RegExp( "^" + whitespace + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" +
|
1125 |
-
whitespace + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" )
|
1126 |
-
},
|
1127 |
-
|
1128 |
-
rnative = /^[^{]+\{\s*\[native \w/,
|
1129 |
-
|
1130 |
-
// Easily-parseable/retrievable ID or TAG or CLASS selectors
|
1131 |
-
rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
|
1132 |
-
|
1133 |
-
rinputs = /^(?:input|select|textarea|button)$/i,
|
1134 |
-
rheader = /^h\d$/i,
|
1135 |
-
|
1136 |
-
rescape = /'|\\/g,
|
1137 |
-
|
1138 |
-
// CSS escapes http://www.w3.org/TR/CSS21/syndata.html#escaped-characters
|
1139 |
-
runescape = new RegExp( "\\\\([\\da-f]{1,6}" + whitespace + "?|(" + whitespace + ")|.)", "ig" ),
|
1140 |
-
funescape = function( _, escaped, escapedWhitespace ) {
|
1141 |
-
var high = "0x" + escaped - 0x10000;
|
1142 |
-
// NaN means non-codepoint
|
1143 |
-
// Support: Firefox
|
1144 |
-
// Workaround erroneous numeric interpretation of +"0x"
|
1145 |
-
return high !== high || escapedWhitespace ?
|
1146 |
-
escaped :
|
1147 |
-
// BMP codepoint
|
1148 |
-
high < 0 ?
|
1149 |
-
String.fromCharCode( high + 0x10000 ) :
|
1150 |
-
// Supplemental Plane codepoint (surrogate pair)
|
1151 |
-
String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );
|
1152 |
-
};
|
1153 |
-
|
1154 |
-
// Optimize for push.apply( _, NodeList )
|
1155 |
-
try {
|
1156 |
-
push.apply(
|
1157 |
-
(arr = slice.call( preferredDoc.childNodes )),
|
1158 |
-
preferredDoc.childNodes
|
1159 |
-
);
|
1160 |
-
// Support: Android<4.0
|
1161 |
-
// Detect silently failing push.apply
|
1162 |
-
arr[ preferredDoc.childNodes.length ].nodeType;
|
1163 |
-
} catch ( e ) {
|
1164 |
-
push = { apply: arr.length ?
|
1165 |
-
|
1166 |
-
// Leverage slice if possible
|
1167 |
-
function( target, els ) {
|
1168 |
-
push_native.apply( target, slice.call(els) );
|
1169 |
-
} :
|
1170 |
-
|
1171 |
-
// Support: IE<9
|
1172 |
-
// Otherwise append directly
|
1173 |
-
function( target, els ) {
|
1174 |
-
var j = target.length,
|
1175 |
-
i = 0;
|
1176 |
-
// Can't trust NodeList.length
|
1177 |
-
while ( (target[j++] = els[i++]) ) {}
|
1178 |
-
target.length = j - 1;
|
1179 |
-
}
|
1180 |
-
};
|
1181 |
-
}
|
1182 |
-
|
1183 |
-
function Sizzle( selector, context, results, seed ) {
|
1184 |
-
var match, elem, m, nodeType,
|
1185 |
-
// QSA vars
|
1186 |
-
i, groups, old, nid, newContext, newSelector;
|
1187 |
-
|
1188 |
-
if ( ( context ? context.ownerDocument || context : preferredDoc ) !== document ) {
|
1189 |
-
setDocument( context );
|
1190 |
-
}
|
1191 |
-
|
1192 |
-
context = context || document;
|
1193 |
-
results = results || [];
|
1194 |
-
|
1195 |
-
if ( !selector || typeof selector !== "string" ) {
|
1196 |
-
return results;
|
1197 |
-
}
|
1198 |
-
|
1199 |
-
if ( (nodeType = context.nodeType) !== 1 && nodeType !== 9 ) {
|
1200 |
-
return [];
|
1201 |
-
}
|
1202 |
-
|
1203 |
-
if ( documentIsHTML && !seed ) {
|
1204 |
-
|
1205 |
-
// Shortcuts
|
1206 |
-
if ( (match = rquickExpr.exec( selector )) ) {
|
1207 |
-
// Speed-up: Sizzle("#ID")
|
1208 |
-
if ( (m = match[1]) ) {
|
1209 |
-
if ( nodeType === 9 ) {
|
1210 |
-
elem = context.getElementById( m );
|
1211 |
-
// Check parentNode to catch when Blackberry 4.6 returns
|
1212 |
-
// nodes that are no longer in the document #6963
|
1213 |
-
if ( elem && elem.parentNode ) {
|
1214 |
-
// Handle the case where IE, Opera, and Webkit return items
|
1215 |
-
// by name instead of ID
|
1216 |
-
if ( elem.id === m ) {
|
1217 |
-
results.push( elem );
|
1218 |
-
return results;
|
1219 |
-
}
|
1220 |
-
} else {
|
1221 |
-
return results;
|
1222 |
-
}
|
1223 |
-
} else {
|
1224 |
-
// Context is not a document
|
1225 |
-
if ( context.ownerDocument && (elem = context.ownerDocument.getElementById( m )) &&
|
1226 |
-
contains( context, elem ) && elem.id === m ) {
|
1227 |
-
results.push( elem );
|
1228 |
-
return results;
|
1229 |
-
}
|
1230 |
-
}
|
1231 |
-
|
1232 |
-
// Speed-up: Sizzle("TAG")
|
1233 |
-
} else if ( match[2] ) {
|
1234 |
-
push.apply( results, context.getElementsByTagName( selector ) );
|
1235 |
-
return results;
|
1236 |
-
|
1237 |
-
// Speed-up: Sizzle(".CLASS")
|
1238 |
-
} else if ( (m = match[3]) && support.getElementsByClassName && context.getElementsByClassName ) {
|
1239 |
-
push.apply( results, context.getElementsByClassName( m ) );
|
1240 |
-
return results;
|
1241 |
-
}
|
1242 |
-
}
|
1243 |
-
|
1244 |
-
// QSA path
|
1245 |
-
if ( support.qsa && (!rbuggyQSA || !rbuggyQSA.test( selector )) ) {
|
1246 |
-
nid = old = expando;
|
1247 |
-
newContext = context;
|
1248 |
-
newSelector = nodeType === 9 && selector;
|
1249 |
-
|
1250 |
-
// qSA works strangely on Element-rooted queries
|
1251 |
-
// We can work around this by specifying an extra ID on the root
|
1252 |
-
// and working up from there (Thanks to Andrew Dupont for the technique)
|
1253 |
-
// IE 8 doesn't work on object elements
|
1254 |
-
if ( nodeType === 1 && context.nodeName.toLowerCase() !== "object" ) {
|
1255 |
-
groups = tokenize( selector );
|
1256 |
-
|
1257 |
-
if ( (old = context.getAttribute("id")) ) {
|
1258 |
-
nid = old.replace( rescape, "\\$&" );
|
1259 |
-
} else {
|
1260 |
-
context.setAttribute( "id", nid );
|
1261 |
-
}
|
1262 |
-
nid = "[id='" + nid + "'] ";
|
1263 |
-
|
1264 |
-
i = groups.length;
|
1265 |
-
while ( i-- ) {
|
1266 |
-
groups[i] = nid + toSelector( groups[i] );
|
1267 |
-
}
|
1268 |
-
newContext = rsibling.test( selector ) && context.parentNode || context;
|
1269 |
-
newSelector = groups.join(",");
|
1270 |
-
}
|
1271 |
-
|
1272 |
-
if ( newSelector ) {
|
1273 |
-
try {
|
1274 |
-
push.apply( results,
|
1275 |
-
newContext.querySelectorAll( newSelector )
|
1276 |
-
);
|
1277 |
-
return results;
|
1278 |
-
} catch(qsaError) {
|
1279 |
-
} finally {
|
1280 |
-
if ( !old ) {
|
1281 |
-
context.removeAttribute("id");
|
1282 |
-
}
|
1283 |
-
}
|
1284 |
-
}
|
1285 |
-
}
|
1286 |
-
}
|
1287 |
-
|
1288 |
-
// All others
|
1289 |
-
return select( selector.replace( rtrim, "$1" ), context, results, seed );
|
1290 |
-
}
|
1291 |
-
|
1292 |
-
/**
|
1293 |
-
* Create key-value caches of limited size
|
1294 |
-
* @returns {Function(string, Object)} Returns the Object data after storing it on itself with
|
1295 |
-
* property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)
|
1296 |
-
* deleting the oldest entry
|
1297 |
-
*/
|
1298 |
-
function createCache() {
|
1299 |
-
var keys = [];
|
1300 |
-
|
1301 |
-
function cache( key, value ) {
|
1302 |
-
// Use (key + " ") to avoid collision with native prototype properties (see Issue #157)
|
1303 |
-
if ( keys.push( key += " " ) > Expr.cacheLength ) {
|
1304 |
-
// Only keep the most recent entries
|
1305 |
-
delete cache[ keys.shift() ];
|
1306 |
-
}
|
1307 |
-
return (cache[ key ] = value);
|
1308 |
-
}
|
1309 |
-
return cache;
|
1310 |
-
}
|
1311 |
-
|
1312 |
-
/**
|
1313 |
-
* Mark a function for special use by Sizzle
|
1314 |
-
* @param {Function} fn The function to mark
|
1315 |
-
*/
|
1316 |
-
function markFunction( fn ) {
|
1317 |
-
fn[ expando ] = true;
|
1318 |
-
return fn;
|
1319 |
-
}
|
1320 |
-
|
1321 |
-
/**
|
1322 |
-
* Support testing using an element
|
1323 |
-
* @param {Function} fn Passed the created div and expects a boolean result
|
1324 |
-
*/
|
1325 |
-
function assert( fn ) {
|
1326 |
-
var div = document.createElement("div");
|
1327 |
-
|
1328 |
-
try {
|
1329 |
-
return !!fn( div );
|
1330 |
-
} catch (e) {
|
1331 |
-
return false;
|
1332 |
-
} finally {
|
1333 |
-
// Remove from its parent by default
|
1334 |
-
if ( div.parentNode ) {
|
1335 |
-
div.parentNode.removeChild( div );
|
1336 |
-
}
|
1337 |
-
// release memory in IE
|
1338 |
-
div = null;
|
1339 |
-
}
|
1340 |
-
}
|
1341 |
-
|
1342 |
-
/**
|
1343 |
-
* Adds the same handler for all of the specified attrs
|
1344 |
-
* @param {String} attrs Pipe-separated list of attributes
|
1345 |
-
* @param {Function} handler The method that will be applied
|
1346 |
-
*/
|
1347 |
-
function addHandle( attrs, handler ) {
|
1348 |
-
var arr = attrs.split("|"),
|
1349 |
-
i = attrs.length;
|
1350 |
-
|
1351 |
-
while ( i-- ) {
|
1352 |
-
Expr.attrHandle[ arr[i] ] = handler;
|
1353 |
-
}
|
1354 |
-
}
|
1355 |
-
|
1356 |
-
/**
|
1357 |
-
* Checks document order of two siblings
|
1358 |
-
* @param {Element} a
|
1359 |
-
* @param {Element} b
|
1360 |
-
* @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b
|
1361 |
-
*/
|
1362 |
-
function siblingCheck( a, b ) {
|
1363 |
-
var cur = b && a,
|
1364 |
-
diff = cur && a.nodeType === 1 && b.nodeType === 1 &&
|
1365 |
-
( ~b.sourceIndex || MAX_NEGATIVE ) -
|
1366 |
-
( ~a.sourceIndex || MAX_NEGATIVE );
|
1367 |
-
|
1368 |
-
// Use IE sourceIndex if available on both nodes
|
1369 |
-
if ( diff ) {
|
1370 |
-
return diff;
|
1371 |
-
}
|
1372 |
-
|
1373 |
-
// Check if b follows a
|
1374 |
-
if ( cur ) {
|
1375 |
-
while ( (cur = cur.nextSibling) ) {
|
1376 |
-
if ( cur === b ) {
|
1377 |
-
return -1;
|
1378 |
-
}
|
1379 |
-
}
|
1380 |
-
}
|
1381 |
-
|
1382 |
-
return a ? 1 : -1;
|
1383 |
-
}
|
1384 |
-
|
1385 |
-
/**
|
1386 |
-
* Returns a function to use in pseudos for input types
|
1387 |
-
* @param {String} type
|
1388 |
-
*/
|
1389 |
-
function createInputPseudo( type ) {
|
1390 |
-
return function( elem ) {
|
1391 |
-
var name = elem.nodeName.toLowerCase();
|
1392 |
-
return name === "input" && elem.type === type;
|
1393 |
-
};
|
1394 |
-
}
|
1395 |
-
|
1396 |
-
/**
|
1397 |
-
* Returns a function to use in pseudos for buttons
|
1398 |
-
* @param {String} type
|
1399 |
-
*/
|
1400 |
-
function createButtonPseudo( type ) {
|
1401 |
-
return function( elem ) {
|
1402 |
-
var name = elem.nodeName.toLowerCase();
|
1403 |
-
return (name === "input" || name === "button") && elem.type === type;
|
1404 |
-
};
|
1405 |
-
}
|
1406 |
-
|
1407 |
-
/**
|
1408 |
-
* Returns a function to use in pseudos for positionals
|
1409 |
-
* @param {Function} fn
|
1410 |
-
*/
|
1411 |
-
function createPositionalPseudo( fn ) {
|
1412 |
-
return markFunction(function( argument ) {
|
1413 |
-
argument = +argument;
|
1414 |
-
return markFunction(function( seed, matches ) {
|
1415 |
-
var j,
|
1416 |
-
matchIndexes = fn( [], seed.length, argument ),
|
1417 |
-
i = matchIndexes.length;
|
1418 |
-
|
1419 |
-
// Match elements found at the specified indexes
|
1420 |
-
while ( i-- ) {
|
1421 |
-
if ( seed[ (j = matchIndexes[i]) ] ) {
|
1422 |
-
seed[j] = !(matches[j] = seed[j]);
|
1423 |
-
}
|
1424 |
-
}
|
1425 |
-
});
|
1426 |
-
});
|
1427 |
-
}
|
1428 |
-
|
1429 |
-
/**
|
1430 |
-
* Detect xml
|
1431 |
-
* @param {Element|Object} elem An element or a document
|
1432 |
-
*/
|
1433 |
-
isXML = Sizzle.isXML = function( elem ) {
|
1434 |
-
// documentElement is verified for cases where it doesn't yet exist
|
1435 |
-
// (such as loading iframes in IE - #4833)
|
1436 |
-
var documentElement = elem && (elem.ownerDocument || elem).documentElement;
|
1437 |
-
return documentElement ? documentElement.nodeName !== "HTML" : false;
|
1438 |
-
};
|
1439 |
-
|
1440 |
-
// Expose support vars for convenience
|
1441 |
-
support = Sizzle.support = {};
|
1442 |
-
|
1443 |
-
/**
|
1444 |
-
* Sets document-related variables once based on the current document
|
1445 |
-
* @param {Element|Object} [doc] An element or document object to use to set the document
|
1446 |
-
* @returns {Object} Returns the current document
|
1447 |
-
*/
|
1448 |
-
setDocument = Sizzle.setDocument = function( node ) {
|
1449 |
-
var doc = node ? node.ownerDocument || node : preferredDoc,
|
1450 |
-
parent = doc.defaultView;
|
1451 |
-
|
1452 |
-
// If no document and documentElement is available, return
|
1453 |
-
if ( doc === document || doc.nodeType !== 9 || !doc.documentElement ) {
|
1454 |
-
return document;
|
1455 |
-
}
|
1456 |
-
|
1457 |
-
// Set our document
|
1458 |
-
document = doc;
|
1459 |
-
docElem = doc.documentElement;
|
1460 |
-
|
1461 |
-
// Support tests
|
1462 |
-
documentIsHTML = !isXML( doc );
|
1463 |
-
|
1464 |
-
// Support: IE>8
|
1465 |
-
// If iframe document is assigned to "document" variable and if iframe has been reloaded,
|
1466 |
-
// IE will throw "permission denied" error when accessing "document" variable, see jQuery #13936
|
1467 |
-
// IE6-8 do not support the defaultView property so parent will be undefined
|
1468 |
-
if ( parent && parent.attachEvent && parent !== parent.top ) {
|
1469 |
-
parent.attachEvent( "onbeforeunload", function() {
|
1470 |
-
setDocument();
|
1471 |
-
});
|
1472 |
-
}
|
1473 |
-
|
1474 |
-
/* Attributes
|
1475 |
-
---------------------------------------------------------------------- */
|
1476 |
-
|
1477 |
-
// Support: IE<8
|
1478 |
-
// Verify that getAttribute really returns attributes and not properties (excepting IE8 booleans)
|
1479 |
-
support.attributes = assert(function( div ) {
|
1480 |
-
div.className = "i";
|
1481 |
-
return !div.getAttribute("className");
|
1482 |
-
});
|
1483 |
-
|
1484 |
-
/* getElement(s)By*
|
1485 |
-
---------------------------------------------------------------------- */
|
1486 |
-
|
1487 |
-
// Check if getElementsByTagName("*") returns only elements
|
1488 |
-
support.getElementsByTagName = assert(function( div ) {
|
1489 |
-
div.appendChild( doc.createComment("") );
|
1490 |
-
return !div.getElementsByTagName("*").length;
|
1491 |
-
});
|
1492 |
-
|
1493 |
-
// Check if getElementsByClassName can be trusted
|
1494 |
-
support.getElementsByClassName = assert(function( div ) {
|
1495 |
-
div.innerHTML = "<div class='a'></div><div class='a i'></div>";
|
1496 |
-
|
1497 |
-
// Support: Safari<4
|
1498 |
-
// Catch class over-caching
|
1499 |
-
div.firstChild.className = "i";
|
1500 |
-
// Support: Opera<10
|
1501 |
-
// Catch gEBCN failure to find non-leading classes
|
1502 |
-
return div.getElementsByClassName("i").length === 2;
|
1503 |
-
});
|
1504 |
-
|
1505 |
-
// Support: IE<10
|
1506 |
-
// Check if getElementById returns elements by name
|
1507 |
-
// The broken getElementById methods don't pick up programatically-set names,
|
1508 |
-
// so use a roundabout getElementsByName test
|
1509 |
-
support.getById = assert(function( div ) {
|
1510 |
-
docElem.appendChild( div ).id = expando;
|
1511 |
-
return !doc.getElementsByName || !doc.getElementsByName( expando ).length;
|
1512 |
-
});
|
1513 |
-
|
1514 |
-
// ID find and filter
|
1515 |
-
if ( support.getById ) {
|
1516 |
-
Expr.find["ID"] = function( id, context ) {
|
1517 |
-
if ( typeof context.getElementById !== strundefined && documentIsHTML ) {
|
1518 |
-
var m = context.getElementById( id );
|
1519 |
-
// Check parentNode to catch when Blackberry 4.6 returns
|
1520 |
-
// nodes that are no longer in the document #6963
|
1521 |
-
return m && m.parentNode ? [m] : [];
|
1522 |
-
}
|
1523 |
-
};
|
1524 |
-
Expr.filter["ID"] = function( id ) {
|
1525 |
-
var attrId = id.replace( runescape, funescape );
|
1526 |
-
return function( elem ) {
|
1527 |
-
return elem.getAttribute("id") === attrId;
|
1528 |
-
};
|
1529 |
-
};
|
1530 |
-
} else {
|
1531 |
-
// Support: IE6/7
|
1532 |
-
// getElementById is not reliable as a find shortcut
|
1533 |
-
delete Expr.find["ID"];
|
1534 |
-
|
1535 |
-
Expr.filter["ID"] = function( id ) {
|
1536 |
-
var attrId = id.replace( runescape, funescape );
|
1537 |
-
return function( elem ) {
|
1538 |
-
var node = typeof elem.getAttributeNode !== strundefined && elem.getAttributeNode("id");
|
1539 |
-
return node && node.value === attrId;
|
1540 |
-
};
|
1541 |
-
};
|
1542 |
-
}
|
1543 |
-
|
1544 |
-
// Tag
|
1545 |
-
Expr.find["TAG"] = support.getElementsByTagName ?
|
1546 |
-
function( tag, context ) {
|
1547 |
-
if ( typeof context.getElementsByTagName !== strundefined ) {
|
1548 |
-
return context.getElementsByTagName( tag );
|
1549 |
-
}
|
1550 |
-
} :
|
1551 |
-
function( tag, context ) {
|
1552 |
-
var elem,
|
1553 |
-
tmp = [],
|
1554 |
-
i = 0,
|
1555 |
-
results = context.getElementsByTagName( tag );
|
1556 |
-
|
1557 |
-
// Filter out possible comments
|
1558 |
-
if ( tag === "*" ) {
|
1559 |
-
while ( (elem = results[i++]) ) {
|
1560 |
-
if ( elem.nodeType === 1 ) {
|
1561 |
-
tmp.push( elem );
|
1562 |
-
}
|
1563 |
-
}
|
1564 |
-
|
1565 |
-
return tmp;
|
1566 |
-
}
|
1567 |
-
return results;
|
1568 |
-
};
|
1569 |
-
|
1570 |
-
// Class
|
1571 |
-
Expr.find["CLASS"] = support.getElementsByClassName && function( className, context ) {
|
1572 |
-
if ( typeof context.getElementsByClassName !== strundefined && documentIsHTML ) {
|
1573 |
-
return context.getElementsByClassName( className );
|
1574 |
-
}
|
1575 |
-
};
|
1576 |
-
|
1577 |
-
/* QSA/matchesSelector
|
1578 |
-
---------------------------------------------------------------------- */
|
1579 |
-
|
1580 |
-
// QSA and matchesSelector support
|
1581 |
-
|
1582 |
-
// matchesSelector(:active) reports false when true (IE9/Opera 11.5)
|
1583 |
-
rbuggyMatches = [];
|
1584 |
-
|
1585 |
-
// qSa(:focus) reports false when true (Chrome 21)
|
1586 |
-
// We allow this because of a bug in IE8/9 that throws an error
|
1587 |
-
// whenever `document.activeElement` is accessed on an iframe
|
1588 |
-
// So, we allow :focus to pass through QSA all the time to avoid the IE error
|
1589 |
-
// See http://bugs.jquery.com/ticket/13378
|
1590 |
-
rbuggyQSA = [];
|
1591 |
-
|
1592 |
-
if ( (support.qsa = rnative.test( doc.querySelectorAll )) ) {
|
1593 |
-
// Build QSA regex
|
1594 |
-
// Regex strategy adopted from Diego Perini
|
1595 |
-
assert(function( div ) {
|
1596 |
-
// Select is set to empty string on purpose
|
1597 |
-
// This is to test IE's treatment of not explicitly
|
1598 |
-
// setting a boolean content attribute,
|
1599 |
-
// since its presence should be enough
|
1600 |
-
// http://bugs.jquery.com/ticket/12359
|
1601 |
-
div.innerHTML = "<select><option selected=''></option></select>";
|
1602 |
-
|
1603 |
-
// Support: IE8
|
1604 |
-
// Boolean attributes and "value" are not treated correctly
|
1605 |
-
if ( !div.querySelectorAll("[selected]").length ) {
|
1606 |
-
rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" );
|
1607 |
-
}
|
1608 |
-
|
1609 |
-
// Webkit/Opera - :checked should return selected option elements
|
1610 |
-
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
1611 |
-
// IE8 throws error here and will not see later tests
|
1612 |
-
if ( !div.querySelectorAll(":checked").length ) {
|
1613 |
-
rbuggyQSA.push(":checked");
|
1614 |
-
}
|
1615 |
-
});
|
1616 |
-
|
1617 |
-
assert(function( div ) {
|
1618 |
-
|
1619 |
-
// Support: Opera 10-12/IE8
|
1620 |
-
// ^= $= *= and empty values
|
1621 |
-
// Should not select anything
|
1622 |
-
// Support: Windows 8 Native Apps
|
1623 |
-
// The type attribute is restricted during .innerHTML assignment
|
1624 |
-
var input = doc.createElement("input");
|
1625 |
-
input.setAttribute( "type", "hidden" );
|
1626 |
-
div.appendChild( input ).setAttribute( "t", "" );
|
1627 |
-
|
1628 |
-
if ( div.querySelectorAll("[t^='']").length ) {
|
1629 |
-
rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" );
|
1630 |
-
}
|
1631 |
-
|
1632 |
-
// FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled)
|
1633 |
-
// IE8 throws error here and will not see later tests
|
1634 |
-
if ( !div.querySelectorAll(":enabled").length ) {
|
1635 |
-
rbuggyQSA.push( ":enabled", ":disabled" );
|
1636 |
-
}
|
1637 |
-
|
1638 |
-
// Opera 10-11 does not throw on post-comma invalid pseudos
|
1639 |
-
div.querySelectorAll("*,:x");
|
1640 |
-
rbuggyQSA.push(",.*:");
|
1641 |
-
});
|
1642 |
-
}
|
1643 |
-
|
1644 |
-
if ( (support.matchesSelector = rnative.test( (matches = docElem.webkitMatchesSelector ||
|
1645 |
-
docElem.mozMatchesSelector ||
|
1646 |
-
docElem.oMatchesSelector ||
|
1647 |
-
docElem.msMatchesSelector) )) ) {
|
1648 |
-
|
1649 |
-
assert(function( div ) {
|
1650 |
-
// Check to see if it's possible to do matchesSelector
|
1651 |
-
// on a disconnected node (IE 9)
|
1652 |
-
support.disconnectedMatch = matches.call( div, "div" );
|
1653 |
-
|
1654 |
-
// This should fail with an exception
|
1655 |
-
// Gecko does not error, returns false instead
|
1656 |
-
matches.call( div, "[s!='']:x" );
|
1657 |
-
rbuggyMatches.push( "!=", pseudos );
|
1658 |
-
});
|
1659 |
-
}
|
1660 |
-
|
1661 |
-
rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join("|") );
|
1662 |
-
rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join("|") );
|
1663 |
-
|
1664 |
-
/* Contains
|
1665 |
-
---------------------------------------------------------------------- */
|
1666 |
-
|
1667 |
-
// Element contains another
|
1668 |
-
// Purposefully does not implement inclusive descendent
|
1669 |
-
// As in, an element does not contain itself
|
1670 |
-
contains = rnative.test( docElem.contains ) || docElem.compareDocumentPosition ?
|
1671 |
-
function( a, b ) {
|
1672 |
-
var adown = a.nodeType === 9 ? a.documentElement : a,
|
1673 |
-
bup = b && b.parentNode;
|
1674 |
-
return a === bup || !!( bup && bup.nodeType === 1 && (
|
1675 |
-
adown.contains ?
|
1676 |
-
adown.contains( bup ) :
|
1677 |
-
a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16
|
1678 |
-
));
|
1679 |
-
} :
|
1680 |
-
function( a, b ) {
|
1681 |
-
if ( b ) {
|
1682 |
-
while ( (b = b.parentNode) ) {
|
1683 |
-
if ( b === a ) {
|
1684 |
-
return true;
|
1685 |
-
}
|
1686 |
-
}
|
1687 |
-
}
|
1688 |
-
return false;
|
1689 |
-
};
|
1690 |
-
|
1691 |
-
/* Sorting
|
1692 |
-
---------------------------------------------------------------------- */
|
1693 |
-
|
1694 |
-
// Document order sorting
|
1695 |
-
sortOrder = docElem.compareDocumentPosition ?
|
1696 |
-
function( a, b ) {
|
1697 |
-
|
1698 |
-
// Flag for duplicate removal
|
1699 |
-
if ( a === b ) {
|
1700 |
-
hasDuplicate = true;
|
1701 |
-
return 0;
|
1702 |
-
}
|
1703 |
-
|
1704 |
-
var compare = b.compareDocumentPosition && a.compareDocumentPosition && a.compareDocumentPosition( b );
|
1705 |
-
|
1706 |
-
if ( compare ) {
|
1707 |
-
// Disconnected nodes
|
1708 |
-
if ( compare & 1 ||
|
1709 |
-
(!support.sortDetached && b.compareDocumentPosition( a ) === compare) ) {
|
1710 |
-
|
1711 |
-
// Choose the first element that is related to our preferred document
|
1712 |
-
if ( a === doc || contains(preferredDoc, a) ) {
|
1713 |
-
return -1;
|
1714 |
-
}
|
1715 |
-
if ( b === doc || contains(preferredDoc, b) ) {
|
1716 |
-
return 1;
|
1717 |
-
}
|
1718 |
-
|
1719 |
-
// Maintain original order
|
1720 |
-
return sortInput ?
|
1721 |
-
( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
|
1722 |
-
0;
|
1723 |
-
}
|
1724 |
-
|
1725 |
-
return compare & 4 ? -1 : 1;
|
1726 |
-
}
|
1727 |
-
|
1728 |
-
// Not directly comparable, sort on existence of method
|
1729 |
-
return a.compareDocumentPosition ? -1 : 1;
|
1730 |
-
} :
|
1731 |
-
function( a, b ) {
|
1732 |
-
var cur,
|
1733 |
-
i = 0,
|
1734 |
-
aup = a.parentNode,
|
1735 |
-
bup = b.parentNode,
|
1736 |
-
ap = [ a ],
|
1737 |
-
bp = [ b ];
|
1738 |
-
|
1739 |
-
// Exit early if the nodes are identical
|
1740 |
-
if ( a === b ) {
|
1741 |
-
hasDuplicate = true;
|
1742 |
-
return 0;
|
1743 |
-
|
1744 |
-
// Parentless nodes are either documents or disconnected
|
1745 |
-
} else if ( !aup || !bup ) {
|
1746 |
-
return a === doc ? -1 :
|
1747 |
-
b === doc ? 1 :
|
1748 |
-
aup ? -1 :
|
1749 |
-
bup ? 1 :
|
1750 |
-
sortInput ?
|
1751 |
-
( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :
|
1752 |
-
0;
|
1753 |
-
|
1754 |
-
// If the nodes are siblings, we can do a quick check
|
1755 |
-
} else if ( aup === bup ) {
|
1756 |
-
return siblingCheck( a, b );
|
1757 |
-
}
|
1758 |
-
|
1759 |
-
// Otherwise we need full lists of their ancestors for comparison
|
1760 |
-
cur = a;
|
1761 |
-
while ( (cur = cur.parentNode) ) {
|
1762 |
-
ap.unshift( cur );
|
1763 |
-
}
|
1764 |
-
cur = b;
|
1765 |
-
while ( (cur = cur.parentNode) ) {
|
1766 |
-
bp.unshift( cur );
|
1767 |
-
}
|
1768 |
-
|
1769 |
-
// Walk down the tree looking for a discrepancy
|
1770 |
-
while ( ap[i] === bp[i] ) {
|
1771 |
-
i++;
|
1772 |
-
}
|
1773 |
-
|
1774 |
-
return i ?
|
1775 |
-
// Do a sibling check if the nodes have a common ancestor
|
1776 |
-
siblingCheck( ap[i], bp[i] ) :
|
1777 |
-
|
1778 |
-
// Otherwise nodes in our document sort first
|
1779 |
-
ap[i] === preferredDoc ? -1 :
|
1780 |
-
bp[i] === preferredDoc ? 1 :
|
1781 |
-
0;
|
1782 |
-
};
|
1783 |
-
|
1784 |
-
return doc;
|
1785 |
-
};
|
1786 |
-
|
1787 |
-
Sizzle.matches = function( expr, elements ) {
|
1788 |
-
return Sizzle( expr, null, null, elements );
|
1789 |
-
};
|
1790 |
-
|
1791 |
-
Sizzle.matchesSelector = function( elem, expr ) {
|
1792 |
-
// Set document vars if needed
|
1793 |
-
if ( ( elem.ownerDocument || elem ) !== document ) {
|
1794 |
-
setDocument( elem );
|
1795 |
-
}
|
1796 |
-
|
1797 |
-
// Make sure that attribute selectors are quoted
|
1798 |
-
expr = expr.replace( rattributeQuotes, "='$1']" );
|
1799 |
-
|
1800 |
-
if ( support.matchesSelector && documentIsHTML &&
|
1801 |
-
( !rbuggyMatches || !rbuggyMatches.test( expr ) ) &&
|
1802 |
-
( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {
|
1803 |
-
|
1804 |
-
try {
|
1805 |
-
var ret = matches.call( elem, expr );
|
1806 |
-
|
1807 |
-
// IE 9's matchesSelector returns false on disconnected nodes
|
1808 |
-
if ( ret || support.disconnectedMatch ||
|
1809 |
-
// As well, disconnected nodes are said to be in a document
|
1810 |
-
// fragment in IE 9
|
1811 |
-
elem.document && elem.document.nodeType !== 11 ) {
|
1812 |
-
return ret;
|
1813 |
-
}
|
1814 |
-
} catch(e) {}
|
1815 |
-
}
|
1816 |
-
|
1817 |
-
return Sizzle( expr, document, null, [elem] ).length > 0;
|
1818 |
-
};
|
1819 |
-
|
1820 |
-
Sizzle.contains = function( context, elem ) {
|
1821 |
-
// Set document vars if needed
|
1822 |
-
if ( ( context.ownerDocument || context ) !== document ) {
|
1823 |
-
setDocument( context );
|
1824 |
-
}
|
1825 |
-
return contains( context, elem );
|
1826 |
-
};
|
1827 |
-
|
1828 |
-
Sizzle.attr = function( elem, name ) {
|
1829 |
-
// Set document vars if needed
|
1830 |
-
if ( ( elem.ownerDocument || elem ) !== document ) {
|
1831 |
-
setDocument( elem );
|
1832 |
-
}
|
1833 |
-
|
1834 |
-
var fn = Expr.attrHandle[ name.toLowerCase() ],
|
1835 |
-
// Don't get fooled by Object.prototype properties (jQuery #13807)
|
1836 |
-
val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?
|
1837 |
-
fn( elem, name, !documentIsHTML ) :
|
1838 |
-
undefined;
|
1839 |
-
|
1840 |
-
return val === undefined ?
|
1841 |
-
support.attributes || !documentIsHTML ?
|
1842 |
-
elem.getAttribute( name ) :
|
1843 |
-
(val = elem.getAttributeNode(name)) && val.specified ?
|
1844 |
-
val.value :
|
1845 |
-
null :
|
1846 |
-
val;
|
1847 |
-
};
|
1848 |
-
|
1849 |
-
Sizzle.error = function( msg ) {
|
1850 |
-
throw new Error( "Syntax error, unrecognized expression: " + msg );
|
1851 |
-
};
|
1852 |
-
|
1853 |
-
/**
|
1854 |
-
* Document sorting and removing duplicates
|
1855 |
-
* @param {ArrayLike} results
|
1856 |
-
*/
|
1857 |
-
Sizzle.uniqueSort = function( results ) {
|
1858 |
-
var elem,
|
1859 |
-
duplicates = [],
|
1860 |
-
j = 0,
|
1861 |
-
i = 0;
|
1862 |
-
|
1863 |
-
// Unless we *know* we can detect duplicates, assume their presence
|
1864 |
-
hasDuplicate = !support.detectDuplicates;
|
1865 |
-
sortInput = !support.sortStable && results.slice( 0 );
|
1866 |
-
results.sort( sortOrder );
|
1867 |
-
|
1868 |
-
if ( hasDuplicate ) {
|
1869 |
-
while ( (elem = results[i++]) ) {
|
1870 |
-
if ( elem === results[ i ] ) {
|
1871 |
-
j = duplicates.push( i );
|
1872 |
-
}
|
1873 |
-
}
|
1874 |
-
while ( j-- ) {
|
1875 |
-
results.splice( duplicates[ j ], 1 );
|
1876 |
-
}
|
1877 |
-
}
|
1878 |
-
|
1879 |
-
return results;
|
1880 |
-
};
|
1881 |
-
|
1882 |
-
/**
|
1883 |
-
* Utility function for retrieving the text value of an array of DOM nodes
|
1884 |
-
* @param {Array|Element} elem
|
1885 |
-
*/
|
1886 |
-
getText = Sizzle.getText = function( elem ) {
|
1887 |
-
var node,
|
1888 |
-
ret = "",
|
1889 |
-
i = 0,
|
1890 |
-
nodeType = elem.nodeType;
|
1891 |
-
|
1892 |
-
if ( !nodeType ) {
|
1893 |
-
// If no nodeType, this is expected to be an array
|
1894 |
-
for ( ; (node = elem[i]); i++ ) {
|
1895 |
-
// Do not traverse comment nodes
|
1896 |
-
ret += getText( node );
|
1897 |
-
}
|
1898 |
-
} else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) {
|
1899 |
-
// Use textContent for elements
|
1900 |
-
// innerText usage removed for consistency of new lines (see #11153)
|
1901 |
-
if ( typeof elem.textContent === "string" ) {
|
1902 |
-
return elem.textContent;
|
1903 |
-
} else {
|
1904 |
-
// Traverse its children
|
1905 |
-
for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
|
1906 |
-
ret += getText( elem );
|
1907 |
-
}
|
1908 |
-
}
|
1909 |
-
} else if ( nodeType === 3 || nodeType === 4 ) {
|
1910 |
-
return elem.nodeValue;
|
1911 |
-
}
|
1912 |
-
// Do not include comment or processing instruction nodes
|
1913 |
-
|
1914 |
-
return ret;
|
1915 |
-
};
|
1916 |
-
|
1917 |
-
Expr = Sizzle.selectors = {
|
1918 |
-
|
1919 |
-
// Can be adjusted by the user
|
1920 |
-
cacheLength: 50,
|
1921 |
-
|
1922 |
-
createPseudo: markFunction,
|
1923 |
-
|
1924 |
-
match: matchExpr,
|
1925 |
-
|
1926 |
-
attrHandle: {},
|
1927 |
-
|
1928 |
-
find: {},
|
1929 |
-
|
1930 |
-
relative: {
|
1931 |
-
">": { dir: "parentNode", first: true },
|
1932 |
-
" ": { dir: "parentNode" },
|
1933 |
-
"+": { dir: "previousSibling", first: true },
|
1934 |
-
"~": { dir: "previousSibling" }
|
1935 |
-
},
|
1936 |
-
|
1937 |
-
preFilter: {
|
1938 |
-
"ATTR": function( match ) {
|
1939 |
-
match[1] = match[1].replace( runescape, funescape );
|
1940 |
-
|
1941 |
-
// Move the given value to match[3] whether quoted or unquoted
|
1942 |
-
match[3] = ( match[4] || match[5] || "" ).replace( runescape, funescape );
|
1943 |
-
|
1944 |
-
if ( match[2] === "~=" ) {
|
1945 |
-
match[3] = " " + match[3] + " ";
|
1946 |
-
}
|
1947 |
-
|
1948 |
-
return match.slice( 0, 4 );
|
1949 |
-
},
|
1950 |
-
|
1951 |
-
"CHILD": function( match ) {
|
1952 |
-
/* matches from matchExpr["CHILD"]
|
1953 |
-
1 type (only|nth|...)
|
1954 |
-
2 what (child|of-type)
|
1955 |
-
3 argument (even|odd|\d*|\d*n([+-]\d+)?|...)
|
1956 |
-
4 xn-component of xn+y argument ([+-]?\d*n|)
|
1957 |
-
5 sign of xn-component
|
1958 |
-
6 x of xn-component
|
1959 |
-
7 sign of y-component
|
1960 |
-
8 y of y-component
|
1961 |
-
*/
|
1962 |
-
match[1] = match[1].toLowerCase();
|
1963 |
-
|
1964 |
-
if ( match[1].slice( 0, 3 ) === "nth" ) {
|
1965 |
-
// nth-* requires argument
|
1966 |
-
if ( !match[3] ) {
|
1967 |
-
Sizzle.error( match[0] );
|
1968 |
-
}
|
1969 |
-
|
1970 |
-
// numeric x and y parameters for Expr.filter.CHILD
|
1971 |
-
// remember that false/true cast respectively to 0/1
|
1972 |
-
match[4] = +( match[4] ? match[5] + (match[6] || 1) : 2 * ( match[3] === "even" || match[3] === "odd" ) );
|
1973 |
-
match[5] = +( ( match[7] + match[8] ) || match[3] === "odd" );
|
1974 |
-
|
1975 |
-
// other types prohibit arguments
|
1976 |
-
} else if ( match[3] ) {
|
1977 |
-
Sizzle.error( match[0] );
|
1978 |
-
}
|
1979 |
-
|
1980 |
-
return match;
|
1981 |
-
},
|
1982 |
-
|
1983 |
-
"PSEUDO": function( match ) {
|
1984 |
-
var excess,
|
1985 |
-
unquoted = !match[5] && match[2];
|
1986 |
-
|
1987 |
-
if ( matchExpr["CHILD"].test( match[0] ) ) {
|
1988 |
-
return null;
|
1989 |
-
}
|
1990 |
-
|
1991 |
-
// Accept quoted arguments as-is
|
1992 |
-
if ( match[3] && match[4] !== undefined ) {
|
1993 |
-
match[2] = match[4];
|
1994 |
-
|
1995 |
-
// Strip excess characters from unquoted arguments
|
1996 |
-
} else if ( unquoted && rpseudo.test( unquoted ) &&
|
1997 |
-
// Get excess from tokenize (recursively)
|
1998 |
-
(excess = tokenize( unquoted, true )) &&
|
1999 |
-
// advance to the next closing parenthesis
|
2000 |
-
(excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length) ) {
|
2001 |
-
|
2002 |
-
// excess is a negative index
|
2003 |
-
match[0] = match[0].slice( 0, excess );
|
2004 |
-
match[2] = unquoted.slice( 0, excess );
|
2005 |
-
}
|
2006 |
-
|
2007 |
-
// Return only captures needed by the pseudo filter method (type and argument)
|
2008 |
-
return match.slice( 0, 3 );
|
2009 |
-
}
|
2010 |
-
},
|
2011 |
-
|
2012 |
-
filter: {
|
2013 |
-
|
2014 |
-
"TAG": function( nodeNameSelector ) {
|
2015 |
-
var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();
|
2016 |
-
return nodeNameSelector === "*" ?
|
2017 |
-
function() { return true; } :
|
2018 |
-
function( elem ) {
|
2019 |
-
return elem.nodeName && elem.nodeName.toLowerCase() === nodeName;
|
2020 |
-
};
|
2021 |
-
},
|
2022 |
-
|
2023 |
-
"CLASS": function( className ) {
|
2024 |
-
var pattern = classCache[ className + " " ];
|
2025 |
-
|
2026 |
-
return pattern ||
|
2027 |
-
(pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" )) &&
|
2028 |
-
classCache( className, function( elem ) {
|
2029 |
-
return pattern.test( typeof elem.className === "string" && elem.className || typeof elem.getAttribute !== strundefined && elem.getAttribute("class") || "" );
|
2030 |
-
});
|
2031 |
-
},
|
2032 |
-
|
2033 |
-
"ATTR": function( name, operator, check ) {
|
2034 |
-
return function( elem ) {
|
2035 |
-
var result = Sizzle.attr( elem, name );
|
2036 |
-
|
2037 |
-
if ( result == null ) {
|
2038 |
-
return operator === "!=";
|
2039 |
-
}
|
2040 |
-
if ( !operator ) {
|
2041 |
-
return true;
|
2042 |
-
}
|
2043 |
-
|
2044 |
-
result += "";
|
2045 |
-
|
2046 |
-
return operator === "=" ? result === check :
|
2047 |
-
operator === "!=" ? result !== check :
|
2048 |
-
operator === "^=" ? check && result.indexOf( check ) === 0 :
|
2049 |
-
operator === "*=" ? check && result.indexOf( check ) > -1 :
|
2050 |
-
operator === "$=" ? check && result.slice( -check.length ) === check :
|
2051 |
-
operator === "~=" ? ( " " + result + " " ).indexOf( check ) > -1 :
|
2052 |
-
operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" :
|
2053 |
-
false;
|
2054 |
-
};
|
2055 |
-
},
|
2056 |
-
|
2057 |
-
"CHILD": function( type, what, argument, first, last ) {
|
2058 |
-
var simple = type.slice( 0, 3 ) !== "nth",
|
2059 |
-
forward = type.slice( -4 ) !== "last",
|
2060 |
-
ofType = what === "of-type";
|
2061 |
-
|
2062 |
-
return first === 1 && last === 0 ?
|
2063 |
-
|
2064 |
-
// Shortcut for :nth-*(n)
|
2065 |
-
function( elem ) {
|
2066 |
-
return !!elem.parentNode;
|
2067 |
-
} :
|
2068 |
-
|
2069 |
-
function( elem, context, xml ) {
|
2070 |
-
var cache, outerCache, node, diff, nodeIndex, start,
|
2071 |
-
dir = simple !== forward ? "nextSibling" : "previousSibling",
|
2072 |
-
parent = elem.parentNode,
|
2073 |
-
name = ofType && elem.nodeName.toLowerCase(),
|
2074 |
-
useCache = !xml && !ofType;
|
2075 |
-
|
2076 |
-
if ( parent ) {
|
2077 |
-
|
2078 |
-
// :(first|last|only)-(child|of-type)
|
2079 |
-
if ( simple ) {
|
2080 |
-
while ( dir ) {
|
2081 |
-
node = elem;
|
2082 |
-
while ( (node = node[ dir ]) ) {
|
2083 |
-
if ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) {
|
2084 |
-
return false;
|
2085 |
-
}
|
2086 |
-
}
|
2087 |
-
// Reverse direction for :only-* (if we haven't yet done so)
|
2088 |
-
start = dir = type === "only" && !start && "nextSibling";
|
2089 |
-
}
|
2090 |
-
return true;
|
2091 |
-
}
|
2092 |
-
|
2093 |
-
start = [ forward ? parent.firstChild : parent.lastChild ];
|
2094 |
-
|
2095 |
-
// non-xml :nth-child(...) stores cache data on `parent`
|
2096 |
-
if ( forward && useCache ) {
|
2097 |
-
// Seek `elem` from a previously-cached index
|
2098 |
-
outerCache = parent[ expando ] || (parent[ expando ] = {});
|
2099 |
-
cache = outerCache[ type ] || [];
|
2100 |
-
nodeIndex = cache[0] === dirruns && cache[1];
|
2101 |
-
diff = cache[0] === dirruns && cache[2];
|
2102 |
-
node = nodeIndex && parent.childNodes[ nodeIndex ];
|
2103 |
-
|
2104 |
-
while ( (node = ++nodeIndex && node && node[ dir ] ||
|
2105 |
-
|
2106 |
-
// Fallback to seeking `elem` from the start
|
2107 |
-
(diff = nodeIndex = 0) || start.pop()) ) {
|
2108 |
-
|
2109 |
-
// When found, cache indexes on `parent` and break
|
2110 |
-
if ( node.nodeType === 1 && ++diff && node === elem ) {
|
2111 |
-
outerCache[ type ] = [ dirruns, nodeIndex, diff ];
|
2112 |
-
break;
|
2113 |
-
}
|
2114 |
-
}
|
2115 |
-
|
2116 |
-
// Use previously-cached element index if available
|
2117 |
-
} else if ( useCache && (cache = (elem[ expando ] || (elem[ expando ] = {}))[ type ]) && cache[0] === dirruns ) {
|
2118 |
-
diff = cache[1];
|
2119 |
-
|
2120 |
-
// xml :nth-child(...) or :nth-last-child(...) or :nth(-last)?-of-type(...)
|
2121 |
-
} else {
|
2122 |
-
// Use the same loop as above to seek `elem` from the start
|
2123 |
-
while ( (node = ++nodeIndex && node && node[ dir ] ||
|
2124 |
-
(diff = nodeIndex = 0) || start.pop()) ) {
|
2125 |
-
|
2126 |
-
if ( ( ofType ? node.nodeName.toLowerCase() === name : node.nodeType === 1 ) && ++diff ) {
|
2127 |
-
// Cache the index of each encountered element
|
2128 |
-
if ( useCache ) {
|
2129 |
-
(node[ expando ] || (node[ expando ] = {}))[ type ] = [ dirruns, diff ];
|
2130 |
-
}
|
2131 |
-
|
2132 |
-
if ( node === elem ) {
|
2133 |
-
break;
|
2134 |
-
}
|
2135 |
-
}
|
2136 |
-
}
|
2137 |
-
}
|
2138 |
-
|
2139 |
-
// Incorporate the offset, then check against cycle size
|
2140 |
-
diff -= last;
|
2141 |
-
return diff === first || ( diff % first === 0 && diff / first >= 0 );
|
2142 |
-
}
|
2143 |
-
};
|
2144 |
-
},
|
2145 |
-
|
2146 |
-
"PSEUDO": function( pseudo, argument ) {
|
2147 |
-
// pseudo-class names are case-insensitive
|
2148 |
-
// http://www.w3.org/TR/selectors/#pseudo-classes
|
2149 |
-
// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters
|
2150 |
-
// Remember that setFilters inherits from pseudos
|
2151 |
-
var args,
|
2152 |
-
fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||
|
2153 |
-
Sizzle.error( "unsupported pseudo: " + pseudo );
|
2154 |
-
|
2155 |
-
// The user may use createPseudo to indicate that
|
2156 |
-
// arguments are needed to create the filter function
|
2157 |
-
// just as Sizzle does
|
2158 |
-
if ( fn[ expando ] ) {
|
2159 |
-
return fn( argument );
|
2160 |
-
}
|
2161 |
-
|
2162 |
-
// But maintain support for old signatures
|
2163 |
-
if ( fn.length > 1 ) {
|
2164 |
-
args = [ pseudo, pseudo, "", argument ];
|
2165 |
-
return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?
|
2166 |
-
markFunction(function( seed, matches ) {
|
2167 |
-
var idx,
|
2168 |
-
matched = fn( seed, argument ),
|
2169 |
-
i = matched.length;
|
2170 |
-
while ( i-- ) {
|
2171 |
-
idx = indexOf.call( seed, matched[i] );
|
2172 |
-
seed[ idx ] = !( matches[ idx ] = matched[i] );
|
2173 |
-
}
|
2174 |
-
}) :
|
2175 |
-
function( elem ) {
|
2176 |
-
return fn( elem, 0, args );
|
2177 |
-
};
|
2178 |
-
}
|
2179 |
-
|
2180 |
-
return fn;
|
2181 |
-
}
|
2182 |
-
},
|
2183 |
-
|
2184 |
-
pseudos: {
|
2185 |
-
// Potentially complex pseudos
|
2186 |
-
"not": markFunction(function( selector ) {
|
2187 |
-
// Trim the selector passed to compile
|
2188 |
-
// to avoid treating leading and trailing
|
2189 |
-
// spaces as combinators
|
2190 |
-
var input = [],
|
2191 |
-
results = [],
|
2192 |
-
matcher = compile( selector.replace( rtrim, "$1" ) );
|
2193 |
-
|
2194 |
-
return matcher[ expando ] ?
|
2195 |
-
markFunction(function( seed, matches, context, xml ) {
|
2196 |
-
var elem,
|
2197 |
-
unmatched = matcher( seed, null, xml, [] ),
|
2198 |
-
i = seed.length;
|
2199 |
-
|
2200 |
-
// Match elements unmatched by `matcher`
|
2201 |
-
while ( i-- ) {
|
2202 |
-
if ( (elem = unmatched[i]) ) {
|
2203 |
-
seed[i] = !(matches[i] = elem);
|
2204 |
-
}
|
2205 |
-
}
|
2206 |
-
}) :
|
2207 |
-
function( elem, context, xml ) {
|
2208 |
-
input[0] = elem;
|
2209 |
-
matcher( input, null, xml, results );
|
2210 |
-
return !results.pop();
|
2211 |
-
};
|
2212 |
-
}),
|
2213 |
-
|
2214 |
-
"has": markFunction(function( selector ) {
|
2215 |
-
return function( elem ) {
|
2216 |
-
return Sizzle( selector, elem ).length > 0;
|
2217 |
-
};
|
2218 |
-
}),
|
2219 |
-
|
2220 |
-
"contains": markFunction(function( text ) {
|
2221 |
-
return function( elem ) {
|
2222 |
-
return ( elem.textContent || elem.innerText || getText( elem ) ).indexOf( text ) > -1;
|
2223 |
-
};
|
2224 |
-
}),
|
2225 |
-
|
2226 |
-
// "Whether an element is represented by a :lang() selector
|
2227 |
-
// is based solely on the element's language value
|
2228 |
-
// being equal to the identifier C,
|
2229 |
-
// or beginning with the identifier C immediately followed by "-".
|
2230 |
-
// The matching of C against the element's language value is performed case-insensitively.
|
2231 |
-
// The identifier C does not have to be a valid language name."
|
2232 |
-
// http://www.w3.org/TR/selectors/#lang-pseudo
|
2233 |
-
"lang": markFunction( function( lang ) {
|
2234 |
-
// lang value must be a valid identifier
|
2235 |
-
if ( !ridentifier.test(lang || "") ) {
|
2236 |
-
Sizzle.error( "unsupported lang: " + lang );
|
2237 |
-
}
|
2238 |
-
lang = lang.replace( runescape, funescape ).toLowerCase();
|
2239 |
-
return function( elem ) {
|
2240 |
-
var elemLang;
|
2241 |
-
do {
|
2242 |
-
if ( (elemLang = documentIsHTML ?
|
2243 |
-
elem.lang :
|
2244 |
-
elem.getAttribute("xml:lang") || elem.getAttribute("lang")) ) {
|
2245 |
-
|
2246 |
-
elemLang = elemLang.toLowerCase();
|
2247 |
-
return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0;
|
2248 |
-
}
|
2249 |
-
} while ( (elem = elem.parentNode) && elem.nodeType === 1 );
|
2250 |
-
return false;
|
2251 |
-
};
|
2252 |
-
}),
|
2253 |
-
|
2254 |
-
// Miscellaneous
|
2255 |
-
"target": function( elem ) {
|
2256 |
-
var hash = window.location && window.location.hash;
|
2257 |
-
return hash && hash.slice( 1 ) === elem.id;
|
2258 |
-
},
|
2259 |
-
|
2260 |
-
"root": function( elem ) {
|
2261 |
-
return elem === docElem;
|
2262 |
-
},
|
2263 |
-
|
2264 |
-
"focus": function( elem ) {
|
2265 |
-
return elem === document.activeElement && (!document.hasFocus || document.hasFocus()) && !!(elem.type || elem.href || ~elem.tabIndex);
|
2266 |
-
},
|
2267 |
-
|
2268 |
-
// Boolean properties
|
2269 |
-
"enabled": function( elem ) {
|
2270 |
-
return elem.disabled === false;
|
2271 |
-
},
|
2272 |
-
|
2273 |
-
"disabled": function( elem ) {
|
2274 |
-
return elem.disabled === true;
|
2275 |
-
},
|
2276 |
-
|
2277 |
-
"checked": function( elem ) {
|
2278 |
-
// In CSS3, :checked should return both checked and selected elements
|
2279 |
-
// http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked
|
2280 |
-
var nodeName = elem.nodeName.toLowerCase();
|
2281 |
-
return (nodeName === "input" && !!elem.checked) || (nodeName === "option" && !!elem.selected);
|
2282 |
-
},
|
2283 |
-
|
2284 |
-
"selected": function( elem ) {
|
2285 |
-
// Accessing this property makes selected-by-default
|
2286 |
-
// options in Safari work properly
|
2287 |
-
if ( elem.parentNode ) {
|
2288 |
-
elem.parentNode.selectedIndex;
|
2289 |
-
}
|
2290 |
-
|
2291 |
-
return elem.selected === true;
|
2292 |
-
},
|
2293 |
-
|
2294 |
-
// Contents
|
2295 |
-
"empty": function( elem ) {
|
2296 |
-
// http://www.w3.org/TR/selectors/#empty-pseudo
|
2297 |
-
// :empty is only affected by element nodes and content nodes(including text(3), cdata(4)),
|
2298 |
-
// not comment, processing instructions, or others
|
2299 |
-
// Thanks to Diego Perini for the nodeName shortcut
|
2300 |
-
// Greater than "@" means alpha characters (specifically not starting with "#" or "?")
|
2301 |
-
for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {
|
2302 |
-
if ( elem.nodeName > "@" || elem.nodeType === 3 || elem.nodeType === 4 ) {
|
2303 |
-
return false;
|
2304 |
-
}
|
2305 |
-
}
|
2306 |
-
return true;
|
2307 |
-
},
|
2308 |
-
|
2309 |
-
"parent": function( elem ) {
|
2310 |
-
return !Expr.pseudos["empty"]( elem );
|
2311 |
-
},
|
2312 |
-
|
2313 |
-
// Element/input types
|
2314 |
-
"header": function( elem ) {
|
2315 |
-
return rheader.test( elem.nodeName );
|
2316 |
-
},
|
2317 |
-
|
2318 |
-
"input": function( elem ) {
|
2319 |
-
return rinputs.test( elem.nodeName );
|
2320 |
-
},
|
2321 |
-
|
2322 |
-
"button": function( elem ) {
|
2323 |
-
var name = elem.nodeName.toLowerCase();
|
2324 |
-
return name === "input" && elem.type === "button" || name === "button";
|
2325 |
-
},
|
2326 |
-
|
2327 |
-
"text": function( elem ) {
|
2328 |
-
var attr;
|
2329 |
-
// IE6 and 7 will map elem.type to 'text' for new HTML5 types (search, etc)
|
2330 |
-
// use getAttribute instead to test this case
|
2331 |
-
return elem.nodeName.toLowerCase() === "input" &&
|
2332 |
-
elem.type === "text" &&
|
2333 |
-
( (attr = elem.getAttribute("type")) == null || attr.toLowerCase() === elem.type );
|
2334 |
-
},
|
2335 |
-
|
2336 |
-
// Position-in-collection
|
2337 |
-
"first": createPositionalPseudo(function() {
|
2338 |
-
return [ 0 ];
|
2339 |
-
}),
|
2340 |
-
|
2341 |
-
"last": createPositionalPseudo(function( matchIndexes, length ) {
|
2342 |
-
return [ length - 1 ];
|
2343 |
-
}),
|
2344 |
-
|
2345 |
-
"eq": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
2346 |
-
return [ argument < 0 ? argument + length : argument ];
|
2347 |
-
}),
|
2348 |
-
|
2349 |
-
"even": createPositionalPseudo(function( matchIndexes, length ) {
|
2350 |
-
var i = 0;
|
2351 |
-
for ( ; i < length; i += 2 ) {
|
2352 |
-
matchIndexes.push( i );
|
2353 |
-
}
|
2354 |
-
return matchIndexes;
|
2355 |
-
}),
|
2356 |
-
|
2357 |
-
"odd": createPositionalPseudo(function( matchIndexes, length ) {
|
2358 |
-
var i = 1;
|
2359 |
-
for ( ; i < length; i += 2 ) {
|
2360 |
-
matchIndexes.push( i );
|
2361 |
-
}
|
2362 |
-
return matchIndexes;
|
2363 |
-
}),
|
2364 |
-
|
2365 |
-
"lt": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
2366 |
-
var i = argument < 0 ? argument + length : argument;
|
2367 |
-
for ( ; --i >= 0; ) {
|
2368 |
-
matchIndexes.push( i );
|
2369 |
-
}
|
2370 |
-
return matchIndexes;
|
2371 |
-
}),
|
2372 |
-
|
2373 |
-
"gt": createPositionalPseudo(function( matchIndexes, length, argument ) {
|
2374 |
-
var i = argument < 0 ? argument + length : argument;
|
2375 |
-
for ( ; ++i < length; ) {
|
2376 |
-
matchIndexes.push( i );
|
2377 |
-
}
|
2378 |
-
return matchIndexes;
|
2379 |
-
})
|
2380 |
-
}
|
2381 |
-
};
|
2382 |
-
|
2383 |
-
Expr.pseudos["nth"] = Expr.pseudos["eq"];
|
2384 |
-
|
2385 |
-
// Add button/input type pseudos
|
2386 |
-
for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {
|
2387 |
-
Expr.pseudos[ i ] = createInputPseudo( i );
|
2388 |
-
}
|
2389 |
-
for ( i in { submit: true, reset: true } ) {
|
2390 |
-
Expr.pseudos[ i ] = createButtonPseudo( i );
|
2391 |
-
}
|
2392 |
-
|
2393 |
-
// Easy API for creating new setFilters
|
2394 |
-
function setFilters() {}
|
2395 |
-
setFilters.prototype = Expr.filters = Expr.pseudos;
|
2396 |
-
Expr.setFilters = new setFilters();
|
2397 |
-
|
2398 |
-
function tokenize( selector, parseOnly ) {
|
2399 |
-
var matched, match, tokens, type,
|
2400 |
-
soFar, groups, preFilters,
|
2401 |
-
cached = tokenCache[ selector + " " ];
|
2402 |
-
|
2403 |
-
if ( cached ) {
|
2404 |
-
return parseOnly ? 0 : cached.slice( 0 );
|
2405 |
-
}
|
2406 |
-
|
2407 |
-
soFar = selector;
|
2408 |
-
groups = [];
|
2409 |
-
preFilters = Expr.preFilter;
|
2410 |
-
|
2411 |
-
while ( soFar ) {
|
2412 |
-
|
2413 |
-
// Comma and first run
|
2414 |
-
if ( !matched || (match = rcomma.exec( soFar )) ) {
|
2415 |
-
if ( match ) {
|
2416 |
-
// Don't consume trailing commas as valid
|
2417 |
-
soFar = soFar.slice( match[0].length ) || soFar;
|
2418 |
-
}
|
2419 |
-
groups.push( tokens = [] );
|
2420 |
-
}
|
2421 |
-
|
2422 |
-
matched = false;
|
2423 |
-
|
2424 |
-
// Combinators
|
2425 |
-
if ( (match = rcombinators.exec( soFar )) ) {
|
2426 |
-
matched = match.shift();
|
2427 |
-
tokens.push({
|
2428 |
-
value: matched,
|
2429 |
-
// Cast descendant combinators to space
|
2430 |
-
type: match[0].replace( rtrim, " " )
|
2431 |
-
});
|
2432 |
-
soFar = soFar.slice( matched.length );
|
2433 |
-
}
|
2434 |
-
|
2435 |
-
// Filters
|
2436 |
-
for ( type in Expr.filter ) {
|
2437 |
-
if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||
|
2438 |
-
(match = preFilters[ type ]( match ))) ) {
|
2439 |
-
matched = match.shift();
|
2440 |
-
tokens.push({
|
2441 |
-
value: matched,
|
2442 |
-
type: type,
|
2443 |
-
matches: match
|
2444 |
-
});
|
2445 |
-
soFar = soFar.slice( matched.length );
|
2446 |
-
}
|
2447 |
-
}
|
2448 |
-
|
2449 |
-
if ( !matched ) {
|
2450 |
-
break;
|
2451 |
-
}
|
2452 |
-
}
|
2453 |
-
|
2454 |
-
// Return the length of the invalid excess
|
2455 |
-
// if we're just parsing
|
2456 |
-
// Otherwise, throw an error or return tokens
|
2457 |
-
return parseOnly ?
|
2458 |
-
soFar.length :
|
2459 |
-
soFar ?
|
2460 |
-
Sizzle.error( selector ) :
|
2461 |
-
// Cache the tokens
|
2462 |
-
tokenCache( selector, groups ).slice( 0 );
|
2463 |
-
}
|
2464 |
-
|
2465 |
-
function toSelector( tokens ) {
|
2466 |
-
var i = 0,
|
2467 |
-
len = tokens.length,
|
2468 |
-
selector = "";
|
2469 |
-
for ( ; i < len; i++ ) {
|
2470 |
-
selector += tokens[i].value;
|
2471 |
-
}
|
2472 |
-
return selector;
|
2473 |
-
}
|
2474 |
-
|
2475 |
-
function addCombinator( matcher, combinator, base ) {
|
2476 |
-
var dir = combinator.dir,
|
2477 |
-
checkNonElements = base && dir === "parentNode",
|
2478 |
-
doneName = done++;
|
2479 |
-
|
2480 |
-
return combinator.first ?
|
2481 |
-
// Check against closest ancestor/preceding element
|
2482 |
-
function( elem, context, xml ) {
|
2483 |
-
while ( (elem = elem[ dir ]) ) {
|
2484 |
-
if ( elem.nodeType === 1 || checkNonElements ) {
|
2485 |
-
return matcher( elem, context, xml );
|
2486 |
-
}
|
2487 |
-
}
|
2488 |
-
} :
|
2489 |
-
|
2490 |
-
// Check against all ancestor/preceding elements
|
2491 |
-
function( elem, context, xml ) {
|
2492 |
-
var data, cache, outerCache,
|
2493 |
-
dirkey = dirruns + " " + doneName;
|
2494 |
-
|
2495 |
-
// We can't set arbitrary data on XML nodes, so they don't benefit from dir caching
|
2496 |
-
if ( xml ) {
|
2497 |
-
while ( (elem = elem[ dir ]) ) {
|
2498 |
-
if ( elem.nodeType === 1 || checkNonElements ) {
|
2499 |
-
if ( matcher( elem, context, xml ) ) {
|
2500 |
-
return true;
|
2501 |
-
}
|
2502 |
-
}
|
2503 |
-
}
|
2504 |
-
} else {
|
2505 |
-
while ( (elem = elem[ dir ]) ) {
|
2506 |
-
if ( elem.nodeType === 1 || checkNonElements ) {
|
2507 |
-
outerCache = elem[ expando ] || (elem[ expando ] = {});
|
2508 |
-
if ( (cache = outerCache[ dir ]) && cache[0] === dirkey ) {
|
2509 |
-
if ( (data = cache[1]) === true || data === cachedruns ) {
|
2510 |
-
return data === true;
|
2511 |
-
}
|
2512 |
-
} else {
|
2513 |
-
cache = outerCache[ dir ] = [ dirkey ];
|
2514 |
-
cache[1] = matcher( elem, context, xml ) || cachedruns;
|
2515 |
-
if ( cache[1] === true ) {
|
2516 |
-
return true;
|
2517 |
-
}
|
2518 |
-
}
|
2519 |
-
}
|
2520 |
-
}
|
2521 |
-
}
|
2522 |
-
};
|
2523 |
-
}
|
2524 |
-
|
2525 |
-
function elementMatcher( matchers ) {
|
2526 |
-
return matchers.length > 1 ?
|
2527 |
-
function( elem, context, xml ) {
|
2528 |
-
var i = matchers.length;
|
2529 |
-
while ( i-- ) {
|
2530 |
-
if ( !matchers[i]( elem, context, xml ) ) {
|
2531 |
-
return false;
|
2532 |
-
}
|
2533 |
-
}
|
2534 |
-
return true;
|
2535 |
-
} :
|
2536 |
-
matchers[0];
|
2537 |
-
}
|
2538 |
-
|
2539 |
-
function condense( unmatched, map, filter, context, xml ) {
|
2540 |
-
var elem,
|
2541 |
-
newUnmatched = [],
|
2542 |
-
i = 0,
|
2543 |
-
len = unmatched.length,
|
2544 |
-
mapped = map != null;
|
2545 |
-
|
2546 |
-
for ( ; i < len; i++ ) {
|
2547 |
-
if ( (elem = unmatched[i]) ) {
|
2548 |
-
if ( !filter || filter( elem, context, xml ) ) {
|
2549 |
-
newUnmatched.push( elem );
|
2550 |
-
if ( mapped ) {
|
2551 |
-
map.push( i );
|
2552 |
-
}
|
2553 |
-
}
|
2554 |
-
}
|
2555 |
-
}
|
2556 |
-
|
2557 |
-
return newUnmatched;
|
2558 |
-
}
|
2559 |
-
|
2560 |
-
function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {
|
2561 |
-
if ( postFilter && !postFilter[ expando ] ) {
|
2562 |
-
postFilter = setMatcher( postFilter );
|
2563 |
-
}
|
2564 |
-
if ( postFinder && !postFinder[ expando ] ) {
|
2565 |
-
postFinder = setMatcher( postFinder, postSelector );
|
2566 |
-
}
|
2567 |
-
return markFunction(function( seed, results, context, xml ) {
|
2568 |
-
var temp, i, elem,
|
2569 |
-
preMap = [],
|
2570 |
-
postMap = [],
|
2571 |
-
preexisting = results.length,
|
2572 |
-
|
2573 |
-
// Get initial elements from seed or context
|
2574 |
-
elems = seed || multipleContexts( selector || "*", context.nodeType ? [ context ] : context, [] ),
|
2575 |
-
|
2576 |
-
// Prefilter to get matcher input, preserving a map for seed-results synchronization
|
2577 |
-
matcherIn = preFilter && ( seed || !selector ) ?
|
2578 |
-
condense( elems, preMap, preFilter, context, xml ) :
|
2579 |
-
elems,
|
2580 |
-
|
2581 |
-
matcherOut = matcher ?
|
2582 |
-
// If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results,
|
2583 |
-
postFinder || ( seed ? preFilter : preexisting || postFilter ) ?
|
2584 |
-
|
2585 |
-
// ...intermediate processing is necessary
|
2586 |
-
[] :
|
2587 |
-
|
2588 |
-
// ...otherwise use results directly
|
2589 |
-
results :
|
2590 |
-
matcherIn;
|
2591 |
-
|
2592 |
-
// Find primary matches
|
2593 |
-
if ( matcher ) {
|
2594 |
-
matcher( matcherIn, matcherOut, context, xml );
|
2595 |
-
}
|
2596 |
-
|
2597 |
-
// Apply postFilter
|
2598 |
-
if ( postFilter ) {
|
2599 |
-
temp = condense( matcherOut, postMap );
|
2600 |
-
postFilter( temp, [], context, xml );
|
2601 |
-
|
2602 |
-
// Un-match failing elements by moving them back to matcherIn
|
2603 |
-
i = temp.length;
|
2604 |
-
while ( i-- ) {
|
2605 |
-
if ( (elem = temp[i]) ) {
|
2606 |
-
matcherOut[ postMap[i] ] = !(matcherIn[ postMap[i] ] = elem);
|
2607 |
-
}
|
2608 |
-
}
|
2609 |
-
}
|
2610 |
-
|
2611 |
-
if ( seed ) {
|
2612 |
-
if ( postFinder || preFilter ) {
|
2613 |
-
if ( postFinder ) {
|
2614 |
-
// Get the final matcherOut by condensing this intermediate into postFinder contexts
|
2615 |
-
temp = [];
|
2616 |
-
i = matcherOut.length;
|
2617 |
-
while ( i-- ) {
|
2618 |
-
if ( (elem = matcherOut[i]) ) {
|
2619 |
-
// Restore matcherIn since elem is not yet a final match
|
2620 |
-
temp.push( (matcherIn[i] = elem) );
|
2621 |
-
}
|
2622 |
-
}
|
2623 |
-
postFinder( null, (matcherOut = []), temp, xml );
|
2624 |
-
}
|
2625 |
-
|
2626 |
-
// Move matched elements from seed to results to keep them synchronized
|
2627 |
-
i = matcherOut.length;
|
2628 |
-
while ( i-- ) {
|
2629 |
-
if ( (elem = matcherOut[i]) &&
|
2630 |
-
(temp = postFinder ? indexOf.call( seed, elem ) : preMap[i]) > -1 ) {
|
2631 |
-
|
2632 |
-
seed[temp] = !(results[temp] = elem);
|
2633 |
-
}
|
2634 |
-
}
|
2635 |
-
}
|
2636 |
-
|
2637 |
-
// Add elements to results, through postFinder if defined
|
2638 |
-
} else {
|
2639 |
-
matcherOut = condense(
|
2640 |
-
matcherOut === results ?
|
2641 |
-
matcherOut.splice( preexisting, matcherOut.length ) :
|
2642 |
-
matcherOut
|
2643 |
-
);
|
2644 |
-
if ( postFinder ) {
|
2645 |
-
postFinder( null, results, matcherOut, xml );
|
2646 |
-
} else {
|
2647 |
-
push.apply( results, matcherOut );
|
2648 |
-
}
|
2649 |
-
}
|
2650 |
-
});
|
2651 |
-
}
|
2652 |
-
|
2653 |
-
function matcherFromTokens( tokens ) {
|
2654 |
-
var checkContext, matcher, j,
|
2655 |
-
len = tokens.length,
|
2656 |
-
leadingRelative = Expr.relative[ tokens[0].type ],
|
2657 |
-
implicitRelative = leadingRelative || Expr.relative[" "],
|
2658 |
-
i = leadingRelative ? 1 : 0,
|
2659 |
-
|
2660 |
-
// The foundational matcher ensures that elements are reachable from top-level context(s)
|
2661 |
-
matchContext = addCombinator( function( elem ) {
|
2662 |
-
return elem === checkContext;
|
2663 |
-
}, implicitRelative, true ),
|
2664 |
-
matchAnyContext = addCombinator( function( elem ) {
|
2665 |
-
return indexOf.call( checkContext, elem ) > -1;
|
2666 |
-
}, implicitRelative, true ),
|
2667 |
-
matchers = [ function( elem, context, xml ) {
|
2668 |
-
return ( !leadingRelative && ( xml || context !== outermostContext ) ) || (
|
2669 |
-
(checkContext = context).nodeType ?
|
2670 |
-
matchContext( elem, context, xml ) :
|
2671 |
-
matchAnyContext( elem, context, xml ) );
|
2672 |
-
} ];
|
2673 |
-
|
2674 |
-
for ( ; i < len; i++ ) {
|
2675 |
-
if ( (matcher = Expr.relative[ tokens[i].type ]) ) {
|
2676 |
-
matchers = [ addCombinator(elementMatcher( matchers ), matcher) ];
|
2677 |
-
} else {
|
2678 |
-
matcher = Expr.filter[ tokens[i].type ].apply( null, tokens[i].matches );
|
2679 |
-
|
2680 |
-
// Return special upon seeing a positional matcher
|
2681 |
-
if ( matcher[ expando ] ) {
|
2682 |
-
// Find the next relative operator (if any) for proper handling
|
2683 |
-
j = ++i;
|
2684 |
-
for ( ; j < len; j++ ) {
|
2685 |
-
if ( Expr.relative[ tokens[j].type ] ) {
|
2686 |
-
break;
|
2687 |
-
}
|
2688 |
-
}
|
2689 |
-
return setMatcher(
|
2690 |
-
i > 1 && elementMatcher( matchers ),
|
2691 |
-
i > 1 && toSelector(
|
2692 |
-
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
2693 |
-
tokens.slice( 0, i - 1 ).concat({ value: tokens[ i - 2 ].type === " " ? "*" : "" })
|
2694 |
-
).replace( rtrim, "$1" ),
|
2695 |
-
matcher,
|
2696 |
-
i < j && matcherFromTokens( tokens.slice( i, j ) ),
|
2697 |
-
j < len && matcherFromTokens( (tokens = tokens.slice( j )) ),
|
2698 |
-
j < len && toSelector( tokens )
|
2699 |
-
);
|
2700 |
-
}
|
2701 |
-
matchers.push( matcher );
|
2702 |
-
}
|
2703 |
-
}
|
2704 |
-
|
2705 |
-
return elementMatcher( matchers );
|
2706 |
-
}
|
2707 |
-
|
2708 |
-
function matcherFromGroupMatchers( elementMatchers, setMatchers ) {
|
2709 |
-
// A counter to specify which element is currently being matched
|
2710 |
-
var matcherCachedRuns = 0,
|
2711 |
-
bySet = setMatchers.length > 0,
|
2712 |
-
byElement = elementMatchers.length > 0,
|
2713 |
-
superMatcher = funct
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|