josmi95
Forum Replies Created
-
Is there any way to differentiate the order confirmation page between cancel order pop form submission and checkout form submission. By using this we can hide the pop-up only in cancel order popup submission.
1.By using the above code the text is replaced when cancel order pop up form submit. but the thank you message is not shown when we first comes to the order confirmation page after checkout a product.We need to change the text only after the cancel order popup submission.
refer image
https://www.awesomescreenshot.com/image/15396239?key=277d7bbd226ac4a3d5a071c92469602b2.pop up is a custom pop up.please refer screenshort
We need to hide this pop up in cancel order form submission.Provide any hook that trigger in cancel order popup form submission
On the Order confirmation page there is button text “Want to cancel this order? Click here” .when we click on this, the cancel order pop-up form shows and after submitting the form a thank you message popup is showing. We want two things
1.We do not want to show the Thank you message pop up after submitting the cancellation popup form.
2.After submitting the cancellation pop up form we want to replace the “Thank you for your purchase. An email has been sent with all the details” text showing the very first of order confirmation page with cancelation text.Help as to fix these points
This code works perfectly. Thank you for your help.
Currently, the functionality is, when a user purchased a product then got the order email and click on the text “Click to manage your order” which links to the order confirmation page and there is a text “Want to cancel this order? Click here” when clicking on this it will show the cancellation pop up form. Our requirement is when the user clicks on the text on the mail to cancel the order(Click to manage your order), then redirect to the order confirmation page and shows the pop-up form directly without clicking any other text.