Get reviews
Basic features of Rating Captain
Manage
Moderation and coupons
Analyze
Know your customers better
SEO Widgets
Upgrade your SEO impact
Customer Satisfaction Survey
Convenient survey research
Shopify WooCommerce Deconetwork Baselinker See all
mdi-chat-processing-outline
Contact us: +48 572 971 973 or support@ratingcaptain.com
Blog
Find out what's new
Knowledge base
All technical stuff
Analyze your online image
Our tool gives you an in-depth look at what your company's image looks like
Find out more
mdi-chat-processing-outline
Contact us: +48 572 971 973 or support@ratingcaptain.com
Customers Pricing
Sign in
English
Polish
Sign in Sign up for Free Get reviews Manage Analyze SEO Widgets Customer Satisfaction Survey Blog Knowledge base Customers Pricing Features Resources Customers Pricing Careers Team Reviews Catalog Affiliate Program Terms of Use Privacy Policy Data processing

Customer Questions

Rating & reviews

Knowledge base mdi-chevron-right Customer Questions mdi-chevron-right Rating & reviews
Customer Questions

Rating & reviews

        
<script>
    var RatingCaptain_data_script = {
        /* REQUIRED | Email, on this address will be send message */
            "email": "{$order->email}",
        /* REQUIRED | Order in your system, this field should be unique */
            "external_id": "{$order->id}",
        /* Optional - Products in this order, each product must have id name and price. */
        "products": [
                    {
                        "id": "{$product->id}",
                        "name": "{$product->name}",
                        "price": "{$product->price}",
                        "imageUrl": "{$product->image}",
                    },
        ]
    }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]"></script>

*Each item in bold must be properly configured depending on your system.
*Website token you can find here: Website page.
        
            
<script>
    var rc_products = {/literal}[{foreach from=$items item=i name=list}
{
    'id': '{$i->product_id}',
    'name': '{$i->name}',
    'price': '{$i->price_gross|money_without_currency}',
    'imageUrl': '{$i->product->images[0]->url|product_img_url:th100}'
},
    {/foreach}]{literal};
        var RatingCaptain_data_script = {
            "email": '{client_email}',
            "external_id": '{order_id}',
            "products": rc_products
        }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]"></script>

*Website token you can find here: Website page.
            
        
            
<script>
    var rc_products = [{products}
        {
        "id": "{products.product_id}",
        "price": "{products.float_price}",
        "imageUrl": "{products.img}",
        "name": "{products.name}"
        },
    {/products}];
    var RatingCaptain_data_script = {
        "email": '{email}',
        "external_id": '{order_id}',
        "products": rc_products
    }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]"></script>

*Website token you can find here: Website page.
            
        
            
<script>
    var RatingCaptain_data_script = {
            "email": "[[email]]",
            "external_id": "[[orderid]]"
    }
</script>
<script src="https://ratingcaptain.com/api/js_v2/[Your website token]"></script>

*Website token you can find here: Website page.
            
        
            
{% block page_checkout_finish_rating_captain %}
    {% set ratingProducts = [] %}
    {% for lineItem in page.order.lineItems.elements %}
        {% if lineItem.type is same as 'product' %}
            {% if lineItem.cover.url %}
                {% set ratingProduct = {
                    id: lineItem.payload.productNumber,
                    name: lineItem.label,
                    price: lineItem.price.totalPrice,
                    imageUrl: lineItem.cover.url,
                } %}
            {% else %}
                {% set ratingProduct = {
                    id: lineItem.payload.productNumber,
                    name: lineItem.label,
                    price: lineItem.price.totalPrice,
                } %}
            {% endif %}
            {% set ratingProducts = ratingProducts|merge([ratingProduct]) %}
        {% endif %}
    {% endfor %}
    {% set ratingCaptainData = {
        email: page.order.orderCustomer.email,
        external_id: page.order.orderNumber,
        products: ratingProducts
    } %}
    <script>
        var RatingCaptain_data_script = [{{ ratingCaptainData | json_encode | raw }}];
    </script>
    <script src="https://ratingcaptain.com/api/js_v2/[Your website token]"></script>
{% endblock %}

*Website token you can find here: Website page.
            
        

Where do negative reviews go?

Negative reviews go directly to your Rating Captain dashboard. The moment you receive a negative opinion, you get special notification from us, so you are able to react quickly and explain the problem. Open the tab Rating & Reviews, then click on negative feedback and answer directly to your client. After explanation change the notification status to Complete.

Was the article helpful?
mdi-check Yes mdi-close No
Thank you for rate this article.
1 out of 1 found this article helpful
Tabel of contents
Still need help?
If you have not found the information you are interested in, contact us directly. Our support will help to solve your doubts
Contact us
To start
Watch our video explaining the basic functions of Rating Captain.
Watch video
Sales & Product Information
+48 572 971 973
pawel.burda@ratingcaptain.com
HQ Poland
Liskego 7, 50-345 Wrocław
Technical support and payments
support@ratingcaptain.com
Features Get reviews Manage Analyze SEO Widgets Integrations Surveys
Resources Blog Knowledge base
Customers
Pricing
Careers
Team
Reviews Catalog
Affiliate Program
Terms of Use
Privacy Policy
Data processing
Subscribe to our newsletter
Sign up
A confirmation message will be sent to the e-mail address provided. Something went wrong :-(
Social media
LinkedIn logo Youtube logo Facebook logo Instagram logo
Copyright © 2022 by Rating Captain
We use cookies to provide the best possible service.
Refer to our privacy policy for more info.
I agree