I try to overwrite the template app\design\frontend\venedor\custom\template\catalog\product\view\options\type\select.phtml
with app\design\frontend\base\default\template\wr\catalog\product\view\options\type\select.phtml
So I have rewritten the constructor of the class Mage_Catalog_Block_Product_View_Options_Type_Select
.
Hint: My Extensions Namespace is "WR" and the name of the Extension is "EPO".
class WR_EPO_Block_Catalog_Product_View_Options_Type_Select extends Mage_Catalog_Block_Product_View_Options_Type_Select
{
public function __construct()
{
Mage::Log('my constructor was called', 7, "p.log");
parent::__construct();
$this->setTemplate('wr/catalog/product/view/options/type/select.phtml');
}
The rewrite works fine, I get the log entry in p.log.
But the old template is still getting loaded. I already cleared the cache.
I successfully replaced another template in adminhtml the same way, so why does it not work in this case?