View Single Post
  #15  
Old 07-18-2012, 07:31 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: Previous/Next links in product details

Yes, I kind of fixed it with this...

Quote:
SELECT pr.productid, pr.product, mem.membershipid FROM $sql_tbl[products_categories] AS cat, $sql_tbl[products_lng_en] AS pr LEFT JOIN $sql_tbl[product_memberships] AS mem ON mem.productid = pr.productid WHERE cat.categoryid = '$product_info[categoryid]' AND pr.productid = cat.productid ORDER BY pr.product

Still need to join 'product.forsale' somehow...
__________________
xcartmods.co.uk
Reply With Quote