<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/hire-purchase/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=&period=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe><script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/hire-purchase/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=&period=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe><script>iFrameResize({log:false});</script>
<iframe src="//partners.lhv.ee/ru/widget/hire-purchase/compact/?code=XX-YYYYYYYYY&price=&period=&info_url=&price_based_interest="
width="300px" height="100px" frameborder="no" scrolling="no"></iframe>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.hirePurchase()
loan.price = 500
loan.advance = 0
loan.period = 4
loan.interest = 10.9
loan.priceBasedInterest = false
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/consumer-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/consumer-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<iframe src="//partners.lhv.ee/ru/widget/consumer-loan/compact/?code=XX-YYYYYYYYY&price=&period=&interest=&info_url="
width="300px" height="100px" frameborder="no" scrolling="no"></iframe>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.consumerLoan()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/appliance-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/appliance-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.ApplianceLoan()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/car-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/car-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.carLoan()
loan.price = 3000
loan.period = 72
loan.interest = 9.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/home-repair-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/home-repair-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.homeRepairLoan()
loan.price = 3000
loan.period = 72
loan.interest = 9.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/home-furnishing/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="400px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/home-furnishing/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.homeRepairLoan()
loan.price = 1000
loan.period = 60
loan.interest = 15.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/health-loan/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="200px" height="300px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/health-loan/horizontal/?code=XX-YYYYYYYYY&price=&interest=&info_url=&price_based_interest=" width="100%" height="100px" frameborder="no" scrolling="no"></iframe>
<script>iFrameResize({log:false});</script>
<script src="https://partners.lhv.ee/assets/scripts/calculator.min.js"></script>
<script>
var loan = new LHV.healthLoan()
loan.price = 1000
loan.period = 60
loan.interest = 9.9
var monthlyPayment = loan.getMonthlyPayment()
if (monthlyPayment.error) {
document.getElementById('error').innerHTML = monthlyPayment.error
} else {
document.getElementById('monthly-payment').innerHTML = monthlyPayment.payment
}
</script>
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/home-loan//?code=XX-YYYYYYYYY&amount=&period=&interest=" id="" width="100%" height="640px" frameborder="no" scrolling="no" onload="iFrameResize({log:false});"></iframe>
Параметры:
<script src="//partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="//partners.lhv.ee/ru/widget/home-loan/campaign/?code=XX-YYYYYYYYY&amount=&period=&interest=" id="" width="100%" height="600px" frameborder="no" scrolling="no" onload="iFrameResize({log:false});"></iframe>
Параметры:
<div id="lhv-bnpl-calculator-widget"></div>
<script src="https://partners.lhv.ee/assets/scripts/bnplCalculator.js"></script>
<script>
var loan = new LHV.bnplLoan();
loan.price = 400.00;
loan.setLanguage('ru');
loan.createWidget('lhv-bnpl-calculator-widget');
</script>
Добавьте нижеуказанный код на Ваш сайт и замените значение loan.price на цену товара, которая должна быть в пределах от 30 до 1500 евро. Это позволит виджету калькулятора динамически рассчитывать и отображать размер ежемесячного платежа на Вашем сайте. Если введенное значение loan.price не попадает в указаный диапазон, калькулятор не будет отображаться, и в консоль браузера будет выведено сообщение об ошибке.
<script src="https://partners.lhv.ee/assets/scripts/iframeResizer.min.js"></script>
<iframe src="https://partners.lhv.ee/assets/templates/bnpl.html?lang=ee" width="100%" height="500px" frameborder="no" scrolling="yes"></iframe>
<script>
window.onload = function () {
if (typeof iFrameResize === "function") {
iFrameResize({ log: false, heightCalculationMethod: "bodyScroll" }, "iframe");
}
};
</script>