Skip to content

Commit 35bbb0a

Browse files
committed
MAGETWO-44109: Import Custom Options grid contains Downloadable product if Import Custom Options for Simple product
1 parent dbabe3d commit 35bbb0a

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options

1 file changed

+5
-0
lines changed

app/code/Magento/Catalog/Block/Adminhtml/Product/Edit/Tab/Options/Option.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,11 @@ public function getCustomOptionsUrl()
462462
return $this->getUrl('catalog/*/customOptions');
463463
}
464464

465+
/**
466+
* Return current product id
467+
*
468+
* @return null|int
469+
*/
465470
public function getCurrentProductId()
466471
{
467472
return $this->getProduct()->getId();

0 commit comments

Comments
 (0)