News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Images in Inventory View

Started by iojens, August 12, 2014, 16:49:40 PM

Previous topic - Next topic

iojens

Hello,

I want to add images to the backend inventory view (/administrator/components/com_virtuemart/views/inventory). Unless I missed something the $product variable in that view only holds the 'virtuemart_media_id' only and no variable for images exists (e.g. $product->images[0] won't give me anything) similar to the category view. I can query the 'virtuemart_medias' table directly for the 'file_url' variable and it works, but I wonder if there is a more elegant way / if helper methods already exist for such things.


Thank you for any hints

Cheers

Jens