View Single Post
  #53  
Old 11-19-2007, 05:30 AM
 
zeta1600 zeta1600 is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 81
 

Default Re: get manufacture in products.php

Quote:
Originally Posted by HWT
To get the manufacturer's name to hyperlink, simply use:

Code:
<a href="manufacturers.php/?manufacturerid={$products[product].manufacturerid}">{$products[product].manufacturer}</a>

instead of:

Code:
{$products[product].manufacturer}

where you would like it to show up in skin1/customer/main/products_t.tpl or skin1/customer/main/products.tpl

I pretty much got this to work, but not the link to the manufacturer. The link isn't resolving. I think because I have XC SEO installed. Can someone show me how to rewrite this? I tried:
<a href="{$products[product].manufacturerid}">{$products[product].manufacturer}</a> But it didn't work.

Also, any way to add the original price (Market price) on the detail page?
__________________
Thanks.

X-Cart 4.1.9 Gold upgraded to 4.1.10
Considering 4.2

Local Computer:
Mac OS 10.5.6
Brower Firefox 3.0.5

Server:
OS Linux
Apache 2.0.63
PHP 5.2.5
MySQL 5.0.51a-community
Reply With Quote