Developer forum

Forum » Ecommerce - Standard features » Render ecom quantity prices when using LiveIntegration

Render ecom quantity prices when using LiveIntegration

Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

I have a solution running DW 9.9.2 and Live Integration V2 with NAV 2018.

In this solution, I have products that are supposed to have Quantity prices. I have tested the Request and response and it seems that we are getting the EcomPrices node in the response but for some reason, GetLoop("Product.Prices") does not render anything.

[Update] If I define the prices manually in the Price Matrix, the above loop retrieves the prices. The problem seems to be related to LivePrices.

Is there any way of rendering the EcomPrices information in the ProductDetail page?

Thank you,
Adrian


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Anybody?

 
Andrew Rushworth
Reply

I'm having the same problem with custom fields and the productlistfeed.
The custom fields are being returned from live integration with values, but they do not seem to update in the product feed.

I came across this forum post, which suggests that you need to custimize teh liveintegration to sotre the values manually: https://doc.dynamicweb.com/forum/integration/integration/productdiscountpercent-in-live-integration 

Not sure it will help you though.

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Thank you Andrew.

I believe it worths a shot.

It is anyway the only suggestion I have so far :)

Thank you very much.


Adrian

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply

Hi guys,

Anybody else has another suggestion? It does not seem to be related to CustomFields.

Thank you,

Adrian

 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Hi Adrian,
Could you check if you have the ProductTemplateExtender.cs file in your Live Integration project? Are you using version > 2.0.2?
If yes, could you check your frontend template contains the "Product.Prices" loop and also check if you are getting
EcomPrices xml with correct PriceProductId and PriceProductVariantId values from ERP?
I've attached the template code I've used for rendering the product prices loop

Kind regards, Dmitrij

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply
Hi Dmitrij, I can confirm the last 2 points in your list. The template is good (I am getting Ecom prices if I define them manually in DW) and xml response from ERP contains the right information. I have to check the presence of the Product TemplateExtender file. And yes, we are using the latest Integration Framework and the latest DW version. Thank you very much, Adrian
 
Dmitriy Benyuk Dynamicweb Employee
Dmitriy Benyuk
Reply

Also you can try to set the Live integration setting of "Product cache level" to Session and check with that

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply
Hi Dmitrij, It is already set to Session. Thank you, Adrian
 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply
Hi Dmitrij, It is already set to Session. Thank you, Adrian

 

You must be logged in to post in the forum