Developer forum

Forum » Templates » ecom orderlines loop

ecom orderlines loop


Reply

The content of EmptyLoopStart/End is not displayed when there is no product in the cart, the only output from the HTML code below is: <!--@LoopOutput(OrderLines_0)-->

 

The HTML is placed in a page template.

 

<!--@LoopStart(OrderLines)-->
    <!--@EmptyLoopStart-->
        Indkøbskurv er tom
    <!--@EmptyLoopEnd-->
                       
                       
        <!--@HeaderStart-->
            <table cellspacing="0" cellpadding="0" border="0" style="width:174px;">
        <!--@HeaderEnd-->
       
        <tr>
            <td colspan="2" style="height: 17px;border-bottom:0px solid #d6dee6; padding: 0px 2px 0px 2px;" title="Varenr"><!--@Ecom:Order:OrderLine.ProductID--></td>
            <td colspan="2" align="right" style="height: 17px;border-bottom:0px solid #d6dee6; padding: 0px 2px 0px 2px;" title="Antal">Antal:&nbsp;<!--@Ecom:Order:OrderLine.Quantity--></td>
        </tr>
       
            <td colspan="4" style="height: 17px;border-bottom:1px solid #d6dee6; padding: 0px 0px 0px 0px;" nowrap="nowrap"><!--@Ecom:Order:OrderLine.ProductName--></td>
        </tr>
       
       
        <!--@FooterStart-->
            <tr>
                <td class="box4" style="height: 18px; border-right: 0px solid #fff; font-weight: normal; padding: 0px 5px 0px 3px;">Samlet pris:</td>
                <td colspan="3" align="right" class="box4" style="height: 18px; font-weight: normal; padding: 0px 3px 0px 5px;"><!--@Ecom:Order.Price.PriceWithoutVATFormatted--></td>
            </tr>
        </table>
        <!--@FooterEnd-->
    <!--@LoopEnd(OrderLines)-->

 


Replies

 
Reply

Hi Thomas,

 

If you stumble upon an error, please report it to Help Desk. They may have a work around for a given error.

 

/Lars

 

You must be logged in to post in the forum