More in this section
Forums / Developing with Sitefinity / Get the product variation for each product

Get the product variation for each product

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Nelson
    Nelson avatar
    13 posts
    Registered:
    29 Jul 2015
    31 Jul 2015
    Link to this post

    Hi Experts,

    I need to get the product variation for each product, and I've been testing with calls to the services exposed by sitefinity but I'm not being successful.

    Calls to Sitefinity Product Variation service (/Sitefinity/Services/Ecommerce/Catalog/ProductVariation.svc)  returns only:

    AdditionalPrice,
    DeltaPriceDisplay,
    Id,
    Images ,
    InventoryDisplay,
    InventoryJson,
    IsActive,
    Sku,
    Thumbnail,
    Variant,

    VariantNames.

     

    I'm not seing an association to the product that the variation belongs to.

    Is there any service that returns the variation and the related products?

    If there isn't what could be the best approach? Build my own service?

    (Documentation about each service provided would be also very apreciated) 

     

    Thanks in Advance,

    Nelson

  2. Nelson
    Nelson avatar
    13 posts
    Registered:
    29 Jul 2015
    03 Aug 2015
    Link to this post

    I searched for a solution but didn't find a service that provides the Variation and the related productId, so I decided to create a service through Web Api that returns the variation and the productId associated.

    If anyone find a better/easy solution I would be glad to hear

    Thanks,

    Nelson

2 posts, 0 answered