Click here to Skip to main content
14,022,955 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
I am using woocommerce rest api for my mobile app. Now, on order page i am showing product name and other details, here i want to show product image also. How can i. I have tried multiple array combinations but it is in vain.

I want to add image in "line_items " array

I am using version: 'wc/v2' for rest api.

What I have tried:

Tried to edit class-wc-rest-orders-controller.php file but don't know where the array is populating.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web03 | 2.8.190417.4 | Last Updated 23 Sep 2018
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100