View Full Version : Adding Shopping Carts
bmbbonz
03-28-2007, 05:19 PM
Does anyone know how to add a "Shopping Cart" feature to a flash web site?
And, is PayPal necessarily the best “Shopping Cart” program for a Flash web site or are there better one's out there?
mikenificent
03-28-2007, 05:56 PM
I've done Paypal buttons in the past, not sure how to create your own shopping cart, its simple just to add PayPal buttons for Buy Now, Add To Cart and View Cart.
bmbbonz
03-28-2007, 10:40 PM
How do you apply the Buy Now, Add to Cart, or View Cart Buttons?
mikenificent
03-28-2007, 10:50 PM
Create a button in flash make it a movieclip, on the movieclip press F9 to type this in your actions for that movieclip
Add To Cart:
on(release) {
getURL("https://www.paypal.com/cart/add=1&business=YOUREMAILADDRESS&item_name=NAMEOFITEM&item_number=01&amount=10.00&shipping=0.00&shipping2=0.00&handling=0.00&return=http://www.paypal.com&cancel_return=http://www.paypal.com", _paypal);
}
View Cart:
on(release) {
getURL ("https://www.paypal.com/cart/display=1&business=YOUREMAILADDRESS");
}
bmbbonz
03-28-2007, 11:47 PM
Thank You...i'll give it a try.
bmbbonz
03-29-2007, 04:18 AM
Here's a two part add on to my first question...
1- Along with "Shopping Cart" I also need them to choose, for instance, a color to go with of coffee mug. How do i incorporate a drop down list into the the "Shopping Cart" option.
2- The ActionScript code that you gave me was good, however, I need the amount to be in Canadian Dollars not American, how do I change that?
Thanks...
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.