Jump to content
xt:Commerce Community Forum

Artikelnummer Statt Name Bei Bestsellers


ttdrobin

Recommended Posts

Hi,

welche zeile muss ich denn in der best_sellers.php hinzuf?gen/?ndern damit die Artikel nicht mit ihrem Namen sondern mit der Artikelnummer anangezeigt werden?

wenn ich mich nicht t?usche ist das der Teil den ich ver?ndern muss oder?

if (isset($current_category_id) && ($current_category_id > 0)) {

$best_sellers_query = xtc_db_query("select distinct

p.products_id,

p.products_image,

pd.products_name from " .

TABLE_PRODUCTS . " p, " .

TABLE_PRODUCTS_DESCRIPTION . " pd, " .

TABLE_PRODUCTS_TO_CATEGORIES . " p2c, " .

TABLE_CATEGORIES . " c

where p.products_status = '1'

and c.categories_status = '1'

and p.products_ordered > 0

and p.products_id = pd.products_id

and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'

and p.products_id = p2c.products_id ".$fsk_lock."

".$group_check."

and p2c.categories_id = c.categories_id and '" . $current_category_id . "'

in (c.categories_id, c.parent_id)

order by p.products_ordered desc, pd.products_name limit " . MAX_DISPLAY_BESTSELLERS);

danke schonmal f?r die Hilfe

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...