isotope / core

Core repository of Isotope eCommerce, an eCommerce extension for Contao Open Source CMS
https://isotopeecommerce.org
136 stars 107 forks source link

Produktvarianten-Liste zeigt nur Standard-Variante #2004

Closed manjarco closed 5 years ago

manjarco commented 5 years ago

Wähle ich eine Produkt-Variante als Standard (Stern-Markierung) aus, damit diese beim Laden des Haupt-Produkts automatisch geladen wird zeigt die Produktvarianten-Liste nur noch die markierte Variante in gleicher Anzahl wie es Varianten gibt.

Anstatt: 1a 1b 1c 2a 2b

Zeigt die Varianten-Liste also wenn 1b und 2a als Standard-Variante angewählt sind: 1b 1b 1b 2a 2a

Falls so gewollt: Gibt es einen Workaround um trotz Standard-Varianten eine Liste mit allen Varianten auszugeben?

Contao 4.4.31 Isotope 2.5.9

eBlick commented 5 years ago

Kann ich soeben bestätigen. Bin auch schon verzweifelt auf Fehlersuche in der Konfiguration. Aber es stellt sich raus, dass sobald die Standardvariante deaktiviert ist, wird die Variantenliste problemlos ausgegeben und gefiltert....

aschempp commented 5 years ago

Kann einer von euch beiden dies mit der develop-Version (Isotope 2.6) testen? Dort gibt es im Listen-Modul eine neue Einstellung die Optionen zu deaktivieren, funktioniert es dann?

manjarco commented 5 years ago

In der 2.6 bekomme ich leider nicht mal eine Produktvarianten-Liste ausgegeben sondern nur folgenden Fehler:

app.CRITICAL: An exception occurred. {"exception":"[object] (InvalidArgumentException(code: 0): Filters must be instances of \\Isotope\\RequestClass\\Filter at /X/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/RequestCache/FilterQueryBuilder.php:45)"} []

Eine normale Produktliste zeigt aktuell ohne Standard-Varianten-Auswahl auch die Varianten an: 1 1a 1b Und mit Standard-Variante: 1a 1a 1a

eBlick commented 5 years ago

Ich muss dieses Thema nochmals aufgreifen, da es offenbar noch nicht gelöst ist. Ich habe ganz aktuell in einer Installation von Isotope 2.5.14 auf 2.6.1 aktualisiert.

Nun erhalte ich bei der Ausgabe der Produktvariantenliste auch die von manjarco angegebene Fehlermeldung:

[2019-09-11 10:40:28] request.INFO: Matched route "contao_frontend". {"route":"contao_frontend","route_parameters":{"_token_check":true,"_controller":"Contao\CoreBundle\Controller\FrontendController::indexAction","_scope":"frontend","alias":"tuergriffe","_route":"contao_frontend"},"request_uri":"yyy.de/tuergriffe.html?cumulativefilter=NjMxO2RlbDtrZF9maXR0aW5nX3R5cGU7NzI%3D&isorc=13982","method":"GET"} [] [2019-09-11 10:40:28] security.INFO: Attempting SimplePreAuthentication. {"key":"frontend","authenticator":"Contao\CoreBundle\Security\ContaoAuthenticator"} [] [2019-09-11 10:40:28] app.CRITICAL: An exception occurred. {"exception":"[object] (InvalidArgumentException(code: 0): Filters must be instances of \Isotope\RequestClass\Filter at /yyy/contao4-live/vendor/isotope/isotope-core/system/modules/isotope/library/Isotope/RequestCache/FilterQueryBuilder.php:45)"} []