Developer forum

Forum » Integration » Liveintegration, lazyload prices (getproductinfo=true) and quantity issue

Liveintegration, lazyload prices (getproductinfo=true) and quantity issue

Jan Sangill
Reply

Hi,
I have a webpage where I have enabled Lazyload of live integration. I have created a page that has an productindex on it. I am calling that page to retrieve prices for my products.
However, when calling liveintegration products the Quantity is always 1. Which I get. Is there a way for me to adress that? I have tried sending Quantity in the query too - no luck:
I could manipulate via OnAfterGenerateProductInfoSubscriber myself. Just curious if there is a way for me to naturally do it?
<GetEcomData ExternalUserId="X" AccessUserCustomerNumber="X" VatCountryCode="DK" VatPostingGroup="">
  <tables>
    <Products type="filter" unitPrices="true">
      <Product>
        <ProductId>X</ProductId>
        <ProductVariantId></ProductVariantId>
        <ProductNumber>X</ProductNumber>
        <ProductUnitId>STK</ProductUnitId>
        <ProductIdentifier>X..LANG1.STK</ProductIdentifier>
        <CurrencyCode>DKK</CurrencyCode>
        <Quantity>1</Quantity>
      </Product>
    </Products>
  </tables>
</GetEcomData>


Replies

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply
This post has been marked as an answer

Hi Jan,
it is set by default to 1 in the Ecommerce api so if you need to change that value to some other then you need to use the custom subscribers.
BR, Dmitrij

Votes for this answer: 1
 
Jan Sangill
Reply

Hi, noted. I thought so.

 

You must be logged in to post in the forum