This commit is contained in:
Roman Pyrih
2026-05-05 16:01:40 +02:00
parent 59410b9825
commit 4bbd4973b9
6 changed files with 244 additions and 165 deletions

View File

@@ -1326,4 +1326,13 @@ if (!window.__p02p04Bound) {
$(document).on('updatedProduct', function() {
setTimeout(window.__p02p04RecalcPrice, 50);
});
}
}
// product custom accordion for variants
$(function() {
$('body').on('click', '.product-box.product-box-acc .product-box--head', function() {
$(this).parent().toggleClass('active');
$(this).parent().find('.product-box--data').slideToggle();
});
})