I have a page inside my website in wordpress + woocommerce which has two selects, and after selecting the two, I would like in a DIV below to call the product by shortcode. The problem is that you probably need a refresh.
HTML
<select class='turno'>
<option value=''>Selecione</option>
<option value='[products skus="a1'>manha</option>
<option value='[products skus="a2'>tarde</option>
<option value='[products skus="a3'>noite</option>
</select>
<br><br>
<select class='hora'>
<option value=''>Selecione</option>
<option value='[products skus="a1'>1</option>
<option value='[products skus="a2'>2</option>
<option value='[products skus="a3'>3</option>
</select>
<br><br>
<div><span class="turnoescolhido"></span><span class="horaescolhido"></span>"]</div>
JAVA SCRIPT
$(document).ready(function(){
$('.turno').on('change', function(){
$('.turnoescolhido').text($(this).val());
});
$('.hora').on('change', function(){
$('.horaescolhido').text($(this).val());
});
});