Hi @warren_samu,
It should be a simple fix (but since is custom code is hard to be sure without access to the store code, of course).
If you're looking for qualified support maybe you can check here:
Thank you