How to display shopping cart in J4

Phoca Cart - complex e-commerce extension
Scrabble96
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Mar 2022, 18:54

How to display shopping cart in J4

Post by Scrabble96 »

I have enabled the shopping cart but it doesn't display anywhere. How do I make it visible? Thanks.
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: How to display shopping cart in J4

Post by Nidzo »

Elaborate please.
Do you mean shopping cart as module or component?
If it is module then check does module position correspond to your template positions.
If it's component then create menu item that links to Phoca Cart.
Scrabble96
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Mar 2022, 18:54

Re: How to display shopping cart in J4

Post by Scrabble96 »

Nidzo wrote: 30 Mar 2022, 13:04 Elaborate please.
Do you mean shopping cart as module or component?
Thank you. By asking your question you answered mine! I'm a complete newbie to Phoca Cart and I thought that by enabling the shopping cart it would show on every Phoca Cart page automatically.

I've added it as a module and it shows the content of the cart as a list. What I was expecting, though, was something like this as shown in the demo:

https://imgur.com/a/I1Xi5uH
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: How to display shopping cart in J4

Post by Nidzo »

You need to create template overrides. Phoca Cart already have overrides for some of the most popular frameworks and templates. You can download it from: https://www.phoca.cz/phocacart-extensions/5-overrides
On demo image there are three modules included:
Phoca Cart Cart Module
Phoca Cart Compare Module
Phoca Cart Wish List Module

By combining these modules and override you will get the desired result
Scrabble96
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Mar 2022, 18:54

Re: How to display shopping cart in J4

Post by Scrabble96 »

Thank you!
Post Reply