-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix product option files not copying to order dir. #8462
Conversation
Copy product option file to order directory from quote also when media storage is set to file system, not just database. Also rename _rootDirectory variable to _mediaDirectory, since that's what it is.
@@ -492,7 +489,15 @@ public function copyQuoteToOrder() | |||
* @param string $url | |||
* @return $this | |||
*/ | |||
public function setCustomOptionDownloadUrl($url) | |||
public function setCustomOp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this code looks broken. @evktalo could you please review this code and fix it, so that i can proceed with acceptance of this PR. Thank you
This reverts commit 3a2a057. This was a very broken commit.
… still test mediaDirectory->copyFile().
Hi @evktalo could you please fix unit tests so that we can process this PR? |
Yes, I will work on fixing the tests. Thank you! |
@evktalo I will the the tests on our side and will proceed with PR acceptance. Thank you! |
@evktalo thank you for your contribution |
Copy product option file to order directory from quote also when media storage is set to file system, not just database.
Also rename _rootDirectory variable to _mediaDirectory, since that's what it is.