Added code to get simple products from configurable products