Zanzibar

jQuery(document).ready(function ($) { $('input.variation_id').change(function () { //Correct bug, I put 0 if (0 != $('input.variation_id').val()) { if ($('p.availability')) $('p.availability').remove(); if ($('p.price p.stock')) $('p.price p.stock').remove(); console.log( $('div.woocommerce-variation-availability').html() ); $('p.price').html($('div.woocommerce-variation-price > span.price').html()).append($('div.woocommerce-variation-availability').html()); //$('p.price').html($('div.woocommerce-variation-price > span.price').html()).append('

' + $('div.woocommerce-variation-availability').html() + '

'); console.log($('input.variation_id').val()); } else { $('p.price').html($('div.hidden-variable-price').html()); if ($('p.availability')) $('p.availability').remove(); console.log('NULL'); } }); });

 1.690,00

Versare un acconto di 30%

Ciao! Vuoi rimanere in contatto con noi e scoprire tutte le novità?  Iscriviti alla Newsletter ❤️