reduce page to list of complements and substitutes