Argument(s) |
Array
(
[0] => SELECT WebshopProductVariants.WebshopProductVariantID
FROM WebshopProductVariants
INNER JOIN WebshopProducts ON WebshopProductVariants.WebshopProductID = WebshopProducts.WebshopProductID
INNER JOIN WebshopProductVariantPhotos ON WebshopProductVariants.WebshopProductVariantID = WebshopProductVariantPhotos.WebshopProductVariantID
INNER JOIN WebshopProductVariantDetails ON WebshopProductVariants.WebshopProductVariantID = WebshopProductVariantDetails.WebshopProductVariantID
WHERE WebshopProducts.WebshopProductCategoryID = ?
AND WebshopProducts.OnWebsite = 1
AND WebshopProductVariants.OnWebsite = 1
AND WebshopProductVariantDetails.Stock > 1
AND WebshopProductVariants.WebshopProductVariantID NOT IN ()
GROUP BY WebshopProductVariants.WebshopProductVariantID
ORDER BY RAND()
LIMIT 0,1
[1] => Array
(
[0] =>
)
)
|