Skip to main content
added 8 characters in body
Source Link

I'm working on a custom theme for a client. Is it possible to add extra parameters to the html for the custom options select without having to extend Mage_Core_Block_Html_SelectMage_Core_Block_Html_Select or Mage_Catalog_Block_Product_View_Options_Type_SelectMage_Catalog_Block_Product_View_Options_Type_Select?

I can see in Mage_Core_Block_Html::_toHtml()Mage_Core_Block_Html::_toHtml() that there is a call to $this->getExtraParams()$this->getExtraParams() but I can't seem to find anywhere that I would utilize this.

Is there a simple way to do this?

I'm working on a custom theme for a client. Is it possible to add extra parameters to the html for the custom options select without having to extend Mage_Core_Block_Html_Select or Mage_Catalog_Block_Product_View_Options_Type_Select?

I can see in Mage_Core_Block_Html::_toHtml() that there is a call to $this->getExtraParams() but I can't seem to find anywhere that I would utilize this.

Is there a simple way to do this?

I'm working on a custom theme for a client. Is it possible to add extra parameters to the html for the custom options select without having to extend Mage_Core_Block_Html_Select or Mage_Catalog_Block_Product_View_Options_Type_Select?

I can see in Mage_Core_Block_Html::_toHtml() that there is a call to $this->getExtraParams() but I can't seem to find anywhere that I would utilize this.

Is there a simple way to do this?

Source Link
Rory
  • 13
  • 3

Adding extra params to custom option select html

I'm working on a custom theme for a client. Is it possible to add extra parameters to the html for the custom options select without having to extend Mage_Core_Block_Html_Select or Mage_Catalog_Block_Product_View_Options_Type_Select?

I can see in Mage_Core_Block_Html::_toHtml() that there is a call to $this->getExtraParams() but I can't seem to find anywhere that I would utilize this.

Is there a simple way to do this?