In the Json data, both short description and full description are empty, anyone know what condition missed ? Thanks !
Anyone can help ? Very appreciate !
Do you mean GET request for product?
Do you mean GET request for product?
Yes, correct.
For products you should check short_description and full_description fields as described here
https://docs.cs-cart.com/latest/developer_guide/api/entities/products.html
To solve this problem, you need to tell me how the query you do to get the correct results.
For products you should check short_description and full_description fields as described here
https://docs.cs-cart.com/latest/developer_guide/api/entities/products.html
Thanks for your reply, I tried the API get as below:
https://www.mydomain.com/api/products?page=1&pfull=Y&items_per_page=10&status=A&pcode=p116d4912789k280c4914433g209&sort_order=asc&sorting=code
Product code is: p116d4912789k280c4914433g209
But the return result only display as
"pfull":"Y"
Not the full description details. So still can not get the value of the "full description".
Please check the screenshot. Hope you can help me, thank you again !
Looks like full description is not available in products lists. You should extend the fn_get_products function or get product information by ID
Looks like full description is not available in products lists. You should extend the fn_get_products function or get product information by ID
Thanks, I tried the method as you mentioned in this topic: https://forum.cs-cart.com/topic/56675-missing-fields-in-the-api-call/#entry321317
It works. Looks like there is a bug for products API.
The default description value is empty, need to add below code:
extend[]=description&extend[]=full_description
Thank you for keeping us updated