Popular Post scorpionsworld Posted January 21, 2013 Popular Post Share Posted January 21, 2013 (edited) Order referentie wijzigingsmodule v1.5Module to change the order reference using Order ID AND/OR Cart IDCompatibility: Prestashop v1.5.X and aboveScreenshots:Edit by mdekker: Temporary download link for version 1.3: https://github.com/firstred/mdrefchange/releases/download/1.3.0/v1.3.0-modrefchange.zip Note: this version should not be used with 1.6 as it is NOT compatible, please wait for the new version Edited June 13, 2016 by mdekker Fix broken link (see edit history) 30 Link to comment Share on other sites More sharing options...
coolu Posted February 4, 2013 Share Posted February 4, 2013 installed and tested on my site on 1.5.3 works perfect Thanks you mate you made my day 1 Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 4, 2013 Author Share Posted February 4, 2013 installed and tested on my site on 1.5.3 works perfect Thanks you mate you made my day You're welcom Link to comment Share on other sites More sharing options...
jimmyc Posted February 6, 2013 Share Posted February 6, 2013 Wow, this looks good. Does it change the core or do any other changes? Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 6, 2013 Author Share Posted February 6, 2013 Wow, this looks good. Does it change the core or do any other changes? No, the module simply hooks on to actionvalidateorder. The hook is called when the order gets validated by the paymentmodule. Link to comment Share on other sites More sharing options...
jimmyc Posted February 7, 2013 Share Posted February 7, 2013 Nice. We will try it soon. Link to comment Share on other sites More sharing options...
Mrvoxx Posted February 8, 2013 Share Posted February 8, 2013 I´ve installed but when I finished some orders two numbers are shown in the payment details (bankwire) and in the confirmation e-mails: No te olvides de insertar tu número de pedido 19_24 en el tema de su transferencia bancaria. No te olvides de insertar tu número de pedido 20_25 en el tema de su transferencia bancaria. No te olvides de insertar tu número de pedido 21_26 en el tema de su transferencia bancaria The correct ID_order are 19, 20, and 21!! please help!! Link to comment Share on other sites More sharing options...
jimmyc Posted February 8, 2013 Share Posted February 8, 2013 (edited) looks like you might have it set to also show the "cart" number as the order reference. Try setting it like this. I get 000000345 style references like this see pic I could be wrong though??? Edited February 8, 2013 by jimmyc (see edit history) Link to comment Share on other sites More sharing options...
jimmyc Posted February 8, 2013 Share Posted February 8, 2013 not sure about bank wire but my order confirmations (emails of the invoice) have the right number. Hopefully the customers are seeing the same??? Link to comment Share on other sites More sharing options...
Matti Posted February 8, 2013 Share Posted February 8, 2013 Great module. However, It would be nice to see an option to set a total order reference digit length. 9 is a bit an overkill for me. Link to comment Share on other sites More sharing options...
jimmyc Posted February 8, 2013 Share Posted February 8, 2013 is it 9, i just made that number up, and you can set it to show the 000's in front or not. Link to comment Share on other sites More sharing options...
Matti Posted February 8, 2013 Share Posted February 8, 2013 We do need 000 in front but not so many. Just like in previous versions 6 total digits would be enough. Say order number 16, Order reference 000016. Link to comment Share on other sites More sharing options...
Mrvoxx Posted February 8, 2013 Share Posted February 8, 2013 looks like you might have it set to also show the "cart" number as the order reference. Try setting it like this. I get 000000345 style references like this see pic I could be wrong though??? many thanks, I set off the cart ID option Link to comment Share on other sites More sharing options...
jimmyc Posted February 8, 2013 Share Posted February 8, 2013 I see yes it is 9 digits, future proof?? HA! I can still search for the number without the 000's so i do not mind. Much better for our mental proximity than HSUENDHSHE. Point taken though. Link to comment Share on other sites More sharing options...
jimmyc Posted February 8, 2013 Share Posted February 8, 2013 many thanks, I set off the cart ID option thank scorpionsworld he is the hero here. Great module! Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 8, 2013 Author Share Posted February 8, 2013 Great module. However, It would be nice to see an option to set a total order reference digit length. 9 is a bit an overkill for me. I might be able to create such an option BUT, by default reference is a 9 digit length. My guess is Prestashop had a reason to raise the bar. Link to comment Share on other sites More sharing options...
Matti Posted February 9, 2013 Share Posted February 9, 2013 yes, that reason was to avoid duplicates as they use random letter password generator for their new order reference. Most of the users just want the old 6 digit sequential order reference back. Link to comment Share on other sites More sharing options...
Mrvoxx Posted February 9, 2013 Share Posted February 9, 2013 help! I can´t enter in the backoffice in modules, and in the frontffice an error appears in the last step of the cart (after choose payment method)- The module worked well!! but after install the module I´ve modified the spanish tranlations in bankwire/ltranslations/es. For unistall the module, Can I delete the folder ordrefchange? or I have to do anymore? or its a problem of the modifications in the spanish tranlations? thanks Link to comment Share on other sites More sharing options...
Mrvoxx Posted February 9, 2013 Share Posted February 9, 2013 I fixed it. it was the spanish file !! 2 Link to comment Share on other sites More sharing options...
jimmyc Posted February 9, 2013 Share Posted February 9, 2013 I fixed it. it was the spanish file !! Good news, thanks for letting us know! Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 14, 2013 Author Share Posted February 14, 2013 (edited) [NEDERLANDS] Update van de module. modrefchange v1.1 In de geupdate versie is het nu ook mogelijk om het aantal nullen gebruikt als voorloopnullen van de cart of order id in te stellen. Standaard is dit tot 9 nullen maar is in te stellen van 1 t/m 10. [ENGLISH] Module update. modrefchange v1.1 In this updated version it is now possible to configure the number of zeros uses as padding before the cart or order id. Standard this is set to 9 but can be configured between 1 and 10. Edited July 1, 2013 by scorpionsworld (see edit history) 4 Link to comment Share on other sites More sharing options...
e.lito referencement Posted February 15, 2013 Share Posted February 15, 2013 Hi guys, here is french translation, hope it's good certainly not perfect but it's a start. Thank you for the module it's a good idea. [FRENCH] https://www.dropbox.com/s/e4nqzifjcppui0g/fr.php Bonjour tout le monde, je viens de faire la traduction du module, j'espère qu'elle est correcte si quelqu'un peut vérifier ce serait pas mal en tout cas (attention mot clés) c'est pratique de pouvoir personnalisé la référence des commandes prestashop by Link to comment Share on other sites More sharing options...
jimmyc Posted February 15, 2013 Share Posted February 15, 2013 scorpionsworld you are fantastic! Link to comment Share on other sites More sharing options...
Ivan VDE Posted February 16, 2013 Share Posted February 16, 2013 Hallo Scorpionsworld, wanneer ik de module wil installeren krijg ik de foutmelding "The module modules you uploaded is not a module" Enig idee, wat ik moet doen ? Thanks, Ivan Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 16, 2013 Author Share Posted February 16, 2013 Hallo Scorpionsworld, wanneer ik de module wil installeren krijg ik de foutmelding "The module modules you uploaded is not a module" Enig idee, wat ik moet doen ? Thanks, Ivan Ja. De modrefchange folder uit de zip met FTP uploaden naar de /modules/ folder van de je webserver. Link to comment Share on other sites More sharing options...
jdrda Posted February 16, 2013 Share Posted February 16, 2013 (edited) Sry, I wanted to post this to another topic. Please delete. Order.php Edited February 16, 2013 by jdrda (see edit history) 1 Link to comment Share on other sites More sharing options...
way1 Posted February 20, 2013 Share Posted February 20, 2013 Dear Sir,. Could you add several simple and useful option to you fantastic module? Namely: 1. Set starting number of orders ID (and as final order #) as it done for inoice numbers in Prestashop 1.5.3.1 (see Back Office-Orders-Invoices) 2. I think that Order ID, Order Number and Invoice numbers for the same order should nbe the same number. Could you merge all these features/options in your module? 1. set leading zeros for order number 2. make invoice number = order number = order ID 3. set starting number for order's numbering. I.e. next order number will be for example 15456 and will be increment for each next number. 4. Possibility choose # or № as prefix for numbering orders as in different countries used or # or №. The options "3" I made manually so far, but you can integrate it in your module. I run SQL Query ALTER TABLE `ps_orders` AUTO_INCREMENT=15456; Next I set in BO-Orders-Invoices starting number for order invoices to 15456 That's all. Of couse you should chack that this number should be greater then last order_id in ps_orders table. Please add this features to yur module and it will be most helpful thing for Prestashop' users! Best regards. Thank you! Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 20, 2013 Author Share Posted February 20, 2013 Dear Sir,. Could you add several simple and useful option to you fantastic module? Namely: 1. Set starting number of orders ID (and as final order #) as it done for inoice numbers in Prestashop 1.5.3.1 (see Back Office-Orders-Invoices) 2. I think that Order ID, Order Number and Invoice numbers for the same order should nbe the same number. Could you merge all these features/options in your module? 1. set leading zeros for order number 2. make invoice number = order number = order ID 3. set starting number for order's numbering. I.e. next order number will be for example 15456 and will be increment for each next number. 4. Possibility choose # or № as prefix for numbering orders as in different countries used or # or №. The options "3" I made manually so far, but you can integrate it in your module. I run SQL Query ALTER TABLE `ps_orders` AUTO_INCREMENT=15456; Next I set in BO-Orders-Invoices starting number for order invoices to 15456 That's all. Of couse you should chack that this number should be greater then last order_id in ps_orders table. Please add this features to yur module and it will be most helpful thing for Prestashop' users! Best regards. Thank you! I'm sorry to say, but the features you mention will not be put in this module.The reason for this is that all mentioned features are meant to change either the order id or the invoice id, while the module is only meant to change the random code order reference. The changes you mention can either be done by editing (PDF-)templates or by using an SQL query in BO->Advanced Parameters->SQL Manager Link to comment Share on other sites More sharing options...
way1 Posted February 21, 2013 Share Posted February 21, 2013 The reason for this is that all mentioned features are meant to change either the order id or the invoice id, while the module is only meant to change the random code order reference. Daer Sir, did you mean that this module generate random numeric number, not increment number? Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 22, 2013 Author Share Posted February 22, 2013 Daer Sir, did you mean that this module generate random numeric number, not increment number? Dear Lion1,This module doesn't generate any number, it takes the number already generated by the cart and/or order objects. Link to comment Share on other sites More sharing options...
way1 Posted February 22, 2013 Share Posted February 22, 2013 Thank you for the answer. Link to comment Share on other sites More sharing options...
pattuka Posted February 24, 2013 Share Posted February 24, 2013 Many thanks for your job scorpionsworld. I only have one problem with your module, it doesn't work the function of using zeros for the order ID prefix. If I have activated the option it doesn't work, and also if I specify a number of "0" to use, it doesn't work too. ¿Could you help me? :-) Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 24, 2013 Author Share Posted February 24, 2013 Many thanks for your job scorpionsworld. I only have one problem with your module, it doesn't work the function of using zeros for the order ID prefix. If I have activated the option it doesn't work, and also if I specify a number of "0" to use, it doesn't work too. ¿Could you help me? :-) Could you please check if the module is hooked correctly to 'actionvalidateorder' in Backoffice->Moduels->Positions? Link to comment Share on other sites More sharing options...
pattuka Posted February 24, 2013 Share Posted February 24, 2013 Hello scorpionsworld, The module is hooked to activationvalidateorder, I use prestashop 1.5.3 Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 24, 2013 Author Share Posted February 24, 2013 Hello scorpionsworld, The module is hooked to activationvalidateorder, I use prestashop 1.5.3 And the module doesn't do anything to the order reference when an order is placed? Link to comment Share on other sites More sharing options...
Berlindoor Posted February 24, 2013 Share Posted February 24, 2013 (edited) here works perfectly in the form MyText000[Ord_ID] big thank you, Prestashop would be almost unusable without people like you Edited February 24, 2013 by andrep (see edit history) Link to comment Share on other sites More sharing options...
pattuka Posted February 24, 2013 Share Posted February 24, 2013 And the module doesn't do anything to the order reference when an order is placed? Yes, the module works, it replaces the letter code used by prestashop with the corresponding numbers, even if I add something as prefix (a letter for example) works. The only thing that don't work is if you try to use zeros to prefix the order. Link to comment Share on other sites More sharing options...
Berlindoor Posted February 24, 2013 Share Posted February 24, 2013 (edited) just a note pay attention that your REF id is < than 9 characters my REF code was GREEN000324 (11 characters) and prestashop dropped an internal error 500. After debugging it turned out that it was the paypal module which freaked out. Prestashop always reminds me internet explorer 6.0... Edited February 24, 2013 by andrep (see edit history) Link to comment Share on other sites More sharing options...
artofadornment Posted February 25, 2013 Share Posted February 25, 2013 (edited) This is strange, when I try to install from the BO I get a message saying "The module modules you uploaded is not a module" and nothing happens, it won't install. I'm using PS 1.5.3, am I missing something? Never mind, I unzipped and pasted it in instead and was able to install it just fine. Great module, thanks!! Edited February 25, 2013 by artofadornment (see edit history) Link to comment Share on other sites More sharing options...
FvdM Posted February 28, 2013 Share Posted February 28, 2013 Hmm, om de één of andere reden krijg ik de leading zero's niet actief... Kun jij me eens uitleggen wat ik precies moet instellen voor onderstaand voorbeeld: Gewenst ordernummer: 2013_0000[Order_id] (Totaal aantal posities na '2013_' is 6, dit is inclusief het aantal posities van de "Order_id"). Ik heb de volgende instellingen gemaakt/geprobeerd in PS1.5.1: Use Order ID Enabled Use Zeros to prefix Order ID Enabled Number of zeros to prefix Order ID "Leeg" Use Character(s) to prefix Order ID 2013_ Use Cart ID Disabled Use Zeros to prefix Cart ID "Leeg" Number of zeros to prefix Cart ID 6 Use Characters to prefix Order Reference "Leeg" Use Order ID Enabled Use Zeros to prefix Order ID Enabled Number of zeros to prefix Order ID 6 Use Character(s) to prefix Order ID 2013_ Use Cart ID Disabled Use Zeros to prefix Cart ID "Leeg" Number of zeros to prefix Cart ID "Leeg" Use Characters to prefix Order Reference "Leeg" Beide geven als output 2013_74 o.i.d. ... Wat doe ik verkeerd? Misschien een extra tip voor de volgende versie: Gebruik van een datestamp voor de text prefix. Alvast bedankt. Link to comment Share on other sites More sharing options...
scorpionsworld Posted February 28, 2013 Author Share Posted February 28, 2013 [NL] Hmm, lijkt er op dat de zeros-padding niet correct werkt. Ik zal gaan werken aan een kleine bugfix en deze zo spoedig mogelijk uit brengen. [EN] Looks like the padding using zeros isn't working correctly. I will work on a minor bugfix as soon as possible. Link to comment Share on other sites More sharing options...
Yankee Store Posted March 2, 2013 Share Posted March 2, 2013 the only issue i have when i do use this module is that the order history 1. show payments made ( 2 times actual paid ) as it activates order a second time if this could be fixed, it would be great Link to comment Share on other sites More sharing options...
eleazar Posted March 2, 2013 Share Posted March 2, 2013 (edited) @scorpionsworld Awesome! Great module. Works perfect. Thx a lot! When doing the translations for German users I noticed that 4 items are missing in the translations files en.php and the nl.php: Number of zeros to prefix Order ID Number of zeros to use as padding. Must be between 1 and 10. Number of zeros to prefix Cart ID Number of zeros to use as padding. Must be between 1 and 10. Anyhow, just one tiny little blemish ... I attach a German translations for users in Germany, Austria or Switzerland: Edited March 2, 2013 by eleazar (see edit history) 1 Link to comment Share on other sites More sharing options...
scorpionsworld Posted March 2, 2013 Author Share Posted March 2, 2013 the only issue i have when i do use this module is that the order history 1. show payments made ( 2 times actual paid ) as it activates order a second time if this could be fixed, it would be great That certainly shouldn't happen as the module doesn't activate the order. I'll look in to it. @scorpionsworld Awesome! Great module. Works perfect. Thx a lot! When doing the translations for German users I noticed that 4 items are missing in the translations files en.php and the nl.php: Number of zeros to prefix Order ID Number of zeros to use as padding. Must be between 1 and 10. Number of zeros to prefix Cart ID Number of zeros to use as padding. Must be between 1 and 10. Anyhow, just one tiny little blemish ... I attach a German translations for users in Germany, Austria or Switzerland: I'll add the German translation in the next updated release and add the missing translations in the Dutch and English translation files. Thanks for your work and input Link to comment Share on other sites More sharing options...
e.lito referencement Posted March 4, 2013 Share Posted March 4, 2013 Hi i think i have found an issue with payement module. With orders paid by check or bankwire no problem but when i'm doing paiement with CreditCard there is two entries for one order same amount and same time but with différent order_reference (in table : ps_order_payment) this cause wrong amount in stats. When i disable the module of course ther is no beautiful order reference but just one order paiement. what do you think ? thank for your reply Link to comment Share on other sites More sharing options...
e.lito referencement Posted March 5, 2013 Share Posted March 5, 2013 after thinking i think the module override a prestashop function in front-end only in order to override this or similar function in back-end too, if it could help Link to comment Share on other sites More sharing options...
e.lito referencement Posted March 7, 2013 Share Posted March 7, 2013 hello anyone here ??? Link to comment Share on other sites More sharing options...
scorpionsworld Posted March 7, 2013 Author Share Posted March 7, 2013 hello anyone here ??? Yes. And i've already seen your posts. I'm working on a new bug release but that might take some time.Please be patient 1 Link to comment Share on other sites More sharing options...
babymaxi Posted March 9, 2013 Share Posted March 9, 2013 Hi Scorpionsworld, great module! 100000000 thanks ... yes that's 9 digits : ) Can't wait for the new release with the bug fix! Will come back here. Bedankt. Link to comment Share on other sites More sharing options...
e.lito referencement Posted March 13, 2013 Share Posted March 13, 2013 Yes. And i've already seen your posts. I'm working on a new bug release but that might take some time. Please be patient OK thank you very much, do you have an idea of how much time it can take, just to inform my client Link to comment Share on other sites More sharing options...
GgztvTRknFsjwz Posted March 13, 2013 Share Posted March 13, 2013 Thank you so much ! Link to comment Share on other sites More sharing options...
scorpionsworld Posted March 13, 2013 Author Share Posted March 13, 2013 OK thank you very much, do you have an idea of how much time it can take, just to inform my client I will probably have time to create the next update around the coming weekend or maybe as late as Tuesday. 1 Link to comment Share on other sites More sharing options...
larsijj Posted March 14, 2013 Share Posted March 14, 2013 Module werkt niet samen met Multisafepay? Is hier een oplossing voor? aangezien multisafepay door de meeste nederlandse klanten word gebruikt? Link to comment Share on other sites More sharing options...
scorpionsworld Posted March 14, 2013 Author Share Posted March 14, 2013 Module werkt niet samen met Multisafepay? Is hier een oplossing voor? aangezien multisafepay door de meeste nederlandse klanten word gebruikt? Als ik even heel bijdehand mag zijn, een oplossing is er niet nee. Zeker niet als ik niet wat specifieker weet wat je bedoeld met 'Module werkt niet samen met Multisafepay'. Link to comment Share on other sites More sharing options...
Dmit Posted March 22, 2013 Share Posted March 22, 2013 Reference product = id product ??? Link to comment Share on other sites More sharing options...
scorpionsworld Posted March 22, 2013 Author Share Posted March 22, 2013 Reference product = id product ??? No. Reference order = order reference Link to comment Share on other sites More sharing options...
guest* Posted March 26, 2013 Share Posted March 26, 2013 Hi, your module is writing dublettes into DB at ps_order_payment. And I'm not sure, if other problems with tax I'm having are coming from the module or it's a PS bug. For the time being I've deinstalled the module and keep an eye on this. Come back with new information as soon as possible. http://www.file-upload.net/download-7380013/dublette.jpg.html Link to comment Share on other sites More sharing options...
sims17 Posted March 26, 2013 Share Posted March 26, 2013 Hello, Same problem for me. Payment is posted 2 times Thank for your reply Prestashop 1.5.3.1 version used Link to comment Share on other sites More sharing options...
scorpionsworld Posted March 30, 2013 Author Share Posted March 30, 2013 I'm not even shure why the order_payment record gets doubled, probably because of the order details getting saved after changing the reference in the module hook execution. I will be posting an update soon where the first order_payment record will be deleted before changing and saving the order details, this should prevent doubles 1 Link to comment Share on other sites More sharing options...
sims17 Posted April 1, 2013 Share Posted April 1, 2013 Thank you in advance for the next update Link to comment Share on other sites More sharing options...
Online Office USA Posted April 9, 2013 Share Posted April 9, 2013 Outstanding! Nice work @scorpionsworld Link to comment Share on other sites More sharing options...
OndraP Posted April 10, 2013 Share Posted April 10, 2013 All I need is to turn Reference into Order Number globally - for the whole shop. This works just great! Dank u wel! Link to comment Share on other sites More sharing options...
Jerana Posted April 19, 2013 Share Posted April 19, 2013 Thank you very much for this module ! Link to comment Share on other sites More sharing options...
antonio.soleres Posted April 22, 2013 Share Posted April 22, 2013 I'm not even shure why the order_payment record gets doubled, probably because of the order details getting saved after changing the reference in the module hook execution. I will be posting an update soon where the first order_payment record will be deleted before changing and saving the order details, this should prevent doubles Hi scorpionsworld. Thanks for this great module. Any news about double payment? Thanks. Link to comment Share on other sites More sharing options...
baldden Posted May 1, 2013 Share Posted May 1, 2013 Thank you very much for this module ! Good work with PS 1.5.4 Link to comment Share on other sites More sharing options...
toninovak66 Posted May 2, 2013 Share Posted May 2, 2013 Hi great module to fix an issue that shouldn't be an issue at all, but it is. I too am getting the double payments when using credit card, and I'm on PS 1.5.3.1. One question, if I have it prefixed with 5 leading 0s, will it stay at 6 numbers in the reference field once we get to an order number of 10 or will it go to up 7, then 8, then 9 and so on? We need the number to be at 6 digits for our accounting application and I need to make sure of this before we get going on it so I would like to set it up properly. Is it then possible to change the number of leading 0s once we hit the 6 digit mark to keep it at 6 digits? Thanks for the great module. Link to comment Share on other sites More sharing options...
alex_ta Posted May 5, 2013 Share Posted May 5, 2013 Hi Scorpion , you maked a great Job. Finnaly a simple module really great !! It's working perfect here on my shop 1.5.4.0 Link to comment Share on other sites More sharing options...
scorpionsworld Posted May 5, 2013 Author Share Posted May 5, 2013 Hi great module to fix an issue that shouldn't be an issue at all, but it is. I too am getting the double payments when using credit card, and I'm on PS 1.5.3.1. One question, if I have it prefixed with 5 leading 0s, will it stay at 6 numbers in the reference field once we get to an order number of 10 or will it go to up 7, then 8, then 9 and so on? We need the number to be at 6 digits for our accounting application and I need to make sure of this before we get going on it so I would like to set it up properly. Is it then possible to change the number of leading 0s once we hit the 6 digit mark to keep it at 6 digits? Thanks for the great module. I haven't had time yet to resolve the double payment records yet. prefixing with 5 leading zero's means `a maximum of 5 leading zero's`. reaching ordernumber higher then 9 will result in 1 less zero prefix. as soon as you go over the 6 digits ordernumber (e.g. 999999), the ordernumber will of course proceed at 7 digits and so on... Link to comment Share on other sites More sharing options...
navid68 Posted May 10, 2013 Share Posted May 10, 2013 Hi scorpionsworld, your module is very usefull and all feedbacks very positive. I am not an expert and bifore installino your module i have a question. I read that users made translations in French and Spanish: what needs to be translated? Navid Link to comment Share on other sites More sharing options...
BIG PRINT Posted May 10, 2013 Share Posted May 10, 2013 Hi, do you this addon could work on 1.4.8 ?? Thanks Link to comment Share on other sites More sharing options...
kait Posted May 15, 2013 Share Posted May 15, 2013 Hi, first of all many thanks for that module, very useful! I have meaningful order id and invoice id, which is the same number. Can I ask you, why is a delivery slip number different from order id or invoice id? Is there a way to keep those three ids with same number? I want: order id 00000009, invoice id (with prefix) FA0000009 and delivery slip id DL0000009 I have: order id 00000009, invoice id (with prefix) FA0000009 and delivery slip id DL0000001 Link to comment Share on other sites More sharing options...
dostavka-anglia Posted May 26, 2013 Share Posted May 26, 2013 Many thanks for the module! I spent 2 weeks searching how to remove these annoying reference numbers and finally I got the answer here. Many, many thanks!!! Great job! Link to comment Share on other sites More sharing options...
scorpionsworld Posted May 31, 2013 Author Share Posted May 31, 2013 Hi scorpionsworld, your module is very usefull and all feedbacks very positive. I am not an expert and bifore installino your module i have a question. I read that users made translations in French and Spanish: what needs to be translated? Navid The module configuration page is the only part that might need translation (Default English). Hi, do you this addon could work on 1.4.8 ?? Thanks Not sure. Haven't tested the module on versions prior 1.5.x Hi, first of all many thanks for that module, very useful! I have meaningful order id and invoice id, which is the same number. Can I ask you, why is a delivery slip number different from order id or invoice id? Is there a way to keep those three ids with same number? I want: order id 00000009, invoice id (with prefix) FA0000009 and delivery slip id DL0000009 I have: order id 00000009, invoice id (with prefix) FA0000009 and delivery slip id DL0000001 That's most probably because delivery slips follow their own sequential numbering Link to comment Share on other sites More sharing options...
djmonkeyboy Posted June 4, 2013 Share Posted June 4, 2013 Hello there, first of all I just want to say thank you for the module as it seems odd to have the order reference number be totally different from the invoice number as Prestashop does by default. I wanted to give some data on my live test experience. Using: Fresh install of PrestaShop 1.5.4.1 , but did tweak the custom theme a bit - Newatch UNIVERSEL 1.5 Responsive We ran into the issue where My site currently has payment setup for paypal, authorize.net, and checks however with placed orders upon review on the order details page in the Back Office, under the payment section it says: No payments are available. These orders have the green PAYMENT ACCEPTED status. In attempts to troubleshoot: An example order number was MSM0000091 and appears that is too long since I get this error when trying to manually apply a payment: [PrestaShopException] Property OrderPayment->order_reference length (10) must be between 0 and 9 at line 837 in file classes/ObjectModel.php It appears the length of "use zeros to prefix" and "use characters to prefix" caused too long of a number when combined. Link to comment Share on other sites More sharing options...
erikmlb Posted June 8, 2013 Share Posted June 8, 2013 FANTASTIC THANKS from latin america. Link to comment Share on other sites More sharing options...
vitezslav Posted June 11, 2013 Share Posted June 11, 2013 It appears the length of "use zeros to prefix" and "use characters to prefix" caused too long of a number when combined. http://www.prestashop.com/forums/index.php?/topic/218257-module-change-order-reference-using-order-id-andor-cart-id/page__view__findpost__p__1120521 ? Link to comment Share on other sites More sharing options...
scorpionsworld Posted June 12, 2013 Author Share Posted June 12, 2013 Hello there, first of all I just want to say thank you for the module as it seems odd to have the order reference number be totally different from the invoice number as Prestashop does by default. I wanted to give some data on my live test experience. Using: Fresh install of PrestaShop 1.5.4.1 , but did tweak the custom theme a bit - Newatch UNIVERSEL 1.5 Responsive We ran into the issue where My site currently has payment setup for paypal, authorize.net, and checks however with placed orders upon review on the order details page in the Back Office, under the payment section it says: No payments are available. These orders have the green PAYMENT ACCEPTED status. In attempts to troubleshoot: An example order number was MSM0000091 and appears that is too long since I get this error when trying to manually apply a payment: [PrestaShopException] Property OrderPayment->order_reference length (10) must be between 0 and 9 at line 837 in file classes/ObjectModel.php It appears the length of "use zeros to prefix" and "use characters to prefix" caused too long of a number when combined. http://www.prestashop.com/forums/index.php?/topic/218257-module-change-order-reference-using-order-id-andor-cart-id/page__view__findpost__p__1120521 ? Correct. For longer reference numbers. The OrderPayment class needs to be overriden. I hope I will have some time in the near future to correct this issue by implementing such an override as well as solving some other issues with the hook function 1 Link to comment Share on other sites More sharing options...
Optimus_Sam Posted June 13, 2013 Share Posted June 13, 2013 Nice work! Great module! Link to comment Share on other sites More sharing options...
Recommended Posts