// Fix #PSFV-223
This commit is contained in:
1 parent
950c946e96
commit
112a8ff83c
1 file changed
+1
-1
@@ -2176,7 +2176,7 @@ class AdminProductsControllerCore extends AdminController
|
|||||||
|
|
||||||
public function getPreviewUrl(Product $product)
|
public function getPreviewUrl(Product $product)
|
||||||
{
|
{
|
||||||
if (!(bool)$this->context->shop->virtual_uri && $this->context->shop->theme_name != 'default')
|
if (!ShopUrl::getMainShopDomain())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
$preview_url = $this->context->link->getProductLink(
|
$preview_url = $this->context->link->getProductLink(
|
||||||
|
|||||||
Reference in new issue
Block a user