Basics: Data Types: Weight

Weights are represented in one of the following units:

  • grams (g)
  • kilograms (kg)
  • ounces (oz)
  • pounds (lb)
Smart Tags will automatically convert weights between units based on the desired weight units for comparison.
For example, if the product weight is in kg and you are comparing against lb, Smart Tags will convert the weights to lb.


Operators

Smart Tag supports the following operators for fields and values that are of Weight type.


is equal to

Returns true if field value is equal to the input value.


is not equal to

Evaluates to true if field value is not equal to to the input value.


is greater than

Evaluates to true if field value is greater than to the input value.


is greater than or equal

Evaluates to true if field value is greater than or equal to the input value.


is lesser than

Evaluates to true if field value is lesser than to the input value.


is lesser than or equal

Evaluates to true if field value is lesser than or equal to the input value.


is within

Evaluates to true if field value is within to the input value.


is not within

Evaluates to true if field value is not within to the input value.