Cart not showing on product pages

  • Posts: 3
  • Thank you received: 1
  • Hikashop Essential
1 week 2 days ago #364042

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 5.2.0
-- PHP version -- : 8.2

A purchaser of the site has to know to go back to the "Shop" menu item to be able to see the cart. The cart is not showing in the product views. I have set the cart module up to show on the shop page and selected "all" sub items. In the Hikashop module settings, I have set to show the cart in the product pages. When the sub items are selected using the Joomla menu selection, the checks are in a lighter color and do not "hold" after saving.

However, there is something I have done differently. Because I put different shop item types in tabs, the menu items are Joomla internal urls to enable the use of the #tab distinction. Could that be the problem? If not, what am I doing wrong or is there some other way of making sure that a the cart of a link to the cart appears on every product page.

Thank you.
Patti

Please Log in or Create an account to join the conversation.

  • Posts: 4715
  • Thank you received: 639
  • MODERATOR
1 week 1 day ago #364047

Hello,

Sorry for this return but can you precise your idea?
What do you mean by "When the sub items are selected using the Joomla menu selection, the checks are in a lighter color and do not "hold" after saving"?
Can you details your idea via elements like annotated screenshots, url link, step by step to reproduce your issue etc...

Can you provide your module settings screenshot (Menu Assignment & HikaShop options => Display part).
Process a test with a default template to see if that change something to your issue, sometimes templates do not allow the display of side parts...

Awaiting your returns to progress on your subject.
Regards

Last edit: 1 week 1 day ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 1
  • Hikashop Essential
1 week 1 day ago #364062

The site is here: bcgcertification.org/bcgcert/shop
I did provide that in my original question, but checked the box not to show it. I assumed moderators would be able to see it.

I have attached three screenshots showing the module settings:
1. pages selected for the cart to show.
2. pages selected for the cart to show after saving
3. Hikashop options

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82683
  • Thank you received: 13337
  • MODERATOR
1 week 1 day ago #364066

Hi,

We got the URL with the first message. It was just a mistake in Philip's message.
Thanks for the screenshots.
The problem is this:
You've configured the cart module to be displayed with the "shop" menu item.
And on the shop menu item, it's actually a Joomla article page with a HikaShop content module displayed in it with a content tag.
With Joomla, the current menu item has to match with the component used to display the main area of the page.
So if you want to display a product details page, the current menu item needs to be of one of the types of menu items of HikaShop.
So the links of the products in the module there can't use the shop menu item.
That's why, when you click on a product of that module, you can see in the URL "component/hikashop". This happens when there is no menu item provided when generating the URL.
So, when you arrive on the product details page, there is no current menu item, and thus the cart module doesn't display.
To solve this situation, the HikaShop content modules have a setting "menu" where you can select a product listing menu item to be used for the links generated by the module. So edit your products listing module via the Joomla modules manager and select a products listing menu item in that setting. Then, the URLs of the products in that module won't have "component/hikashop" anymore in them, and instead, they'll have the alias of the menu item selected in that menu setting.
Then, in your cart module, also select this products listing menu item in the menu assignment so that the cart module can appear on the product details page.

The following user(s) said Thank You: BCGCertGen

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 1
  • Hikashop Essential
1 week 1 day ago #364076

All right, I got it. I had seen the Hikashop menu options, but the product listing ending up in my Hidden menu was not obvious!

So for others who might deal with the same (perhaps there are detailed instructions elsewhere)

I had created HikaShop content modules for various categories of products.
I had added the HikaShop cart selecting only the store's page.

What I needed to do was to

  • Create a Hikashop product listing menu item for each of the categories (individual Hikashop product content modules ) with the shop as parent.

  • Then go into each of the Hikashop content modules, and in the Hikashop options, go to "Data display" and select the new Hikashop menu item I'd just created.

  • Then go to the Hikashop cart module and select all the new Hikashop menu items I'd just created

  • Thanks for your help!!

    The following user(s) said Thank You: nicolas

    Please Log in or Create an account to join the conversation.

    Time to create page: 0.061 seconds
    Powered by Kunena Forum