Community Forums 

Main Content

Re:View cart count and subtotals

    Aug 11 2017 11:13:54

    #1

    GT

    Join date : 2008-09-18      Posts : 3207

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

    Using this script... http://www.malsforms.com/display-cart-new.html

    Change the lines below...

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

    To...

    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.