|
13 | 13 | <layout version="0.1.0"> |
14 | 14 | <checkout_cart_index> |
15 | 15 | <reference name="checkout.cart.top_methods"> |
16 | | - <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" before="checkout.cart.methods.onepage.top" template="paypal/express/shortcut.phtml"> |
| 16 | + <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" before="checkout.cart.methods.onepage.top" template="paypal/express/shortcut.phtml" ifconfig="payment/paypal_express/active"> |
17 | 17 | <action method="setIsQuoteAllowed"><value>1</value></action> |
18 | 18 | <action method="setShowOrPosition"><value>after</value></action> |
19 | 19 | </block> |
20 | 20 | </reference> |
21 | 21 |
|
22 | 22 | <reference name="checkout.cart.methods"> |
23 | | - <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" before="checkout.cart.methods.onepage.bottom" template="paypal/express/shortcut.phtml"> |
| 23 | + <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" before="checkout.cart.methods.onepage.bottom" template="paypal/express/shortcut.phtml" ifconfig="payment/paypal_express/active"> |
24 | 24 | <action method="setIsQuoteAllowed"><value>1</value></action> |
25 | 25 | <action method="setShowOrPosition"><value>after</value></action> |
26 | 26 | </block> |
@@ -80,7 +80,7 @@ Available logo types can be assigned with action="setLogoType": |
80 | 80 | <block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label"> |
81 | 81 | <action method="setMayBeInvisible"><value>true</value></action> |
82 | 82 | <label>PayPal Express Checkout Shortcut Wrapper</label> |
83 | | - <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/product/shortcut.phtml"> |
| 83 | + <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/product/shortcut.phtml" ifconfig="payment/paypal_express/active"> |
84 | 84 | <action method="setIsInCatalogProduct"><value>1</value></action> |
85 | 85 | </block> |
86 | 86 | </block> |
@@ -131,10 +131,10 @@ Available logo types can be assigned with action="setLogoType": |
131 | 131 |
|
132 | 132 | <default> |
133 | 133 | <reference name="topCart.extra_actions"> |
134 | | - <block type="paypal/express_shortcut" name="paypal.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/> |
| 134 | + <block type="paypal/express_shortcut" name="paypal.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml" ifconfig="payment/paypal_express/active"/> |
135 | 135 | </reference> |
136 | 136 | <reference name="cart_sidebar.extra_actions"> |
137 | | - <block type="paypal/express_shortcut" name="paypal.partner.cart_sidebar.shortcut" template="paypal/express/minicart/shortcut.phtml"/> |
| 137 | + <block type="paypal/express_shortcut" name="paypal.partner.cart_sidebar.shortcut" template="paypal/express/minicart/shortcut.phtml" ifconfig="payment/paypal_express/active"/> |
138 | 138 | </reference> |
139 | 139 | </default> |
140 | 140 |
|
@@ -162,7 +162,7 @@ Available logo types can be assigned with action="setLogoType": |
162 | 162 | <SHORTCUT_popup> |
163 | 163 | <reference name="product.tooltip"> |
164 | 164 | <block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label"> |
165 | | - <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml"> |
| 165 | + <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml" ifconfig="payment/paypal_express/active"> |
166 | 166 | <action method="setIsInCatalogProduct"><value>1</value></action> |
167 | 167 | <action method="setShowOrPosition"><value>after</value></action> |
168 | 168 | </block> |
|
0 commit comments