Community Forums 

Main Content

No Quantity Box

    Sep 17 2008 23:31:06

    #1

    maxhild

    Join date : 2008-09-18      Posts : 5

    Hi. I have created areas with Quantity boxes successfully but cannot figure out how to do the following - can someone help!

    Basically its for a donation on the site. So theres is going to be a drop down list for the amounts,ie: $5, $50 etc....but there is to be no quantity to choose.
    I thought there used to be a section on Mals with code samples but I cannot find it.
    Please help
    Maxine



    Sep 18 2008 00:45:54

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4995

    Use a hidden qty field and productpr for the $ amounts

    <input type="hidden" name="qty" value="1">
    <select name="productpr" size="1">
    <option selected value="">Select donation amount</option>
    <option value="Donation 10.00:10.00">10.00</option>
    <option value="Donation 15.00:15.00">15.00</option>
    <option value="Donation 20.00:20.00">20.00</option>
    <option value="Donation 50.00:50.00">50.00</option>
    </select>

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Sep 18 2008 01:00:39

    #3

    maxhild

    Join date : 2008-09-18      Posts : 5

    Thanks Debbie. I must be doing something wrong still. When I go to checkout it says "you currently have no items selected in your order"

    <form action="http://ww12.aitsafe.com/cf/addmulti.cfm"; method="post">
    <span class="maintextbold">
    <input type="hidden" name="userid" value="E617124">
    <input type="hidden" name="units" value="1">
    <input type="hidden" name="return" value="www.hellobabe.com.au">;
    </span>
    <table width="100%" border="0" bgcolor="#ededee">
    <tr>
    <td width="6%">&nbsp;</td>
    <td width="67%">&nbsp;</td>
    <td width="18%" align="center" class="maintextbold">&nbsp;</td>
    <td width="9%" class="maintextbold">&nbsp;</td>
    </tr>
    <tr>
    <td class="maintext">&nbsp;</td>
    <td class="maintext"><input type="hidden" name="qty" value="1">
    <select name="productpr" size="1">
    <option selected value="">Select donation amount</option>
    <option value="Donation 10.00:10.00">10.00</option>
    <option value="Donation 15.00:15.00">15.00</option>
    <option value="Donation 20.00:20.00">20.00</option>
    <option value="Donation 50.00:50.00">50.00</option>
    </select>
    </select> </td>
    <td align="center">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr align="right">
    <td colspan="3"><input name="submit" type="submit" value="Add to Cart"> </td>
    <td>&nbsp;</td>
    </tr>
    </table>
    </form>



    Sep 18 2008 01:57:19

    #4

    Debbie Q

    Join date : 2008-09-18      Posts : 4995

    Change your form method from addmulti to add.cfm

    <form action="http://ww12.aitsafe.com/cf/add.cfm"; method="post">

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Sep 18 2008 02:05:23

    #5

    maxhild

    Join date : 2008-09-18      Posts : 5

    You are wonderful...THANK YOU.



    Sep 18 2008 08:49:55

    #6

    Don

    Join date : 2008-09-18      Posts : 491

    Or use this, it allows the donor to give whatever they want, I use it if a customer has underpaid and needs to top up their payment, they just go to my How to Order page, enter in the exact amount and pay in.


    <form style="display:inline; margin-top:0px; margin-bottom:0px;" method="POST" action="http://ww12.aitsafe.com/cf/add.cfm">;
    <input type="hidden" name="userid" value="E617124">
    <input type="hidden" name="product[]" value="Please accept my Donation">
    <INPUT type="hidden" name="return" value="www.hellobabe.co.au/???your_page???.html">;
    <INPUT size=8 name=price>
    <INPUT type="submit" value= Pay-Now > <INPUT type="reset" value= Reset >

    </form>

    DB.

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