NishantVadgama Posted October 11, 2014 Share Posted October 11, 2014 Hello Dear All Prestashop Experts I want to ask you all that before upload module in http://addons.prestashop.com/en/. I must have to validate my module in https://validator.prestashop.com but when I am validating my module prestashop validator gives me some prestashop parent class or controller that I have been overrided in my module's error like in my module some requirement of overriding cart.php class file in that only two methods named "getProducts()" and "getOrderTotal()". in that prestashop validator gives me following errors in standards Standards /override/classes/Cart.php Variable "->_taxCalculationMethod" have not right syntax. Should be: "->tax_calculation_method" 165: if ($this->_taxCalculationMethod == PS_TAX_EXC) 427: if ($this->_taxCalculationMethod == PS_TAX_EXC) Variable "$_attributesLists" have not right syntax. Should be : "$attributes_lists" 312: if (array_key_exists($row['id_product_attribute'].'-'.$this->id_lang, self::$_attributesLists)) 313: $row = array_merge($row, self::$_attributesLists[$row['id_product_attribute'].'-'.$this->id_lang]); as we know that we cant change base class or parent class member variables name so How can I resolve this ..?? 1 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now