-
Notifications
You must be signed in to change notification settings - Fork 11
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
Upload product's images #27
Comments
Were you able to figure anything out, @salamichel? |
Solved it WHAT YOU NEED TO DO: NEXT: Only took two hours of annoyed Google searches and swearing, enjoy anybody who may stumble accross this. |
Dude you helped me such much with your comment |
Man !!!!!!!!!!!!!!!!!!!!!!!!!!!!!... Thank you so much. Days and days of trying. finally your comment... Thank you sooo much. |
Hi @salamichel, @sherif807, @cypherfunk, @coderiekelt I am using create product API (post) method, this is my API's body:
Can anyone please explain me how should I format code for image so that it gets accepted??
|
Hi @coderiekelt "code" => "test1" des "] ] ] |
Hi @coderiekelt I hope you are doing well. Thanks in advance. |
Hi @Krishan29, any update on this? Thanks! |
Hi Michal!
Every seems ok, on create, update or delete items (product, taxon etc)
But I can't figure out how to upload image on products. i have tried to push an array of file path in create function as this
$images = [
dir . '/../ressources/images/logo.jpg',
];
$productsApi->create($article, [], $images);
How send image to sylius via API ?
Please help
regards
The text was updated successfully, but these errors were encountered: