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

  • Does this work in the default theme? – brentwpeterson Dec 2 '14 at 18:16
  • Nope, added image. – Brian Litzinger Dec 2 '14 at 18:50
  • It looks like you template has been modified, maybe your base theme has been modified? – brentwpeterson Dec 2 '14 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. – Brian Litzinger Dec 2 '14 at 20:36
  • 1
    If you do a fresh install of Magento with your database it does the same thing? – brentwpeterson Dec 2 '14 at 20:37

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.


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.