SINTETIZANDO

Autor: Celso A. Afonso
Co-Autor: Espíritos Diversos
R$6,00 R$6,00
3X sem juros de R$2,00
Ou em até 12X no cartão
 

82 rápidos lembretes de luz para aplicação diária.


Autor    Celso de Almeida Afonso (médium), Diversos (espírito)
Gênero    Mensagens
Assunto    Reflexões
Característica    Bolso
Mídia    Livro
Editora    ELCEAA
Grupo    Espírita
ISBN    7000000042799
Páginas    96
Tamanho    9,00 x 12,50 cm

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(); } }