Community Forums 

Main Content

Out of Stock item - Temporarily disable Fom Posting

    Sep 11 2008 16:28:46

    #1

    Don

    Join date : 2008-09-18      Posts : 487

    I have numerous books listed using the Form Post method.

    One of the books is temporarily out of stock - without completely removing the Form Post coding - is there a simple way to disable the Buy Now button for this item.

    I have labled the item as Out of Stock, but someone for sure will hit the button!

    Any help greatly appreciated.

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Sep 11 2008 17:27:07

    #2

    Geoff

    Join date : 2008-09-18      Posts : 415

    Couple of ways I can think of.

    Disable the button but leave it visible

    <input type="submit" value="Add to Cart" disabled>

    or comment it out

    <!--
    <input type="submit" value="Add to Cart">
    -->



    Sep 11 2008 18:24:04

    #3

    Don

    Join date : 2008-09-18      Posts : 487

    Geoff,

    Brilliant, I have used the

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook




    Sep 11 2008 18:26:17

    #4

    Don

    Join date : 2008-09-18      Posts : 487

    Geoff,

    2nd attempt, the first was cut short somehow.

    Brilliant, I have used the "disabled" method it works OK.

    Thanks again.

    DB.

    www.donbarrow.co.uk
    www.pacenotes.com
    Please either Share or Like my Facebook