Thread
:
Clearence Items Mod
View Single Post
#
3
07-12-2005, 06:51 AM
ETInteractive.com
X-Adept
Join Date: Dec 2002
Posts: 747
select * from xcart_products a, xcart_products_categories b
where a.forsale = 'Y'
and a.avail > 0
and a.productid = b.productid
and b.categoryid = '123'
order by Rand() limit 5
you need to use "xcart_product_categories" table, not categories.
__________________
ETInteractive.com
X-Cart 3.5.x
ETInteractive.com
View Public Profile
Send a private message to ETInteractive.com
Find all posts by ETInteractive.com