How to see all the options every SELECT dependent attributes?

02.02.2017 21:32
#1
SoCool
Joomshopping forum user no avatar
Name: Alex
31.03.2015
Posts: 1
Quote
How to see all the options every SELECT of dependent attributes?

We have 6 dependent attributes of product (http://joxi.ru/E2pvqO9h9a48Mr -> http://joxi.ru/V2VnOPghxK8a42 -> http://joxi.ru/D2PjLP0IpkBYbr).

Now the user enters the card product, looking at the first available Select's options (first attribute) - and in the other 5 attributes change values. The user wants to view the other attributes values ​​- but all five attributes only one value, which corresponds to the value of the first attribute. And it is necessary to get acquainted with what is offered in other attributes, select, and to all the other attributes have changed the values ​​on the new changes.

If in the settings select "the first value - empty" (http://joxi.ru/1A5bo7ahnGzZdr -> http://joxi.ru/52a1lPZc4bgve2 -> http://joxi.ru/KAxeL87fM1vRBr) - is the first step everything is fine, you can view the value of any attribute, but if you choose something - then again after the other attributes in addition to the "empty" value is only one value corresponding to the first selected.

Most interesting is that if you choose to the end of the list, moving up (http://joxi.ru/L21Loxds8gzLym -> http://joxi.ru/zAN0WPjfB68Kam -> http://joxi.ru/GrqMpn9hQkR6jr -> http : //joxi.ru/12M16PNcM0wLJ2) - that everything happens as it should be, but after selecting the first Select (the top) - again all the attributes of a single value. And with the setting of "first - empty" obtained inconvenience that resets everything, and does not switch to the values ​​with respect to the newly selected.


The situation is not easy to explain, but if someone is caught idea - please help, how to set up, or where the correct code to the functional attributes was dependent, but it was possible to select each attribute. I have a feeling that before this problem does not occur, this problem can only my build (Joomla! 3.6.5, JSopping 4.15.1)?


Joomla: 3.6.5
JoomShopping: 4.15.1
PHP: 5.6
MySQL: i don't know=(
Website Url: https://med.virtualinstinct.net/katalog/implantaty/anatomicheskie/implantaty-mentor-serii-cpg-331-bolshaya-vysota-srednyaya-proektsiya-kogeziv-3

Last change: 02.02.2017 21:33
 
03.02.2017 13:31
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: How to see all the options every SELECT dependent attributes?

Not but in demo
http://demo.joomshopping.com/index.php/shop/cars/convertible

 
03.02.2017 14:04
#3
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

Webdesigner, если я правильно понял то, о чем написал пользователь SoCool, то хочу вам сказать, что у меня такая же проблема:

1) В настройках Joomshopping я выбрал опцию "Первое значение атрибута - пусто"
Aw: How to see all the options every SELECT dependent attributes?

2) В товаре я указал зависимые атрибуты
Aw: How to see all the options every SELECT dependent attributes?

3) Когда на странице товара я выбираю значение "Color 1", то в другом атрибуте (Размер) отображаются все значения: S, M, L, XL, 2XL, 3XL, 4XL, хотя с "Color 1" связаны только значения "M, L, 4XL".

Когда я выбираю "Color 1", должны отображаться только значения "M, L, 4XL", но почему-то отображаются все имеющиеся в товаре значения атрибута "Цвет", то есть "S, M, L, XL, 2XL, 3XL, 4XL".

То же самое происходит и с другими значениями: Color 2, Color 3, Color 4, Color 5, и то же самое происходит, если я, наоборот, сначала выбираю значение атрибута "Размер", а потом "Цвет" (frontend).

То есть, какое бы я ни выбрал значение атрибута "Цвет", в атрибуте "Размер" постоянно отображаются все значения, а не только те, которые связаны с выбранным атрибутом.

Почему неправильно отображаются значения зависиміх атрибутов на странице товара,

Я использую Joomla 3.6.5 Stable и Joomshopping 4.15.1.

4) Когда я отключаю в настройках Joomshopping опцию "Первое значение атрибута - пусто", то значения атрибутов на странице товара отображаются так:

- когда я выбираю "Color 1" - в атрибуте "Цвет" отображаются значения "M, L, 4XL" - это правильно, так как в редактировании товара значение "Color 1" связано со сначениями "M, L, 4XL" - это видно на скриншоте из пункта 2.

Но когда я выбираю "Color 2", "Color 3", "Color 4" или "Color 5", в атрибуте "Размер" постоянно отображаются значения "M, L, 4XL", а не те, которые я указывал в редактировании товара.


Last change: 05.02.2017 20:00
 
03.02.2017 21:44
#4
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

Webdesigner, будет ли исправлена в Joomshopping проблема с зависимыми атрибутами, которую я описал в предыдущем посте #3?


Last change: 03.02.2017 21:45
 
04.02.2017 16:17
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: How to see all the options every SELECT dependent attributes?

Not bug in my test site
http://demo.joomshopping.com/example5/index.php/shop/product/view/8/18

Weight - Lenght
1 - 100
2 - 100
3 - 100
1 - 200

 
04.02.2017 18:05
#6
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

Webdesigner, я отправил вам через Privat Message данные для доступа по ftp и к админке сайта.
Не могли бы вы посмотреть и сказать мне из-за чего возникла описанная мною проблема с зависимыми атрибутами?


Last change: 04.02.2017 18:07
 
06.02.2017 09:19
#7
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

Webdesigner, я отправил вам через Privat Message новые данные для доступа по ftp и к админке сайта.

 
06.02.2017 10:54
#8
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: How to see all the options every SELECT dependent attributes?

Problem in your template

See default template

code for add attribute:

<span id='block_attr_sel_<?php print $attribut->attr_id?>'>
<?php print $attribut->selects?>
</span>

 
06.02.2017 10:56
#9
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?




Last change: 06.02.2017 11:04
 
06.02.2017 11:05
#10
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

webdesigner - 06.02.2017 10:54
Problem in your template

See default template

code for add attribute:

<span id='block_attr_sel_<?php print $attribut->attr_id?>'>
<?php print $attribut->selects?>
</span>

В файле product_default.php?
Не могли бы вы исправить нужный код в моем шаблоне, чтобы исправить проблему с зависимыми атрибутами?


Last change: 06.02.2017 13:24
 
06.02.2017 15:41
#11
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: How to see all the options every SELECT dependent attributes?

fixed.

 
06.02.2017 15:54
#12
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

webdesigner - 06.02.2017 15:41
fixed.

Thank you very much!!!

 
06.02.2017 16:23
#13
midiplus
Joomshopping forum user no avatar
Name: Anton
03.07.2013
Posts: 1927
Quote
Aw: How to see all the options every SELECT dependent attributes?

Когда я сначала выбираю на странице товара любое значение первого атрибута (Цвет), например, Color 1, Color 2, Color 3, Color 4 или Color 5, то во втором атрибуте (Размер) связанные с первым атрибутом значения отображаются правильно. Работает правильно.

Но когда я, наоборот, сначала выбираю значение атрибута "Размер", то в первом атрибуте (Цвет) отображаются все имеющиеся значения, а не только те, которые связаны со значением второго атрибута.

(P.S. В настройках Joomshopping включена опция "Первое значение атрибута - пусто").

Так и должно быть или это ошибка и её нужно исправить в Joomshopping?

Aw: How to see all the options every SELECT dependent attributes? Aw: How to see all the options every SELECT dependent attributes?


Last change: 06.02.2017 16:46
 
07.02.2017 08:02
#14
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: How to see all the options every SELECT dependent attributes?

Так должно быть.
После выбора 1 -го 2 атрибут будет перезагружен.

 


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.