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

Ernie's OpenCart v.1.5.6.5 LIGHT + V-Pro + OpenShop Admin v.1.75 Test Sites
http://www.bigmax.ch - http://www.opencart.li/shop/ - http://www.velomech.ch/cart/
Image


User avatar
Guru 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 11 guests