Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Create Product With Images Rate Topic   - - - - -

 
  • necmettin
  • Newbie
  • Members
  • Join Date: 18-Jun 15
  • 8 posts

Posted 18 June 2015 - 09:53 AM #1

Hello,

I've been reading the Cs-cart API documentation (which is unfortunately very much lacking).

I'm trying to understand if it is possible to create a product with images through the API. As far as I can tell, it's not possible at the moment.

Any ideas or experience about this?

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19693 posts

Posted 18 June 2015 - 10:05 AM #2

According to the API code, the images should be created. Try to add the following parameter:

main_pair[detailed][image_path]=IMAGE_URL

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • necmettin
  • Newbie
  • Members
  • Join Date: 18-Jun 15
  • 8 posts

Posted 06 July 2015 - 12:35 PM #3

According to the API code, the images should be created. Try to add the following parameter:

main_pair[detailed][image_path]=IMAGE_URL


Thank you, successfully added the main pair. But not a second image. I'm using the same structure in image_pairs but with no luck:
image_pairs[][detailed][image_path]=IMAGEURL

No luck.

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19693 posts

Posted 06 July 2015 - 01:43 PM #4

Please post this issue to the bug tracker. Looks like a bug

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 
  • necmettin
  • Newbie
  • Members
  • Join Date: 18-Jun 15
  • 8 posts

Posted 06 July 2015 - 01:44 PM #5

Please post this issue to the bug tracker. Looks like a bug

I thought as much. Apparently, nobody has used this feature before :s

Edited by necmettin, 06 July 2015 - 01:45 PM.