[+] BO : add new feature, Order edition
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10579 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -1912,8 +1912,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
|
||||
public function getPreviewUrl(Product $product)
|
||||
{
|
||||
$shop_url = new ShopUrl($this->context->shop->id);
|
||||
if (!$shop_url->id && !empty($this->context->cookie->shopContext))
|
||||
if (!(bool)$this->context->shop->virtual_uri)
|
||||
return false;
|
||||
|
||||
$preview_url = $this->context->link->getProductLink(
|
||||
|
||||
Reference in New Issue
Block a user