In the Json data, both short description and full description are empty, anyone know what condition missed ? Thanks !
|
Posted 16 August 2020 - 06:57 AM #1
In the Json data, both short description and full description are empty, anyone know what condition missed ? Thanks !
Posted 01 September 2020 - 10:14 AM #2
Anyone can help ? Very appreciate !
Posted 01 September 2020 - 10:39 AM #3
Do you mean GET request for product?
Posted 02 September 2020 - 10:29 AM #4
Do you mean GET request for product?
Yes, correct.
Posted 02 September 2020 - 12:53 PM #5
For products you should check short_description and full_description fields as described here
https://docs.cs-cart...s/products.html
Posted 04 September 2020 - 02:18 PM #6
To solve this problem, you need to tell me how the query you do to get the correct results.
Posted 07 September 2020 - 04:32 AM #7
For products you should check short_description and full_description fields as described here
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 !
Posted 07 September 2020 - 04:34 AM #8
Sorry, screenshot attached again.
Posted 07 September 2020 - 06:32 AM #9
Looks like full description is not available in products lists. You should extend the fn_get_products function or get product information by ID
Posted 07 September 2020 - 06:59 AM #10
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-car...ll/#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
Posted 07 September 2020 - 01:44 PM #11
Thank you for keeping us updated