Jump to content

Adding Manufacturers to product page


Recommended Posts

Is there anyway that I can add the manufacturer that is specified in the product in the backend in the front end so that the person browsing the shop can view this. This would save me adding the manufacturer to each product description. Hope this makes sense.

I have searched the forum but cannot see anybody wanting this.

Thanks

Link to comment
Share on other sites

I have added

 

<p id="manufacturer_name" {if isset($groups) OR !$product->manufacturer_name}style="display: none;"{/if}><label for="manufacturer_name">{l s='Manufacturer :'} </label><span class="editable">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</span><br>

<p id="supplier_reference" {if isset($groups) OR !$product->supplier_reference}style="display: none;"{/if}><label for="manufacturer_name">{l s='Supplier Reference :'} </label><span class="editable">{$product->supplier_reference|escape:'htmlall':'UTF-8'}</span><br>

 

to my products.tpl from my theme folder and it still does not show. Am I editing the correct .tpl file?

Link to comment
Share on other sites

I have added

 

<p id="manufacturer_name" {if isset($groups) OR !$product->manufacturer_name}style="display: none;"{/if}><label for="manufacturer_name">{l s='Manufacturer :'} </label><span class="editable">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</span><br>

<p id="supplier_reference" {if isset($groups) OR !$product->supplier_reference}style="display: none;"{/if}><label for="manufacturer_name">{l s='Supplier Reference :'} </label><span class="editable">{$product->supplier_reference|escape:'htmlall':'UTF-8'}</span><br>

 

to my products.tpl from my theme folder and it still does not show. Am I editing the correct .tpl file?

 

In your Back Office, please go to Preferences > Performance and set Force Compile to On and Cache to Off, and then reload the page and let me know if the issue persists.

 

-Mike

Link to comment
Share on other sites

  • 1 month later...

Sorry it has taken me so long to reply but I have been away.

 

In a previous post you said

"In your Back Office, please go to Preferences > Performance and set Force Compile to On and Cache to Off, and then reload the page and let me know if the issue persists."

 

I did the above but the products would not load after I set this. Once I set it back to Force complie off and cache on the site started to work again. Hope this makes more sense.

Paul

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