Search the web
Sign In
New User? Sign Up
ydn-php · Yahoo! PHP Developer Group (CLOSED)
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Using Curl to interact with a Yahoo Store   Message List  
Reply | Forward Message #201 of 335 |
Hi there,
Has anyone used Curl to Post to a Yahoo Store shopping cart? I have
been trying to get PHP to hand off the order info to the Yahoo
shopping cart. Thus far I have a version that will place an order, but
each time it creates a new cart and so there is always only a single
item in the cart so its not very useful. This is the code:

//$url = "yahoo store + item";
//$params = array ("'product color' => 'red' ");

curl_setopt($session,CURLOPT_URL, $url);
curl_setopt($session,CURLOPT_FOLLOWLOCATION,1);
curl_setopt($session, CURLOPT_POST, 1);
curl_setopt($session,CURLOPT_POSTFIELDS,$params);
curl_exec($session);
curl_close($session);

Is there somewhere that has more info about working with the shopping
cart? I've been looking all over Yahoo and can't find what I need.
Thanks in advance for any help.
-Dan




Fri Jul 6, 2007 1:55 am

cvarnof
Offline Offline
Send Email Send Email

Forward
Message #201 of 335 |
Expand Messages Author Sort by Date

Hi there, Has anyone used Curl to Post to a Yahoo Store shopping cart? I have been trying to get PHP to hand off the order info to the Yahoo shopping cart....
cvarnof
Offline Send Email
Jul 23, 2007
5:38 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help