Added handling of subproduct attribute values stored in session, views storing them seem rather specific, so are left over (e.g. a product view limited to the attributes form in a popup).
PEP8: Blank line and double space before inline comment.