The following code creates a radio button and tries to use <form action=..."
to attach the results of the radio button to the [value] field in a URL that invokes the shopping cart. I also left the <a>
command where the button is actually clicked which does the same thing. This is the first time I have tried to transfer variables from a form to a button to the shopping cart URL, so I am still unclear of how this is supposed to work.
————
<div class="top-3">
<form action="https://secure.ourshoppingcarturl.com?Quantity=[value]" method="get">
<p class="offer"><input type="radio" name="qty" value="1" /><strong>Qty 1 (15 day supply).?<span class="color-red">$39</span></strong>?+ Shipping</p>
<p class="offer"><input type="radio" name="qty" value="3" /><strong>Qty 3 (45 day supply).?<span class="color-red">$108</span></strong>? FREE shipping. SAVE 15%</p>
<p class="offer"><input type="radio" name="qty" value="6" /><strong>Qty 6 (90 day supply).?<span class="color-red">$198</span></strong>? FREE shipping. SAVE 19%</p>
</form>
<div><a href="https://secure.ourshoppingcarturl.com?Quantity=[value]" /><strong><em>Add to Cart</em></strong></a>
</div>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]