Google Customer Reviews Opt-In and Seller Rating Badge
This plugin adds the Google Customer Reviews opt-in survey to nopCommerce order-completion and order-details pages and renders the Google Store Widget seller-rating badge on the storefront, both tied to a Merchant Center ID. It can also pass order product GTINs so Google collects per-product reviews.
What It Does
- Opt-in survey placement — renders the snippet in the checkout_completed_bottom and orderdetails_page_bottom widget zones
- Opt-in dialog style — choose CENTER_DIALOG, BOTTOM_RIGHT_DIALOG, BOTTOM_LEFT_DIALOG, TOP_RIGHT_DIALOG, TOP_LEFT_DIALOG or BOTTOM_TRAY
- Estimated delivery date — computed from the order creation date plus a configurable day offset, adjusted for pickup-in-store orders
- Google Product Reviews — appends order product GTINs to the opt-in snippet, skipping duplicates and items without a GTIN
- Once-per-order guard — a generic attribute flag stops the opt-in from showing twice for the same order
- Store Widget badge — renders the Google seller-rating widget via merchantwidget.js in admin-selected widget zones
- Store widget position — BOTTOM_RIGHT, BOTTOM_LEFT, or legacy INLINE options map to Google's RIGHT_BOTTOM or LEFT_BOTTOM
- Language override — sets window.___gcfg for the opt-in, or auto-detects from 27 supported language codes
- Per-store overrides — Merchant Center ID, opt-in style, language, delivery offset, badge display/position, widget zones and product reviews can differ per store
- Debug logging — a toggle with download and clear log-file actions in admin
- Order ownership check — the opt-in renders only for an order belonging to the current store and current customer
How It Works
- Enter the Google Merchant Center ID and enable the plugin in admin.
- Choose the opt-in dialog style, delivery-date offset, language and whether to enable Google Product Reviews.
- Optionally enable the Store Widget and pick its position and the widget zones where it appears.
- After checkout, the opt-in snippet renders once per order using the order's billing or shipping address and delivery date.
- The Store Widget badge and any language override render on the storefront pages configured above.
Specs & Requirements
- nopCommerce — 5.00, 4.90, 4.80, 4.70, 4.60, 4.50, 4.40, 4.30, 4.20, 4.10
- Plugin type — Widget plugin (also registered as Misc) that injects storefront snippets into configurable widget zones
- Requires — a Google Merchant Center account and Merchant Center ID
- Store setup — products need a GTIN assigned for Google Product Reviews to include them
- Integrations — the Google Customer Reviews opt-in API and Google Store Widget script, both loaded from Google's own domains