Menu item for payment view

Phoca Cart - complex e-commerce extension
User avatar
b2z
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 09 Dec 2016, 13:52

Menu item for payment view

Post by b2z »

Hello,

It would be nice to have a menu item for a payment view.

Sincerely,
Dmitrijs
User avatar
sulpher
Phoca Professional
Phoca Professional
Posts: 105
Joined: 28 Feb 2017, 09:45

Re: Menu item for payment view

Post by sulpher »

I agree - it will give more flexibility in customization.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu item for payment view

Post by Jan »

Hi, what do you mean with payment view? Which view is this? Some checkout subview or some specific view for Payment information?
If you find Phoca extensions useful, please support the project
User avatar
b2z
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 09 Dec 2016, 13:52

Re: Menu item for payment view

Post by b2z »

That's the page that comes after checkout.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu item for payment view

Post by Jan »

Hi, the page which comes after checkout is info page and in payment method plugin:

- you can add some content to this page - onPCPonInfoViewDisplayContent event

- you can even define other page (with redirect to other page on onPCPbeforeProceedToPayment event)
- and payment method plugin can even decide if cart will be empty or not after making order

And now the question is, why to have menu link to info view when content of this view is mostly based on order (checkout). So in fact this will be empty page because per menu link it does not get any information needed. :idea:

Jan
If you find Phoca extensions useful, please support the project
User avatar
b2z
Phoca Enthusiast
Phoca Enthusiast
Posts: 52
Joined: 09 Dec 2016, 13:52

Re: Menu item for payment view

Post by b2z »

Well ok, probably you are right :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Menu item for payment view

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply