Redicom Help Center

variant

variant.barcode

Version 1.0

Returns the value of the barcode field of the variant.

Input

{{ response.variant.barcode }}

Output

UZR.ROUGH22-39

variant.id

Version 1.0

Returns the value of the id field of the variant.

Input

{{ response.variant.id }}

Output

3056

variant.image

Version 1.0

Returns all of the line image in the variant.

variant.inventory_quantity

Version 1.0

Returns the value of the inventory_quantity field of the variant.

Input

{{ response.variant.inventory_quantity }}

Output

1

variant.price

Version 1.0

Returns all of the line price in the variant.

variant.selected

Version 1.0

Returns the value of the selected field of the variant.

Input

{{ response.variant.selected }}

Output

1

variant.sku

Version 1.0

Returns the value of the sku field of the variant.

{% for item in response.orders %}
{% for item2 in item.lines %}
<p> REF: <span>{{item2.sku}}</span></p>
{% endfor %}
{% endfor %}

Input

{{ response.variant.sku }}

Output

UZR.ROUGH22-39

variant.title

Version 1.0

Returns the value of the title field of the variant.

{% for item in response.orders %}
{% for item2 in item.lines %}
<p>{{item2.variant.title}}</p>
{% endfor %}
{% endfor %}

Input

{{ response.variant.title }}

Output

Verde / 39

variant.url

Version 1.0

Returns the value of the url field of the variant.

Input

{{ response.variant.url }}

Output

index.php?id=5&pid=3056

variant.weight

Version 1.0

Returns the value of the weight field of the variant.

Input

{{ response.variant.weight }}

Output

0.25

variant.color

Version 1.0

Returns all of the line color in the variant.

variant.size

Version 1.0

Returns the value of the size field of the variant.

{% for item in response.product.variants %}
<option value='{{item.id}}' >{{item.size}}</option>
{% endfor %}

Input

{{ response.variant.size }}

Output

39

variant.length

Version 1.0

Returns the value of the length field of the variant.

Input

{{ response.variant.length }}

Output

20

variant.available

Version 1.0

Returns the value of the available field of the variant.

{% for item in response.product.variants %}
<option value='{{item.id}}' {% if item.inventory_quantity disabled {% endif %} >{{item.size}}</option>
{% endfor %}

Input

{{ response.variant.available }}

Output

true

variant.selected_size_order

Version

Returns the value of the selected_size_order field of the variant.