On my homepage i have to show an image (just the image, no thumbnails) from the MiniShop2 gallery snippet.
Basically i just need the [[+img]] placeholder to set the image source.
So on my homepage i have:
[[msProducts?
parents=`10`
&depth=`1`
&limit=`12`
&sortby=`publishedon`
&sortdir=`DESC`
&tpl=`productsHomeTpl`
&includeTVs=``
]]
Here is the snippet call on productsHomeTpl :
[[msGallery?
&limit=`1`
&tplOuter=`tpl.msGallery.outer.homepage`
]]
And the tpl.msGallery.outer.homepage chunk:
But i get a "This resource is not instance of msProduct class" message.
Where is the problem?
Thanks
[ed. note: fredela last edited this post 7 years, 5 months ago.]