Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function controllerActionLayoutLoadBefore(Varien_Event_Observer $observer)
- {
- /** @var $layout Mage_Core_Model_Layout */
- $layout = $observer->getEvent()->getLayout();
- $layout->getUpdate()->addHandle('catalog_product_view_custom');
- }
- <catalog_product_view>
- <reference name="product.info.options.wrapper">
- <remove name="product.info.bundle.options" />
- </reference>
- </catalog_product_view>
- <catalog_product_view_whey>
- <reference name="product.info.options.wrapper">
- <block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle.options" as="type_bundle_options" template="bundle/catalog/product/view/type/bundle/options.phtml">
- <action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
- <action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
- <action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
- <action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
- </block>
- <action method="insert"><block>product.info.bundle.options</block></action>
- </reference>
- </catalog_product_view_whey>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement