innocuous Posted November 20, 2012 Share Posted November 20, 2012 Hi, 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: http://localhost/prestashop/index.php?id_manufacturer=1&controller=manufacturer IF SEO is turned on it shows wrong link as under: (calling from http://localhost/prestashop/2-ipod-shuffle.html) http://localhost/prestashop/1_ipod-shuffle It should actually read: http://localhost/prestashop/1__apple-store It is taking correct supplier_id but passing product_name to the controller TURNING ON DEBUG MODE SHOWS [Debug] This page has moved Please use the following URL instead: http://localhost/prestashop/1_apple-computer-inc Link to comment Share on other sites More sharing options...
innocuous Posted November 22, 2012 Author Share Posted November 22, 2012 Anyone???? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now