Developer forum

Forum » Templates » Orderlines loop repeats

Orderlines loop repeats


Reply
I am using the new template engine. I have made a loop of OrderLines which should output the products in the basket.

It looks something like this:

@LoopStart(OrderLines)-->
@Ecom:Order:OrderLine.ProductName-->
@LoopEnd(OrderLines)-->

The problem is, that the output contains double output - Each product from the basket are shown twice.

Any ideas of what I am doing wrong?


Replies

 
Nicolai Høeg Pedersen
Reply

Have you done this with a notification or template extender? Or just in a template?

If it is a notification subscriber or template extender, it could be the .NET cache that loads the add-in twice. Stop IIS, empty your .NET cache folder (%SystemRoot%\Microsoft.NET\Framework\version\Temporary ) and try again.

 
Reply
Just in the template!

The other stuff is out of my league :)

 

You must be logged in to post in the forum