Post by Univest » Tue Feb 07, 2012 8:46 am

Hi guys

I have installed a module called QR code from opencart extensions. it adds a qr code to any page you want. but im trying to call the function and put it inside a specific div inside product page. how do you call for the function?

thank you in advance

Newbie

Posts

Joined
Fri May 13, 2011 1:18 am

Post by OpenCart Addons » Tue Feb 07, 2012 8:56 am

Hey Univest,

Do you have a link to the extension you installed?


Joel.

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by Univest » Tue Feb 07, 2012 9:04 am

thank you joel for replying. you seem to save me a lot

http://www.opencart.com/index.php?route ... order=DESC

thank you in advance

Newbie

Posts

Joined
Fri May 13, 2011 1:18 am

Post by OpenCart Addons » Tue Feb 07, 2012 9:21 am

Hey,

This appears to be a module. In other words, you'd treat it similar to the "Specials" module or "Featured" module.

I could be wrong, but I think you simply set the module to appear on your product page and it shows up on one side or the other.


Joel.

Canada's Leading Expert In OpenCart Development & Certified OpenCart Development Partner Image


User avatar
Active Member

Posts

Joined
Thu Nov 24, 2011 10:51 am
Location - Canada

Post by Univest » Tue Feb 07, 2012 9:26 am

you are right joel its a module you add to ant page but I want it to apear in a specific div.

thats the problem

thank you

Newbie

Posts

Joined
Fri May 13, 2011 1:18 am

Post by MrTech » Wed Feb 22, 2012 2:31 am

I am also trying to figure out the exact same thing. From what I can tell, it pulls this string to display the QR code graphic:

$qr_code

It's not very visually appealing as a module and would be better suited as a small graphic appearing in the 'description box' for example. Not being a programmer I've learned to play around and eventually figure things out but this is more advanced than my current skill set.

When I place the string to show on the product page, of course I get a undefined variable error: qr_code
Now, I knew I would get the error, simply because as Univest said, I also don't know how to call that function form another file?

~
Install Extensions OR OpenCart Fast Service! PayPal Accepted
I will professionally install and configure any free or purchased theme, module or extension.

Visit http://www.mrtech.ca if you need an OpenCart webmaster
~


User avatar
Active Member

Posts

Joined
Mon Jan 09, 2012 2:39 pm
Location - Canada, Eh!
Who is online

Users browsing this forum: No registered users and 21 guests