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

How to show Thumbnails in invoice_items.php ?

Started by djanael, May 04, 2019, 15:39:45 PM

Previous topic - Next topic

djanael


GJC Web Design

in the loop something like


$image = '';
$product = $model->getProductSingle($item->virtuemart_product_id,false);
            $model->addImages($product);
            $image = $product->images[0];

then

<span class="img-thumbnail"><?php echo $image->displayMediaThumb ('', FALSE, '', TRUE, FALSE, TRUE, 80, 80);  ?></span>
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation