Jump to content

Manufacturer description on manufactuter.tpl


Roks

Recommended Posts

Id like to show info about manufactuter before showing products of particular manufacturer.

Now I dont understand, where I could find manufacturer description at all??
As long as you can enter manufacturer info Admin>> Catalog >> Manufacturers there where you can find it in eshop??

Link to comment
Share on other sites

The description should appear on the manufacturer listings at manufacturer.php much like the product descriptions on the product listings. It is on line 39 of manufacturer-list.tpl in the default PrestaShop v1.3.1 theme:

{$manufacturer.description}

Link to comment
Share on other sites

Hi Rocky,

I tried to include the code mentioned on manufacturer.tpl, but I receive a compile error. My manufacturer-listing has already this code included.



                   {if $manufacturer.nb_products > 0}getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}">{/if}
                   {$manufacturer.description}
                   {if $manufacturer.nb_products > 0}{/if}



What I want: I have some descriptiontext at manufacturer, but when I filter the manufacturer fronted no text appear only filterpossibility and than all products. How can I include the description on tpl.file ?


Best regards

Conny

Link to comment
Share on other sites

Also no metas or keywords are building on manufacturer page. I have:
Title: manufacturer (instead of the name of the manufacturer)
meta-keywords: manufacturer (instead of the keywords)
meta-description: manufacuter listing (instead of the description)

I think this is not optimated for SE...

Link to comment
Share on other sites

That's the default value when no meta-information has been entered. You must go to Catalog > Manufacturers, edit each manufacturer and enter a value in the meta-title, meta-keywords and meta-description fields, then they will appear in the code instead of "manufacturer".

Link to comment
Share on other sites

Hi Adrian,

I have all metas and also description filled-out on BO, but when I filter the respect. category nor the description, neither metas where shown...
Is it possible that other files need to be completed ( I'm using f.ex. filterseacrch by community, but cannot find any file manufacturerXXX at coremanager folder - there are only product-list.tpl and filtersearch.tpl) ? when I deinstall the Filtersearch I also cannot see description on manufacturer-site.

As told on my template/manufacturer-list.tpl passage mentioned above ist already included:

{$manufacturer.description}

It seems that smarty is not assigned...

Link to comment
Share on other sites

Perhaps it is that module causing the problem. I'm not familiar with it. All I know is that there is a bug in PrestaShop v1.3.1 that causes meta-information to not be shown when the shop is in "maintenance mode". Otherwise, the meta-information should be shown.

Link to comment
Share on other sites

No is not. I deinstalled it and also tested it with presta original theme. Perhaps the german developer have forgotten to add smarty code in some files ? Can you trace me where and which code was added when the manufacturer where added to presta ?

I'm also not in maintenance mode..

Link to comment
Share on other sites

When I get into generated code I get for product-page this:

--deleted--

 

When I open the manufacturer page I get this:

 

<!-- Module Rating --><!-- Block search module HEADER -->
<link rel="stylesheet" type="text/css" href="http://www.my shop/shop/css/jquery.autocomplete.css">
[removed][removed]
<!-- Block search module HEADER -->  <meta name="description" content="Herstellerliste">
 <meta name="keywords" content="hersteller">

 <title>Hersteller - myshop</title><link rel="alternate" type="application/rss+xml" title="-my shop" href="http://my shop/shop/modules/feeder/rss.php?id_category=1441&orderby=name&orderway=ASC">

 

So in one file code is missing, but I don't know where. Instead of Hersteller there must be written the name of the manufacturer (Hersteller is the translation for manufacturer) and also noch keywords were shown, or content - nor fronted...

Link to comment
Share on other sites

I solved the description by my own:

line 6 /my theme/manufacturer.tpl:

{$manufacturer->description}  



Now description is shown fronted at manufacruter page.

What I cannot solve are the title, meta-keywords and meta-description, which remain standard presta, i.e. title: hersteller, keywords: hersteller and meta-description: herstellerliste.

Where must I include the metas, and which is the code ?

Link to comment
Share on other sites

  • 7 months later...

Hi,

I am using Prestashop 1.4.
I try to follow the steps as shown from previous post but I still can't see the manufacturer info in my product page. Actually what I prefer is when I click on the manufacturer link, i.e: Manufacturer A, then it will link to Manufacturer A information page. Is there anyway to do it?

Thank you in advance.

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