Menu item structure

  • Posts: 127
  • Thank you received: 1
10 years 5 months ago #195466

-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.4

Hello,

I am trying to setup the following menu item structure for my HikaShop store.

Book Store (Listing of brands, parent menu item)
- Brand One (Brand description with product listing, first child menu item)
-- Product page from brand one (second child menu item)
- Brand Two (Brand description with product listing, first child menu item)
-- Product page from brand two (second child menu item)

The listing of brands and individual brand pages are setup and working correctly, but when navigating to an individual product page, the menu item structure is not maintained. For example, book-store/category/681-delmar-cengage-nelson-education shows all of the products in the Delmar-Cengage/Nelson Education brand, but when I click on a product in the brand, the URL becomes book-store/product/716-a-practical-guide-to-teaching-in-the-fire-service. Is there a way to keep the URL like this: book-store/681-delmar-cengage-nelson-education/product/716-a-practical-guide-to-teaching-in-the-fire-service?

Any assistance is greatly appreciated. Thank you.

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
10 years 5 months ago #195485

Hi,

Yes. It's actually the case by default. I suppose that you turned on the "Force canonical URLs on listings" option of the HikaShop configuration and thanks to that, the URL used to access the product page is always the same one, regardless from where you access it. If you turn it off, the system will generate the URL dynamically on each listing and that way you'll get different URLs.

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

  • Posts: 127
  • Thank you received: 1
10 years 5 months ago #195576

Hello,

I have changed "Force canonical URLs on listings" to "No, generate the URLs", but the same URL structure is in place. Are there any other changes required?

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
10 years 5 months ago #195617

Hi,

Maybe you have some caching on your website preventing you from seeing the change ?
Did you clear your website cache ?

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

  • Posts: 127
  • Thank you received: 1
10 years 5 months ago #195932

Hello,

I have cleared my browser's cache and the website is not currently using caching. The URLs are still in the old format. Any ideas? Thank you.

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

  • Posts: 127
  • Thank you received: 1
10 years 5 months ago #196327

Hello,

Do you have any further suggestions for fixing this URL issue? Thank you.

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
10 years 5 months ago #196680

Hi,

I don't see why the URL would be the same on all the products listings if the "force canonical URLs on listings" option is off unless there is some caching on the pages/modules content.
Maybe you have a view override which customizes the products listing in some way and which creates the issue ? Rename temporarily the folder templates/YOUR_TEMPLATE/html/com_hikashop/product to something else and that will deactivate all the overrides for the products listings. If that helps, then there is something with the view overrides.

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

  • Posts: 127
  • Thank you received: 1
10 years 5 months ago #196696

Hello,

I have disabled the product template overrides and cleared the cache, but the URLs are still in the same format. Would I need to setup a sub menu item structure to produce the proper URLs or would this be handled automatically by HikaShop?

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
10 years 5 months ago #196706

Hi,

No you don't need to.
Please provide a backend access and a link to this thread via our contact form and we'll have a look at the problem.
www.hikashop.com/support/contact-us.html

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

  • Posts: 127
  • Thank you received: 1
10 years 5 months ago #196811

Hello,

I can provide access, but I need a secure way to submit the website login information. Can I email you directly or do you have a secure form I could use?

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

  • Posts: 26274
  • Thank you received: 4045
  • MODERATOR
10 years 5 months ago #196874

Hi,

Yes you can use our "contact us" form.
www.hikashop.com/support/contact-us.html

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.

  • Posts: 127
  • Thank you received: 1
9 years 10 months ago #218768

Hello,

I changed 'Force canonical URLs on listings' to 'No, generate the URLs', which fixed one issue, but now '/category_pathway-681' is being added to the end of the URL. Is there a way to remove this portion from the generated URLs? Any help is greatly appreciated. Thank you.

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

  • Posts: 13201
  • Thank you received: 2322
9 years 10 months ago #218935

Hi,

Which version of HikaShop do you have ? Because since 6 Months changes have been done regarding the canonical urls, and urls management in general.

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

  • Posts: 127
  • Thank you received: 1
9 years 10 months ago #219004

Hello,

I am using version 2.6.0. I changed to 'No, generate the URLs' after updating, so this issue may be tied to the new version.

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

  • Posts: 84306
  • Thank you received: 13701
  • MODERATOR
9 years 10 months ago #219009

Hi,

That part of the URL can be removed by simply turning back on the "simplified breadcrumbs" setting of the HikaShop configuration, as it is by default.

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

  • Posts: 127
  • Thank you received: 1
9 years 10 months ago #219194

Hello,

I set the breadcrumb parameter to 'Yes' and the issue was resolved. Thank you for your assistance.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum