NameSilo

Help Please! Drop Down Box.

Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
SpaceshipSpaceship
Watch

charbar

Established Member
Impact
5
Hello All,

I hope I'm in the right forum here.

My partner and I have decided to open an online shopping site, selling a variety of different items.
This is our first venture together and having some limited knowledge, the site is nearly completed.

The problem is that the majority of these items will require a drop down box (giving up to eleven
options).
Unfortunately, we have neither the software or know how for this problem.

Any help or advice will be greatly appreciated.

P.S. Whoops, almost forgot....I need provisions to automatically deal with transaction details, since having so many options from the drop down box, prices for
the same item will vary.
Thanks Again.
 
Last edited:
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Are you refering to having multiple drop boxes that update one another when the first is changed?

Or are you refering to pulling the dropbox items from a database? If this, you need something like:

PHP:
$sql = mysql_query('SELECT * FROM `products` ORDER BY `name`') or die(mysql_error());
if (mysql_num_rows($sql) == 0) {
	redirect($path_to.'dashboard.php?a=12');
} else {
	$deBox = '<select name="pid">';
	$deBox .= '<option value="0">General Help</option>';
	while($r = mysql_fetch_array($sql)) {
		$name = stripslashes($r['name']);
		$id = $r['product_id'];
		$deBox .= '<option value="'.$id.'">'.$name.'</option>';
	}
	$deBox .= '</select>';
}
 
0
•••
charbar, if you have limited knowledge, you'd better pay someone to work with the PayPal IPN (or whatever you like.. AlertPay, MoneyBookers)

or

create static webpage for each product with Adobe Dreamweaver.
Then you process each order manually.

If you don't have a big budget, I suggest you to do them manually..
 
0
•••
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back