Jump to content

 

michael

Member Since 27 Oct 2006
Offline Last Active Yesterday, 05:13 AM
-----

Posts I've Made

In Topic: How To Remove "price" And "stock" For Rich Snippets ?

25 September 2020 - 10:23 AM

You can use the additional_product_data_post hook to change the $product_data['seo_snippet'] array

can you please give me the detail steps ? Very appreciate !


In Topic: Can Not Get Full Description Through Api

07 September 2020 - 06:59 AM

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

In Topic: Can Not Get Full Description Through Api

07 September 2020 - 04:34 AM

Sorry, screenshot attached again.


In Topic: Can Not Get Full Description Through Api

07 September 2020 - 04:32 AM

For products you should check short_description and full_description fields as described here

 

https://docs.cs-cart...s/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 !


In Topic: Can Not Get Full Description Through Api

02 September 2020 - 10:29 AM

Do you mean GET request for product?

Yes, correct.