Feature
We will now have a list of replicas that can be accessed from search.
This list of replicas is currently hard coded in:
|
<div className='c-product-listing__menu-options-sort-by'> |
|
<h2 className='c-product-listing__menu-options-sort-by-title'>Sort by:</h2> |
|
<SortBy defaultRefinement={indexName} |
|
items={[ |
|
{ value: indexName, label: 'Featured' }, |
|
{ value: `${indexName}_product_rating_asc`, label: 'Rating asc.' }, |
|
{ value: `${indexName}_product_rating_desc`, label: 'Rating desc.' } |
|
]} |
|
/> |
|
<this.Button className='c-product-listing__menu-options-sort-by-button u-hidden-d' /> |
We should update this to show the replicas that are now set using the Platform API.
Feature
We will now have a list of replicas that can be accessed from search.
This list of replicas is currently hard coded in:
shift-react-components/src/components/products/listing/product-menu-options.js
Lines 28 to 37 in 01a2d60
We should update this to show the replicas that are now set using the Platform API.