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

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


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 24 guests