Dear Community,
i have a problem using the product oder by sort. I i use this ordering type i can not use the product neighbour navigation anymore. i dont know how to fix this issue. I tried to upgrad to the latest version, but i have still the same Problem.
Here is the code for the navigation. I hope someone has a solution for me:
if (!empty($this->product->neighbours ['previous'][0])) {
$prev_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id, FALSE);
echo JHTML::_('link', $prev_link, $this->product->neighbours ['previous'][0]
['product_name'], array('rel'=>'prev', 'class' => 'previous-page'));
}
if (!empty($this->product->neighbours ['next'][0])) {
$next_link = JRoute::_('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id, FALSE);
echo JHTML::_('link', $next_link, $this->product->neighbours ['next'][0] ['product_name'], array('rel'=>'next','class' => 'next-page'));
}
The Website you will find here: http://www.kepka.impulsfaktor.abcde.biz/portfolio/glasbilder/wandbilder/glasbild-sipho-detail (already a detailpage)
I use the newest version of Virtuemart and Joomla as well.
Regards
Teramus
I helps extremely if you actually write that you use vm2.6. Which ordering do you use? Please check your vm config.
Hey,
yes i use virtuemart 2.0.6, sry. I use the (i hope it is named so) custom order.
I found actually a solution here (last post) http://forum.virtuemart.net/index.php?topic=96784.30
For the moment it seems to work, but i need to try more pages.
Regards
Teramus
2.0.6?
Actually we worked on that for vm2.6 and we tested it quite widely. Please tell use your vm config for ordering. Please check your config and store it!
Hey,
here a screenshot from my config.
I stored it again, but no success.
Regards
[attachment cleanup by admin]
Seems your manual ordering is broken. Please go in your product edit list,.. select a category and store the ordering. This should fix it. From which version did you update?