How To Configure Slider For Two Units Of Measurement
Two number format can be used to set up scale of different units of measurement, for example, to have length slider from 1 cm
to 10 m
or capacity from 256 GB
to 2 TB
.
To set up capacity slider which will show values in GB and TB like in example above, take the following steps:
Capacity
attribute, should be described asPrice
input type.Go to menu STORIES -> Product -> [attribute] and check if attribute is of
Price
type:Capacity
attribute value for product should be set in smaller unit of measurement (GB).Go to menu Catalog -> Manage Products -> [product] and set up the value for
Capacity
attribute. For 2 TB HDD,2000
should be indicated as capacity attribute value:For
Capacity
layered navigation filter, first number format should be0 GB
, second -0 TB
. Multiplier between two units of measurement is1000
.Go to menu MANAdev -> Layered Navigation -> [filter] and set up slider number formats: