Hello,
Could I somehow redirect the customer to a thank you page after th completion of his order?
Thank you so much for your answer!
Phoca cart Thank you page redirect after order
-
- Phoca Member
- Posts: 16
- Joined: 30 Jul 2019, 11:45
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca cart Thank you page redirect after order
Hi, when the order is done, user is redirected to "info" page:
You can customize it e.g. in your template when you will override this output file:
components\com_phocacart\views\info\tmpl\default.php
Jan
You can customize it e.g. in your template when you will override this output file:
components\com_phocacart\views\info\tmpl\default.php
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 16
- Joined: 30 Jul 2019, 11:45
Re: Phoca cart Thank you page redirect after order
Hi Jan,
this url is the same after the payment of the order?
The final step after payment gives in my browser this "https://www.domain.com/en/?option=com_p ... &view=info".
This page does not give any info in green background.
I need to track only the paid orders.
Could you advice?
this url is the same after the payment of the order?
The final step after payment gives in my browser this "https://www.domain.com/en/?option=com_p ... &view=info".
This page does not give any info in green background.
I need to track only the paid orders.
Could you advice?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca cart Thank you page redirect after order
Hi, the message in green background is Joomla! system message which is rendered after the order is done and the site is redirected to the info page. It only renders after order, not as default when the info view will be displayed.
And yes it is the same when after payment. E.g. if you will pay with PayPal, you will be redirected to PayPal and after payment back to the site - to info view and there will be displayed the green message.
What do you mean with track only the paid orders?
Jan
And yes it is the same when after payment. E.g. if you will pay with PayPal, you will be redirected to PayPal and after payment back to the site - to info view and there will be displayed the green message.
What do you mean with track only the paid orders?
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 16
- Joined: 30 Jul 2019, 11:45
Re: Phoca cart Thank you page redirect after order
Hi,
so strange, this message can be found found in the language file but it still doesn't appear at the info page after a paid order.
Can I enable any option in Phoca configuration? I did not find anything at the Options of the component.
I mean that all the orders are redirected to paypal to be paid (just one way to pay), so there is no option for the customer to see the order completion page before payment. As a result, I can track only the paid orders.
Thanks again!
so strange, this message can be found found in the language file but it still doesn't appear at the info page after a paid order.
Can I enable any option in Phoca configuration? I did not find anything at the Options of the component.
I mean that all the orders are redirected to paypal to be paid (just one way to pay), so there is no option for the customer to see the order completion page before payment. As a result, I can track only the paid orders.
Thanks again!
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca cart Thank you page redirect after order
Hi, sorry I don't understand what do you exactly mean?
1) User first see the order summarization
2) Then he/she clicks on "Confirm" button
3) Then when PayPal selected, user is redirected to PayPal
4) After payment user is redirected back to site where this message will be displayed.
So in fact user sees the order completion page befor he/she clicks on "Confirm" button.
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 16
- Joined: 30 Jul 2019, 11:45
Re: Phoca cart Thank you page redirect after order
Hi again,
I am so sorry for confusing you.
I tested again an realized how all this works.
For me,
orders/payment redirects for the paypal payment (track the visitors who where redirected to Paypal)
?option=com_phocacart&view=info is for the completion of the order and payment where finally I saw that message (track the visitors who finally completed the order and paid it).
I think this topic is closed now. Thank you for your patience, Jan! :-)
I am so sorry for confusing you.
I tested again an realized how all this works.
For me,
orders/payment redirects for the paypal payment (track the visitors who where redirected to Paypal)
?option=com_phocacart&view=info is for the completion of the order and payment where finally I saw that message (track the visitors who finally completed the order and paid it).
I think this topic is closed now. Thank you for your patience, Jan! :-)
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Phoca cart Thank you page redirect after order
Ok
If you find Phoca extensions useful, please support the project