Hi,
I would like to add in chart another field with manufacturer name.
I already add in /templates/template-name/html/com_virtuemart/cart/default_pricelist.php
<th><?php echo JText::_ ('COM_VIRTUEMART_SEF_MANUFACTURER') ?></th> and I have another field in chart.
Now I would like to add
<?php echo $item->mf_name; ?> but is not working...
Any suggestions?
Regards,Peter
Yes,
try this in default_pricelist.php:
<?php echo print_r ($item); ?>
and you can see all info from item.
If mf_name is missing (and I think yes, because for add to cart is used function from product model - getProduct, then you can try call another function or add model for manufacturer.
Try find function in model product - getProductSingle.
Or waiting for answer from VM DEV :)
<?php echo print_r ($item); ?> is not working...
I have no idea how to solve this.
What is not working ? Try:
<?php
echo '<pre>';
print_r($item);
echo '</pre>';
?>
If you do Still not see any relevant info, you may Nerf professional help with this.
Jörgen