can somebody point me where to remove product x of y and buttons (next / back / listing) from top of the product detail page?
can somebody point me where to remove product x of y and buttons (next / back / listing) from top of the product detail page?
remove this section of code from your override copy of tpl_product_info_display.php
PHP Code:
<!--bof Prev/Next top position -->
<?php if (PRODUCT_INFO_PREVIOUS_NEXT == 1 or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
<?php
/**
* display the product previous/next helper
*/
require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
<?php } ?>
<!--eof Prev/Next top position-->
Neville
An assumption is what you arrive at when you get tired of thinking...
can this be done through Admin dashboard, or do i need to make changes to the actual code?
Actually, you can turn it off in Admin.
Admin > Configuration > Product Info > Previous Next - Button and Image Status
Neville
An assumption is what you arrive at when you get tired of thinking...
If you mean those buttons labeled "prev listing next" in each listing...
The place to turn them off is at
Admin > Configuration > Product Info > Previous Next - Navigation Bar Position.
Its for Zen Cart version 1.3.7.1 (my current version) so for other versions, it might be different.
You also can set this to once at the top of the listing or once at the bottom or both on.
Very helpful.. thanks
Bookmarks