Need Total Number of items in eCart using ASP.
I have found some references in PHP, but I am struggling to find this variable in ASP.
I have found some references in PHP, but I am struggling to find this variable in ASP.
Still struggling with this.
I tried this: <%=(UBound(eCart1.Items))%>
but that is actually lines in the cart so 3 different products reports as 3 no matter how many of each you add.
There must me a variable that will count individual items.
I forget the exact syntax, but if you look at the cart page where the total price is displayed, you can use a similar syntax to show the total of the Quantity field instead.
<%=WA_eCart_DisplayMoney(eCart1, WA_eCart_GrandTotal(eCart1))%>
Isn't GrandTotal a calculation?
That would help but I don't see how to set up the calculation either.
Got it!
<%=WA_eCart_TotalColumn(eCart1, "Quantity")%>
Thanks Ray!
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.