Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use REST API to create new product can't save product custom options #4043

Closed
xiaogang87 opened this issue Apr 7, 2016 · 2 comments
Closed
Assignees

Comments

@xiaogang87
Copy link

Steps to reproduce

  1. POST a new product with custom options to "/rest/V1/products"

Expected result

  1. a new product with custom options

Actual result

  1. a new product without custom options
  2. After I debug it, I found wrong code may exist in the save function of "\vendor\magento\module-catalog\Model\ProductRepository.php".

In line 565, get a null $productOptions
In line 585, set the right options to $product
In line 603, set the null $productOptions as product options to the $product

@piotrekkaminski
Copy link
Contributor

Internal issue MAGETWO-53565

@aohorodnyk
Copy link
Contributor

I cannot reproduce issue in latest mainline and 2.0 branch, so I am closing this issue, as fixed. Feel free to reopen issue if we missed anything.

@kandy kandy closed this as completed Jun 2, 2016
ishakhsuvarov referenced this issue in magento/inventory May 7, 2019
[TSG] Upporting for 2.3 (pr47) (2.3-qwerty)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants