How to add Image description underneath an image in Virtuemart

thfischbach
29 Posts
thfischbach posted this 23 December 2016

How can I add the Image-Description underneath an Productimage in Virtuemart Product-Details?

I hope You can help me.

And merry X-Mas! :)

How can I add the Image-Description underneath an Productimage in Virtuemart Product-Details? I hope You can help me. And merry X-Mas! :)
Vote to pay developers attention to this features or issue.
7 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 23 December 2016

Hi,

Unfortunately Themler theme does not output Product Image subtitle. I'll ask our developers on how to output it manually via CMS code. Please stand by.

Thank you,
Olivia

Hi, Unfortunately Themler theme does not output Product Image subtitle. I'll ask our developers on how to output it manually via CMS code. Please stand by. Thank you, Olivia
thfischbach
29 Posts
thfischbach posted this 23 December 2016

Many thanks, Olivia.

Many thanks, Olivia.
Support Team
Support Team posted this 26 December 2016

Hi,

Please try adding CMS Code control with the following code:

<?php
echo $product->images[0]->file_description;
?>

This should help.
Please keep us posted about the progress.

Thank you,
olivia

Hi, Please try adding CMS Code control with the following code: `<?php echo $product->images[0]->file_description; ?>` This should help. Please keep us posted about the progress. Thank you, olivia
thfischbach
29 Posts
thfischbach posted this 27 December 2016

Hi,
thank you for the quick response.
The code helps only for the first picture. But it won't work for the rest of the Productpictures.

Tom

Hi, thank you for the quick response. The code helps only for the first picture. But it won't work for the rest of the Productpictures. Tom

Last edited 27 December 2016 by thfischbach

thfischbach
29 Posts
thfischbach posted this 04 January 2017

Hello and a happy new year,

do you have meanwile a solution for my problem?

Thank you,

Tom

Hello and a happy new year, do you have meanwile a solution for my problem? Thank you, Tom
Support Team
Support Team posted this 09 January 2017

Hi,

Sorry for the delay.
Unfortunately the Product Thumbnails control does not support such functionality and it cannot be implemented in an easy way. If the image title is not too long you can try making it as a part of the image.

Thank you,
Olivia

Hi, Sorry for the delay. Unfortunately the Product Thumbnails control does not support such functionality and it cannot be implemented in an easy way. If the image title is not too long you can try making it as a part of the image. Thank you, Olivia
thfischbach
29 Posts
Is Solution
thfischbach posted this 11 January 2017

Hello,
thank you for your replay, but i solved the problem myself. Here's my way:

I inserted <?php echo $this-?>product->images[$j]->file_description; ?> in file /html/com_virtuemart/productdetails/default_template.php at line 132

This way show's the description underneath the images of the carousel.

Best regards,

Tom

Hello, thank you for your replay, but i solved the problem myself. Here's my way: I inserted **&lt;?php echo $this-?&gt;product->images[$j]->file_description; ?>** in file **/html/com_virtuemart/productdetails/default_template.php at line 132** This way show's the description underneath the images of the carousel. Best regards, Tom

Last edited 11 January 2017 by thfischbach

You must log in or register to leave comments