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

I'm rarely active at the OC Forum lately. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'100+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related 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 9 guests