You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
I was wondering where I would program a form (just one of them) to go back to the cart after rather than show the:
<b>Thank you. The information you submitted has been processed. Your information will be reviewed immediately and you will receive a reply if required.</b>
If its not possible, is it then possible to change the above standard text and possibly add a button?
Thanks
Offline
You could edit the dynamic form confirmation script to do this. Edit the file {private}/apps/cms/CMS_DynForm/CMS_DynForm.php. In the function dynform_proc() at the bottom, look for:
return $this->exec_namespace(array('app' => 'cms', 'namespace' => 'genericconf', 'type' => '*', 'params' => null));
Change to:
$this->exec_namespace(array('app' => 'cms', 'namespace' => 'genericconf', 'type' => '*', 'params' => null)); return $this->exec_namespace(array('app' => 'ecom', 'namespace' => 'viewcart', 'type' => '*', 'params' => null));
Offline
Cool, almost it returns to viewcart rather than checkout, I take it I change the namespace, but to what?
Offline
Fantastic, works really well... as I am doing a VAT return form, is it possible to change the end text which says:
"Thank you. The information you submitted has been processed. Your information will be reviewed immediately and you will receive a reply if required"
and if I do will this change other form sendings too?
Last edited by mixer25 (03-16-2014 12:43:33)
Offline
Look in the code above where you just edited for a print_messag() call. That's what's printing tat message. You might want to comment that out and print your own message in the code.
Offline