Jump to content

Manufacturer link messes up with SEO turned on

Recommended Posts


I have the following code for displaying a link to manufacturer under the product name in product.tpl.


<p style="color:#DB5595;font-size:14px;" id="manufacturer_name" {if !$product->manufacturer_name}style="display: none;"{/if}><label for="manufacturer_name">{l s='Manufacturer :'} </label> <span class="editable"><a href="{$link->getmanufacturerLink($product->id_manufacturer, $product->link_rewrite)}">{$product->manufacturer_name|escape:'htmlall':'UTF-8'}</a></span></p>



IF SEO is turned off it displays fine and returns link:




IF SEO is turned on it shows wrong link as under:

(calling from http://localhost/prestashop/2-ipod-shuffle.html)




It should actually read: http://localhost/prestashop/1__apple-store


It is taking correct supplier_id but passing product_name to the controller



[Debug] This page has moved

Please use the following URL instead: http://localhost/prestashop/1_apple-computer-inc

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