Check visibility
Rank #1 on Google Maps and be the Local Leader
Tracking
Daily Keyword Rank Tracker
Local SERP Map
Competitors Tracking
Planning
Post Scheduler
Media Scheduler
Content
AI Review Responder
AI Post Writer
Reports
Performance Reports
Reviews Statistics
Rank Tracker Reports
Agency-Focused
Agency Team Management
White Label
Protection
24/7 Listings Protection
Real-time Alerts
Management
Locations Bulk Editing
Location Groups
Collect Customer Reviews on Google
Collect Reviews
Overview
Increase Sales
Loyal Customers
Control Reputation
Product Reviews
Control Your Image
Building Trust
Integrations
Shopify
Baselinker
See All Integrations
Learn
Knowledge Base - Reviews
Local SEO Glossary
Knowledge Base
Integrate
Google Looker Studio
More
Success Stories
Blog
Pricing
Pricing
Sign in
Polish
Swiss
Check visibility Daily Keyword Rank Tracker Local SERP Map Competitors Tracking Overview Increase Sales Loyal Customers Post Scheduler Media Scheduler AI Review Responder AI Post Writer Performance Reports Reviews Statistics Rank Tracker Reports Agency Team Management White Label 24/7 Listings Protection Real-time Alerts Locations Bulk Editing Location Groups Product Reviews Control Your Image Building Trust Shopify Baselinker See All Integrations Knowledge Base - Reviews Local SEO Glossary Knowledge Base Google Looker Studio Success Stories Blog Pricing Pricing Sign in Sign up for Free

Integrations

Integration - Shopware

Knowledge base mdi-chevron-right Integrations mdi-chevron-right Integration - Shopware
Integrations

Integration Shopware with Rating Captain

Integrating your Shopware store with the Rating Captain application will allow you to quickly and effectively collect reviews from your customers. Additionally, with the application, you won't miss any reviews on your profiles on review websites. Furthermore, Rating Captain will analyze each review and provide you with insights into the most common issues your customers face. You can display the collected reviews as a widget on your store's page without worrying about violating the regulations resulting from the Omnibus directive.

 

Start collecting reviews about your company and products with Rating Captain.

 

If your store is built on the Shopware platform, paste the code below in the section of external codes related to order summaries.

 

 

 

You can also integrate your store with the Rating Captain application using the dedicated plugin. Check how to do it.

        
<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://api.ratingcaptain.com/js_v2/[Your website token]" async></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]" async></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]" async></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]" async></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]" async></script>
{% endblock %}

*Website token you can find here: Website page.
            
        
Was the article helpful?
mdi-check Yes mdi-close No
Thank you for rate this article.
23 out of 27 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