Hi,
I have a project that has been lingering around that I need to finish up. Not new to PHP, or mySQL. Somewhat new to Joomla 2.5 (really prefer the old 1.5). And new to Virtuemart. I apologize in advance as I cannot for the life of me see how to get this done and could not find this on the forums.
Virtumart 2.08e
I need to have some sort of way to have a link to a particular product details page by ID or SKU field accessible from the OTHER sections of the site. Not sure how to do this as I have been up a lot of hours and not made a lot of progress.
Thanks!
Paul DeJager
Nevermind...
Know the sku .. so wrote a short qurey to get ID from the products table in this case it was 17, and the virtuemart_product_categories for the itms I needed was 3
<? php
$product_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . 17 . '&virtuemart_category_id=' . 3);
echo JHTML::_('link', $product_link, "TEST", array('class' => 'some_css_class'));'
?>
Feeling special now...