I tried putting this in category.tpl:
Code: Select all
<?php echo $product_info['meta_description']; ?>
Code: Select all
<?php echo $product_info['meta_description']; ?>
Code: Select all
$this->document->setDescription($product_info['meta_description']);
Code: Select all
$results = $this->model_catalog_product->getProducts($data);
Running Opencart v3.0.3.2 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.
Code: Select all
<?php echo $product['meta_description']; ?>
Code: Select all
'meta_description' => html_entity_decode($result['meta_description'], ENT_QUOTES, 'UTF-8'),
Code: Select all
'description' => html_entity_decode($result['description'], ENT_QUOTES, 'UTF-8'),
Code: Select all
$this->document->setDescription($product_info['meta_description']);
Code: Select all
<?php echo $product['meta_description']; ?>
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Then, using Google would be your best bet.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Users browsing this forum: No registered users and 21 guests