Jump to content

How to add the name of manufacturer on the pape of product view, thanks


poplaryi

Recommended Posts

How to add the link of manufacturer's name on the pape of home featured model for each product, please?
when I click the link of the name of the manufacturer, there will be all the products belonging to the manufacture. thanks?
I directly add '$manufacturer.name' into homefeatured.tpl, however, it did not dispaly the name of manufacturer.
Could you help me, please?

Link to comment
Share on other sites

1-) Add following line in product.tpl where you want to show manufacturur

Manufacturur -> id_manufacturer}">{$product->manufacturer_name}



2-)
You can use prestashop default module Manufacturers block listed in fornt office section in module list

admin-> module->Front office feature-> Manufacturers block

if you want to change module position you can edit by changing hook position

admin-> module->Front office feature-> Manufacturers block ->Manage Hooks-> then darg and drop module to desired poistion prestashop v1.4.2.5 and then save

Link to comment
Share on other sites

Hi alphabet. St

first of all I am sorry, I missed complete code

I am trying to write complete code in editior but skips href code please download attachment manufactrur.txt to get complete code

here is complete code with proper link

getmanufacturerLink($product.id_manufacturer, $manufacturer.link_rewrite)}" title="{l s='More about' mod='blockmanufacturer'} {$product.manufacturer_name}">{$product.manufacturer_name|escape:'htmlall':'UTF-8'}



If your problem has been resolved please mark it as solved

manufactrur.txt

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