Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

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

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #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
  #2  
Old 04-27-2017, 11:00 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

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

Please check this:
https://forum.x-cart.com/showthread.php?t=75159
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:53 AM.

   

 
X-Cart forums © 2001-2020