Ankündigung
Einklappen
Keine Ankündigung bisher.
Bug filter select / text field
Einklappen
X
-
Zitat von tj_rising Beitrag anzeigenMoin Tim,
ich klink mich hier mal ein.
Habe gerade auf die neueste Version geupdatet und bei meinen Filter Selects werden auch keine Labels mehr im Frontend angezeigt. Es handelt sich dabei um das Attribute "Auswahl,einfach (Select/Radio)". Im Backend werden die Labels korrekt angezeigt, auch beim Filter in der Listenansicht.
Ich habe es notiert und mach da gleich einen kleinen hotfix draus. Das spart ein Downgrade von CEZuletzt geändert von Tim; 24.06.2022, 09:34.
Einen Kommentar schreiben:
-
Moin Tim,
ich klink mich hier mal ein.
Habe gerade auf die neueste Version geupdatet und bei meinen Filter Selects werden auch keine Labels mehr im Frontend angezeigt. Es handelt sich dabei um das Attribute "Auswahl,einfach (Select/Radio)". Im Backend werden die Labels korrekt angezeigt, auch beim Filter in der Listenansicht.
- 1 Likes
Einen Kommentar schreiben:
-
Try this one.
When the label is empty, it uses the value instead. Should work fine for a textfield.
Code:<?php foreach($this->options as $option): ?> <?php $label = $option['label']; if ( empty($label) ) { $label = $option['value']; } ?> <option value="<?php echo $option['value']; ?>"<?php if($option['selected']):?>selected<?php endif;?>><?php echo $label; ?></option> <?php endforeach; ?>
Angehängte Dateien
Einen Kommentar schreiben:
-
Yes the filter is working fine.
It's just the display of the text in the filter that doesn't work...
I think we should modify the template "customcatalog_filter_select_nocount.html5"...
Einen Kommentar schreiben:
-
I understand.
Does the select filter work correctly besides just the labels. You can modify the filter template and add the raw text as labels
Einen Kommentar schreiben:
-
Thank you for your reply.
The problem is that I need to have a free field in my catalog.
Because my client must be able to choose the title independently...
Is it possible with a select attribute?
Einen Kommentar schreiben:
-
Hi,
better use a select attribute in combination with a select filter.
Einen Kommentar schreiben:
-
Bug filter select / text field
Hello,
I have a bug on a site under development.
- I have a select filter that does not display the "text" values of the filter (see screenshot)
- The corresponding field behind the filter is a text field
- The two other filters above and below work, they are tags.
Here is the link to the site under development: http://www.symbiaigweb.prod-igweb.fr...de-stages.html
Do you have a solution to my problem?
Thanks
(License number: 1386094235)1 BildStichworte: -
- 1 Likes
Einen Kommentar schreiben: