Jump to content

Edit History

noufejt

noufejt


update parameters of rownumber

Hallo, I don't find more relevat topic, so I hope that it belongs here :)

I use prestashop 1.7.5.2 - multistore (now 5 shops, maybe next later)

I need format order reference number to:

  • exactly 9 digits
  • actual year (two digits) (can be changed every year automatically?)
  • shop ID (can by ID form DB, but i will be better I can set "ID 1 from db = ID 5" ), one digit
  • incremental number, 6 digits (000001, 000002) (can be for whole group of shops, not for only one shop)

For example: 194000001

I found only solution for change from "NON_numeric" to "Numeric" and this topic.
I´m not core programator, but a "power user" Can some help?

Thanks

noufejt

noufejt

Hallo, I don't find more relevat topic, so I hope that it belongs here :)

I use prestashop 1.7.5.2 - multistore (now 5 shops, maybe next later)

I need format order reference number to:

  • exactly 9 digits
  • actual year (two digits) (can be changed every year automatically?)
  • shop ID (can by ID form DB, but i will be better I can set "ID 1 from db = ID 5" ), one digit
  • incremental number, 6 digits (000001, 000002)

For example: 194000001

I found only solution for change from "NON_numeric" to "Numeric" and this topic.
I´m not core programator, but a "power user" Can some help?

Thanks

×
×
  • Create New...