fix: prevent error when products is undefined in orderprocess.js
This commit includes a bug fix where an error would occur if products were undefined in the entity OrderProcess. Now, it checks whether products is not undefined before checking its length. This condition provides a more thorough and reliable check.