VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: newsomjk on June 28, 2013, 23:16:15 PM

Title: Product thumbnail in mini cart override
Post by: newsomjk on June 28, 2013, 23:16:15 PM
I've been trying to figure out how to get these images for hours. Forums and google have yielded no help.

I've tried print_r($data) but it has no reference to any image, only the product sku and the product name, which somehow has a link.

I would search the whole project for a function that makes an image, however I have no clue what function would create an image or thumbnail, and searching "image" yields thousands of results...

Any direction would be nice
Title: Re: Product thumbnail in mini cart override
Post by: K&K media production on June 29, 2013, 22:30:55 PM
you need a sql query to get the thumb url from database
Title: Re: Product thumbnail in mini cart override
Post by: newsomjk on July 01, 2013, 15:31:13 PM
Ok, I got it done over the weekend. I'm just so used to the old VM where most things were in an array, and I could pull them with just a php call, but I'm seeing now most of the custom stuff I gotta do just needs sql queries. Thanks!