jdgojariya Posted September 11, 2013 Share Posted September 11, 2013 (edited) Hello I have one Fatal error: Cannot redeclare class ProductCore in /opt/lampp/htdocs/prestashop/classes/Product.php on line 5440 Actually I am developing module in that i needed to include in it. In BackOffice my module there is list of all products but when I click on any product at that time it occurs. I want to allow edit same as product tab. Edited September 11, 2013 by jdgojariya (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 11, 2013 Share Posted September 11, 2013 You included this class in own module? it's wrong way, you dont have to include this file in own module core Link to comment Share on other sites More sharing options...
jdgojariya Posted September 12, 2013 Author Share Posted September 12, 2013 You included this class in own module? it's wrong way, you dont have to include this file in own module core Thank u so much for your replay. Ya, I include this class in my module. Is any way to use without include that class. I need only combination tab to update products same as default product update feature, Link to comment Share on other sites More sharing options...
vekia Posted September 12, 2013 Share Posted September 12, 2013 You can just use $product = new Product(); Or just call static methods with Product::method(variable1,variable2,etc) it mean that you don't have to include class because... it is already included Link to comment Share on other sites More sharing options...
Recommended Posts