Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Buy now pay later calculator refresh theme

Buy now pay later calculator refresh theme

ekoska_shop
Visitor
1 0 0

Hey guys,

 

I am having a slight problem with a buy now pay later calculators in the product page.

 

I've been using this code:

 

<div id="ib_calculator"></div>

<script async>
(function (w, d, s, o, f, js, fjs) {
w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) };
js = d.createElement(s), fjs = d.getElementsByTagName(s)[0];
js.id = o; js.src=f; js.async = 1; fjs.parentNode.insertBefore(js, fjs);
}(window, document, 'script', '_ibCalculator', 'https://skaiciuokles.inbank.lt/js/calculator'));

_ibCalculator('init', {
calcKey: '3bbfcab4bec33aefc06cd104fe0cf20c',
layout: 'ib-003',
colorScheme: 4,
element: 'ib_calculator',
amountTotal: '400',
amountAdvance: 0,
term: 18,
selectPrice: false,
});
</script>

 

And I cannot seem to find a replacement for "amountTotal" so that it would actually take the selected products price. I'm attaching a picture of calculator. I am using a refresh theme.


Thanks.

inbank.png

Replies 0 (0)