Making module categories link to module-based products

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296110

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.6
-- PHP version -- : 5.4.16

I have succefully created my first Hikashop module. This displays the categories I want. However when I click on one of the categories there is no link to the products within that category:

the link takes me to www.mywebsite.com/index.php/hikashop-men.../category/x-category

I can't find a way to create an appropriate content module that links to the category URLs in my category module.

Please help.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 8 months ago #296111

Hi,

First, check with the default template of Joomla. If it works with it, check if you have the file templates/YOUR_TEMPLATE/html/com_hikashop/category/listing.php
If you do, rename it and it should help.
Otherwise, please post a screenshot of the settings of your module under the "HikaShop options" tab of the module and provide a link to the page so that we can look at the situation.

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

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296158

On the Beez3 joomal template it works, but it displays the subcategories below the module I made ("HikaShop 1stModule"). On my template, on clicking the category, everything disappears.

I cannot find "templates/YOUR_TEMPLATE/html/com_hikashop/category/listing.php" but I am unsure about the link and whereI am being directed. Whether its source code or file path "listing.php" is not there.

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 8 months ago #296167

Hi,

The path is a file path that you can check in FTP or the file manager of your cpanel.
Of course, you need to replace "YOUR_TEMPLATE" by the name of the folder of your template.

Also, you provided the screenshot of the settings of your module, but the "menu" setting is missing from the screenshot, could you tell us what you have in that setting ? Also, could you provide the settings of the menu item selected in that setting ?

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

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296205

Hi Nicolas,

Your path link is confusing me. There is no html folder inside my templates folder. Its not been required until now. Should there have been one before I installed this extension?

Menu settings:

1. HikaShop 1stModule is asssigned to "Hikatest" menu only.
2. Underneath "synchronize" in the module data display settings the menu is also set to "Hikatest"

I've attached two different settings for the "Hikatest" menu. Both use "Products Listing" as the menu item type.

Attachments:

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 8 months ago #296229

Hi,

Then, I don't see why it would do that. It looks all goods.
Please provide:
- a working link to the page with the issue
- a backend access to be able to check your settings
- a link to this thread
via our contact form so that we can have a look at the situation directly:
www.hikashop.com/support/contact-us.html

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 8 months ago #296257

Hi,

I got the access and wanted to look at the issue, but the whole frontend on your website doesn't work.
Apparently, there is an issue with the icemegamenu extension:
monosnap.com/file/GHjWODKUrGUuWFNw9APnUWSKZ9Jj4R
So please first fix that issue so that we can look at the HikaShop module and check what's going on.

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

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296264

I see. That's unusual and just happened. Apologies. Will sort now

Last edit: 5 years 8 months ago by JohnSmithers.

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

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296265

I've taken the menu out for now. The site is a bit messy but should be suitable for you to have a look. Thanks again.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 8 months ago #296393

Hi,

Thanks, I was able to check on the issue.
You said that you had the 3.5.1 in your first message, but that is not the case. You have the 3.3.0. And with HikaShop versions below the 3.4.1, they can't display properly the products on Joomla 3.8.9 and above due to changes made in Joomla.
So you just need to update your HikaShop and it will fix the problem.

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

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296440

Hi Nicolas,

I upgraded as requested, but it has not fixed the issue :-(

Its probably useful to note that I can't display the checkout process either...
Can you assist some more please?

Last edit: 5 years 8 months ago by JohnSmithers.

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

  • Posts: 81539
  • Thank you received: 13069
  • MODERATOR
5 years 8 months ago #296448

Hi,

First, the add to cart button now works on your product listings.
Second, the content area with the products, product page, checkout, etc now displays properly if I switch to the default template.

You have two problems left:
- your template's index.php doesn't display the "component" area of the pages:
docs.joomla.org/Jdoc_statements
So components, like HikaShop can't display their content on the pages, only modules can.
That's a big mistake of your template provider, so you should check on with them.
- You have canonical URLs in your products that use the menu item with the alias "hikashop-menu-for-products-listing", and you've activated the "force canonical URLs on listings" setting of the HikaShop configuration. So since the canonical URLs are used on the listings but that they are invalid now that the menu item has been removed, all the links to the product pages don't work.
A quick fix would be to turn off the "force canonical URLs on listings", but it would be better to simply edit each product and empty their "canonical URL" field. HikaShop will recreate the URLs automatically with another working menu item.

The following user(s) said Thank You: JohnSmithers

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

  • Posts: 29
  • Thank you received: 0
5 years 8 months ago #296641

Thanks for all this. I was able to move forward effectively.

I'll open a new topic if required but now, at the checkout, I can't progress past the registration page; the page returns with no new registration and all fields blank once again.

What should I examine here?

Last edit: 5 years 8 months ago by JohnSmithers.

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

  • Posts: 26004
  • Thank you received: 4004
  • MODERATOR
5 years 8 months ago #296645

Hello,

It will be better to open a new thread since it would be for a very different subject (an another category in our forum).

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum