View Single Post
  #14  
Old 11-04-2009, 06:10 AM
 
lash lash is offline
 

Senior Member
  
Join Date: Oct 2006
Posts: 138
 

Default Re: Add Manufacturer in Product Detail Page

They work, just not the link manufacturers.php. I have the CDSEO so it says manufacturer instead of the .php. It rewrites all my manufacturers/brands, just not the manufacturers.php which gets a 404. It's not clickable in my search.tpl. I think Jon made sure of that. But I have it in my breadcrumb which I am trying to locate now. If a customer would click on the manufacturer in the breadcrumb thinking they would get back to the manufacturer page for that particular manufacturer they will get a 404. It would also be in the above code. It seems I would need some tweeking to make it work. Like I said, I get a 404 for the above code, stating it cannot find the manufacturers.php.

I have this in my search.tpl

{* WCM - Modified for CDSEO Compatibility *}
<form name="formManufacturer">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td style="padding-top:7px">
<select name="listManufacturer" onchange="window.location=this.options[selectedIndex].value" style="height:20px; width:132px">
<option value="">{$lng.botton_brands}</option>
{section name=mid loop=$manufacturers_menu}
<option value="{$http_location}/{$cdseo_manu}/{$manufacturers_menu[mid].cdseo_url}/"{if $manufacturers_menu[mid].manufacturerid eq $manufacturer.manufacturerid} selected{/if}>{$manufacturers_menu[mid].manufacturer|truncate:20:"...":true}</option>
{/section}
</select>

Perhaps I could try to add the below, or part of it to:
<option value="{$http_location}/{$cdseo_manu}/{$manufacturers_menu[mid].cdseo_url}/"{if $manufacturers_menu[mid].manufacturerid eq $manufacturer.manufacturerid} selected{/if}>

to this:
a href="manufacturers.php?manufacturerid={$product.m anufacturerid}">{$product.manufacturer}</a

Any suggestions?
__________________
4.1.9
www.lash.se
Reply With Quote