Community Forums 

Main Content

Re:Using productpr with Radio Buttons

    Dec 11 2013 13:23:03



    Join date : 2008-10-04      Posts : 70

    Hi Debbie,

    Many thanks for your quick and accurate reply to my request.

    As usual, your are spot on, and the syntax you gave works perfectly.

    Unfortunately, as usual, I am asking the wrong question, as the radio buttons still don't achieve what I'm looking for.

    One of our products is a range of aperture panels, which have optional templates.

    (as you can see here)

    At the moment, It is possible to buy the template, without buying the aperture panel, but that is not what we want to happen.

    The template is only supposed to be available if you buy the panel.

    Try as I may, I can't figure this one out.

    If you need the full form, I have listed it below.



    <form action=""; method="post">
    <input type="hidden" name="return" value="">;
    <input type="hidden" name="userid" value="78209165">
    <input type="hidden" name="product1[]" value="AP304, Bethlehem Star, Aperture Panels">
    <input type="hidden" name="price1" value="0.99">
    <input type="hidden" name="nocart">
    <input name="qty1" size="2" type="text">
    Enter Quantity<br>
    <select name="product1[]">
    <option value="White" selected>Select Colour</option>
    <option value="White">White</option>
    <option value="Ivory">Ivory</option>
    <option value="Cream">Cream</option>
    <option value="Grey">Grey</option>
    <option value="Black">Black</option>
    <option value="Burgundy">Burgundy</option>
    <option value="Terracotta">Terracotta</option>
    <option value="Red">Red</option>
    <option value="Peach">Peach</option>
    <option value="Yellow">Yellow</option>
    <option value="Lemon">Lemon</option>
    <option value="Mint Green">Mint Green</option>
    <option value="Bright Green">Bright Green</option>
    <option value="Dark Green">Dark Green</option>
    <option value="Forest Green">Forest Green</option>
    <option value="Pale Blue">Pale Blue</option>
    <option value="Bright Blue">Bright Blue</option>
    <option value="Cobalt Blue">Cobalt Blue</option>
    <option value="Navy Blue">Navy Blue</option>
    <option value="Purple">Purple</option>
    <option value="Orchid">Orchid</option>
    <option value="Lilac">Lilac</option>
    <option value="Cerise Pink">Cerise Pink</option>
    <option value="Pale Pink">Pale Pink</option>
    <input type="radio" name="productpr2" value="IFT304 Template:0.99">
    <font size="2">Add Template for 99p</font>
    <input type="hidden" name="qty2" value=1>
    <input type="submit" value="Buy Now!">