Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This module generates a feed with customer reviews for Google Merchant Center.

Table of Contents

Installation

Info

This module is optional.

...

Admin settings can be found in Stores -> Configuration -> MageSuite -> Google Reviews Feed

...

General settings:

NameField

Option

Comment

Enabled

Yes/No

enable or disable feed generation

Publisher name

shop’s name

Publisher favicon URL

URL address to shop icon

Cron schedule

expression that allows managing how often feed should be generated

Feed configuration settings:

NameField

Option

Comment

Filename

generated feed’s filename

Path

  • Bottom Right 

  • Bottom Left 

  • Inline 

path inside pub/media folder on the webserver

GTIN Attribute

  • product identification attribute (mostly EAN). Required in Google Merchant Center

...

Backend

Note

In progress

Frontend

Integration of google reviews snippet

The integration of the opt-in function is important for Google Customer Reviews. The program and surveys will only be offered on the website if it completed this step. By integrating the opt-in feature, Google can show the Google Customer Reviews opt-in option on a website and send surveys to customers who have signed up for the program.

Read through the Google Customer Reviews guidelines in advance to see if you meet the integration requirements for the opt-in feature:

  • Your shopping cart and payment pages must be hosted on the same domain

  • The confirmation page must be hosted on your own domain

  • <!DOCTYPE HTML> must be added to the top of each web page

Once verified, follow the integration instructions to add the code snippet below to the order confirmation page and adjust the variables as needed. Integrating the snippet is required for Google to show the opt-in for Google Customer Reviews in the shop.

Indicate with the logo that the shop participates in the Google Customer Reviews program and includes the seller rating on your website.

First, paste the code snippet at the bottom of any page on your website and adjust the variables as needed. Then, check that the logo and associated text are displayed on your website as expected. Note: If there are no seller ratings, the message "No rating available" will be displayed.

Magesuite integration

In checkout_onepage_success.xml reviews-survey block is included:

Code Block
<referenceContainer name="before.body.end">
    <block class="MageSuite\GoogleCustomerReviews\Block\Survey" name="magesuite.google_customer_reviews.survey" template="MageSuite_GoogleCustomerReviews::survey.phtml">
        <arguments>
            <argument name="view_model" xsi:type="object">MageSuite\GoogleCustomerReviews\ViewModel\Survey</argument>
        </arguments>
    </block>
</referenceContainer>

The badge block is included on every page (default.xml):

...

There is no frontend functionality in this module.