Post by jon22 » Wed Jul 29, 2015 5:44 pm

Can't get this to work...

Code added to vqmod xml file:

<?php echo $total_price; ?>

Code added to product page language file (product/product):

$_['total_price'] = 'Gesamtpreis';

Any ideas?

JME Web Design


User avatar
New member

Posts

Joined
Thu May 28, 2009 5:44 pm


Post by IP_CAM » Wed Jul 29, 2015 6:13 pm

You cannot just take/create a VARIABLE, place it in a VqMod, and expect it to SHOW UP, anywhere.
It needs to be declared/defined, in the matching controller file, language File, e.t.c., to make it work.
In OC v.2, I only found a matching variable in the OPENBAY/AMAZON Sub, but nowhere else.
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 jon22 » Wed Jul 29, 2015 6:20 pm

Ah right, didn't realise it needed declaring in the controller file as well, got it working now, thanks!

JME Web Design


User avatar
New member

Posts

Joined
Thu May 28, 2009 5:44 pm

Who is online

Users browsing this forum: No registered users and 95 guests