Re: [PHP] I guess I'll give the list a shot
Look at www.oscommerce.com and its solution David McGlone wrote: Hi all, I've got a really tough question, I am building an application that allows PayPal's shopping cart to have multiple items, but also multiple prices for the same item, but a different style or size or color, and Im quite stuck on how I would get the prices of the item according to it's color or description from a dropdown and insert it into a hidden field to be inserted into the shopping cart, as far as I know I can't modify the dropdown or it will not show up in the options of the shopping cart, so I need to work around the dropdowns. Basically what Im trying to do is when lets say black is selected from the dropdown, then the price for a black shirt is grabbed from the database and inserted into a hidden field. Did I explain the right? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] I guess I'll give the list a shot
At 5/30/2003 09:47 PM, David McGlone wrote: Basically what Im trying to do is when lets say black is selected from the dropdown, then the price for a black shirt is grabbed from the database and inserted into a hidden field. If you want this to happen dynamically, as the user is on the page, then you're not doing it with PHP. However, if you can stand refreshing the page every time the user makes a change, then PHP is for you. Client-side is javascript. I'll be happy to offer some assistance with the javascript, but not on this list. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: [EMAIL PROTECTED] Web: www.healthtvchannel.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])
Just wanted to pass a little warning on to the list. I sent a reply to David McGlone ([EMAIL PROTECTED]) and my email got forwarded to an address at Bonzi.com. I'm not sure if they're using list replies to harvest email addresses or not, but I'll definitely be watching my in-box. From: TechSupport [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 02 Jun 2003 17:17:55 GMT Subject: Re: [PHP] I guess I'll give the list a shot [T2003060200WW] This is an automatic reply to acknowledge that your message has been received. PLEASE DO NOT REPLY TO THIS MESSAGE. -- Dear [EMAIL PROTECTED], Thank you for submitting your question to our Technical Support Department. We received it on 6/2/2003 at 10:17:55 AM. Your tracking number for this message is: T2003060200WW. This message and tracking number are your assurance that we have received your message and will respond to it as quickly as possible. At BONZI Software we attempt to answer all of the questions we get on a first-come, first-served basis, as quickly as possible. On occasion we receive a large volume of e-mail that prevents us from answering your message as quickly as we would like. Please be assured that we have your message and will respond to it as quickly as we can. If your question to us is of a support nature, you can visit http://www.bonzi.com/support.htm to try and find an answer to your question in our online support center. This will often be quicker than we can reply to your message by hand, so we encourage you to try it out. Sincerely, Customer Support BONZI Software HTTP://www.bonzi.com -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: [EMAIL PROTECTED] Web: www.healthtvchannel.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])
That mail came to me as well... We must get rid of them! Only one mail was painful enough... Steve Keller [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL PROTECTED] Just wanted to pass a little warning on to the list. I sent a reply to David McGlone ([EMAIL PROTECTED]) and my email got forwarded to an address at Bonzi.com. I'm not sure if they're using list replies to harvest email addresses or not, but I'll definitely be watching my in-box. From: TechSupport [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Mon, 02 Jun 2003 17:17:55 GMT Subject: Re: [PHP] I guess I'll give the list a shot [T2003060200WW] This is an automatic reply to acknowledge that your message has been received. PLEASE DO NOT REPLY TO THIS MESSAGE. -- Dear [EMAIL PROTECTED], Thank you for submitting your question to our Technical Support Department. We received it on 6/2/2003 at 10:17:55 AM. Your tracking number for this message is: T2003060200WW. This message and tracking number are your assurance that we have received your message and will respond to it as quickly as possible. At BONZI Software we attempt to answer all of the questions we get on a first-come, first-served basis, as quickly as possible. On occasion we receive a large volume of e-mail that prevents us from answering your message as quickly as we would like. Please be assured that we have your message and will respond to it as quickly as we can. If your question to us is of a support nature, you can visit http://www.bonzi.com/support.htm to try and find an answer to your question in our online support center. This will often be quicker than we can reply to your message by hand, so we encourage you to try it out. Sincerely, Customer Support BONZI Software HTTP://www.bonzi.com -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: [EMAIL PROTECTED] Web: www.healthtvchannel.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Mail Harvester Warning (was Re: [PHP] I guess I'll give the list a shot [T2003060200WW])
guys, did you find the reasons and how to get rid off it? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] I guess I'll give the list a shot
Hi all, I've got a really tough question, I am building an application that allows PayPal's shopping cart to have multiple items, but also multiple prices for the same item, but a different style or size or color, and Im quite stuck on how I would get the prices of the item according to it's color or description from a dropdown and insert it into a hidden field to be inserted into the shopping cart, as far as I know I can't modify the dropdown or it will not show up in the options of the shopping cart, so I need to work around the dropdowns. Basically what Im trying to do is when lets say black is selected from the dropdown, then the price for a black shirt is grabbed from the database and inserted into a hidden field. Did I explain the right? -- David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] I guess I'll give the list a shot
On Fri, 30 May 2003 21:47:03 -0400, you wrote: Hi all, I've got a really tough question, I am building an application that allows PayPal's shopping cart to have multiple items, but also multiple prices for the same item, but a different style or size or color, and Im quite stuck on how I would get the prices of the item according to it's color or description from a dropdown and insert it into a hidden field to be inserted into the shopping cart, as far as I know I can't modify the dropdown or it will not show up in the options of the shopping cart, so I need to work around the dropdowns. Basically what Im trying to do is when lets say black is selected from the dropdown, then the price for a black shirt is grabbed from the database and inserted into a hidden field. Exactly what data are you trying to store? Something like this? for each item_chosen (id, qty, colour, price) One approach is to put all your data in an array, serialize the array and store that as the hidden field. Another is to use sessions, and store the array in the session (probably faster). A third is to write the data out to a series of hidden fields beginning with xyz (xyz1, xyz2, xyz3, etc), and iterate over the contents of the returned form to find the xyz* fields. Of the three, sessions are the one you /should/ use - because if pricing data goes out to the client, it can be altered. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php