Adding Klarna Part-Payment Info to Product and Cart Pages

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeAdding Klarna Part-Payment Info to Product and Cart Pages

This topic has been marked as not a support question.

Hi,

I’ve Shoppica2 installed on Opencart 1.5.4.1.
I would like add a feature from Klarna (my payment provider).
It would show on the product pages what the monthly cost of part payments would be.
Below are the instructions for adding this feature to the “default” theme template.
What would I need to do on the Shoppica tpl pages to make the same happen?

Thanks in advance, Antony

======

Product page

“To add a monthly cost box to your product pages you should edit the file
catalog/view/theme/default/template/product/product.tpl

Insert the following line (I’ve removed the containers):

?php include(DIR_SYSTEM . ‘library/klarna/KlarnaMonthlyCostProduct.php’); ?

right below the line

?php if ($price) { ?

(usually line number 32).

Shopping cart page

To add a monthly cost box to your shopping cart you should edit the file
catalog/view/theme/default/template/checkout/cart.tpl

Insert the following line (I’ve removed the containers):

?php include(DIR_SYSTEM . ‘library/klarna/KlarnaMonthlyCostCart.php’); ?

right above the line

div class=”cart-total”

November 14, 2012 at 1:02 am #15175

Hi,

Unfortunately, this is not a trivial modification and could not be covered by the free support offered by this forum. You may post your question in the official opencart forums, or seek a freelancer to do the job for you.

Best Regards,
ThemeBurn team

November 19, 2012 at 9:36 am #15308
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.