applying logic for product listing for mobile app