Hello there,
I wonder how the basket items in the basket.tpl are traversed, line 77-79:
[{assign var="basketitemlist" value=$oView->getBasketArticles() }] [{foreach key=basketindex from=$oxcmp_basket->getContents() item=basketitem name=test_Contents}] [{assign var="basketproduct" value=$basketitemlist.$basketindex }]
What I do not get is why there are two calls: getBasketArticles() and getContents(). As far as I understand that, both should return an array of current basket items, so I do not see the need for this interweaved structure, but I am sure there is one.
For a future implementation of a modified basket this might be important to me.
Thanks very much,
Richard