Category displayed incorrectly if alias not unique

  • Posts: 21
  • Thank you received: 0
10 years 6 months ago #194726

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.0
-- Error-message(debug-mod must be tuned on) -- : None, wrong content displayed.

We have two category branches, some of the category names are identical. Hikashop generates the alias automatically, but does not check, if the alias is unique (in your case: woman - shoes and men - shoes).

I turned off the category number in the links. Since the tree is not part of the url (which is good), now multiple categories have the same link (../category/shoes) and system displays incorrect content.

Alias needs to be unique. Automatic checking should be done, at least if category numbers are turned off.

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

  • Posts: 84323
  • Thank you received: 13712
  • MODERATOR
10 years 6 months ago #194734

Hi,

Thank you for your feedback.
By default, having similar aliases is not a problem since the id of the categories/products in the URLs allow the system to differentiate different categories/products.
It's only a problem if you turn on the "remove products and categories ids from URLs" option of the HikaShop configuration, in which case, yes you need to make sure that you don't have two products with the same alias.
We'll look at adding such check.

Last edit: 10 years 6 months ago by nicolas.
The following user(s) said Thank You: trevsmiff

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

Time to create page: 0.135 seconds
Powered by Kunena Forum