Skip to main content
edited body
Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

Your rewrite class location name is wrong.

as per as your code class is located at app/code/local/Eventprice/Meta/Block/Catalog/Product/View/Options/Type/Select but you define it as Eventprice_Meta_Catalog_Block_Product_View_Options_Type_Select

It should be

Eventprice_Meta_Block_Catalog_Product_View_Options_Type_Select.

Class is should be namesame with file path thus autoloader can understand it path when that file will load

Your rewrite class location name is wrong.

as per as your code class is located at app/code/local/Eventprice/Meta/Block/Catalog/Product/View/Options/Type/Select but you define it as Eventprice_Meta_Catalog_Block_Product_View_Options_Type_Select

It should be

Eventprice_Meta_Block_Catalog_Product_View_Options_Type_Select.

Class is should be name with file path thus autoloader can understand it path when that file will load

Your rewrite class location name is wrong.

as per as your code class is located at app/code/local/Eventprice/Meta/Block/Catalog/Product/View/Options/Type/Select but you define it as Eventprice_Meta_Catalog_Block_Product_View_Options_Type_Select

It should be

Eventprice_Meta_Block_Catalog_Product_View_Options_Type_Select.

Class is should be same with file path thus autoloader can understand it path when that file will load

Source Link
Amit Bera
  • 77.7k
  • 20
  • 124
  • 239

Your rewrite class location name is wrong.

as per as your code class is located at app/code/local/Eventprice/Meta/Block/Catalog/Product/View/Options/Type/Select but you define it as Eventprice_Meta_Catalog_Block_Product_View_Options_Type_Select

It should be

Eventprice_Meta_Block_Catalog_Product_View_Options_Type_Select.

Class is should be name with file path thus autoloader can understand it path when that file will load