Boa Vida

Autor: Teles, Ariston Santana
Co-Autor: Cornélio Pires
R$17,00
3X sem juros de R$5,67
Ou em até 12X no cartão
 
Recados em forma de trovas sobre temas interessantes como amor, mediunidade, vícios, trabalho, felicidade, otimismo, carência, família, arrogância, dentre outros.

 

Teles, Ariston Santana (autor)
Cornélio Pires (Espírito)
José Grosso (Espírito)
Poesia - 166 págs. - 11,5x17,5 cm
Ano Luz - Livro - Espírita - Cód. 2757

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