Vendor SEF URL

  • Posts: 461
  • Thank you received: 36
4 years 8 months ago #315942

-- url of the page with the problem -- : test2.egulp.net/shopping/vendors-listing
-- HikaShop version -- : 4.2.2
-- HikaMarket version -- : 3.0.3
-- Joomla version -- : 3.9.15
-- PHP version -- : 7.3.14
-- Browser(s) name and version -- : Chrome 80

HI,
on my portal I'll have an eCommerce area "Shopping", like https://mysite/shopping
I'd like to assign to all Vendors a SEF URL like:
https://mysite/shopping/vendor1
https://mysite/shopping/vendor2

Now, as far as I understood, it doesn't matter where I placed the "HikaMarket » Vendor edition" menu item URL, Am I right ?
What is important is to add a "HikaMarket » Vendors listing" menu item and to set it into "Market Tab - Display options > Vendor default menu", Am I right ?

If I'm right:

1 - In the "Market Tab - Display options > Vendor default menu" dropdown menu I'm not able to see and select the Vendors listing menu item I created. Please, What Am I missing ?

2 - If I place the "HikaMarket » Vendors listing" into https://mysite/shopping/vendors-listing I'll have back a Vendor page like: https://mysite/shopping/vendors-listing/vendor1 instead of https://mysite/shopping/vendor1
Please, Do you have any tip for it ?

Last edit: 4 years 8 months ago by Jerome.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 8 months ago #315947

Hello,

1 - That issue already been fixed ; it is a side effect of a modification in the HikaShop core.
Please re-download HikaMarket 3.0.3 to get the patch for that issue.

2 - That unfortunately something related to the Joomla SEF/menu system and HikaMarket can't do more than Joomla authorize to do.
It requires a menu which points to the component to be able to "override" the rest of the URL.
So if "/shopping" is an HikaMarket menu, it can create urls such as "/shopping/vendor1".
To do so, it need to know that the URL is possible, so when the menu is a "vendor listing", it can look for a vendor name in the URL and display its vendor page.
HikaShop do the same thing for the product pages.

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: 461
  • Thank you received: 36
4 years 8 months ago #316016

Hi Jerome,

1 - I updated to HikaShop Business 4.2.3 and re- downloaded/installed HikaMarket multi vendor 3.0.3 > the bug has been solved, thanks.

2 - Anyway, as far as I understand, the Vendor SEF URL is managed by HikaMarket through the Vendors listing menu applying the Name alias.
So, it doesn't matter where I placed the "HikaMarket » Vendor edition" menu item URL, Am I right ?
What is important is to add a "HikaMarket » Vendors listing" menu item and to set it into "Market Tab - Display options > Vendor default menu", Am I right ?

PS - I'm testing some workaround and let you know here...

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 8 months ago #316020

Hello,

The SEF in HikaMarket is just the Joomla SEF and its limitation :
docs.joomla.org/Search_Engine_Friendly_URLs
You need a menu and then, you can do "whatever" you want under that menu.

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: 461
  • Thank you received: 36
4 years 8 months ago #316050

Hi Jerome,
thanks. I know it and I'm following the evolution on github.com/joomla/joomla-cms/pull/19280 > github.com/joomla/joomla-cms/pull/20979

Asking you:
Anyway, as far as I understand, the Vendor SEF URL is managed by HikaMarket through the Vendors listing menu applying the Name alias.
So, it doesn't matter where I placed the "HikaMarket » Vendor edition" menu item URL, Am I right ?
What is important is to add a "HikaMarket » Vendors listing" menu item and to set it into "Market Tab - Display options > Vendor default menu", Am I right ?

Was just to be sure I understood the limits and not to report any issue.

Anyway, I created a Vendors listing menu item and clicking on Vendor name the URL is running as expected
Then, I created a Vendor page menu item for the same vendor using a personalized URL, but it is not applied to the vendors listing name link. Is it right ?

Last edit: 4 years 8 months ago by joomleb.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
4 years 8 months ago #316058

Hello,

The "vendor listing" is what you need to use for the "vendor default menu" so the vendor links will use that menu for a better SEF.

For the moment, all vendor URL in the front-end are based on the same URL generation with the same "menu id".
Like HIkaShop, we want to improve that and maybe introduce the "canonical URL" thus it will be possible to have specific URL for vendors. When we started an implementation, there was various feedback on the HikaShop canonical generation and also the new Joomla routing system in preparation.

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: 461
  • Thank you received: 36
4 years 8 months ago #316118

Hi Jerome,
many thanks for the explications, too appreciated !

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

Moderators: Obsidev
Time to create page: 0.065 seconds
Powered by Kunena Forum