A space to discuss online store customization, theme development, and Liquid templating.
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
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.