jiaj-tey Posted May 9, 2014 Share Posted May 9, 2014 Hi, I'm creating a custom module. It's working okay so far, but I now need to query for products that have a special offer. So I basically need all products that have a $product['specific_prices']['to'] – do you know how I can get there? Best regards, tey Link to comment Share on other sites More sharing options...
vekia Posted May 9, 2014 Share Posted May 9, 2014 to get prices drop products you can use static function: Product::getPricesDrop(); function has got arguments: /** * Get prices drop * * @param integer $id_lang Language id * @param integer $pageNumber Start from (optional) * @param integer $nbProducts Number of products to return (optional) * @param boolean $count Only in order to get total number (optional) * @return array Prices drop Link to comment Share on other sites More sharing options...
jiaj-tey Posted May 12, 2014 Author Share Posted May 12, 2014 Thanks! That works perfectly Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now