I have Joomla 2.5.14 and VM 2.0.18b. I used this solution http://forum.virtuemart.net/index.php?topic=106732.0
to display related products prices on a product details page. But after I began to use different prices for registered and not registered users the prices of related products disappeared. There were "0" instead of prices. So, as I understand, I need to correct this code somehow:
$product = $model->getProductSingle($field->custom_value,false);
$price = $calculator -> getProductPrices($product);
Can you help me with this?