Troppau Posted January 26, 2011 Share Posted January 26, 2011 Zdravím narazil jsme na příjemný hack pro prestu. Pokud potřebujete smazat již vytvořené objednávky (typicky zkušební), tak za normálních okolností nemáte možnost. Tato úprava to vyřeší:Otevřete si soubor admin/tabs/AdminOrders.phpnajděte kód: $this->table = ‘order’; $this->className = ‘Order’; $this->view = true; $this->colorOnBackground = true; $this->_select = ‘ a doplňte jej na tento stav: $this->table = ‘order’; $this->className = ‘Order’; $this->view = true; $this->colorOnBackground = true; $this->delete = true; $this->_select = ‘ Testováno na Prestashop 1.3.5. funkćní a bez prolémů. Link to comment Share on other sites More sharing options...
Sem Tam Posted January 26, 2011 Share Posted January 26, 2011 Tato uprava nevymaze objednavku z databaze, jen z prehledu v BO. Uplne vymazani z db zde:http://www.prestashop.com/forums/viewthread/18231/programmazione_moduli_design_e_temi/modulo_cancellazione_di_un_singolo_ordine_dal_db Link to comment Share on other sites More sharing options...
Troppau Posted January 26, 2011 Author Share Posted January 26, 2011 Tato uprava nevymaze objednavku z databaze, jen z prehledu v BO. Uplne vymazani z db zde:http://www.prestashop.com/forums/viewthread/18231/programmazione_moduli_design_e_temi/modulo_cancellazione_di_un_singolo_ordine_dal_db Hmm.. díky, za tip, ale mi by to asi mohlo stačit, teď hledám něco na editaci objednávek - přidat odebrat položky z objednávky Link to comment Share on other sites More sharing options...
Sem Tam Posted January 26, 2011 Share Posted January 26, 2011 ZDE:http://www.prestashop.com/forums/viewthread/10568/P30/hlavn_diskuze/zmna_objednvky_v_administraci Link to comment Share on other sites More sharing options...
Malkus Posted February 15, 2011 Share Posted February 15, 2011 zdravím,mám verzi 1.3.1.1jsem zkoušel obě možnosti, ale nefunguje ani jedna.Modul se mi nezobrazí v přehleduA úprava mi způsobí že nevidím objednávky v adminu.Napadá někoho čím by to mohlo být? Díky Link to comment Share on other sites More sharing options...
Sem Tam Posted February 15, 2011 Share Posted February 15, 2011 Tento zpusob mazani obj.http://www.prestashop.com/forums/viewthread/18231/programmazione_moduli_design_e_temi/modulo_cancellazione_di_un_singolo_ordine_dal_dbse v modulech neobjevi, protoze to neni klasicky modul. V PS 1.3+ funguje bezvadne, staci postupovat podle navodu v balicku. Link to comment Share on other sites More sharing options...
Malkus Posted February 15, 2011 Share Posted February 15, 2011 Tento zpusob mazani obj.http://www.prestashop.com/forums/viewthread/18231/programmazione_moduli_design_e_temi/modulo_cancellazione_di_un_singolo_ordine_dal_dbse v modulech neobjevi, protoze to neni klasicky modul. V PS 1.3+ funguje bezvadne, staci postupovat podle navodu v balicku. Super díky moc, funguje. Já myslel, že je to klasický modul. A jinak funguje parádně. Link to comment Share on other sites More sharing options...
Efendy Posted September 24, 2011 Share Posted September 24, 2011 bohužel pokračuje v číslování objednávek 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