3

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.

  • What have you tried? Please give some evidence that you've put some effort into this, even if you can only post dead-end findings. – benmarks Sep 6 '13 at 13:13
4

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. :)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.