cancel
Showing results for 
Search instead for 
Did you mean: 

Drop down amount not changing

SOLVED
Member

Drop down amount not changing

Hi

 

I have made a really simple test page for a Buy Now button with drop down for 3 different prices, but no matter what I select, I only get the first price in the checkout?

 

Any ideas?

 

Please see http://cafenoisette.dk/test/paypal/ for the code...

 

Thanks!

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Volunteer Advisor

Re: Drop down amount not changing

Hello Thrane, 

 

Welcome to the Community Robot wink.

 

I was able to view your code from the button you created. It appears all three of the option values in the dropdown are the same. It sounds like you created the button from sandbox, is that correct?  

This is how the code looks within the table tags:

 

<table>
<tr><td><input type="hidden" name="on0" value="Værdi">Værdi</td></tr><tr><td><select name="os0">
 <option value="Beløb">Beløb 100.00 DKK</option>
 <option value="Beløb">Beløb 250.00 DKK</option>
 <option value="Beløb">Beløb 500.00 DKK</option>
</select> </td></tr>
</table>

 

This is how the code should look within the table tags:


<table>
<tr><td><input type="hidden" name="on0" value="Værdi">Værdi</td></tr><tr><td><select name="os0">
 <option value="Beløb0">Beløb 100.00 DKK</option>
 <option value="Beløb1">Beløb 250.00 DKK</option>
 <option value="Beløb2">Beløb 500.00 DKK</option>
</select> </td></tr>
</table>

 

Once you fix these options the button should funtion properly.  

 

Let me know if this helps.

 

Smiley HappyMisty

3 REPLIES
Volunteer Advisor

Re: Drop down amount not changing

Hello Thrane, 

 

Welcome to the Community Robot wink.

 

I was able to view your code from the button you created. It appears all three of the option values in the dropdown are the same. It sounds like you created the button from sandbox, is that correct?  

This is how the code looks within the table tags:

 

<table>
<tr><td><input type="hidden" name="on0" value="Værdi">Værdi</td></tr><tr><td><select name="os0">
 <option value="Beløb">Beløb 100.00 DKK</option>
 <option value="Beløb">Beløb 250.00 DKK</option>
 <option value="Beløb">Beløb 500.00 DKK</option>
</select> </td></tr>
</table>

 

This is how the code should look within the table tags:


<table>
<tr><td><input type="hidden" name="on0" value="Værdi">Værdi</td></tr><tr><td><select name="os0">
 <option value="Beløb0">Beløb 100.00 DKK</option>
 <option value="Beløb1">Beløb 250.00 DKK</option>
 <option value="Beløb2">Beløb 500.00 DKK</option>
</select> </td></tr>
</table>

 

Once you fix these options the button should funtion properly.  

 

Let me know if this helps.

 

Smiley HappyMisty

Highlighted
Member

Re: Drop down amount not changing

Thank you, Misty...!

 

Yes, the button was created in Sandbox.

And toy are right, the naming was the issue here - now it works...!!

Volunteer Advisor

Re: Drop down amount not changing

Hello Thrane,

 

You are very welcome! I am so glad your button is now working.

 

~Misty