If you click on the icon Shopping Cart at the bottom of the image we get in Virtuemart. This is normal.
If we want to return to the gallery, you must use the page in the browser, for a normal user it is not easy.
I added the function in flypage.tpl.php previous page.
This is not a standard way.
Thank you to do so in a way correct.
Ph. Dougoud
Code: Select all
if( $this->get_cfg( 'product_navigation', 1 )) {
if( !empty( $previous_product )) {
echo '<a class="previous_page" href="'.$previous_product_url.'">'.shopMakeHtmlSafe($previous_product['product_name']).'</a>';
}
echo '<a class="back_page" href="Javascript:history.go(-1)"> page précédente</a>';
if( !empty( $next_product )) {
echo '<a class="next_page" href="'.$next_product_url.'">'.shopMakeHtmlSafe($next_product['product_name']).'</a>';
}
}
Code: Select all
.back_page {
background: url( 'images/backpage_16x16.png' ) no-repeat left;
padding-left: 30px;
line-height: 20px;
float: center;
width: auto;
}

