Dear All,
Is it possible after vendors registration, link to Registration successful page instead of pop up message notification? How to do that, please?
Regards
Dear All,
Is it possible after vendors registration, link to Registration successful page instead of pop up message notification? How to do that, please?
Regards
- Create new CMS page
- Open the app/controllers/frontend/companies.php file
- Replace
return array(CONTROLLER_STATUS_REDIRECT, $return_url);
with
return array(CONTROLLER_STATUS_REDIRECT, "pages.view?page_id=123");
where 123 - ID of the new page
(!) Not tested
- Create new CMS page
- Open the app/controllers/backend/companies.php file
- Replace
sftp://sandbox.ecom-labs.com/home/olmerssign/public_html/mv491/app/controllers/backend/companies.php
Tygh::$app['ajax']->assign('force_redirection', fn_url($redirect_url));with
Tygh::$app['ajax']->assign('force_redirection', fn_url("pages.view?page_id=123"));where 123 - ID of the new page
(!) Not tested
Unfortunately, doesn't work.
Regards
I have corrected my post. Incorrect file was checked. Please try
I have corrected my post. Incorrect file was checked. Please try
Thank you for help. Now is redirecting to page but pop up still show as well.
Regards
In the same file replace
fn_set_notification('I', __('information'), $msg);
with
//fn_set_notification('I', __('information'), $msg);
In the same file replace
fn_set_notification('I', __('information'), $msg);with
//fn_set_notification('I', __('information'), $msg);
Many thanks. All done and working.
You are welcome!