/
msrp.xml
105 lines (103 loc) · 4.33 KB
/
msrp.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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
<?xml version="1.0"?>
<!--
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file LICENSE_AFL.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category design
* @package base_default
* @copyright Copyright (c) 2012 Magento Inc. (http://www.magentocommerce.com)
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
*/
-->
<layout version="0.1.0">
<!--
Default layout, loads most of the pages
-->
<catalog_category_view>
<update handle="MAP_popup" />
</catalog_category_view>
<catalog_product_compare_index>
<update handle="MAP_popup" />
</catalog_product_compare_index>
<catalog_product_view>
<update handle="MAP_popup" />
<update handle="MAP_price_msrp_item" />
</catalog_product_view>
<checkout_cart_index>
<update handle="MAP_popup" />
</checkout_cart_index>
<checkout_onepage_success>
<update handle="MAP_popup" />
</checkout_onepage_success>
<checkout_onepage_failure>
<update handle="MAP_popup" />
</checkout_onepage_failure>
<wishlist_index_index>
<update handle="MAP_popup" />
<update handle="MAP_price_msrp_wishlist_item" />
</wishlist_index_index>
<wishlist_shared_index>
<update handle="MAP_popup" />
<update handle="MAP_price_msrp_wishlist_item" />
</wishlist_shared_index>
<review_product_list>
<update handle="MAP_popup" />
<update handle="MAP_price_msrp_item" />
</review_product_list>
<catalogsearch_result_index>
<update handle="MAP_popup" />
</catalogsearch_result_index>
<catalogsearch_advanced_result>
<update handle="MAP_popup" />
</catalogsearch_advanced_result>
<tag_product_list>
<update handle="MAP_popup" />
</tag_product_list>
<tag_customer_view>
<update handle="MAP_popup" />
</tag_customer_view>
<MAP_popup>
<reference name="head">
<action method="addJs" ifconfig="sales/msrp/enabled"><file>Mage_Catalog::msrp.js</file></action>
</reference>
<reference name="content">
<block type="Mage_Core_Block_Template" template="Mage_Catalog::msrp/popup.phtml" name="product.tooltip"/>
</reference>
</MAP_popup>
<MAP_price_msrp_item>
<reference name="catalog_product_price_template">
<action method="addPriceBlockType"><type>msrp</type><block>Mage_Catalog_Block_Product_Price</block><template>product/price_msrp_item.phtml</template></action>
</reference>
<reference name="product.clone_prices">
<action method="addPriceBlockType"><type>msrp</type><block>Mage_Catalog_Block_Product_Price</block><template>product/price_msrp_item.phtml</template></action>
</reference>
</MAP_price_msrp_item>
<MAP_price_msrp_wishlist_item>
<reference name="catalog_product_price_template">
<action method="addPriceBlockType"><type>msrp</type><block>Mage_Catalog_Block_Product_Price</block><template>Mage_Wishlist::render/item/price_msrp_item.phtml</template></action>
</reference>
</MAP_price_msrp_wishlist_item>
<default>
<reference name="catalog_product_price_template">
<action method="addPriceBlockType"><type>msrp</type><block>Mage_Catalog_Block_Product_Price</block><template>product/price_msrp.phtml</template></action>
<action method="addPriceBlockType"><type>msrp_item</type><block>Mage_Catalog_Block_Product_Price</block><template>product/price_msrp_item.phtml</template></action>
<action method="addPriceBlockType"><type>msrp_noform</type><block>Mage_Catalog_Block_Product_Price</block><template>product/price_msrp_noform.phtml</template></action>
</reference>
</default>
</layout>