When I add an item to my shopping cart, and the shopping cart module is displayed in the sidebar, the URL of the added item in my cart looks something like:
mysite.com/index.php/component/dms/view_...ry/1-my-product-v125
However, if I clink on that link, it takes me to the category, not to the item.
I think that the problem is that the link should be show_document, not view_document.
The offending line is in:
mod_dms_cart/tmpl/default.php
Line 11 is currently:
$link = JRoute::_( 'index.php?option=com_dms&task=show_document&category_id='.$doc->category_id.'&id='.$doc->id.'&Itemid='.$Itemid);
I think it should be:
$link = JRoute::_( 'index.php?option=com_dms&task=view_document&category_id='.$doc->category_id.'&id='.$doc->id.'&Itemid='.$Itemid);
When I make that change, my problem goes away, and items link properly from the sidebar shopping cart.
Thanks!
--clint