Redicom Help Center

item

item.id

Version 1.0

Returns the value of the id field of the item.

Input

{{ response.item.id }}

Output

2

item.product

Version 1.0

Returns all of the line product in the item.

item.variant

Version 1.0

Returns all of the line variant in the item.

item.title

Version 1.0

Returns the value of the title field of the item.

{% for item in response.orders %}
{% for item2 in item.lines %}
<p class="name"> {{item2.title}}</p>
{% endfor %}
{% endfor %}

Input

{{ response.item.title }}

Output

Balloon Shirt - Medium

item.price

Version 1.0

Returns all of the line price in the item.

item.line_price

Version 1.0

Returns all of the line line_price in the item.

item.old_price

Version 1.0

Returns all of the line old_price in the item.

item.quantity

Version 1.0

Returns the value of the quantity field of the item.

<span>{{response.item.quantity}}</span>

Input

{{ response.item.quantity }}

Output

4

item.grams

Version 1.0

Returns the value of the grams field of the item.

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

Input

{{ response.item.grams }}

Output

0.8

item.sku

Version 1.0

Returns the value of the sku field of the item.

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

Input

{{ response.item.sku }}

Output

154000M005

item.vendor

Version 1.0

Returns the value of the vendor field of the item.

<span>{{response.item.vendor}}</span>

Input

{{ response.item.vendor }}

Output

Redicom

item.requires_shipping

Version 1.0

Returns the value of the requires_shipping field of the item.

<span>{{response.item.requires_shipping}}</span>

Input

{{ response.item.requires_shipping }}

Output

1

item.variant_id

Version 1.0

Returns the value of the variant_id field of the item.

<span>{{response.item.variant_id}}</span>

Input

{{ response.item.variant_id }}

Output

1233

item.product_id

Version 1.0

Returns the value of the product_id field of the item.

<span>{{response.item.product_id}}</span>

Input

{{ response.item.product_id }}

Output

1233

item.discount

Version 1.0

Returns all of the line discount in the item.

item.egift

Version 1.0

Returns the booelan of the egift field of the item.

Input

{{ response.cart.egift}}

Output

1