Author Topic: How to get Related products images ?  (Read 403 times)

2dmaster

  • Jr. Member
  • **
  • Posts: 97
How to get Related products images ?
« on: March 15, 2019, 23:08:41 pm »
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

Code: [Select]
$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

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10399
  • VirtueMart Version: 3+
Re: How to get Related products images ?
« Reply #1 on: March 18, 2019, 19:42:35 pm »
administrator/custom fields

for the related products setup, what do you have for the settings? image attached
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)