Silence

Autor: Om, Sangit
Co-Autor: Kamal
R$22,80
3X sem juros de R$7,60
Ou em até 12X no cartão
 

Seleção de temas instrumentais inéditos, compostos por grandes nomes da New Age internacional. Ideal para aulas de yoga ou momentos de paz interior.

Newsletter

Redes Sociais

Contato

  • Rua João Pinheiro, 313 - Centro/ Uberaba-MG
function get_max_installments_without_interests(number_of_installment, installment_data, max_installments_without_interests) { if (parseInt(number_of_installment) > parseInt(max_installments_without_interests[0])) { if (installment_data.without_interests) { return [number_of_installment, installment_data.installment_value.toFixed(2)]; } } return max_installments_without_interests; } function get_max_installments_with_interests(number_of_installment, installment_data, max_installments_with_interests) { if (parseInt(number_of_installment) > parseInt(max_installments_with_interests[0])) { if (installment_data.without_interests == false) { return [number_of_installment, installment_data.installment_value.toFixed(2)]; } } return max_installments_with_interests; } function changeVariant(variant){ var parent = $("body"); if (variant.element){ parent = $(variant.element); } var sku = parent.find('#sku'); if(sku.length) { sku.text(variant.sku).show(); } if (variant.installments_data) { var variant_installments = JSON.parse(variant.installments_data); var max_installments_without_interests = [0,0]; var max_installments_with_interests = [0,0]; $.each(variant_installments, function(payment_method, installments) { $.each(installments, function(number_of_installment, installment_data) { max_installments_without_interests = get_max_installments_without_interests(number_of_installment, installment_data, max_installments_without_interests); max_installments_with_interests = get_max_installments_with_interests(number_of_installment, installment_data, max_installments_with_interests); $('#installment_' + payment_method + '_' + number_of_installment).text( number_of_installment + ' - R + installment_data.installment_value.toFixed(2) + (installment_data.without_interests? ' sem juros' : '') ); }); }); if (max_installments_without_interests[0] != 0) { $('.installments.max_installments_container .max_installments').text('Até ' + max_installments_without_interests[0] + 'x de R + max_installments_without_interests[1] + ' sem juros'); } else { $('.installments.max_installments_container .max_installments').text('Até ' + max_installments_with_interests[0] + 'x de R + max_installments_with_interests[1]); } } if (variant.price_long){ parent.find('#price_display').text(variant.price_long).show(); } else { parent.find('#price_display').hide(); } if (variant.compare_at_price_long){ parent.find('#compare_price_display').text(variant.compare_at_price_long).show(); } else { parent.find('#compare_price_display').hide(); } if(variant.contact) { parent.find('.container-box').hide(); } else { parent.find('.container-box').show(); } var button = parent.find('.addToCart'); button.removeClass('cart').removeClass('contact').removeClass('nostock'); if (!variant.available){ button.val('Esgotado'); button.addClass('nostock'); button.attr('disabled', 'disabled'); $("#shipping-calculator-form").hide(); } else if (variant.contact) { button.val('Preço sob Consulta'); button.addClass('contact'); button.removeAttr('disabled'); $("#shipping-calculator-form").hide(); } else { button.val('Incluir no carrinho'); button.addClass('cart'); button.removeAttr('disabled'); $("#shipping-calculator-form").show(); } }