Skip to content
Snippets Groups Projects
Commit 35bbb0a7 authored by Vitalii Zabaznov's avatar Vitalii Zabaznov
Browse files

MAGETWO-44109: Import Custom Options grid contains Downloadable product if...

MAGETWO-44109: Import Custom Options grid contains Downloadable product if Import Custom Options for Simple product
parent dbabe3dd
Branches
No related merge requests found
...@@ -462,6 +462,11 @@ class Option extends Widget ...@@ -462,6 +462,11 @@ class Option extends Widget
return $this->getUrl('catalog/*/customOptions'); return $this->getUrl('catalog/*/customOptions');
} }
/**
* Return current product id
*
* @return null|int
*/
public function getCurrentProductId() public function getCurrentProductId()
{ {
return $this->getProduct()->getId(); return $this->getProduct()->getId();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment