URL to show category listing

  • Posts: 1
  • Thank you received: 0
13 years 3 months ago #22416

Hello,
I am trying to undestand how the URLs for category listings work.

On a website I am working on I see that this URL
macpro3.sideralia.it/www/enotecapenati.c...ut=listing&Itemid=58

is used in the menu to open a component page which shows the products of a given category.

I would like to directly insert the menu items in MySQL but in jos_menu I don't understand which relationship there is with HikaShop's categories.

I need to know because I'm trying to integrate the e-commerce with a broader CRM system in Filemaker and I want to automate the menu creation in Joomla.

Thank you
Nicholas

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

  • Posts: 82868
  • Thank you received: 13376
  • MODERATOR
13 years 3 months ago #22427

Hi,

The link is done by an entry menu_XX (where XX is the id of the menu) in jos_hikashop_config. In it, there is all the hikashop options of the menu which are serialized and base64_encoded. In it, there is the key "selectparentlisting" where the category id for the menu is saved.

Not sure if that's possible but you could try to add a parameter cid to the menu URL in the jos_menu table.
If it works, you would have this:
macpro3.sideralia.it/www/enotecapenati.c...ing&cid=XX&Itemid=58

where XX would be the id of the category and which would be taken into account by the system automatically, overriding the category id selected in the hikashop options of the menu 58.

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

Time to create page: 0.045 seconds
Powered by Kunena Forum