Jump to content
xt:Commerce Community Forum

Fsk18 Produkte Tauchen In "neue Produkte" Auf


jakob

Recommended Posts

$new_products_query = xtc_db_query("select distinct p.products_fsk18,

p.products_id,

p.products_image,

p.products_tax_class_id,

IF(s.status, s.specials_new_products_price, p.products_price) as products_price

from " . TABLE_PRODUCTS . " p

left join " . TABLE_SPECIALS . " s

on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c,

" . TABLE_CATEGORIES . " c

where c.categories_status='1' and

p.products_id = p2c.products_id and

p2c.categories_id = '0' ".$fsk_lock."

".$group_check."

and p.products_status = '1'

order by p.products_date_added

DESC limit " . MAX_DISPLAY_NEW_PRODUCTS);

Link to comment
Share on other sites

$new_products_query = xtc_db_query("select distinct p.products_fsk18,

p.products_id,

p.products_image,

p.products_tax_class_id,

IF(s.status, s.specials_new_products_price, p.products_price) as products_price

from " . TABLE_PRODUCTS . " p

left join " . TABLE_SPECIALS . " s

on p.products_id = s.products_id, " . TABLE_PRODUCTS_TO_CATEGORIES . " p2c,

" . TABLE_CATEGORIES . " c

where c.categories_status='1' and

p.products_id = p2c.products_id and

p2c.categories_id = '0' ".$fsk_lock."

".$group_check." ".$fsk_lock."

and p.products_status = '1'

order by p.products_date_added

DESC limit " . MAX_DISPLAY_NEW_PRODUCTS);

meinst du so ????? :cry:

Link to comment
Share on other sites

Archived

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

×
  • Create New...