Redirection page after order confimation

Phoca Cart - complex e-commerce extension
ScaleBXL
Phoca Member
Phoca Member
Posts: 35
Joined: 14 Feb 2024, 14:20

Redirection page after order confimation

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Redirection page after order confimation

Post 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
If you find Phoca extensions useful, please support the project
Post Reply