Community Forums 

Main Content

Re:View cart count and subtotals

    Aug 11 2017 11:13:54



    Join date : 2008-09-18      Posts : 3235

    You already have it, you just need it to say Bag and then use brackets around the qty.

    Using this script...

    Change the lines below...

    if (thisName == "qty"){
    document.write("<tr><td>Items:</td><td style=\"align:right\">" + Math.floor(thisVal) + "</td></tr>");


    if (thisName == "qty"){
    document.write("<tr><td>Bag</td><td style=\"align:right\">(" + Math.floor(thisVal) + ")</td></tr>");

    Having trouble with a form or need one building?
    Fast turnaround, but I do charge :)

    Mal's Forms / Scripts and the syntax are here.