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
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
- Upgrade guide 2024-03-24
- Customize search page 2023-08-02
- Discount code (coupon) 2023-05-14
- Upgrade guide 2023-11-23
- Data relations in S-Cart 2023-02-05