[*] CORE : Get instance of current product in product controller merge https://github.com/PrestaShop/PrestaShop/pull/644 thanks @kpodemski
This commit is contained in:
@@ -658,4 +658,9 @@ class ProductControllerCore extends FrontController
|
|||||||
}
|
}
|
||||||
return $specific_prices;
|
return $specific_prices;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getProduct()
|
||||||
|
{
|
||||||
|
return $this->product;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user