I'm trying to accepting all credit card, and would like to add "payment method" with credit card image on home webpage, like bottom right. Anyone know how to do that? Thanks.
Version: Opencart V2.2.0.0
image see attached.
Attachments
cards.jpg (12.2 KiB) Viewed 2598 times
If you would like for your image to be on every page I would manually insert your image in catalog/view/theme/default/template/common/footer.tpl.
could you please provide a little bit more step by step details for method 1 and 2?
Method 1:
I added one "payment methods" in extensions>>modules>>HTML content, and enable it, and also added one layout at designs>> layouts, but nothing show up in homepage.
method 2:
what code should I add in footer.tpl?
thanks a lots.
You don't actually add a new layout in designs>>layout. You add whatever you created in HTML content to the Home layout that is already there. Select edit next to Home layout and add the html content you created under module, position and sort order. Pick Content Bottom for position. You probably won't care for this method as it will be above the footer. I typed out a reply on how the html content and layout work for someone else trying to figure it out at http://forum.opencart.com/viewtopic.php?f=190&t=157851 that might help you understand how it works.silkcamel wrote:Hi Kirkhall,
could you please provide a little bit more step by step details for method 1 and 2?
Method 1:
I added one "payment methods" in extensions>>modules>>HTML content, and enable it, and also added one layout at designs>> layouts, but nothing show up in homepage.
In catalog/view/theme/default/template/common/footer.tpl and just abovesilkcamel wrote: method 2:
what code should I add in footer.tpl?
thanks a lots.
Code: Select all
<div id="powered"><?php echo $powered; ?></div>
Code: Select all
<img src="image/data/cards/visa_mc_discover_paypal.jpg"
height="89" width="500" alt="payment methods">
somehow I only can add image or text on the middle section of home page (see attached section 2). However, where I want to added is section 1 or section 3 (top and bottom area, see attached photo).
I open the home layouts, which only allow me to add something in the middle section 2 area.
please let me the solutions.
Attachments
opencart.jpg (127.59 KiB) Viewed 2551 times

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer
find:
Code: Select all
<div class="col-sm-3">
<h5><?php echo $text_account; ?></h5>
<ul class="list-unstyled">
<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a></li>
<li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
<li><a href="<?php echo $wishlist; ?>"><?php echo $text_wishlist; ?></a></li>
<li><a href="<?php echo $newsletter; ?>"><?php echo $text_newsletter; ?></a></li>
</ul>
</div>
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer
Users browsing this forum: No registered users and 27 guests