[MODULE] Change Order reference using Order ID and/or Cart ID - Modules & Thema’s [ARCHIVE] - PrestaShop

Jump to content

Photo

[MODULE] Change Order reference using Order ID and/or Cart ID

Order reference reference payment invoice

#1

Posted 21 January 2013 - 04:25 PM

scorpionsworld

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1940 Active Posts

*
POPULAR

Order referentie wijzigingsmodule v1.5
Module to change the order reference using Order ID AND/OR Cart ID
Compatibility: Prestashop v1.5.X and above

Screenshots:
Prestadev_0043_zps5853860e.png

Edit by mdekker:

Temporary download link for version 1.3: https://github.com/f...odrefchange.zip

Note: this version should not be used with 1.6 as it is NOT compatible, please wait for the new version


Edited by mdekker, 13 June 2016 - 09:50 PM.
Fix broken link

Backup, backup and to be sure another backup
Webshop met modules en meer
Posted Image

#2

Posted 04 February 2013 - 01:27 PM

coolu

    PrestaShop Apprentice

  • Members
  • PipPip
  • 63 Active Posts
installed and tested on my site on 1.5.3 works perfect :)

Thanks you mate you made my day :)

#3

Posted 04 February 2013 - 05:16 PM

scorpionsworld

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1940 Active Posts

installed and tested on my site on 1.5.3 works perfect :)

Thanks you mate you made my day :)

You're welcom :)
Backup, backup and to be sure another backup
Webshop met modules en meer
Posted Image

#4

Posted 06 February 2013 - 11:14 AM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts
Wow, this looks good. Does it change the core or do any other changes?

#5

Posted 06 February 2013 - 12:29 PM

scorpionsworld

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1940 Active Posts

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.
Backup, backup and to be sure another backup
Webshop met modules en meer
Posted Image

#6

Posted 07 February 2013 - 09:49 AM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts
Nice. We will try it soon.

#7

Posted 08 February 2013 - 01:55 PM

Mrvoxx

    PrestaShop Apprentice

  • Members
  • PipPip
  • 47 Active Posts
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!!

#8

Posted 08 February 2013 - 01:59 PM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts
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???

Attached Files


Edited by jimmyc, 08 February 2013 - 02:01 PM.


#9

Posted 08 February 2013 - 02:14 PM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts
not sure about bank wire but my order confirmations (emails of the invoice) have the right number. Hopefully the customers are seeing the same???

#10

Posted 08 February 2013 - 03:21 PM

Matti

    PrestaShop Apprentice

  • Members
  • PipPip
  • 34 Active Posts
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.

#11

Posted 08 February 2013 - 03:55 PM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts
is it 9, i just made that number up, and you can set it to show the 000's in front or not.

#12

Posted 08 February 2013 - 03:58 PM

Matti

    PrestaShop Apprentice

  • Members
  • PipPip
  • 34 Active Posts
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.

#13

Posted 08 February 2013 - 04:07 PM

Mrvoxx

    PrestaShop Apprentice

  • Members
  • PipPip
  • 47 Active Posts

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

#14

Posted 08 February 2013 - 04:08 PM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts
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.

#15

Posted 08 February 2013 - 04:09 PM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts

many thanks, I set off the cart ID option


thank scorpionsworld he is the hero here. Great module!

#16

Posted 08 February 2013 - 11:41 PM

scorpionsworld

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 1940 Active Posts

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.
Backup, backup and to be sure another backup
Webshop met modules en meer
Posted Image

#17

Posted 09 February 2013 - 02:39 AM

Matti

    PrestaShop Apprentice

  • Members
  • PipPip
  • 34 Active Posts
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.

#18

Posted 09 February 2013 - 09:15 AM

Mrvoxx

    PrestaShop Apprentice

  • Members
  • PipPip
  • 47 Active Posts
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

#19

Posted 09 February 2013 - 10:28 AM

Mrvoxx

    PrestaShop Apprentice

  • Members
  • PipPip
  • 47 Active Posts
I fixed it. it was the spanish file !!

#20

Posted 09 February 2013 - 10:37 AM

jimmyc

    PrestaShop Enthusiast

  • Members
  • PipPip
  • 253 Active Posts

I fixed it. it was the spanish file !!


Good news, thanks for letting us know!



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more