2024 Sep 20 3:32 PM - edited 2024 Sep 20 3:33 PM
Hi everyone,
I’m new to SAP and have a question regarding the project.properties file in SAP Cloud Commerce. Currently, the order code is defined like this:
keygen.order.code.name=order_code
keygen.order.code.digits=8
keygen.order.code.start=00000000
keygen.order.code.type=numeric
keygen.order.code.template=$
I understand that project.properties is a read-only file. Is there a way to change the keygen.order.code.digits value to modify the length of the orderCode? If so, what steps should I take to implement this change?
Any insights or guidance would be greatly appreciated!
Thanks!
Request clarification before answering.
You can override the properties defined in an OOTB extension either adding the properties in local.properties file under <HYBRIS_CONFIG_DIR> or adding the properties in project.properties file in one of your custom extension which requires the OOTB extension. After adding the property, you should restart your server. If there are carts before this change, you should delete them so that new carts would be created with new codes.
References
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.