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”
|
|
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
|
|