[*] CORE : Get instance of current product in product controller merge https://github.com/PrestaShop/PrestaShop/pull/644 thanks @kpodemski

This commit is contained in:
gRoussac committed 2013-08-12 16:23:54 +02:00
1 parent b7232aabd7
commit 7ec55106ce
1 file changed
+5
+5
View File
@@ -658,4 +658,9 @@ class ProductControllerCore extends FrontController
} }
return $specific_prices; return $specific_prices;
} }
public function getProduct()
{
return $this->product;
}
} }