When adding a manufacturer, i can ad more than 1 image, say 5 images to 1 manufacturer, but how do i display these images? i mean per manufacturer more than 1 image, not all images of all manufacturers.
i have this working for the first image, but if i upload more than 1 i cannot see them on the manufacturers detail page.
<? echo $this->manufacturerImage; ?>
yes, i could do it in the description field, but i want it working in the virtuemart way, to not confuse my client too much! ;-)
thank you!
The manufacturer image should be their logo. Surely they only have one logo?
it should be, but i am using vm in my instance for something else then a webshop. and manufactures are hotels in my case, so more than 1 image should be preferable.
hmmm.. yes.. u can add more than one
but in the detauils view only the 1st one appears in $this->images
the media ids are there in
$this->virtuemart_media_id=> Array
(
- => 9
[1] => 29
)
so I guess either hack the model or get the image thru its media id
I'd probably use Categories instead of Manufacturers, as there would be no problem with extra images and subcats ets are easy to manage.
But unless you are selling products, why not use a directory comonent or even a purposebuilt accommodation extension.