Jump to content

[SOLVED] Is it possible to change <title> and meta description for new-product.php ?


Recommended Posts


Firstly, congratulations for Prestashop. I'm using it for a few days and it's very powerful.

I have a lot of questions but for the moment I am looking for a tip to change <title>, <meta description>, ... for specific pages like new-product.php, best-sales.php, ...

These pages include <title> and meta tag in include(dirname(__FILE__).'/header.php'); so i cannot change them in the file...



$nbProducts = intval(Product::getNewProducts(intval($cookie->id_lang), isset($p) ? intval($p) - 1 : NULL, isset($n) ? intval($n) : NULL, true));

   'homeSize' => Image::getSize('home'),
   'products' => Product::getNewProducts(intval($cookie->id_lang), intval($p) - 1, intval($n), false, $orderBy, $orderWay),
   'nbProducts' => intval($nbProducts)));



Do you have an idea to solve this problem ?


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...