Skip to main content
improve formatting
Source Link
Rohan Hapani
  • 17.5k
  • 9
  • 55
  • 96

In the linked code (below for posterity), the path global/blocks/catalog/rewrite/Product_View_Options_Select

global/blocks/catalog/rewrite/Product_View_Options_Select

should be global/blocks/catalog/rewrite/product_view_options_select,

global/blocks/catalog/rewrite/product_view_options_select

because the block class is specified using lowercase in layout XML files (eg. https://github.com/benmarks/magento-mirror/blob/1.7.0.2/app/design/frontend/base/default/layout/catalog.xml#L228).

/app/code/local/Lbb/Catalog/etc/config.xml

/app/code/local/Lbb/Catalog/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>  
<config>  
    <modules>  
        <Lbb_Catalog>  
            <version>0.1.0</version>  
        </Lbb_Catalog>  
    </modules>  
    <global>  
        <blocks>  
            <catalog>  
                <rewrite>  
                        <product_view_options_type_select>Lbb_Catalog_Block_Product_View_Options_Type_Select</product_view_options_type_select>  
                </rewrite>  
            </catalog>  
        </blocks>  
    </global>  
</config> 

Hope this will help you.

Thanks

In the linked code (below for posterity), the path global/blocks/catalog/rewrite/Product_View_Options_Select should be global/blocks/catalog/rewrite/product_view_options_select, because the block class is specified using lowercase in layout XML files (eg. https://github.com/benmarks/magento-mirror/blob/1.7.0.2/app/design/frontend/base/default/layout/catalog.xml#L228).

/app/code/local/Lbb/Catalog/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>  
<config>  
    <modules>  
        <Lbb_Catalog>  
            <version>0.1.0</version>  
        </Lbb_Catalog>  
    </modules>  
    <global>  
        <blocks>  
            <catalog>  
                <rewrite>  
                        <product_view_options_type_select>Lbb_Catalog_Block_Product_View_Options_Type_Select</product_view_options_type_select>  
                </rewrite>  
            </catalog>  
        </blocks>  
    </global>  
</config> 

Hope this will help you.

Thanks

In the linked code (below for posterity), the path

global/blocks/catalog/rewrite/Product_View_Options_Select

should be

global/blocks/catalog/rewrite/product_view_options_select

because the block class is specified using lowercase in layout XML files (eg. https://github.com/benmarks/magento-mirror/blob/1.7.0.2/app/design/frontend/base/default/layout/catalog.xml#L228).

/app/code/local/Lbb/Catalog/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>  
<config>  
    <modules>  
        <Lbb_Catalog>  
            <version>0.1.0</version>  
        </Lbb_Catalog>  
    </modules>  
    <global>  
        <blocks>  
            <catalog>  
                <rewrite>  
                        <product_view_options_type_select>Lbb_Catalog_Block_Product_View_Options_Type_Select</product_view_options_type_select>  
                </rewrite>  
            </catalog>  
        </blocks>  
    </global>  
</config> 

Hope this will help you.

Thanks

Source Link

In the linked code (below for posterity), the path global/blocks/catalog/rewrite/Product_View_Options_Select should be global/blocks/catalog/rewrite/product_view_options_select, because the block class is specified using lowercase in layout XML files (eg. https://github.com/benmarks/magento-mirror/blob/1.7.0.2/app/design/frontend/base/default/layout/catalog.xml#L228).

/app/code/local/Lbb/Catalog/etc/config.xml

<?xml version="1.0" encoding="UTF-8"?>  
<config>  
    <modules>  
        <Lbb_Catalog>  
            <version>0.1.0</version>  
        </Lbb_Catalog>  
    </modules>  
    <global>  
        <blocks>  
            <catalog>  
                <rewrite>  
                        <product_view_options_type_select>Lbb_Catalog_Block_Product_View_Options_Type_Select</product_view_options_type_select>  
                </rewrite>  
            </catalog>  
        </blocks>  
    </global>  
</config> 

Hope this will help you.

Thanks