Page 1 of 1

Phoca cart Thank you page redirect after order

Posted: 31 Aug 2019, 11:58
by metestaki
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!

Re: Phoca cart Thank you page redirect after order

Posted: 31 Aug 2019, 17:18
by Jan
Hi, when the order is done, user is redirected to "info" page:
Image

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

Re: Phoca cart Thank you page redirect after order

Posted: 01 Sep 2019, 10:21
by metestaki
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?

Re: Phoca cart Thank you page redirect after order

Posted: 02 Sep 2019, 12:25
by Jan
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.

Image

What do you mean with track only the paid orders?

Jan

Re: Phoca cart Thank you page redirect after order

Posted: 02 Sep 2019, 20:17
by metestaki
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!

Re: Phoca cart Thank you page redirect after order

Posted: 03 Sep 2019, 12:19
by Jan
metestaki wrote: 02 Sep 2019, 20:17 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.
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.

Re: Phoca cart Thank you page redirect after order

Posted: 03 Sep 2019, 23:10
by metestaki
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! :-)

Re: Phoca cart Thank you page redirect after order

Posted: 05 Sep 2019, 14:41
by Jan
Ok