News:

Looking for documentation? Take a look on our wiki

Main Menu

How to get Related products images ?

Started by 2dmaster, March 15, 2019, 23:08:41 PM

Previous topic - Next topic

2dmaster

public_html\templates\mytpl\html\com_virtuemart\sublayouts\related.php

i cant get related products images... how to get its ? i can output name and price by this standart code (( pls help!

This code not get image, why ? How to modify this ? and Undefined variable: $product

$related = $viewData['related'];
$customfield = $viewData['customfield'];

// var_dump($viewData); // no png and jpg!

$thumb = $viewData['thumb'];

var_dump($related);


Mod edit:  impatient bump message removed. Please read http://forum.virtuemart.net/index.php?topic=104795.0

PRO

administrator/custom fields

for the related products setup, what do you have for the settings? image attached