#NEWLINE# def get_all_options( self ) : #NEWLINE# #INDENT# "\n        Returns all possible combinations of options for this products OptionGroups as a List of Lists.\n        Ex:\n        For OptionGroups Color and Size with Options (Blue, Green) and (Large, Small) you'll get\n        [['Blue', 'Small'], ['Blue', 'Large'], ['Green', 'Small'], ['Green', 'Large']]\n        Note: the actual values will be instances of Option instead of strings\n        " #NEWLINE# sublist = [ ] #NEWLINE# masterlist = [ ] #NEWLINE# for opt in self . option_group . all ( ) : #NEWLINE# #INDENT# for value in opt . option_set . all ( ) : #NEWLINE# #INDENT# sublist . append ( value ) #NEWLINE# #UNINDENT# masterlist . append ( masterlist ) #NEWLINE# sublist = [ ] #NEWLINE# #UNINDENT# return cross_list ( masterlist )