magento : how to redirect custom page after registration and then home pageHow to override the controller AccountControllerMagento Place Order on Checkout redirects back to carterror on review list pagecatalog_product_load_before event gives getRequestedRouteName() errorCustom redirect registration page, when error occursproduct quickview not working with infinite scrollSimple Observer not firing on eventMagento: How to call phtml file after registration and redirect to the dashboard pageThere has been an error processing your request error while going to the pageMigration error. The installation of the old version is startedMagento 1.9.1 I have added popup after clicking on addtocart button but the page is reloading before closing the popup
They call me Inspector Morse
Rejected in 4th interview round citing insufficient years of experience
Should QA ask requirements to developers?
Am I not good enough for you?
How do I express some one as a black person?
Are babies of evil humanoid species inherently evil?
Do Bugbears' arms literally get longer when it's their turn?
What wound would be of little consequence to a biped but terrible for a quadruped?
Are the terms "stab" and "staccato" synonyms?
Single word request: Harming the benefactor
Time travel short story where dinosaur doesn't taste like chicken
In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?
Finding algorithms of QGIS commands?
Aliens englobed the Solar System: will we notice?
What are the best books to study Neural Networks from a purely mathematical perspective?
BitNot does not flip bits in the way I expected
Can't find the Shader/UVs tab
Subset counting for even numbers
Should I tell my boss the work he did was worthless
How do anti-virus programs start at Windows boot?
Unreachable code, but reachable with exception
Space in array system equations
Why the color red for the Republican Party
How do I locate a classical quotation?
magento : how to redirect custom page after registration and then home page
How to override the controller AccountControllerMagento Place Order on Checkout redirects back to carterror on review list pagecatalog_product_load_before event gives getRequestedRouteName() errorCustom redirect registration page, when error occursproduct quickview not working with infinite scrollSimple Observer not firing on eventMagento: How to call phtml file after registration and redirect to the dashboard pageThere has been an error processing your request error while going to the pageMigration error. The installation of the old version is startedMagento 1.9.1 I have added popup after clicking on addtocart button but the page is reloading before closing the popup
How to redirect custom page after registration in magento 1.9.2.4.In my custom page having form if i submit that form ,then it will go to home page
I have verify.phtml
<?php
$isuserVerified = Mage::helper('test/Data')->isUserVerified(Mage::getSingleton('customer/session')->getId());
if($isuserVerified == 'false'): ?>
<div class="verify_mobile">
<?php /*?><div class="notverify_yet">
<?php echo $this->__('*Please verify your mobile with OTP code.'); ?>
<label class="verify">
<?php echo $this->__("Please Enter verification codes"); ?>
</label>
<input type="text" id="code" name="code" placeholder="Enter verification code" class="verify" />
<input type="button" id="verify_mobile" value="Verify Mobile" class="button verify" />
<?php if(Mage::helper('test/Data')->canResendOTP())
?>
<a href="#" id="resend_mobile_code" class="verify resendcode">Resend Code</a>
<?php ?>
<script type="text/javascript">
jQuery(document).ready(function(e)
jQuery('#verify_mobile').click(function(e)
var code = jQuery("#code").val();
if(code !== "")
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/checkMobileVerificationCode' ?>',
data:code:code,
success: function(data)
if(data !== "false")
jQuery(".verify_mobile").css('display','none');
showMessage('Thanks for Verification', "success");
else
showMessage('Please Enter Valid Code!', "error");
,
error: function()
alert('Error occured');
);
);
jQuery('#resend_mobile_code').click(function(e)
var code = jQuery("#code").val();
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/resendMobileCode' ?>',
success: function(data)
showMessage(data, "success");
,
error: function()
showMessage('Something went wrong', "error");
);
);
function showMessage(txt, type)
var html = '<ul class="messages"><li class="'+type+'-msg"><ul><li><span>' + txt + '</span></li></ul></li></ul>';
jQuery('ul.messages').remove();
jQuery('.page-title').after(html);
);
I want to call this page(verify otp) after successful registration and after successful verification otp it will go to home page.
I tried with create custom module observer
<?php
class Tst_Custommodule_Model_Observer
public function myredirection(Varien_Event_Observer $observer)
//echo "fsdffds";exit;
$AccountController = $observer->getEvent()->getAccountController();
$Customer = $observer->getEvent()->getCustomer();
$response1 = Mage::app()->getResponse(); // observers have event args
$url = 'numberverify';
$response1->setRedirect($url);
Mage::app()->getFrontController()->sendResponse();
return;
but it gets error cannot save customer
magento-1.9
bumped to the homepage by Community♦ 9 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
|
show 2 more comments
How to redirect custom page after registration in magento 1.9.2.4.In my custom page having form if i submit that form ,then it will go to home page
I have verify.phtml
<?php
$isuserVerified = Mage::helper('test/Data')->isUserVerified(Mage::getSingleton('customer/session')->getId());
if($isuserVerified == 'false'): ?>
<div class="verify_mobile">
<?php /*?><div class="notverify_yet">
<?php echo $this->__('*Please verify your mobile with OTP code.'); ?>
<label class="verify">
<?php echo $this->__("Please Enter verification codes"); ?>
</label>
<input type="text" id="code" name="code" placeholder="Enter verification code" class="verify" />
<input type="button" id="verify_mobile" value="Verify Mobile" class="button verify" />
<?php if(Mage::helper('test/Data')->canResendOTP())
?>
<a href="#" id="resend_mobile_code" class="verify resendcode">Resend Code</a>
<?php ?>
<script type="text/javascript">
jQuery(document).ready(function(e)
jQuery('#verify_mobile').click(function(e)
var code = jQuery("#code").val();
if(code !== "")
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/checkMobileVerificationCode' ?>',
data:code:code,
success: function(data)
if(data !== "false")
jQuery(".verify_mobile").css('display','none');
showMessage('Thanks for Verification', "success");
else
showMessage('Please Enter Valid Code!', "error");
,
error: function()
alert('Error occured');
);
);
jQuery('#resend_mobile_code').click(function(e)
var code = jQuery("#code").val();
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/resendMobileCode' ?>',
success: function(data)
showMessage(data, "success");
,
error: function()
showMessage('Something went wrong', "error");
);
);
function showMessage(txt, type)
var html = '<ul class="messages"><li class="'+type+'-msg"><ul><li><span>' + txt + '</span></li></ul></li></ul>';
jQuery('ul.messages').remove();
jQuery('.page-title').after(html);
);
I want to call this page(verify otp) after successful registration and after successful verification otp it will go to home page.
I tried with create custom module observer
<?php
class Tst_Custommodule_Model_Observer
public function myredirection(Varien_Event_Observer $observer)
//echo "fsdffds";exit;
$AccountController = $observer->getEvent()->getAccountController();
$Customer = $observer->getEvent()->getCustomer();
$response1 = Mage::app()->getResponse(); // observers have event args
$url = 'numberverify';
$response1->setRedirect($url);
Mage::app()->getFrontController()->sendResponse();
return;
but it gets error cannot save customer
magento-1.9
bumped to the homepage by Community♦ 9 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Do You have a seperate form or you are talking about the customer registration form provided by magento? Please share your problem in more detail with code snippet if possible. This will help you get answers faster.
– aton1004
Nov 10 '17 at 8:29
Iam having verifiacation code form
– Nadh
Nov 10 '17 at 8:31
So you have a custom form and on form submission you want to redirect it to home page? Is that what you want?
– aton1004
Nov 10 '17 at 8:32
yes for submission of registration it will go to my custom form and then it will go to homepage
– Nadh
Nov 10 '17 at 8:37
Could you please update your question with screenshots on what is happening right now and what you want to achieve? Your comments are not helping at all, sorry :(
– aton1004
Nov 10 '17 at 8:40
|
show 2 more comments
How to redirect custom page after registration in magento 1.9.2.4.In my custom page having form if i submit that form ,then it will go to home page
I have verify.phtml
<?php
$isuserVerified = Mage::helper('test/Data')->isUserVerified(Mage::getSingleton('customer/session')->getId());
if($isuserVerified == 'false'): ?>
<div class="verify_mobile">
<?php /*?><div class="notverify_yet">
<?php echo $this->__('*Please verify your mobile with OTP code.'); ?>
<label class="verify">
<?php echo $this->__("Please Enter verification codes"); ?>
</label>
<input type="text" id="code" name="code" placeholder="Enter verification code" class="verify" />
<input type="button" id="verify_mobile" value="Verify Mobile" class="button verify" />
<?php if(Mage::helper('test/Data')->canResendOTP())
?>
<a href="#" id="resend_mobile_code" class="verify resendcode">Resend Code</a>
<?php ?>
<script type="text/javascript">
jQuery(document).ready(function(e)
jQuery('#verify_mobile').click(function(e)
var code = jQuery("#code").val();
if(code !== "")
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/checkMobileVerificationCode' ?>',
data:code:code,
success: function(data)
if(data !== "false")
jQuery(".verify_mobile").css('display','none');
showMessage('Thanks for Verification', "success");
else
showMessage('Please Enter Valid Code!', "error");
,
error: function()
alert('Error occured');
);
);
jQuery('#resend_mobile_code').click(function(e)
var code = jQuery("#code").val();
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/resendMobileCode' ?>',
success: function(data)
showMessage(data, "success");
,
error: function()
showMessage('Something went wrong', "error");
);
);
function showMessage(txt, type)
var html = '<ul class="messages"><li class="'+type+'-msg"><ul><li><span>' + txt + '</span></li></ul></li></ul>';
jQuery('ul.messages').remove();
jQuery('.page-title').after(html);
);
I want to call this page(verify otp) after successful registration and after successful verification otp it will go to home page.
I tried with create custom module observer
<?php
class Tst_Custommodule_Model_Observer
public function myredirection(Varien_Event_Observer $observer)
//echo "fsdffds";exit;
$AccountController = $observer->getEvent()->getAccountController();
$Customer = $observer->getEvent()->getCustomer();
$response1 = Mage::app()->getResponse(); // observers have event args
$url = 'numberverify';
$response1->setRedirect($url);
Mage::app()->getFrontController()->sendResponse();
return;
but it gets error cannot save customer
magento-1.9
How to redirect custom page after registration in magento 1.9.2.4.In my custom page having form if i submit that form ,then it will go to home page
I have verify.phtml
<?php
$isuserVerified = Mage::helper('test/Data')->isUserVerified(Mage::getSingleton('customer/session')->getId());
if($isuserVerified == 'false'): ?>
<div class="verify_mobile">
<?php /*?><div class="notverify_yet">
<?php echo $this->__('*Please verify your mobile with OTP code.'); ?>
<label class="verify">
<?php echo $this->__("Please Enter verification codes"); ?>
</label>
<input type="text" id="code" name="code" placeholder="Enter verification code" class="verify" />
<input type="button" id="verify_mobile" value="Verify Mobile" class="button verify" />
<?php if(Mage::helper('test/Data')->canResendOTP())
?>
<a href="#" id="resend_mobile_code" class="verify resendcode">Resend Code</a>
<?php ?>
<script type="text/javascript">
jQuery(document).ready(function(e)
jQuery('#verify_mobile').click(function(e)
var code = jQuery("#code").val();
if(code !== "")
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/checkMobileVerificationCode' ?>',
data:code:code,
success: function(data)
if(data !== "false")
jQuery(".verify_mobile").css('display','none');
showMessage('Thanks for Verification', "success");
else
showMessage('Please Enter Valid Code!', "error");
,
error: function()
alert('Error occured');
);
);
jQuery('#resend_mobile_code').click(function(e)
var code = jQuery("#code").val();
jQuery.ajax(
method:"POST",
url:'<?php echo Mage::getBaseUrl().'test/index/resendMobileCode' ?>',
success: function(data)
showMessage(data, "success");
,
error: function()
showMessage('Something went wrong', "error");
);
);
function showMessage(txt, type)
var html = '<ul class="messages"><li class="'+type+'-msg"><ul><li><span>' + txt + '</span></li></ul></li></ul>';
jQuery('ul.messages').remove();
jQuery('.page-title').after(html);
);
I want to call this page(verify otp) after successful registration and after successful verification otp it will go to home page.
I tried with create custom module observer
<?php
class Tst_Custommodule_Model_Observer
public function myredirection(Varien_Event_Observer $observer)
//echo "fsdffds";exit;
$AccountController = $observer->getEvent()->getAccountController();
$Customer = $observer->getEvent()->getCustomer();
$response1 = Mage::app()->getResponse(); // observers have event args
$url = 'numberverify';
$response1->setRedirect($url);
Mage::app()->getFrontController()->sendResponse();
return;
but it gets error cannot save customer
magento-1.9
magento-1.9
edited Nov 10 '17 at 9:01
Nadh
asked Nov 10 '17 at 7:18
NadhNadh
4481722
4481722
bumped to the homepage by Community♦ 9 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 9 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
Do You have a seperate form or you are talking about the customer registration form provided by magento? Please share your problem in more detail with code snippet if possible. This will help you get answers faster.
– aton1004
Nov 10 '17 at 8:29
Iam having verifiacation code form
– Nadh
Nov 10 '17 at 8:31
So you have a custom form and on form submission you want to redirect it to home page? Is that what you want?
– aton1004
Nov 10 '17 at 8:32
yes for submission of registration it will go to my custom form and then it will go to homepage
– Nadh
Nov 10 '17 at 8:37
Could you please update your question with screenshots on what is happening right now and what you want to achieve? Your comments are not helping at all, sorry :(
– aton1004
Nov 10 '17 at 8:40
|
show 2 more comments
Do You have a seperate form or you are talking about the customer registration form provided by magento? Please share your problem in more detail with code snippet if possible. This will help you get answers faster.
– aton1004
Nov 10 '17 at 8:29
Iam having verifiacation code form
– Nadh
Nov 10 '17 at 8:31
So you have a custom form and on form submission you want to redirect it to home page? Is that what you want?
– aton1004
Nov 10 '17 at 8:32
yes for submission of registration it will go to my custom form and then it will go to homepage
– Nadh
Nov 10 '17 at 8:37
Could you please update your question with screenshots on what is happening right now and what you want to achieve? Your comments are not helping at all, sorry :(
– aton1004
Nov 10 '17 at 8:40
Do You have a seperate form or you are talking about the customer registration form provided by magento? Please share your problem in more detail with code snippet if possible. This will help you get answers faster.
– aton1004
Nov 10 '17 at 8:29
Do You have a seperate form or you are talking about the customer registration form provided by magento? Please share your problem in more detail with code snippet if possible. This will help you get answers faster.
– aton1004
Nov 10 '17 at 8:29
Iam having verifiacation code form
– Nadh
Nov 10 '17 at 8:31
Iam having verifiacation code form
– Nadh
Nov 10 '17 at 8:31
So you have a custom form and on form submission you want to redirect it to home page? Is that what you want?
– aton1004
Nov 10 '17 at 8:32
So you have a custom form and on form submission you want to redirect it to home page? Is that what you want?
– aton1004
Nov 10 '17 at 8:32
yes for submission of registration it will go to my custom form and then it will go to homepage
– Nadh
Nov 10 '17 at 8:37
yes for submission of registration it will go to my custom form and then it will go to homepage
– Nadh
Nov 10 '17 at 8:37
Could you please update your question with screenshots on what is happening right now and what you want to achieve? Your comments are not helping at all, sorry :(
– aton1004
Nov 10 '17 at 8:40
Could you please update your question with screenshots on what is happening right now and what you want to achieve? Your comments are not helping at all, sorry :(
– aton1004
Nov 10 '17 at 8:40
|
show 2 more comments
2 Answers
2
active
oldest
votes
You can use following code in your observer which will observe event customer_register_success
Mage::app()->getResponse()->setRedirect('frontname/controller/action');
Mage::app()->getResponse()->sendResponse();
For redirecting back to home page you can use following in you form's submit controller you can use following code ;
$this->_redirect("/");
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
add a comment |
If I get you correctly, On customer registration success you want your customer to be redirected to the page with template verify.phtml. When the verification is successful you want them to be redirected to Home page.
For this I think you should follow below steps:
- override customer create Action of Account controller, some information could be found here
- On the controller action you need to set the redirect to your customer module controller which will load the layout that has a block with your template of verify.phtml
I think point 2 may confuses you. So let me explain a bit more in detail.
First of all you need your own module with a controller. in that controller You will load and render a layout with template. Refer this
Now on the same module you could override the customer controller with create Action. And there after customer is created, you can redirect to your controller
by doing something like
$this->_redirect('module-frontname/controller-name/action-name');
You can search more detail about redirecting to our custom module controller.
On the verify form submission success, which you are doing through ajax, you can redirect easily to your home page.
I hope my answer above provide you some giudelines to move ahead. If it helps you please accept and vote up the answer.
Happy Coding!!
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f200873%2fmagento-how-to-redirect-custom-page-after-registration-and-then-home-page%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You can use following code in your observer which will observe event customer_register_success
Mage::app()->getResponse()->setRedirect('frontname/controller/action');
Mage::app()->getResponse()->sendResponse();
For redirecting back to home page you can use following in you form's submit controller you can use following code ;
$this->_redirect("/");
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
add a comment |
You can use following code in your observer which will observe event customer_register_success
Mage::app()->getResponse()->setRedirect('frontname/controller/action');
Mage::app()->getResponse()->sendResponse();
For redirecting back to home page you can use following in you form's submit controller you can use following code ;
$this->_redirect("/");
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
add a comment |
You can use following code in your observer which will observe event customer_register_success
Mage::app()->getResponse()->setRedirect('frontname/controller/action');
Mage::app()->getResponse()->sendResponse();
For redirecting back to home page you can use following in you form's submit controller you can use following code ;
$this->_redirect("/");
You can use following code in your observer which will observe event customer_register_success
Mage::app()->getResponse()->setRedirect('frontname/controller/action');
Mage::app()->getResponse()->sendResponse();
For redirecting back to home page you can use following in you form's submit controller you can use following code ;
$this->_redirect("/");
answered Nov 10 '17 at 7:41
Vivek KumarVivek Kumar
2,4932729
2,4932729
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
add a comment |
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
can you give the proper answer
– Nadh
Nov 10 '17 at 8:31
add a comment |
If I get you correctly, On customer registration success you want your customer to be redirected to the page with template verify.phtml. When the verification is successful you want them to be redirected to Home page.
For this I think you should follow below steps:
- override customer create Action of Account controller, some information could be found here
- On the controller action you need to set the redirect to your customer module controller which will load the layout that has a block with your template of verify.phtml
I think point 2 may confuses you. So let me explain a bit more in detail.
First of all you need your own module with a controller. in that controller You will load and render a layout with template. Refer this
Now on the same module you could override the customer controller with create Action. And there after customer is created, you can redirect to your controller
by doing something like
$this->_redirect('module-frontname/controller-name/action-name');
You can search more detail about redirecting to our custom module controller.
On the verify form submission success, which you are doing through ajax, you can redirect easily to your home page.
I hope my answer above provide you some giudelines to move ahead. If it helps you please accept and vote up the answer.
Happy Coding!!
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
add a comment |
If I get you correctly, On customer registration success you want your customer to be redirected to the page with template verify.phtml. When the verification is successful you want them to be redirected to Home page.
For this I think you should follow below steps:
- override customer create Action of Account controller, some information could be found here
- On the controller action you need to set the redirect to your customer module controller which will load the layout that has a block with your template of verify.phtml
I think point 2 may confuses you. So let me explain a bit more in detail.
First of all you need your own module with a controller. in that controller You will load and render a layout with template. Refer this
Now on the same module you could override the customer controller with create Action. And there after customer is created, you can redirect to your controller
by doing something like
$this->_redirect('module-frontname/controller-name/action-name');
You can search more detail about redirecting to our custom module controller.
On the verify form submission success, which you are doing through ajax, you can redirect easily to your home page.
I hope my answer above provide you some giudelines to move ahead. If it helps you please accept and vote up the answer.
Happy Coding!!
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
add a comment |
If I get you correctly, On customer registration success you want your customer to be redirected to the page with template verify.phtml. When the verification is successful you want them to be redirected to Home page.
For this I think you should follow below steps:
- override customer create Action of Account controller, some information could be found here
- On the controller action you need to set the redirect to your customer module controller which will load the layout that has a block with your template of verify.phtml
I think point 2 may confuses you. So let me explain a bit more in detail.
First of all you need your own module with a controller. in that controller You will load and render a layout with template. Refer this
Now on the same module you could override the customer controller with create Action. And there after customer is created, you can redirect to your controller
by doing something like
$this->_redirect('module-frontname/controller-name/action-name');
You can search more detail about redirecting to our custom module controller.
On the verify form submission success, which you are doing through ajax, you can redirect easily to your home page.
I hope my answer above provide you some giudelines to move ahead. If it helps you please accept and vote up the answer.
Happy Coding!!
If I get you correctly, On customer registration success you want your customer to be redirected to the page with template verify.phtml. When the verification is successful you want them to be redirected to Home page.
For this I think you should follow below steps:
- override customer create Action of Account controller, some information could be found here
- On the controller action you need to set the redirect to your customer module controller which will load the layout that has a block with your template of verify.phtml
I think point 2 may confuses you. So let me explain a bit more in detail.
First of all you need your own module with a controller. in that controller You will load and render a layout with template. Refer this
Now on the same module you could override the customer controller with create Action. And there after customer is created, you can redirect to your controller
by doing something like
$this->_redirect('module-frontname/controller-name/action-name');
You can search more detail about redirecting to our custom module controller.
On the verify form submission success, which you are doing through ajax, you can redirect easily to your home page.
I hope my answer above provide you some giudelines to move ahead. If it helps you please accept and vote up the answer.
Happy Coding!!
answered Nov 10 '17 at 11:35
aton1004aton1004
643823
643823
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
add a comment |
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
can you give steps in sample code
– Nadh
Nov 10 '17 at 12:20
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f200873%2fmagento-how-to-redirect-custom-page-after-registration-and-then-home-page%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Do You have a seperate form or you are talking about the customer registration form provided by magento? Please share your problem in more detail with code snippet if possible. This will help you get answers faster.
– aton1004
Nov 10 '17 at 8:29
Iam having verifiacation code form
– Nadh
Nov 10 '17 at 8:31
So you have a custom form and on form submission you want to redirect it to home page? Is that what you want?
– aton1004
Nov 10 '17 at 8:32
yes for submission of registration it will go to my custom form and then it will go to homepage
– Nadh
Nov 10 '17 at 8:37
Could you please update your question with screenshots on what is happening right now and what you want to achieve? Your comments are not helping at all, sorry :(
– aton1004
Nov 10 '17 at 8:40