Page 1 of 1

Redirection page after order confimation

Posted: 30 Sep 2024, 13:57
by ScaleBXL
Hello,


At the moment, I have configured several pick-up points. When confirming the order, the user is redirected to an info page ("MY_SITE/fr/shop_category/info") with the pickup description (info view).

For multi languages site, is it possible to override the info view in several languages?

How to change this redirection to have a more logical url like "fr/order recapitulation" ou fr/Pickup informations?

Thank you for your help

Re: Redirection page after order confimation

Posted: 30 Sep 2024, 17:27
by Jan
Hi, you can override the info view with standard template override feature.
components/com_phocacart/views/info/tmpl/default.php

The info view even includes events which can be used in plugins, so you can add content to info view by events in plugins:

View plugin:
onPCVonInfoViewDisplayContent

Shipping plugin:
onPCSonInfoViewDisplayContent

Payment plugin:
onPCPonInfoViewDisplayContent

Even description which is set for shipping or payment method can be displayed on Info page:
Image and have multilanguage.

Jan