Madrilene Posted October 8, 2008 Share Posted October 8, 2008 hiis the default theme supposed to display the logo of manufacturer, when the name of one of them is click to se related products ?because i can see the product, but not the logo "on my list of products for the manufacturer" page , is it normal ? If it is how can i do to display this logo ?Thank you very much(i use 1.0 version locally on my pC) Link to comment Share on other sites More sharing options...
Madrilene Posted October 9, 2008 Author Share Posted October 9, 2008 that's me again !As i still don't know if the default template displays manuacturer logo or not, and as i can't see it on my page, i tried to take a model with the picture category.* I saw in category.tpl those lines:{if $category->id_image}id_image}-category.jpg" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" /> {/if}* i don't know if i can change it like this and insert it in manufacturer.tpl ?{if $manufacturer->id_image}id_image}-manufacturer.jpg" alt="{$manufacturer->name|escape:'htmlall':'UTF-8'}" title="{$manufacturer->name|escape:'htmlall':'UTF-8'}" id="manufacturerImage" /> {/if}?but in this case, what is the name for variable {$img_cat_dir} ?thank you for your help. Link to comment Share on other sites More sharing options...
dasketch Posted October 10, 2008 Share Posted October 10, 2008 hi!you can add < img src=" {$img_manu_dir}{$product->id_manufacturer}.jpg " > into your product.tpllet me know! Link to comment Share on other sites More sharing options...
Madrilene Posted October 22, 2008 Author Share Posted October 22, 2008 Hi dasketchsorry for the delay.In fact i would like to display the logo picture inthe product page, but also in front of the name of the manufacturer in manufacturerblock. Beside, a french "prestashoper" published a post were said we should make assignation to smarty in supplier.php : if (file_exists(_PS_MANU_IMG_DIR_.$id.'-medium.jpg')) { $smarty->assign('img_manufacturer', $id.'-medium.jpg'); } i'm just a little bit lost, finally wich files should i modify ?Thank you for help...(even with delay ;-)) Link to comment Share on other sites More sharing options...
dasketch Posted October 22, 2008 Share Posted October 22, 2008 i dont know what that solution do...i've just applied the patch to the "product.tpl" file in the theme folder that i'm using, just in the right place (whatever you need!).and fully working to cometamoto.it let me know, again 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