Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Available from 9.00am to 6.00pm Monday to Friday Quickest response time
Send A Message
Response within 24 hours

Menu Close

Menu

Product questions & answers

The product.questions array is part of the product object and has the following attributes:

product.questions

Returns an array of questions within the product object, for example

{% for question in product.questions %}
    {{ question.name }}
    {{ question.question }}
    {{ question.answer }}
{% endfor %}

returns...

Joe Bloggs
Are these trainers white?
Yes the trainers are brilliant white!

product.allow_questions

Returns true if the product is set to allow questions.


question.id

Returns the unique platform ID of the question.


question.name

Returns the name of the visitor that asked the question.


question.question

Returns the question asked by the visitor.


question.answer

Returns the answer provided.


question.positive_votes

Returns the number of positive votes the question has received.


question.negative_votes

Returns the number of negatives votes the question has received.