View Single Post
  #6  
Old 01-30-2009, 05:53 AM
 
ChristineP ChristineP is offline
 

eXpert
  
Join Date: Jul 2008
Posts: 310
 

Default Re: When using variants, showing main SKU in product lists

Does anyone have a suggestion to display the root sku (part number) on the product.tpl and products_t.tpl pages for variants. I checked in my include/search.php and the only reference close to the above code by proboscidian is $sql_tbl[variants].productid:

$left_joins["variants"] = array(
"on" => "$sql_tbl[variants].productid = $sql_tbl[products].productid AND $sql_tbl[quick_prices].variantid = $sql_tbl[variants].variantid",
"parent" => "quick_prices"
);


Once a product variant is selected and the customer adds to cart for checkout, then the variant sku number is fine to display.

Christine
__________________
______________
version 4.1.9 Gold
Reply With Quote