I am setting up a buy now, pay later function(example: buy now, pay in april) from “Klarna Checkout” that shows how much choosing this payment will costs in total(with fees) when its time to pay in april .
But i am having a issue with the script. The script is set up to use a default price(1000.00) for payment no matter what value the item have originally as sales price. But what can i use here instead so the script gets the sales price from each product it shows up on and not default value of 1000.00?
<br />
<div style="width:210px; height:80px"<br />
class="klarna-widget klarna-part-payment"<br />
data-eid="XXXXX"<br />
data-locale="nb_no"<br />
[color=#ff0000][b]data-price="1000.00"[/b][/color]<br />
data-layout="pale-v2"<br />
data-invoice-fee="0.95"><br />
</div><br />
```<br />
<br />
example, on the item here the total price with fee should be no more then "94,-"(49+ fee of 45,-)
I am not sure where and how you use this code, but please try
<br />
<div style="width:210px; height:80px"<br />
class="klarna-widget klarna-part-payment"<br />
data-eid="XXXXX"<br />
data-locale="nb_no"<br />
data-price="{$smarty.session.cart.amount}"<br />
data-layout="pale-v2"<br />
data-invoice-fee="0.95"><br />
</div><br />
```<br />
[/quote]<br />
<br />
Hi.<br />
I use this on product page and on catagories where products are shown.. But the code you have me did not work <img src="upload://n4syhXZrRhsStKvmS4jT3Mp2S3k.png" class="bbc_emoticon" alt=":("><br />
See the picture for placement info.<br />
[img]http://s1.postimg.org/7ttt0lhan/test_klarna2.png[/img]<br />
<br />
[img]http://s16.postimg.org/63oaofbc5/test_klarna.png[/img]
1: Where do i find the code for the text with a red sirkle around? I want to remove this but i cant remember the placement.
And 2: If i go to the first page of a catagorie it shows perfect. But if i jump to page nr 2 it does not load the script. I have to refresh the browser for it to show… Any idea why this happens?
And 2: If i go to the first page of a catagorie it shows perfect. But if i jump to page nr 2 it does not load the script. I have to refresh the browser for it to show… Any idea why this happens?
[/quote]
If the script tag is used, please add the cm-ajax-force class to it. E.g.