In the default layout the options and add-to-cart-button are called by
<?php echo $this->getChildChildHtml('container1', '', true, true) ?>
I would like to split the configurable options from the add-to-cart and quantity field to show them on a different position in my layout. Any ideas or ready to use workarounds?
You can split it very easy (but I spent a lot of time to find it :) ) - if you look to the app/code/core/Mage/Core/Block/Abstract.php to PHPDoc of public function getChildChildHtml, you will see that the second parameter determined child block name. So, you can call first before the price block render
<?php echo $this->getChildChildHtml('container1', 'product.info.options.wrapper', true, true) ?>
and after price block rendered, call
<?php echo $this->getChildChildHtml('container1', 'product.info.options.wrapper.bottom', true, true) ?>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With