In files:
components->com_virtuemart->themes->default->templates->product_details->garden_flypage.tpl.php
components->com_virtuemart->themes->default->templates->product_details->flypage-ask.tpl.php
components->com_virtuemart->themes->default->templates->product_details->flypage.tpl.php
Or if you use a shop template, in template files, for example:
components->com_virtuemart->themes->ja-zeolite->templates->product_details->garden_flypage.tpl.php
components->com_virtuemart->themes->ja-zeolite->templates->product_details->flypage-ask.tpl.php
components->com_virtuemart->themes->ja-zeolite->templates->product_details->flypage.tpl.php
(template - ja-zeolite)
To add in a code:
// < Previous | Next >
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>';
}
if( !empty( $next_product )) {
echo '<a class="next_page"
href="'.$next_product_url.'">'.shopMakeHtmlSafe($next_product['product_name']).'</a>';
}
}
line:
$previous_product_url=str_replace ('?pop=0', '', $previous_product_url);
$next_product_url=str_replace ('?pop=0', '', $next_product_url);
It will turn out so:
// < Previous | Next >
$previous_product_url=str_replace ('?pop=0', '', $previous_product_url);
$next_product_url=str_replace ('?pop=0', '', $next_product_url);
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>';
}
if( !empty( $next_product )) {
echo '<a class="next_page"
href="'.$next_product_url.'">'.shopMakeHtmlSafe($next_product['product_name']).'</a>';
}
}
The variable "pop=0" will be removed from URL
P.S. Forgive for my English - I use the machine translator:)