glebwe Posted February 25, 2015 Share Posted February 25, 2015 (edited) Hi, i have to add extra word to product name. for example. Original product name: "Perfume 1" in Category: "Perfume for woman" i need that the new product name will be: Woman: Perfume e..g. I have to add at the beginning of the product name (Perfume) additional word that depend on category name. i was able to do it with Product listing template, <a class="product-name" href="{$product.link|escape:'html':'UTF-8'}" title="{$product.name|escape:'html':'UTF-8'}" itemprop="url" > {if ($product.id_category_default) == 17}<span style="color:#FF0000;"><b>Tester: </b></span>{/if} {$product.name|truncate:45:'...'|escape:'html':'UTF-8'} </a> but the name does not stays on product page and on invoice.so i understand that i have do it globally: change $product->name to $product->name + "some word" Please help. Thank you Edited February 25, 2015 by glebwe (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted February 27, 2015 Share Posted February 27, 2015 You have to change the name in database for all languages (ps_product_lang) as well as in orders (ps_order_detail). Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now