im running a testshop on OpenCart - Version 3.0.2.0 - here is the site in mainT mode.
http://billigcomputer.dk/
What i would like to do, is to put CreditCard logos in header ( old days it was PHP-file under COMMON folder, but now it's TWIG file )
How can i do that ? i need the code for how to insert a CREDITCARD link with logo into header and footer section?
See picture in attachment for my idea
Attachments
Screenshot_1.jpg (198.11 KiB) Viewed 1334 times
// this basically just passes the info to the twig file.
$data['cc_logo'] = "<img src='logo.jpg>";
then in header.twig put the image where you want:
{{ cc_logo }}
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
<nav id="top">
{{ cc_logo }}
Perhaps you can write the full code of how to insert the {{ cc_logo }} in my header.TWIG file.. thanks....
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Please show me how your insert the code in TWIG write full code line that you insert so i can copy and paste into mine..
Thanks!
Attachments
Screenshot_1.png (372.31 KiB) Viewed 1227 times
Users browsing this forum: No registered users and 326 guests