Jump to content

Recommended Posts

hi
is 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)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
  • 2 weeks later...

Hi dasketch
sorry 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 ;-))

Share this post


Link to post
Share on other sites

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 ;)

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More