View Single Post
  #1  
Old 04-27-2017, 03:46 AM
 
Ashish Ashish is offline
 

Newbie
  
Join Date: Apr 2017
Posts: 6
 

Default How to get all the variants of a configurable product in XCart through API

Hello there,

How to get all the variants of a configurable product in XCart for example:

If a Product called "Test Product" has two attribute called "Color" and "Size" with attribute option as:

For color we have : "Red" & "Black"

For Size we have : "Xl" & "XXL"

But while creating the product we create with only two option no all the possible condition such as:

1) Test Product Red XXL

2) Test Product Black XL


So while reading the product through API we are not getting the exact variant information available in product rather than we are getting only the ID of all the attribute along with the attribute option. Is there any way so that we can get only these two option while reading the product?????

--
Thanks & Regards
Nidhi Raverkar
__________________
ashish

Xcart version :-X-Cart
Business 5.3.2.8
Reply With Quote