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.