Skip to content

Commit

Permalink
Fixed enabling add to basket button for selection products with confi…
Browse files Browse the repository at this point in the history
…gurable input attributes
  • Loading branch information
aimeos committed Jun 16, 2022
1 parent 7f4e1bf commit b24d884
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/client/html/default/aimeos.js
Expand Up @@ -245,7 +245,7 @@ AimeosBasket = {
isValidVariant(node) {
let result = true;

$(".selection .select-item", node).each((idx, el) => {
$(".selection[data-attrdeps] .select-item", node).each((idx, el) => {
if($(".select-list", el).val() === '' && $(".select-option:checked", el).length <= 0) {
result = false;
}
Expand Down

0 comments on commit b24d884

Please sign in to comment.