Page 1 of 1

How to display shopping cart in J4

Posted: 30 Mar 2022, 11:16
by Scrabble96
I have enabled the shopping cart but it doesn't display anywhere. How do I make it visible? Thanks.

Re: How to display shopping cart in J4

Posted: 30 Mar 2022, 13:04
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.

Re: How to display shopping cart in J4

Posted: 30 Mar 2022, 17:08
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

Re: How to display shopping cart in J4

Posted: 30 Mar 2022, 17:46
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

Re: How to display shopping cart in J4

Posted: 30 Mar 2022, 17:51
by Scrabble96
Thank you!