Find
Code: Select all
$this->document->keywords = $product_info['meta_keywords'];
Code: Select all
$rsNext = $this->model_catalog_product->getProduct($product_id+1);
$rsLast = $this->model_catalog_product->getProduct($product_id-1);
if($rsNext):
$this->data['next_url'] = $this->model_tool_seo_url->rewrite(HTTPS_SERVER .'index.php?route=product/product&product_id=' . $rsNext['product_id']);
$this->data['next_text']= $rsNext['name']." >>";
else:
$this->data['next_url'] = '';
$this->data['next_text']= '';
endif;
if($rsLast):
$this->data['prev_url'] = $this->model_tool_seo_url->rewrite(HTTPS_SERVER .'index.php?route=product/product&product_id=' . $rsLast['product_id']);
$this->data['prev_text']= "<< ".$rsLast['name'];
else:
$this->data['prev_url'] = '';
$this->data['prev_text']= null;
endif;
Add where ever you want
Code: Select all
<a href="<?php echo $prev_url; ?>"><?php echo $prev_text; ?></a>
<a href="<?php echo $next_url; ?>"><?php echo $next_text;?></a>
Open catalog/controller/product/product.php
Find
Code: Select all
$this->data['text_tags'] = $this->language->get('text_tags');
Code: Select all
$this->data['text_onceki'] = $this->language->get('text_previous');
$this->data['text_sonraki'] = $this->language->get('text_next');
Find
Code: Select all
$_['text_minimum'] = '(Bu ürünü satın almak için asgari miktar: %s)';
Code: Select all
$_['text_onceki'] = 'Previous Product';
$_['text_sonraki'] = 'Next Product';
Add where ever you want
Code: Select all
<a href="<?php echo $prev_url; ?>"><?php echo $text_previous; ?></a>
<a href="<?php echo $next_url; ?>"><?php echo $next_next;?></a>