Author Topic: Problem with neighbour Links on detailpage  (Read 558 times)

Teramus

  • Beginner
  • *
  • Posts: 4
Problem with neighbour Links on detailpage
« on: April 08, 2014, 19:33:36 pm »
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:
Code: [Select]
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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9843
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Problem with neighbour Links on detailpage
« Reply #1 on: April 08, 2014, 20:00:59 pm »
I helps extremely if you actually write that you use vm2.6. Which ordering do you use? Please check your vm config.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Teramus

  • Beginner
  • *
  • Posts: 4
Re: Problem with neighbour Links on detailpage
« Reply #2 on: April 08, 2014, 20:09:27 pm »
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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9843
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Problem with neighbour Links on detailpage
« Reply #3 on: April 08, 2014, 20:11:33 pm »
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!
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Teramus

  • Beginner
  • *
  • Posts: 4
Re: Problem with neighbour Links on detailpage
« Reply #4 on: April 08, 2014, 20:37:03 pm »
Hey,
here a screenshot from my config.
I stored it again, but no success.

Regards

[attachment cleanup by admin]

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9843
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Problem with neighbour Links on detailpage
« Reply #5 on: April 08, 2014, 21:43:10 pm »
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?
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/