Question

Can you help me how can I change the position of Custom Options on product page. I mean: First Custom Options fields are displayed, then configurable fields. I'm Very appreciated for your help.

Was it helpful?

Solution

In the layout file of your theme catalog.xml you can find these lines inside the <PRODUCT_TYPE_configurable> tag:

<reference name="product.info.options.wrapper">
    <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
</reference>

All you need to to is to change the attribute before="-" to after="-". So the lines above become:

<reference name="product.info.options.wrapper">
    <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" after="-" template="catalog/product/view/type/options/configurable.phtml"/>
</reference>

Clear the cache and move on to your next task. :)

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top