diff --git a/Helper/Data.php b/Helper/Data.php index cdaf1f0..a57ad68 100755 --- a/Helper/Data.php +++ b/Helper/Data.php @@ -263,6 +263,7 @@ public function getPageUrl($page, $scope, $storeId) case 'trustpilot_trustbox_product': $product = $this->getFirstProduct('store', $storeId); $productUrl = $this->_url->getUrl('catalog/product/view', [ + '_scope' => $storeId, 'id' => $product->getId(), '_nosid' => true, '_query' => ['___store' => $storeCode] diff --git a/Model/Config.php b/Model/Config.php index fcaeb0e..a867a72 100644 --- a/Model/Config.php +++ b/Model/Config.php @@ -16,7 +16,7 @@ class Config const TRUSTPILOT_GENERAL_CONFIGURATION = 'general'; const TRUSTPILOT_TRUSTBOX_CONFIGURATION = 'trustbox'; const TRUSTPILOT_INTEGRATION_KEY = 'key'; - const TRUSTPILOT_PLUGIN_VERSION = '2.6.564'; + const TRUSTPILOT_PLUGIN_VERSION = '2.6.566'; const TRUSTPILOT_SCRIPT = 'TrustpilotScriptUrl'; const TRUSTPILOT_INTEGRATION_APP = 'IntegrationAppUrl'; const TRUSTPILOT_WIDGET_SCRIPT = 'WidgetScriptUrl'; diff --git a/composer.json b/composer.json index a64d809..5cca9bd 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "trustpilot/module-reviews", "description": "The Trustpilot Review extension makes it simple and easy for merchants to collect reviews from their customers to power their marketing efforts, increase sales conversion, build their online reputation and draw business insights.", "type": "magento2-module", - "version": "2.6.564", + "version": "2.6.566", "license": [ "OSL-3.0" ],