Is it possible to have the total number of items in the basket displayed in the basket summary, along with the total price? I know in Quickcart 1.x I just needed to include the $iCount variable and in Quickcart 3.x it's $iOrderProducts. Is there an equivalent variable in 2.2 as I've tried both of these and it doesn't work?
return $tpl->tbHtml( $sFile, 'LIST_HEAD' ).$content.$tpl->tbHtml( $sFile, 'LIST_FOOT' ); } else return null; } // end function listBasket }
It generate variable $aList[iOrderProducts] which You can display somwhere near the $aList[sSummary] in file temlates/orders_basket.tpl. Should work for me it's ok :)
FoTam74
2008-05-22 10:22
Makaron says:
"somewhere near the $aList[sSummary]"
there's no such thing in the whole project: $aList[sSummary]. Where to put that variable you mentioned?
In first post You have answer. In version Quick.Cart 3.x You have variable $iOrderProducts which You can use for example in file templates/menu_1.tpl in block LIST_BASKET.
In first post You have answer. In version Quick.Cart 3.x You have variable $iOrderProducts which You can use for example in file templates/menu_1.tpl in block LIST_BASKET.
Hi Makaron from your answer i didn't get it on qc 3.6 , I'm blank right now!!! I not understand where I can insert your code and which file name should I modify (I must update cod core/order.php? or how I have to do witn file templates/menu_1.tpl)