Adding options to the Paypal cart forms
With a Paypal cart or Paypal single order forms, you can add one option that affects the price and another option that does not if you would like. Below is the code for this. The code from an LXGuggenheim template is used for this example. If you have another template you may need to change the "button" or "submit" code. This is the last item in each form and can be found just before the </form>
How this will appear on your page:
The final form we are creating will appear on your page like the samples below. You can use the link below each form to get the code, or you can view the source on this page to copy this code for your page.
About the code:
For complete details about the code used above and what each item does, you can login to your paypal account and check out the developers area. Or, for a quick look, use the visual link below.
Notes:
If you are adding a selection that changes the price, then when you receive the order you will only be able to tell what that item is by the price. You can not have an option that changes price and has a variable name associated with it at the same time. To view all the options you can add to a Paypal form, login to your Paypal account and check in the developers area.