Customize order id

From S-Cart 6.9, the order ID is replaced with a random code like O-ABCDE-LKXYZ.
This helps to increase the security of the system.
However, users can still customize the order ID format to their liking, by changing the helper function sc_generate_id(), with parameter $type = shop_order.
Helper function location here: https://github.com/s-cart/core/blob/master/src/Library/Helpers/system.php#L334
See instructions on customizing the helper function HERE

Related topics

Latest Document