{"id":29,"date":"2008-11-30T19:27:35","date_gmt":"2008-11-30T18:27:35","guid":{"rendered":"http:\/\/www.withinweb.com\/info\/?p=29"},"modified":"2010-04-17T12:29:19","modified_gmt":"2010-04-17T12:29:19","slug":"using-drop-downlists-with-buttons","status":"publish","type":"post","link":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/","title":{"rendered":"Using drop downlists with buttons"},"content":{"rendered":"<p>If you are creating buy now button by hand and if you want to give customers an option when they are buying a product with <a href=\"http:\/\/www.withinweb.com\/phpeseller\/\">PHP-eSeller<\/a>, you can easily do this using a drop down list.<\/p>\n<p>An example might be :<br \/>\n<code><br \/>\n&lt;form action=\"http:\/\/www.yourservername\/eseller\/ipn\/process.php\" method=\"post\"&gt;<br \/>\n&lt;select name=\"item_number\"&gt;<br \/>\n&lt;option value=\"\"&gt;Select a product&lt;\/option&gt;<br \/>\n&lt;option value=\"item_a\"&gt;Small $1.00&lt;\/option&gt;<br \/>\n&lt;option value=\"item_b\"&gt;Medium sized file $2.00&lt;\/option&gt;<br \/>\n&lt;option value=\"item_c\"&gt;Large file $3.00&lt;\/option&gt;<br \/>\n&lt;\/select&gt;<br \/>\n&lt;input type=\"image\" src=\"https:\/\/www.paypal.com\/en_US\/i\/btn\/x-click-but23.gif\" border=\"0\" name=\"submit\" alt=\"Make payments with PayPal - it's fast, free and secure!\"&gt;<br \/>\n&lt;\/form&gt;<br \/>\n<\/code><br \/>\nYou will need to create three products with item_number of item_a, item_b and item_c.  The customer then selects which one they require and click the buy now button which takes them to PayPal.<\/code><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are creating buy now button by hand and if you want to give customers an option when they are buying a product with PHP-eSeller, you can easily do this using a drop down list. An example might be<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/\">Read more <span class=\"screen-reader-text\">Using drop downlists with buttons<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":40,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-29","post","type-post","status-publish","format-standard","hentry","category-php-eseller"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using drop downlists with buttons - PHP Web Applications<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using drop downlists with buttons - PHP Web Applications\" \/>\n<meta property=\"og:description\" content=\"If you are creating buy now button by hand and if you want to give customers an option when they are buying a product with PHP-eSeller, you can easily do this using a drop down list. An example might be&hellip;Read more Using drop downlists with buttons &#8250;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/\" \/>\n<meta property=\"og:site_name\" content=\"PHP Web Applications\" \/>\n<meta property=\"article:published_time\" content=\"2008-11-30T18:27:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-04-17T12:29:19+00:00\" \/>\n<meta name=\"author\" content=\"paulv\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"paulv\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/\"},\"author\":{\"name\":\"paulv\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"headline\":\"Using drop downlists with buttons\",\"datePublished\":\"2008-11-30T18:27:35+00:00\",\"dateModified\":\"2010-04-17T12:29:19+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/\"},\"wordCount\":82,\"commentCount\":0,\"articleSection\":[\"PHP-eSeller\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/\",\"name\":\"Using drop downlists with buttons - PHP Web Applications\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\"},\"datePublished\":\"2008-11-30T18:27:35+00:00\",\"dateModified\":\"2010-04-17T12:29:19+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/using-drop-downlists-with-buttons\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using drop downlists with buttons\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#website\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/\",\"name\":\"PHP Web Applications\",\"description\":\"Information and support for products of WithinWeb.com\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/#\\\/schema\\\/person\\\/04da5531c302d55ffcd777fe81dbb93c\",\"name\":\"paulv\",\"url\":\"https:\\\/\\\/www.withinweb.com\\\/info\\\/author\\\/paulv\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using drop downlists with buttons - PHP Web Applications","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/","og_locale":"en_US","og_type":"article","og_title":"Using drop downlists with buttons - PHP Web Applications","og_description":"If you are creating buy now button by hand and if you want to give customers an option when they are buying a product with PHP-eSeller, you can easily do this using a drop down list. An example might be&hellip;Read more Using drop downlists with buttons &#8250;","og_url":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/","og_site_name":"PHP Web Applications","article_published_time":"2008-11-30T18:27:35+00:00","article_modified_time":"2010-04-17T12:29:19+00:00","author":"paulv","twitter_card":"summary_large_image","twitter_misc":{"Written by":"paulv","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/#article","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/"},"author":{"name":"paulv","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"headline":"Using drop downlists with buttons","datePublished":"2008-11-30T18:27:35+00:00","dateModified":"2010-04-17T12:29:19+00:00","mainEntityOfPage":{"@id":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/"},"wordCount":82,"commentCount":0,"articleSection":["PHP-eSeller"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/","url":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/","name":"Using drop downlists with buttons - PHP Web Applications","isPartOf":{"@id":"https:\/\/www.withinweb.com\/info\/#website"},"datePublished":"2008-11-30T18:27:35+00:00","dateModified":"2010-04-17T12:29:19+00:00","author":{"@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c"},"breadcrumb":{"@id":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.withinweb.com\/info\/using-drop-downlists-with-buttons\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.withinweb.com\/info\/"},{"@type":"ListItem","position":2,"name":"Using drop downlists with buttons"}]},{"@type":"WebSite","@id":"https:\/\/www.withinweb.com\/info\/#website","url":"https:\/\/www.withinweb.com\/info\/","name":"PHP Web Applications","description":"Information and support for products of WithinWeb.com","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.withinweb.com\/info\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.withinweb.com\/info\/#\/schema\/person\/04da5531c302d55ffcd777fe81dbb93c","name":"paulv","url":"https:\/\/www.withinweb.com\/info\/author\/paulv\/"}]}},"_links":{"self":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/users\/40"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":5,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/29\/revisions"}],"predecessor-version":[{"id":533,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/posts\/29\/revisions\/533"}],"wp:attachment":[{"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/media?parent=29"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/categories?post=29"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withinweb.com\/info\/wp-json\/wp\/v2\/tags?post=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}