Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
find:
Code: Select all
if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/bestseller.tpl')) {
Code: Select all
if (isset($this->request->get['page'])) {
$page = $this->request->get['page'];
} else {
$page = 1;
}
$this->data['pagination'] = '';
if (isset($this->request->get['product_id'])) {
$pagination = new Pagination();
$pagination->total = sizeof($this->data['products']);
$pagination->page = $page;
$pagination->limit = $this->config->get('config_catalog_limit');
$pagination->text = $this->language->get('text_pagination');
$pagination->url = $this->url->link('module/bestseller', 'product_id=' . $this->request->get['product_id'] . '&page={page}');
$this->data['pagination'] = $pagination->render();
}
find at the end of the file:
Code: Select all
</div>
</div>
add above:
Code: Select all
<div class="pagination"><?php echo $pagination; ?></div>
This should work as intended.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Done: http://www.opencart.com/index.php?route ... on_id=5604hi, who knows how can i do it: i need to show all products at homepage, with pagination, in alphabetica order? any extension or code to chagen? thanks!
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
http://www.getclearthinking.com/extra-product-pages
Users browsing this forum: No registered users and 310 guests