FreshCommerce Posted April 20, 2012 Share Posted April 20, 2012 (edited) I would like to add an "intro text" for every manufacturer in the "products per manufacturer list" -manufacturer.tpl (SAMPLE ps_dir/manufacturer.php?id_manufacturer=5) I´ve succesfully added a dinamically header image with: {$img_ps_dir}/m/header{$manufacturer->id}.jpg And now I´m trying with dynamic descriptions in manufacturer.tpl using: <span>{l s={$manufacturer->name[spam-filter]</span> But this doesn´t create a translation line in translation backend "Tools > Translations". I don´t want to use an "infinite {if}" for every manufacturer the store has.... Any ideas? Edited May 4, 2012 by FreshCommerce (see edit history) Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 20, 2012 Share Posted April 20, 2012 Hi, {l s={$manufacturer->name[spam-filter] This will not work. You can not add the texts to be translated dynamically. Are you trying to translate the name of the manufacturer? Link to comment Share on other sites More sharing options...
FreshCommerce Posted April 29, 2012 Author Share Posted April 29, 2012 Ups! I thought I was suscribed to my topic, thanks for your interest. I would like to add a "brand header text", depending on wich brand page you are. For example: If you are looking "Philips" products page (ps_dir/manufacturer.php?id_manufacturer=5) it will appear the "Philips" logo and a description about "Philips". If you enter in "LG", the "LG" logo an description must be in the header. This text must be translatable. I hope I have explained a little better. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 30, 2012 Share Posted April 30, 2012 In the header where? You mean the meta title or on the page? Link to comment Share on other sites More sharing options...
FreshCommerce Posted May 3, 2012 Author Share Posted May 3, 2012 Hello! I mean in the manufacturer product list, i wanted to add a description of the manufacturer in several languages. I finally did an include of {manufacturerid}{lang_iso}.tpl to have this multilanguage description populated for every manufacturer. I don´t think its the best option to have so many files, but it works. Link to comment Share on other sites More sharing options...
CartExpert.net Posted May 3, 2012 Share Posted May 3, 2012 It will be not a problem Please mark the topic as solved. 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