0

I upgraded from 1.7 to 1.9, and the drop down menu to select a shirt size is not showing on the product view page. I've disabled all extensions and set the site the default theme/package, and it still does not show. I've traced it back to the following line of code in gear/app/design/frontend/base/default/template/catalog/product/view/options.phtml

$_options = Mage::helper('core')->decorateArray($this->getOptions())

Basically $this->getOptions is returning an empty array. I can't figure out why. Has anyone experienced something similar? Bundle products work, I can choose options there, its just Configurable products that are not working.

enter image description here

5
  • Does this work in the default theme? Dec 2, 2014 at 18:16
  • Nope, added image. Dec 2, 2014 at 18:50
  • It looks like you template has been modified, maybe your base theme has been modified? Dec 2, 2014 at 20:33
  • Base theme hasn't been modified, I'm using the base theme, as shown in the screenshot. Also, as I also mentioned the method that fetches the options, which is theme independant, returns an empty array, also indicated in the var_dump in the screenshot. Its not a theme issue. Dec 2, 2014 at 20:36
  • 1
    If you do a fresh install of Magento with your database it does the same thing? Dec 2, 2014 at 20:37

1 Answer 1

0

Finally figured it out. Turns out it was an issue due to a block override in local.xml that I added for a new feature I'm working on in a different code branch, however, local.xml is ignored by Git, so the change persisted across all my branches, even my upgrade branch.

<blocks>
            <catalog>
                <rewrite>
<product_view_type_configurable>SITE_Catalog_Block_Product_View_Type_Configurable</product_view_type_configurable>
                </rewrite>
             </catalog>
        </blocks>
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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