Menu Close

Get Support From ShopWired Close

All systems fully operational

Subscribe To Updates
Prefer To Live Chat? Chat directly with ShopWired support Quickest response time
Send A Message
Response within 24 hours

Menu Close

Menu

Product review

To include a product review form on the product view, you should create an HTML form with its action attribute set to {{ global.current_url }}

Within this form you should have the following text fields:

customer_name
review

The user is allowed to submit a rating of values 1 - 5, usually displayed with a <select> list.

An example is shown below.

<form action="{{ global.current_url }}" method="post">
    <input type="text" name="customer_name">
    <textarea name="review"></textarea>
    <select name="rating">
        <option value="1">1</option>
        <option value="2">2</option>
        <option value="3">3</option>
        <option value="4">4</option>
        <option value="5">5</option>
    </select>
    <button type="submit">Place Review</button>
</form>

The platform will not successfully allow the review form to post data unless the product reviews app is enabled.

Once the form is submitted, the current product page is refreshed.