Joomla native multilingual feature broken after 4.18

10.09.2018 09:01
#1
vitaly2016
Joomshopping forum user no avatar
Name: Vitaly
14.06.2016
Posts: 26
Quote
Joomla native multilingual feature broken after 4.18

I have site with 2 languages.
For each product and for each language there is Joomla's native menu item.
URL for joomshopping product and URL for corresponding menu item were the same
So when I was at Ukrainian version
https://kozakplus.ua/products/vacuum-packing/vacuum-machines/status-sv2000
And then switch to Russian version, standard Language selector (that use native Joomla router) switchs it to
https://kozakplus.ua/ru/products/vacuum-packing/vacuum-machines/status-sv2000

All worked good before updating to JoomShopping 4.18
After updating, weird suffix (containg Joomshopping CATEGORY ID and PRODUCT ID) is added to URL and I got 404 error:
https://kozakplus.ua/ru/products/vacuum-packing/vacuum-machines/status-sv2000/6/466
6/466 - 6 is category ID and 466 is product ID.

History version says:
4.18.0 (06.09.2018)
Added multilingual associations.

Question: how to control or how to switch off this multilingual associations?
I checked every place in Setup and found no mentioning of this new feature.

And if there is no control for "multilingual associations" can I downgrade to previous version of Joomshopping or should I restore from entire site backup?

 
10.09.2018 09:28
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Joomla native multilingual feature broken after 4.18

For disable:
rename file
components\com_jshopping\helpers\association.php
To
components\com_jshopping\helpers\__association.php

 
10.09.2018 12:36
#3
vitaly2016
Joomshopping forum user no avatar
Name: Vitaly
14.06.2016
Posts: 26
Quote
Aw: Joomla native multilingual feature broken after 4.18

Thank you very much. It helps.

 
11.09.2018 22:46
#4
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Joomla native multilingual feature broken after 4.18

Fix product association
jshopping_4.18.2_fix_prod_asoc.zip

Try install
+
rename file
components\com_jshopping\helpers\association.php


Last change: 11.09.2018 22:46
 
12.09.2018 20:16
#5
energoura
User energoura
Name: uri
15.11.2012
Posts: 90
Quote
Aw: Joomla native multilingual feature broken after 4.18

Hello!
After the upgrade to version 4.18.1, the following problems occurred:
site is multilingual.
two menu " product label" puktas lost their language connections:
/products/new-catalog
/products/discounted-products
- Type of menu item: List product / List: product label / ID Label

and a warning appeared in the addon_menu_builder: Warning: count(): Parameter must be an array or an object that implements Countable in /administrator/components/com_jshopping/models/addon_menu_builder.php on line 804

Tell me how to fix this?


Joomla: 3.8.12
JoomShopping: 4.18.1
PHP: 7.2.9
MySQL: 5.5.5-10.1.31-MariaDB

Last change: 05.09.2022 14:39
 
12.09.2018 20:45
#6
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Joomla native multilingual feature broken after 4.18

1. https://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/forum/posts/1/13227.html?lang=en#2

2. problem in addon


Last change: 12.09.2018 20:45
 
12.09.2018 20:57
#7
energoura
User energoura
Name: uri
15.11.2012
Posts: 90
Quote
Aw: Joomla native multilingual feature broken after 4.18

if you rename association.php To __association.php - then the link disappears between the pages of the product. which is not very good
example:
/round-pipes/round-aisi-201/tube-stainless-round-6,0%D1%851,0-aisi-201-mirror

there are still options how to fix this?

addon I just turned it off. It probably does not support the PHP version 7.2.9


Last change: 05.09.2022 14:40
 
13.09.2018 20:18
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Joomla native multilingual feature broken after 4.18

We are working on this problem.
there will be a decision - I will write.

 
13.09.2018 20:26
#9
energoura
User energoura
Name: uri
15.11.2012
Posts: 90
Quote
Aw: Joomla native multilingual feature broken after 4.18

Thank you very much !

 
14.09.2018 10:05
#10
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25853
Quote
Aw: Joomla native multilingual feature broken after 4.18

Patch for fix asociations
jshopping_4.18.2_fix_asoc_1.0.zip

 
14.09.2018 11:56
#11
energoura
User energoura
Name: uri
15.11.2012
Posts: 90
Quote
Aw: Joomla native multilingual feature broken after 4.18

Thank you! Everything is working.

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.