View Single Post
  #1  
Old 01-16-2004, 05:00 PM
  CenturyPerf's Avatar 
CenturyPerf CenturyPerf is offline
 

eXpert
  
Join Date: Jun 2003
Location: Reno, Nevada
Posts: 396
 

Default Product SKU on search results

I have about half of this working, but it is just not pulling the Product Code. I've used this elsewhere and it is working fine. Just not on the search results page.

Code:
Product SKU: {$product[product].productcode}

I've entered the above into */customer/main/products.tpl* and I know I'm missing something, I just don't know what it is.

I've entered as below:

Code:
{* $Id: products.tpl,v 1.36 2003/11/11 14:02:37 svowl Exp $ *} {if $usertype eq "C" and $config.Appearance.products_per_row ne "" and $config.Appearance.products_per_row gt 0 and $config.Appearance.products_per_row lt 4 and ($featured eq "Y" or $config.Appearance.featured_only_multicolumn eq "N")} {include file="customer/main/products_t.tpl" products=$products} {else} {if $products} {section name=product loop=$products} <table border=0 width=100%> <tr><td width=90 align=center valign=top> <a href=product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_page}>{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {$lng.lbl_see_details}</a> </td> <td valign=top> {$products[product].product}</font> <font size=1> Product SKU: [b]{$product[product].productcode}</b {$products[product].descr|truncate:300:"...":true} </font>

Can someone advise me as to what I'm missing here?
__________________
Best Regards,

Sam Solace - Pres/CEO
Century Performance Center, Inc.
http://www.centuryperformance.com

(3) sites using X-Cart 5.3.5.5
X-Payments Enterprise 3.1.4
Reply With Quote