Guest Posted February 20, 2013 Share Posted February 20, 2013 (edited) v mnou pridanem scriptu kvuli affiliatu ktery jsem pridal do OrderConfirmationController.php v prestashop 1.5 se nevyplnuje cislo objednavky. vse ostatni funguje. stejny affiliate script mam do ted i na preste 1.3 a tam vse funguje perfektne i se vsechno v poradku vyplni ale kdyz jsem ten stejny skript zkopiroval do presty 1.5.2.0 tak tam se vse udela taky dobre az na to cislo objednavky. to se nevyplni. mohl by nekdo pomoct a rict jak to je u presty 1.5 (presne 1.5.2.0). toto je kus toho affiliate kodu kde je cast s cislem objednavky: // Here you must specify a unique identifier for the transaction. // For a sale, this is typically the order number. $orderNumber = "$id_order"; toto je kus toho affiliate kodu a zde se ma vyplnit cislo objednavky, takto to mam i na druhem eshopu s prestou ale s verzi 1.3 a tam toto funguje dobre. neni u tohoto meho kodu chyba v tom ze nova presta pouziva misto "$id_order" neco jineho? Edited February 21, 2013 by PepeCZ (see edit history) Link to comment Share on other sites More sharing options...
Guest Posted February 21, 2013 Share Posted February 21, 2013 (edited) tak uz jsem to zjistil uplnou nahodou sam. tvar $orderNumber = "$id_order"; jsem zmenil na $orderNumber = "$this->id_order"; a uz to funguje. ve starsi preste 1.3 to fungovalo jen stim $id_order ale ta novejsi presta 1.5 vyzadovala tvar $this->id_order. takze uz jsem to vyresil takze muze byt tento thread uzavren. Edited February 21, 2013 by PepeCZ (see edit history) 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