Hikashop Maximenu links do not default to Canonica

More
10 years 7 months ago #34280 by conticreative
I created a Maximenu for Hikashop that simply displays the main categories in Hikashop.

It works fine, however the links created by Maximenu look like this:
Code:
https://pearblossomfarms.com/hikashop-menu-for-categories-listing/category/13-jalapeno-sauces

While the canonical link (and the internal Hikashop menu) looks like this for the same page:
Code:
https://pearblossomfarms.com/jalapeno-sauces

Naturally, I would like all the links to default to the canonical link for the category. But especially the part
Code:
hikashop-menu-for-categories-listing/category/

Is especially problematic. Is there something I have to do either with Maximenu or Hikashop to make Maximenu read the canonical links? Should I make some redirects instead? But that would void the handy feature of having Maximenu create links for the categories automatically.

On this project it's not a big deal. I already created the menus manually and I'll be turning off the maximenu links after I finish here, but I have a larger project coming up where having the Maximenu plugin for Hikashop manage the links to the categories would be a welcome help. But not if the SEF links look like that. I know the client is not going to go for it.

Thank you.

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

More
10 years 7 months ago #34285 by ced1870
Hi
Please check in the module >> hikashop options >> to select the correct hikashop menu item for the root.

Tell me if this fixes the issue
CEd

Joomlack Webmaster and Developer

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

More
10 years 7 months ago - 10 years 7 months ago #34295 by conticreative
This is what I have in the module as far as Hikashop.
What I want in the menu is the categories and I have selected the "Categories listing".
Code:
<option value="106">Brands listing <option value="102" selected="selected">Categories listing <option value="188">Fruit Butters <option value="215">Menu item for category listing module 99 <option value="101">Products <option value="320">Soft - Jelled Jellies

Following your advice, I tested the other choices that made some sense and I tested
Code:
<option value="101">Products

With "Products" as the root, this is what the links look like:
Code:
href="/products/category/jalapeno-sauces">Jalapeño Sauces href="/products/category/salsas"> Salsas href="/products/category/peach-products"> Peach Products href="/products/category/fruit-butters"> Fruit Butters href="/products/category/fruit-syrups"> Fruit Syrups href="/products/category/soft-jelled-jellies"> Soft - Jelled Jellies

So the link is /products/category/category-name

This is much better. However, is there a way to get rid of the /products/category/ part? Hikashop is constantly inserting these useless definitions, as long as there is no alias duplication, I would much rather see a domain.com/jalapeño-sauces as a link than the longer version.

Not to mention that when I tested it, I realized I set up the canonical URL for the categories so currently the actual URL is: /products/jalapeno-sauces (where I could do without the /products/ part as well) and the Maximenu link takes me to a page with the category description but no products.

The latter is probably just a function of the Hikashop settings, notoriously difficult to wrangle properly. But I think it would be a good thing if maximenu could actually read the "Canonical URL" for a category and use that instead of whatever else it is using.

It turns out that I may have to forego using the Maximenu for Hikashop anyway, since I am setting up a special Wholesale area and I may need to do some fancy ACL work for the links anyway. But I have other projects where I would like to use Maximenu that have a lot more categories and where I would like it to produce the cleanest possible links.

Thank you very much for your help.

=================================================================

EDIT:
When I tried to install the Maximenu Patch after updating Maximenu to the latest version, I got this error:
Code:
Warning JInstaller: :Install: Can't find XML setup file. Error Unable to find install package

I don't recall where I am supposed to update the patch from,. I assume it's not the joomla installer given this error.
Last edit: 10 years 7 months ago by conticreative.

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

More
10 years 6 months ago #34317 by ced1870
Hi
Please contact me by email with a FTP access, I will try to fix this during the week :)
CEd

Joomlack Webmaster and Developer

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

More
10 years 6 months ago #34366 by conticreative
Thank you, I'll send you a PM with the info.

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

More
10 years 6 months ago - 10 years 6 months ago #34367 by conticreative
This is pretty strange, but I cannot find a way to send you a PM. Another thing that's wrong with the profile is that I cannot change my avatar picture. It's like I either have not enough privileges or something is broken with the forum.
I seem to be able to change my profile just fine, aside from the avatar, but I wasn't able to find a way to send a PM to anyone.

Can you try sending me a PM and I'll see if I can reply?
Last edit: 10 years 6 months ago by conticreative.

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

Time to create page: 0.205 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 892 guests and one member online