You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Definition of "Continuous Numeric" Answer Option Type

The Continuous Numeric Answer Option type is used for Answer Options that are numeric and can be clearly allocated to a fixed position on an ordered scale.


Table of Contents:


When to Use Continuous Numeric?

Continuous Numeric Questions are suitable if:

  • The Data Binding of this Question is set to a data attribute of the type Number (actually, Continuous Numeric requires Number data attributes).
  • The Numeric product attribute values don't have a fixed set of values, but the amount of values is variable and e.g. can change upon every update of the data feed (e.g. as for the price attribute).
    (info) Note: In the case of variable data attributes, it is impossible to manually map an Answer Option to one precise product value (or it requires an infinite number of Answer Options to reflect every possible occurrence). 
  • However, you can also use the Continuous Numeric Question with product attributes with a fixed set of values.


(info) A great feature of Continuous Numeric Questions is that they can use steppings. Steppings define intervals or "ticks" in the widget (well known from a price slider widget that has e.g. steps at 10, 25, 50, 75 and 100 €). 

Requirements


Differences to Ordered Answer Option Type


Continuous NumericOrdered
Answer OptionsThere are no explicit Answer Options. They are defined with the aid of the Stepping Configuration.

Ordered Answer Options are manually created and defined by the user.

Product Attribute TypeOnly type Number is allowed.All types (Text, Number, Boolean) are possible.
Order of the ValuesOrder is implicit due to the numeric typing.Order is defined by the sequence of the created Answer Options.
Proportion of the ValuesDue to the numerical values the proportion/distance is clearly defined. Therefore e.g. 100 is twice as much as 50.

One Answer Option can define intervals e.g. "25 to 50" and "50 to 100". These intervals are written as text and therefore can not be interpreted in the same way as the Continuous Numeric type.

Further notes

Some of the following points are connected to the requirements:

  • You cannot change the answer option data mapping.
  • The product attribute can only be changed to attributes which also have the type "Number". Otherwise an error message occurs and the selection is reverted.
  • Changing the product attribute type from "Number" to "Text" in the product data view causes a modal window to show up. By confirming this message the connection between the attribute and the continuous numeric question will be dissolved.
  • The property "The user can select one answer/several answers" in the "General Properties" tab will be disabled and per default set to "one answer". This is needed because the selection of more than one answer isn't possible for this type of question. This is also valid for range selections because the range is interpreted as one answer. Multiple answers would represent multiple ranges which isn't possible at the moment.
  • If the answer option type is changed to another type, the continuous numeric question layout will be changed to a "normal" or boolean question layout (see Boolean Question).
  • No answer options can be added or deleted.


Creating a Continuous Numeric Question

Example

A typical example of Continuous Numeric Question is the request of the price (see image below). The next section describes the steps to create this type of Question.


(lightbulb) Further examples of Questions that might use Continuous Numeric:

  • Weight in kg
  • Size in cm


Configuration Steps

  1. We assume that you have a Question card "Price" which is connected to the numeric product attribute "Price". This Question can perfectly converted into a Continuous Numeric Question.
    (info) Note: Make sure that the product attribute has the type "Number" (see Data Attribute Table).



  2. Go to the tab "Answer Option Type" and select the type "Continuous Numeric". If this option is disabled the connected product attribute is not from type "Number".



  3. The Question card appearance transforms. There is one Answer Option card which represents the Stepping Configuration. More precisely it shows the start and the end value separated by dots to symbolize that there are several value between these values.



  4. Afterwards you can configure the stepping intervals which are described in the next section.



Configure the Stepping of Numeric Values


The Stepping feature allows you to add and configure steps for numeric values. Steps means i.e. "ticks" or "stop points" where a specific value can be selected.
This is an important feature because attributes like e.g. price could have hundreds of different values in your product data feed. Normally you want to have a fix number of steps in a price slider or number picker widget and don't want to change it in an unintended way if the prices in the product data change.


To enter the stepping configuration dialog, just click on the Answer Option box of a Question (i.e. here the box showing "0, ...., 150 (€)":




Start (min. value)

The start value defines the minimum border of the range. Therefore, it represents the lowest selectable value.

You can either enter a ...

  • fixed start value:
    This value is always shown according to your manual configuration, no matter which values the product data contains.

  • data dynamic:
    If you activate the toggle to the right of the input field ("Use min. value"), the actual start value shown in the live Product Guide will be automatically derived from the connected product attribute. With an activated toggle button, the input field switches to a token displaying "$MIN_VAL".
    (info) Note: If this dynamic value is greater than a defined step interval, the nearest smaller step interval is used as the start value.

Additional Stepping

Furthermore you can enter the step sizes and also add further step intervals to improve and refine your UI widget (e.g. slider or number picker) that will represent your stepping configuration in the live Product Guide.

  • A step interval defines a range in which every step has the same step size.
  • A step size describes the gap in which the values are selectable.

  • The example on the right creates step sizes of 5 (grey rounded input field) between 0 to 25 (0, 5, 10, 15, 20, 25);
    and step sizes of 10 between 25 and 100 (35, 45, 55, 65, 75, 85, 95, 100).
    (info) Note: The step 105 is cut off because this value is greater than the end value.
  • As a consequence we have two different step intervals:
    1. from 0 to 25 and
    2. from 25 to 100
  • with two different step sizes which creates a non-linear step configuration. Thus you are able to implement logarithmical or exponential configurations.

  • More Step intervals can be added by clicking on the "Add Step Interval" button.
    Every new interval will be added at the end of the whole step configuration.
  • Click the "Remove" button to delete a step interval.
    (info) Note: The default step interval (global start value to global end value) can not be deleted. This secures that at least one interval always exists.

End (max. value)

The end value defines the maximum border of the range, i.e. the highest selectable value. Identically as the start (min. value) feature, this value can be set data dynamic.

(info) Note: If the max. value is set data dynamic and is smaller than a defined step interval, the last manually defined step interval is used as the end value.

Unit

The Unit field allows you to define the unit or entity of the values, e.g. cm, kg or € / $. The unit will be shown right next to the displayed values.


Stepping Tolerance

The Tolerance setting allows you to configure the basic recommendation behavior for Continuous Numeric Questions. There are three options:

  • Prefer lower values:
    Products with lower values will be ranked better than higher values (e.g. "a price of 50 € is better than a price of 100 €").

  • Prefer greater values: 
    Products with higher values will be ranked better than lower values (e.g. "a star rating of 5 stars is better than a 3 star rating").

  • Prefer nothing:
    There is no preference.


(info) Note: Even though features like "prefer lower values" seem quite obvious, please use them carefully and test the resulting recommendation behavior - e.g. if you configure "prefer lower values" for a price facet, some users that entered a desired price range of 100 € might be somewhat disappointed that they are only presented with 50 € articles, and at the same time you might loose upselling opportunities.
We will continuously add further properties to control the recommendation behavior later on.



Read on about the Boolean Question Answer Option Type


  • No labels