Sunnysideup\Ecommerce\Pages\ProductGroup::getOptionsForDropdown
GROUPFILTER: not available.
SORT: returns an array of Key => Title for sort options. FILTER: Returns options for the dropdown of filter options. DISPLAY: Returns the options for product display styles. In the configuration you can set which ones are available. If one is available then you must make sure that the corresponding template is available. For example, if the display style is MyTemplate => "All Details" Then you must make sure MyTemplate.ss exists. most likely values called: getDefaultFilterOptions,getDefaultSortOrderOptions, getDisplayStyleOptions
Signature
protected function getOptionsForDropdown(string
$type,
[boolean
$withInherit = true] )
Parameters
$type
— string- - FILTER | SORT | DISPLAY
$withInherit
— boolean- - optional
Returns
- array