Jump to content

Change product name in Prestashop


digita.life

Recommended Posts

Good morning, I need to create on prestashop the name of the product that is generated automatically based on the manufacturer, the reference, a tag in the category and color. I found the product.tpl file. Now do I have to go change the variable name? Do you have any idea about it?

<h1 itemprop="name">{$product->name|escape:'htmlall':'UTF-8'}</h1>

Link to comment
Share on other sites

  • 4 weeks later...
On 9/11/2018 at 11:35 AM, digita.life said:

Good morning, I need to create on prestashop the name of the product that is generated automatically based on the manufacturer, the reference, a tag in the category and color. I found the product.tpl file. Now do I have to go change the variable name? Do you have any idea about it?

<h1 itemprop="name">{$product->name|escape:'htmlall':'UTF-8'}</h1>

I have no idea what you want. When you write about "product creation" I get the impression that you want to enter new products into the database. But then you continue about the tpl file that is about output: showing what is present to the customer.

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...