updated to use configurable product type instead of hard coded one