[+] BO : add new feature, Order edition

This commit is contained in:
dMetzger
2011-11-23 17:45:52 +00:00
parent f5de69ad84
commit d902a38ec8
31 changed files with 3349 additions and 846 deletions
@@ -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(