Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - PureMart (SKU# FLEX-00010)

TOPIC: Missing product navigation

Missing product navigation 11 years 2 months ago #2618

Hi, I can not get the product navigation arrows to appear on the top right of the product details pages like on your demo.
My site is babynose.com.au and here babynose.com.au/index.php/nasal-aspirator-shop/boogie-bulb-mega is a direct link to one of the products with the problem.

I do have Configuration -> Shopfront ->"Show the product navigation?" ticked.

From FireBug I can see that there is a FlexibleNeighboursNavigation class but it is grayed out.

I am using PHP 5.3.19, Joomla 2.5.9, VM 2.0.18a and PureMart 3.4

Regards,
Mr BabyNose
Last Edit: 11 years 2 months ago by Mr BabyNose.
The topic has been locked.

Missing product navigation 11 years 2 months ago #2622

The topic has been locked.

Missing product navigation 11 years 2 months ago #2641

I just noticed the same problem as I am asking about has been reported here by Carlo.

www.flexiblewebdesign.com/index.php?option=com_kunena&view=topic&catid=18&id=602&Itemid=234

Interesting to note that:

On 17 January PureMart 3.4 Release Notes were last touched and the 3.4 template was zipped.

On 13 February the file ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default.php was modified

I assume Carlo got PureMart v3.4 during this time.

On 18 February Carlo reported this problem

On 20 February I purchased PureMart v3.4 and the 3.4 templates came with the 3 local virtuemart directories with some more recent modifications.

Is the right version of ROOT/templates/<yourjoomlatemplate>/html/com_virtuemart/productdetails/default.php distributed with PureMart v3.4?

Was Carlo's problem resolved by email?

Regards,
Mr BabyNose
The topic has been locked.

Missing product navigation 11 years 2 months ago #2672

Hi,

I just double checked the This email address is being protected from spambots. You need JavaScript enabled to view it. Carlo didn't send any email to us, so that problem is a "mystery"
the problem in that page: www.flexiblewebdesign.com/forum-virtuemart-2-template-puremart-support/215-navigation-not-working

Is different. That guy was suffering a problem with the "pagination" in the category browse page. But carlo's and yours problem happens in the "product details page". Which is completely different.

It makes sense if the DIV line to show the "navigation buttons" was grayed out. Because there is nothing inside the <div>, empty <div> elements get grayed out by firebug. This also proves that you have enabled the Configuration -> Shopfront ->"Show the product navigation?" ticked.
Otherwise the greyed out DIV would also be gone.

I asked Carlo if he has touched anything in that PHP file. Our PureMart shows navigation buttons in the product details page since v1.0 We have never received any problem about "navigation button in the product details page" since the launch. But i asked anyway in case he might have deleted some lines in that PHP file which might be the reason why those button won't show up.

As i said, Carlo didn't email and let me take a look at his website (maybe he decided to abandon using the navigation since it is not an extremely important feature.) So you do it and let me check your website backend.

Please provide me your joomla admin account to This email address is being protected from spambots. You need JavaScript enabled to view it.
(while emailing to This email address is being protected from spambots. You need JavaScript enabled to view it., don't forget to include this forum post's URL at the top of your message to avoid any possible confusion in our end)

Regards.
Forum Support.
Last Edit: 11 years 2 months ago by Support.
The topic has been locked.

Missing product navigation 11 years 2 months ago #2775

I have finally found a way of showing the product navigation. This appears to be a common problem with the question but no answer on any forums.

I still have not worked out if it is purely VirtueMart or a mix of PureMart and VirtueMart.

I have found that if I set the VirtueMart->Configuration->"Product Order Settings" back to the "Default Product Sort Order"="Product Name" then MAGICALLY the product navigation appears. If I change the "Default Product Sort Order" to anything else then there is no navigation.

There may also have been a problem of my default" "Home" menu not being "VirtueMart - Front page" and not being set to the default Home but I have not seen if that was a real cause or a red herring.

There should be a warning that if you change these settings you lose the whole product navigation functionality.

Now I have navigation showing, but it looks different to the watch demo. Mine has arrows and names instead of the NEXT PREV. They both ignore the product sort order and only sort alphabetically by product name. In my case Small, Medium, Large is showing as Large, Medium, Small

You can see this at babynose.com.au/home/boogie-bulb-medium.html and www.flexiblewebdesign.com/virtuemart-2-template-puremart/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=5&virtuemart_category_id=1&Itemid=435

Regards,
Mr BabyNose
The topic has been locked.

Missing product navigation 11 years 2 months ago #2783

Hi,

Thanks for your feedback and we will certainly be testing this senario to see what is causing this,

Regards,

Admin
The topic has been locked.

Missing product navigation 11 years 2 months ago #2802

Hi,

I've just found out why I have the "product names" and left and right arrows instead of the Prev/Next that the Watch demo has.

The fundamental problem of "missing product navigation" happens as soon as I change the "Configuration" -> "Product Order Settings" ->"Default product sort order" to "Product SKU", which is a reasonable thing to do. In this example I do have "Product SKU" ticked for both available sort-by and search fields.

The Next/Prev was different on mine because in \templates\TEMPLATE_NAME\html\com_virtuemart\productdetails\flexv2.php I had at line 213
<div class="product-neighbours">
	    <?php
	    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);
		echo JHTML::_('link', $prev_link, $this->product->neighbours ['previous'][0]
			['product_name'], array('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);
		echo JHTML::_('link', $next_link, $this->product->neighbours ['next'][0] ['product_name'], array('class' => 'next-page'));
	    }
	    ?>

Instead of the PureMart v3.4
    <div class="FlexibleNeighboursNavigation">
 
		  <?php if (!empty($this->product->neighbours ['previous'][0])) {
		if (!($parameter == "quicklook")) { 	
		$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);
		} else {
		$prev_link = JRoute::_('index.php?option=com_virtuemart&tmpl=component&flexiblelayout=quicklook&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['previous'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id);
		} ?>
         <a class="FlexibleNeighboursPrev" href="<?php echo $prev_link; ?>" title="<?php echo JTEXT::_('COM_VIRTUEMART_BOX_PREVIOUS');?>" ></a> 
         <span class="FlexibleNeighborSeperator"></span> 
	  <?php  }?>
		  <?php
		if (!empty($this->product->neighbours ['next'][0])) {
			if (!($parameter == "quicklook")) { 
			$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);
			} else {
			$next_link = JRoute::_('index.php?option=com_virtuemart&tmpl=component&flexiblelayout=quicklook&view=productdetails&virtuemart_product_id=' . $this->product->neighbours ['next'][0] ['virtuemart_product_id'] . '&virtuemart_category_id=' . $this->product->virtuemart_category_id);
			}
			?>
		<a class="FlexibleNeighboursNext" href="<?php echo $next_link; ?>" title="<?php echo JTEXT::_('COM_VIRTUEMART_BOX_NEXT');?>" ></a>
	    <?php } ?>

I must have got that code from the forum and tried it when trying to work out why I could not see the product navigation.

Regards,
Mr BabyNose
The topic has been locked.

Missing product navigation 11 years 2 months ago #2805

Thanks for letting us know.. Marked as Solved..

Regards,

Admin
The topic has been locked.
Time to create page: 0.219 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo