Post by deer » Mon Feb 19, 2018 4:10 pm

Hello.

How I can show tags in product page? When I add this code:

Code: Select all

<a href="<?php echo $tag['href']; ?>"><?php echo $tag['tag']; ?></a>
It shows undefined variable.
Last edited by deer on Tue Feb 20, 2018 5:34 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Feb 19, 2018 4:08 pm

Post by IP_CAM » Tue Feb 20, 2018 2:25 am

Well, Custom Variables have to be defined/declared in the corresponding
controller + language files, to make 'em work. That's what MVC(L) is all about!
Ernie

For Sale: Top URL's, including an OpenCart V-Pro Shop!
A wide range of matching Designs can be seen here: http://www.opencart.li
For Information on URL's offered, please contact me at: jti@jacob.ch
Hundreds of Mods in 380+ Repositories for OC v.1.5.x - v.2.3.x
to be found on my Github Site: https://github.com/IP-CAM
Image


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by deer » Tue Feb 20, 2018 5:29 pm

Can you explain how to do it ? ::)

Newbie

Posts

Joined
Mon Feb 19, 2018 4:08 pm
Who is online

Users browsing this forum: No registered users and 3 guests