Google Customer Reviews: setup and help
Quick start
- Upload and install the mprgooglereviews ZIP in Module Manager.
- Open Google Reviews > Settings > Configuration in the intended shop context.
- Enter Merchant ID.
- Set Estimated Delivery Days, Badge Position and Badge Language.
- Enable Google Customer Reviews and save.
- Test in a fresh customer session with marketing consent.
- Complete a new test order and check the badge and order confirmation survey.
Requires PrestaShop 1.6 or later and PHP 7.1 or later.
Setup manual
Install and configure collection
- Upload and install the
mprgooglereviewsZIP in Modules > Module Manager. - Click Configure, or open Google Reviews > Settings > Configuration.
- Select the intended shop context if you use multistore.
- Enter your numeric Merchant ID from Google Merchant Center.
- Set Estimated Delivery Days, Badge Position and Badge Language.
- Turn on Enable Google Customer Reviews and save.
- Test in a fresh customer browser session with marketing consent. Complete a test order and check its native order confirmation page.
Your Google account must be configured to use the Customer Reviews programme. The module starts disabled with an empty Merchant ID. It does not create or administer your Google account.
Configure Google Customer Reviews Settings
| Setting | Default | How to use it |
|---|---|---|
| Enable Google Customer Reviews | Off | Enable badge and order survey output after completing the account settings. |
| Merchant ID | Empty | Enter a valid positive numeric Google Merchant Center ID. |
| Estimated Delivery Days | 7 |
Enter a whole number from 0 to 365. The estimated date is the confirmation rendering date plus this number of days. |
| Badge Position | Bottom Right (BOTTOM_RIGHT) |
Choose Bottom Right, Bottom Left (BOTTOM_LEFT) or Inline (INLINE). Inline uses the module output position. |
| Badge Language | en |
Enter a Google language code, such as en, de or fr. It is used in the Google script URL. |
Settings inherit from all shops to shop group to shop. Save in the correct context. Use inherited settings removes local overrides where available. Back-office read permission is required to view settings; saving also requires the appropriate edit permission and a valid request.
Understand the storefront output
The module loads its browser scripts through displayHeader and supplies order survey data through displayOrderConfirmation. It displays the badge through displayBeforeBodyClosingTag, with a displayFooter fallback on PrestaShop versions below 1.7.
The Google script loads only when marketing consent, internal-traffic rules, data-sending policy and module ownership allow it. Test as a customer rather than a marked back-office employee. If another supported module owns Google Customer Reviews for the same Merchant ID, this module shows an ownership notice and leaves the badge and survey to that module. Its Product Review Feed remains separate.
On the shop's standard order confirmation page, the survey data contains:
- Merchant ID and order ID.
- Customer email and delivery country ISO code.
- Estimated delivery date calculated from Estimated Delivery Days.
- Distinct numeric GTIN values of 8, 12, 13 or 14 digits from the EAN-13 fields saved with the purchased items, when present. No GTIN checksum is checked.
The confirmation response is made private and non-cacheable. A delivery ledger prevents repeated admission for the same shop, Google destination and order. Reloading an old confirmation is not a reliable way to repeat a test. Use a new test order.
Google controls the opt-in UI, subsequent review invitations, badge availability and rating eligibility. There is no separate switch to hide the badge while keeping the survey enabled.
Configure the Product Review Feed
Open Google Reviews > Product Review Feed. This screen generates public Google Product Reviews XML schema 2.4 files from your existing product reviews. It is independent of post-purchase seller-rating collection.
| Setting | Default | How to use it |
|---|---|---|
| Enable product review XML feed | Off | Enable only when you have a suitable source of product reviews. |
| Review source | First detected supported source, otherwise empty | Choose MPR Comments, IQIT Reviews, Product Comments or Generic table when available. |
| Publisher name | Shop name, falling back to Shop |
Enter the publisher name for the XML. |
| Generate now | Action | Generate for the shops you are authorized to manage. Read the resulting status and counts. |
| Use inherited feed settings | Action in non-global contexts | Remove local feed overrides. |
Save your settings, then click Generate now. The status panel lists public XML URLs, written reviews and skipped reviews. Files use this pattern:
https://example.com/modules/mprgooglereviews/feeds/reviews_1_en.xml
You get one file per enabled active shop and active language. Product mapping includes available names, URLs, GTIN, brand and SKU. MPN is available where the PrestaShop product schema supports it. Submit the public XML URLs to Google, not the generation endpoint.
Map a Generic table
Use a dedicated public review table. Table and column identifiers must contain only letters, digits and underscores. You can include or omit the shop database prefix in Generic table.
| Setting | Default | Mapping |
|---|---|---|
| Generic table | Empty | Custom review table. |
| Authorized public review columns | Not available in this release | There is no separate public-column authorization field. Map only data intended for public review feeds. |
| Review ID column | Empty | Stable review identifier. Optional when the table has a usable primary key. |
| Product ID column | Empty | PrestaShop product ID. Required. |
| Product attribute ID column | Empty | Optional combination ID. |
| Rating column | Empty | Review rating. Required. |
| Rating scale min | 1 |
Numeric minimum or a mapped column name. |
| Rating scale max | 5 |
Numeric maximum or a mapped column name. |
| Reviewer name column | Empty | Public reviewer display name. Required. |
| Review title column | Empty | Review title. Required by the form mapping. |
| Review content column | Empty | Review body. Required. |
| Review date column | Empty | Review date. Required. |
| Review language column | Empty | Optional language ISO/code. |
| Language ID column | Empty | Optional PrestaShop id_lang. |
| Shop ID column | Empty | Map the shop column when present. Otherwise product-shop membership is checked. |
| Approved flag column | Empty | Optional published/approved filter column. |
| Approved flag value | 1 |
Value required by that filter. |
For a table with id_review, id_product, rating, customer_name, title, comment, date_add and active, map those fields. Keep scale values 1 and 5 for a five-star source. This release does not hold generic mappings for public-column authorization or reject private fields by their purpose. Check every mapped column before publishing the XML.
Schedule feed generation
The External cron URL panel displays a separate token-bearing URL for each shop, rather than a separate Cron token field. You need edit permission and a verified back-office browser session to view it. Treat the complete URL as a secret.
Send an HTTPS POST request. The displayed URL includes the token in its query string, which this release accepts. To keep it out of scheduler URLs, remove the token parameter from the URL and send that same value in the POST body as token. The X-MPR-Review-Feed-Token header is not supported.
curl --request POST \
--data-urlencode 'token=YOUR_SHOP_TOKEN' \
'https://example.com/index.php?fc=module&module=mprgooglereviews&controller=reviewfeed&id_shop=1'
The endpoint returns JSON for that shop. GET returns 405. An invalid token or mismatched shop is refused. Schedule a separate request for each shop you use.
The PHP process needs write access to modules/mprgooglereviews/feeds/. The module writes access rules that allow XML while denying PHP, temporary and lock files on servers honoring those rules. Confirm the equivalent protection if your server ignores .htaccess.
Verify and troubleshoot
- Missing badge or survey: check enabled state, Merchant ID, marketing consent, employee markers and any ownership notice. Check browser console and Network errors.
- Survey missing on a custom checkout: confirm that the native order confirmation hook receives a valid order. Do not cache or prerender the confirmation response.
- Invalid settings: use numeric Merchant ID, delivery days
0to365, a listed position and a valid language code. - Empty feed: check source availability, approval state, review text, dates, ratings, active products and product URLs. Inspect skipped counts.
- Generic feed fails: check the table, mapped column names, required fields and a stable review ID or primary key. There is no public-column authorization workflow in this release.
- Generation fails: check directory write access, employee shop permissions and whether another generation is already running.
- Cron fails: use POST, the correct shop endpoint and that shop's
tokenquery or POST parameter; header-only authentication is not supported. - Configuration cannot be read: open Google Reviews > Settings > Integrity.
Configure the badge and survey in the module settings. Overrides of order-confirmation.tpl and badge.tpl do not control these settings.
Disable or uninstall
Turn off Enable Google Customer Reviews to stop badge and survey output. Disable Enable product review XML feed separately to stop new feed generation. Existing XML files stay public; remove them from the feed directory when withdrawing a feed.
Uninstall through Module Manager to remove the module menu and configuration. Generated XML feeds remain in the feed directory if you keep the module files on disk. Check and remove any remaining public XML files. Ratings already held by Google are outside the module's local storage.
Compatibility
Requires PrestaShop 1.6 or later and PHP 7.1 or later.
Reference screenshots



Questions
1
Does Google Customer Reviews load an external script?
Yes. When marketing consent and tracking checks allow it, the module loads Google's platform.js asynchronously with deferred loading for the badge and survey.
Known Issues
4
Opt-in survey popup appears on failed orders and cancelled orders
The Google Customer Reviews survey opt-in popup is shown on the order confirmation page even when the payment failed or was cancelled, asking customers to review a purchase they didn't complete.
Resolution note
The survey popup now checks the order payment status before rendering, only appearing for orders with validated payment.
Translated settings were incorrect
Product identifiers missing from review invitations
Security hardening
Feature Requests
8
Implemented
One-click module updates
Multilingual interface
Installation checks and repair
Google Customer Reviews opt-in and badge
Google product review feed
Duplicate badge and opt-in prevention across modules
PrestaShop 1.6 footer badge
Consent and internal traffic controls
Changelog
v1.2.02026-10-19
- Addedfull compatibility with PrestaShop 9.x and Hummingbird theme
- Addedproduct review collection via Google Shopping product ratings opt-in feed
- Improvedseller rating badge placement with configurable corner and offset settings
- Fixedpost-purchase survey not triggering on orders paid via offline payment methods
- Addedestimated delivery date field in the survey payload for more accurate review collection
Older releases
v1.0.162026-05-27
- Addedcomplete FR/DE/ES/IT/PL translations
v1.3.02026-04-20
- Addedadmin menu management via MenuInstaller for streamlined module setup
v1.0.02026-02-12
- Initialrelease: Google Customer Reviews integration for PrestaShop
- InitialAutomatic post-purchase survey injection on the order confirmation page
- InitialSeller ratings badge with configurable display mode (inline or floating)
- InitialGTIN/MPN product data injection for product review eligibility
v1.1.02025-09-08
- Addedconfigurable opt-in style: branded vs. minimal survey dialog
- Improvedmulti-language support — survey displays in customer's preferred language
- Fixedbadge not rendering when Content Security Policy blocked external scripts
- AddedMerchant Center Merchant ID validation on save to catch configuration errors early
Demo
Test the full module before you buy
Buy a licence later and keep your settings.
- Your 30-day demo Test it on your own shop for 30 days from the first install.
- Ready demo shop Explore a ready demo shop in your browser.
- No registration No account, email or store domain needed.
By downloading, you accept the demo terms and privacy policy.
By opening this demo you accept the demo terms and the privacy policy.