brands listing for multilingual website

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 week ago #339817

Hi,

My situation and my problem :

I have a "brands listing" module. No problem here, brands is correctly displayed.
But when I click on a brand I encounter difficulties with the multingual part.

If I understand correctly, URL is fixed. (/brands-listing/category/)
So I must have a menu item with an alias 'brands-listing' to avoid the 404 error.

When I just click on the brand, its ok for my two languages.

This message contains confidential information


But if I'm on the page :
/fr/brands-listing/category/X
OR
/en/brands-listing/category/X

This message contains confidential information


I can't switch the language.
I'm redirected on my Home page with a message "The cart is empty".

I have no problem with product for example.
And because URL is forced, I can't, for example, try to use 1 item menu by language and associate them (as I have done for the products listing).

I don't understand the last line 'menu' in my screen.

I change the menu but it seems to have no effect for brands (maybe a reason of my issue).

Thanks in advance.

Last edit: 3 years 1 week ago by FDBI.

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
3 years 1 week ago #339822

Hi,

Could you provide screenshots of the settings of the menu item with the alias "brands-listing" and a screenshot of the SEF section under the "Features" tab of your HikaShop configuration so that we can better understand the situation ?

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 week ago #339828

This message contains confidential information

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
3 years 1 week ago #339835

Hi,

Thank you for the information.
I've added a patch on our end which I think should fix the issue (it helped on my end when trying to reproduce the issue you have on my end).
Download again the install package of HikaShop 4.5.0 on our website and install it on yours and you'll get the patch for this.

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 week ago #339850

It seems worked properly now, thanks !

I just noticed that if I have a brand without product (I have some brands in this case), it's again a 404 error.
'404 Catégorie introuvable' in my case.

This message contains confidential information


By default, the page of any brand displays the description and a list of products. As there is no product, this may be the problem.

Last edit: 3 years 1 week ago by FDBI.

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
3 years 1 week ago #339852

Hi,

I'm not able to reproduce the problem. Be it for a brand with products or without.
What if you empty the "canonical URL" of that brand ? Is the URL on the listing different ? Is it working ?

The following user(s) said Thank You: FDBI

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 week ago #339862

Hi,

Thanks for your help.
The problem is resolved.

When I tried to remove the canonical URL, impossible to save because 'alias already exists'.
I searched the cause and I noticed that :
I had 2 brands named '3ntr'.
With the same alias 'p3ntr'.
The second was disabled and without "canonical URL".

I think that the second brand caused the problem (same name and alias).

The following user(s) said Thank You: nicolas

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 week ago #339884

Hi,

It's maybe not the place, but after the install of the last version of Hikashop, Joomla asks me to verify the substitution of 17 files .
I'm not very comfortable with this part of Joomla.

Some of it are in the comments (so not really risky), but it looks like it replaces what's in the new version. (4.5.0 to 4.4.0).
For example in '‎/templates/cassiopeia/html/com_hikashop/product/listing_price.php' :



It's maybe more a problem with Joomla or my templates, but do you have any advice on what I should do ?

Thank you.

Last edit: 3 years 1 week ago by FDBI.

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
3 years 1 week ago #339886

Hi,

I didn't Joomla had that feature.

Well, the short and simpler answer is to ignore that.
If there are overrides for HikaShop view files, it's because either you (via the Display>Views menu of HikaShop) or your template provider made them, and you or your template provider must have made them for a reason.

Potentially, an update could break a view override, but it's more likely that it won't change anything, especially since we try hard to not break old things when adding new things in HikaShop.

Ideally, if you're a developer you could refresh your view overrides by getting the modifications in the view overrides and applying them to the new versions of the views. However, the goal of view overrides is precisely to not bother with that for each update... So I don't see why they display this to you. I would personally just ignore it and only refresh view overrides when they break.

The following user(s) said Thank You: FDBI

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 1 week ago #339891

Ok, it is very clear, thank you very much !

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 6 days ago #339952

Hi,

I have a new issue linked to brands listing (another) :

Note :
My website is a migration from a virtuemart website, so I have a script (just a succession of selects and inserts/replaces) which recovers some data.
Usually, I retrieve the new data and click on "reconstruct" on categories and manufacturers in backend (and no particular problem until now).

But I have 3 brands that cause problems (since the last update I think) : An error 404 -category not found- (404 Catégorie introuvable) :

2 brands are randomly ok (in my local website). I often need to "recontruct" at first and after, relaunch my script.

This message contains confidential information


1 brand never works.
This message contains confidential information

If I change the 'category_alias' it's work at the beginning :
This message contains confidential information

But if I change the language in english, 404 error
This message contains confidential information


It's very strange,, I have the impression that some data is saved elsewhere than in the tables :
hikashop_category
hikashop_product_category

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 6 days ago #339956

This message contains confidential information

Last edit: 3 years 6 days ago by FDBI.

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
3 years 6 days ago #339959

Hi,

I checked your frontend situation and the backend settings of the brands, and I'm not sure what is going on.
I would need to check the settings of your HikaShop configuration (which the access you provided doesn't allow me to look at), and maybe do some debugging in the router of HikaShop via FTP (but I'm not able to access it either as you didn't provide the host and port to use to connect to your FTP server).
Could you provide the extra information and change the accesses of the user account so that I could access all this ?

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 6 days ago #339963

Sorry, I had forgotten that.

This message contains confidential information

Last edit: 3 years 6 days ago by FDBI.

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
3 years 6 days ago #339964

Hi,

So I checked two brands with the issue: magigoo and 3dxtech
Both have the same situation: You have a category with the same name which is unpublished, and thus for the URLs brands-listing/category/magigoo and brands-listing/category/p3dxtech it's the category which is found by HikaShop first and since they both are unpublished, you get that error message.
You have several solutions:
- enter a different alias for the brand and the category with the same name
- turn off the "Remove products and categories id in URLs" setting so that the id of the categories/brands are included in the SEF URLs. In that case the system will base itself on the ids not the aliases/names
- delete the unpublished categories if you don't need them
- create a menu item associated with each brand and enter the URL of the menu item in the "canonical URL" of the brand. That way the system will use the menu item and its brand, regardless of the aliases/names/ids

The following user(s) said Thank You: FDBI

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

  • Posts: 148
  • Thank you received: 21
  • Hikashop Business
3 years 5 days ago #339978

I didn't realise that I had a "product" category that used this alias. I was looking in the "manufacturers" only...
I saw the manufacturers and product categories as two different things.
For "nanovia' brand, which has no alias, I think that default alias is "nanovia" too, so it's the same problem.

Sorry for that, I will correct this.

Thanks again.

Last edit: 3 years 5 days ago by FDBI.
The following user(s) said Thank You: nicolas

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

Time to create page: 0.088 seconds
Powered by Kunena Forum