Move ‘Add to Cart’ Block Before Configurable Product Options in Magento

blocksconfigurable-productlayout

I'm trying to move product.info.options.wrapper.bottom block before product.info.options.wrapper.

I tried using "before" and "after" attributes in catalog.xml, but they don't work.

I tried unsetting and adding these blocks in local.xml, still no luck.

These blocks are rendered by this line in product's view.phtml file:

echo $this->getChildChildHtml('container1', '', true, true)

(sorted = true)

How can I move these blocks?

Best Answer

I figured changing order of:

<action method="append"><block>product.info.options.wrapper</block></action>
<action method="append"><block>product.info.options.wrapper.bottom</block></action>

in catalog.xml was the key. Maybe it helps someone in the future.

Related Topic