OK, I have searched and searched on the web and am very discouraged. Hopefully one of you guys are knowledgable wth PayPal's button factory. In Paypal you can creating Add To Cart buttons. With each button you can create options with drop down boxes.
In the button factory they limit you to only 10 choices per drop down box and only two drop down boxes per button.
I have figured out how to manually add HTML to make it so that I can have an unlimited amount of choices per drop down box. I have also figured out how to make additional drop down boxes for each button. So for example, if I want my customers to be able to choose a size, color and scent, I have figured out how to have these three drop down boxes displayed on my webpage. My problem is that I can only get 2 of the drop down box choices to show up in the shopping cart.
my best guess is that only 2 will show up becasue that is how paypal has there table set up. What i did on my site is i grouped things and then added selections.
So for Size Color and Scent i would make a chart with all the sizes then buttoms for color and scent. IN description of item make sure to include sizes though(thats for when its in the cart)
It will be easier on you if you make a button for each individual size, then add color and scent as drop downs.
If you decide to have a "standard" scent (automatically added if nothing else is chosen) make it your first option. Or if there is no scent standard change the first option to "Choose One" or something along those lines. Anything that is the first option will be sent with the order if it isn't changed.
I use Dreamweaver. Once you've pasted the code in code view, you can switch back to the graphic view and modify it alot easier by clicking on the button and modifying any choices from an option window below. Makes it alot easier than copy, pasting and typing choices, especially if you have alot!
You can check out my website (www.tjstackle.com) and see if that is the way you want your buttons to work. I have multiple drop down boxes per item that the user can specify their choices and when they hit "add to cart", I have code behind the scenes that will concatenate the dop down selections and put it in one of the Paypal fields. If you are interested in the code, let me know and I can send you a sample. BTW, my "real" job is software developing for a large office furniture company.
Here is the code if anybody is interested. It will take a little bit of programming knowledge to do though.
The first thing to do is to create a Paypal button through their buttom factory that has 2 plain text options. When you view the code behind the button it creates you will notice the variables it uses to send to Paypal. These are on0 (label for option 1), os0 (value for option 1), on1 (label for option 2), and os1 (value for option 2). You can modify these variable before the information is sent to Paypal. Simply create a javascript function and call it in the onclick event of the Paypal Add to Cart button. Example:
"<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but22.gif" onclick=updatePaypal1() border="0" name="I10" alt="Make payments with PayPal - it's fast, free and secure!" width="87" height="23">"
In this example updatePaypal1() is the name of the javascript function. Within this function you can set the values of the Paypal variable listed above with whatever values you would like. Be careful, because Paypal will limit the length of the text you put in those fields. With this technique you can concatenate things like size, color, weight, etc.. into one Paypal field. It will also allow you to create your own drop down list with as many options as you would like. If you have any questions, let me know. Email me if you would like for me to send a sample html page that shows how this works. It may help if you see it. The code is too long to post here.
Thanks for the help. I am still a newbie at this. Let's pretend I want a button for some stick baits that I want to sell. I went to PayPal and created a button. As stated previously, it only lets me have 2 drop down boxes. Let's pretend that I need my customers to have 3 drop down boxes, though, one for size, color and scent.
I am still unsure where to plug that coding in. I am wondering if I paste the code here for the button, if you could maybe type in bold or something the new code required to add the third drop down box for scent. Let's say we want our customer to have four scent choices (anise, garlic, craw, shad).
I don't know if I could even express my gratitude if you can help me figure this out. I am stumped. I contacted PayPal about this and got a response, but I am still not savvy enough to figure out exactly what to do with the information they gave me. Here is that info:
Hello my name is Michael, I will be happy to assist you with your question
regarding multiple drop down boxes.
The reason you only get the information from 2 of the boxes to show is
because the variables used on0/os0 and on1/os1 are proprietory and can not be changed to on2,3, etc.
If you need three dropdowns, use the "custom" variable for the third
dropdown. So, in other words:
When you use "custom" the value is passed to you, the seller, but not the
buyer. If you want the buyer to see their choice, then you will need to
use a different variable. The variable "item_number" could be used,
"item_number" can be almost anything as long as it doesn't exceed 127
characters. So, in the example above, substitute "item_number" for
"custom".
Here is the code that PayPal's button factory generated:
Here is the code for multiple drop down boxes. I have highlighted my changes in bold. I have also added a quantity field to make it easier for you customers. Let me know if it works for you or if you have any other questions. You should be able to cut and past this code into Notepad and then run it.
The materials displayed on the Tackleunderground Web site, including without limitation all editorial materials, informational text, photographs, illustrations, artwork and other graphic materials, and names, logos, trademarks and service marks, are the property of Jerry Goodwin Inc. or its parent companies, subsidiaries, divisions, affiliates or licensors and are protected by copyright, trademark and other intellectual property laws. You agree not to reproduce, retransmit, distribute, disseminate, sell, publish, broadcast or circulate any such material to anyone without the express prior written consent of Jerry Goodwin Inc.