OnlyLuckCZE Posted June 8, 2014 Share Posted June 8, 2014 Zdravím, potřeboval bych nějak obejít kontrolu IČ, protože když si nakoupí obyčejný zákazník, tak musí zadat IČ - to je problém. Používám prestashop 1.5.4 Zde je popřípadě kód: // Check country DNI if ($country->isNeedDni() && (!Tools::getValue('dni') || !Validate::isDniLite(Tools::getValue('dni')))) $this->errors[] = Tools::displayError('The identification number is incorrect or has already been used.'); else if (!$country->isNeedDni()) $address->dni = null; Předem děkuji za odpověď. Link to comment Share on other sites More sharing options...
OnlyLuckCZE Posted June 8, 2014 Author Share Posted June 8, 2014 Už jsem to vyřešil. http://www.prestashop.com/forums/topic/287368-i%C4%8D-a-di%C4%8D-v-one-page-checkout/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now