Aller au contenu
Accueil
Boutique
Box vins
Nos Actualités
Qui sommes-nous
Menu
Accueil
Boutique
Box vins
Nos Actualités
Qui sommes-nous
Accueil
/
Appellation
/ Bourgogne
Bourgogne
Aucun produit ne correspond à votre sélection.
jQuery(document).ready(function($) { $('.icheckbox_square-orange .iCheck-helper').css({ 'width': '18px', 'height': '18px', 'border': '2px solid #BC7A59', 'background-color': 'transparent', }); $('.icheckbox_square-orange.checked .iCheck-helper').css({ 'background-color': '#BC7A59', 'border-color': '#BC7A59', }); $('.woof_checkbox_label').css({ 'font-size': '14px', 'color': '#333', 'cursor': 'pointer', 'margin-left': '5px', 'vertical-align': 'middle', }); }); jQuery(document).ready(function($) { // Lorsque le filtre est utilisé (par exemple, lorsqu'une case est cochée) $('.woof_container input[type="checkbox"]').on('change', function() { var filterData = $('.woof_container').serialize(); // Collecte les données des filtres // Requête AJAX pour rafraîchir la grille $.ajax({ url: woocommerce_params.ajax_url, type: 'POST', data: filterData + '&action=woocommerce_filter_products', success: function(response) { $('.products-grid').html(response); // Mettre à jour la grille personnalisée } }); }); });