Ask Dave Taylor
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube
  • Home
  • YouTube Videos
  • Top Categories
  • Subscribe via Email
  • Ask A Question
  • Meet Dave
  • Home
  • HTML & Web Page Design
  • What’s a fast way to add a shopping cart to my site?

What’s a fast way to add a shopping cart to my site?

April 17, 2005 / Dave Taylor / HTML & Web Page Design / 38 Comments

Dave, I have a few different books and audio CDs I’d like to sell and am wondering if you can recommend a quick and fast way for me to add some sort of an online store on my Web site so it’s “commerce enabled”, even a rudimentary one?

I’ve been exploring different online options since my friend James Armstrong and I created our own hosted ecommerce system almost a decade ago while running The Internet Mall. At this point, my recommendation would be for you to sign up for Paypal and use their shopping cart tool.
Paypal isn’t ideal because of both the transaction fee percentage, which is higher than what you might get from your local business bank and because if your customers have a Paypal account but want to pay for your particular items with a credit card, they can’t do so.
Nonetheless, using their tools, you could have your store online within an hour or two at most, and there’d be no monthly minimum, no maintenance fees, nothing. Just a slice of the transaction pie.
The very first step to get started is to Sign Up for a Paypal Merchant Account. (disclosure: I make a tiny commission if you click on that link and sign up rather than just going to the site directly. Thanks!)
Once you’re signed up, go to the Merchant area, then click on Shopping Cart. It’s a bit confusing, but you can specify state sales tax, different methods of calculating shipping (and remember that you should take into account postage, packaging costs, and your time), and various other bits and pieces.
When you’re done, you end up with ‘add to cart’ code that looks like this:

<form target=”paypal” method=”post”
  action=”https://www.paypal.com/cgi-bin/webscr”>
<input type=”image”
  src=”https://www.paypal.com/en_US/i/btn/x-click-but22.gif”
  border=”0″ name=”submit”
  alt=”Make payments with PayPal – it’s fast, free and secure!”>
<input type=”hidden” name=”add” value=”1″>
<input type=”hidden” name=”cmd” value=”_cart”>
<input type=”hidden” name=”business” value=”bizname”>
<input type=”hidden” name=”item_name” value=”sample item“>
<input type=”hidden” name=”item_number” value=”I123“>
<input type=”hidden” name=”amount” value=”24.99“>
<input type=”hidden” name=”no_shipping” value=”2″>
<input type=”hidden” name=”no_note” value=”1″>
<input type=”hidden” name=”currency_code” value=”USD”>
</form>

Not too bad if you’re already at least moderately familiar with HTML. Once you have the first button working the way you want, then you only need to tweak the three items show in bold above to create a new button for a new item, which means you should be able to whip out dozens of ‘add to cart’ buttons in no time (or even automate the entire process)
The only other button needed is a ‘view cart’ button, and that’s always the exact same code whereever it appears on your site:

<form target=”paypal” method=”post”
  action=”https://www.paypal.com/cgi-bin/webscr”>
<input type=”hidden” name=”cmd” value=”_cart”>
<input type=”hidden” name=”business” value=”bizname”>
<input type=”image”
src=”https://www.paypal.com/en_US/i/btn/view_cart_02.gif” border=”0″
name=”submit” alt=”Make payments with PayPal – it’s fast, free and secure!”>
<input type=”hidden” name=”display” value=”1″>
</form>

I think that’ll get you going in no time. When you do get your store online, why not come back here and give us a link so we can check it out?

About the Author: Dave Taylor has been involved with the online world since the early days of the Internet. Author of over 20 technical books, he runs the popular AskDaveTaylor.com tech help site. You can also find his gadget reviews on YouTube and chat with him on Twitter as @DaveTaylor.

Let’s Stay In Touch!

Never miss a single article, review or tutorial here on AskDaveTaylor, sign up for my fun weekly newsletter!
Name: 
Your email address:*
Please enter all required fields
Correct invalid entries
No spam, ever. Promise. Powered by FeedBlitz
Please choose a color:
Starbucks coffee cup I do have a lot to say, and questions of my own for that matter, but first I'd like to say thank you, Dave, for all your helpful information by buying you a cup of coffee!

38 comments on “What’s a fast way to add a shopping cart to my site?”

  1. Joey Smith says:
    April 13, 2012 at 1:49 pm

    I wanted to accept credit card without forwarding users to another site and I found http://www.ambercart.com
    It was really easy it integrate into my website.

    Reply
  2. Dole Tavroh says:
    February 21, 2012 at 3:09 pm

    Hello,
    Try to use EasyMyDigitalGoods( http://www.easymysoft.com ). This is a free php shopping cart script works with PayPal’s IPN. Create Buttons automatically. After payment, send an email to your customer with download link. Very easy to install.

    Reply
  3. Max SwashBuck says:
    February 4, 2012 at 4:46 pm

    http://www.ecwid.com is ok but as soon as you get to 100 products it costs currently (USD)$17/(GBP)£10.75 /(EUR)12.93 euros every month once you go over 100 product! I’ve found you get better value for an outstanding hosted ecommerce cart when using http://www.shopintegrator.com which charges just (USD)$6.67 USD/(GBP)£4.17/(EUR)5.00euros for a 100 product subscription.

    Reply
  4. mark says:
    December 22, 2011 at 2:30 pm

    I would keep your items price on the server side of processing. I could change it on you if you didn’t. Just a heads up.

    Reply
  5. Doug Brody says:
    December 4, 2011 at 8:16 pm

    what i need is an online cart without a 3rd party. we want an email generated to us (the seller) with contact info of buyer and credit card info. we process with our own payments. but looking for some FREE software that can make a good looking shopping cart in ASP that works with all browsers (explorer, safari, chrome, firefox, etc.)

    Reply
  6. Kathy says:
    November 19, 2011 at 3:13 pm

    Hi Dave,
    Thank you for providing this service, it’s so helpful!
    I started making shopping cart buttons for my services & now I would like to provide a way for customers to add a tip amount of their choice. I don’t see an obvious way to do this. Did I miss something?
    Thanks,
    K

    Reply
  7. steve says:
    November 9, 2011 at 5:42 pm

    I buy-passed a shopping cart and just use affiliate links to send the customer to the stores in question, they can handle all payment better than me

    Reply
  8. Carlos says:
    September 8, 2011 at 7:00 pm

    Check out http://www.turbo-cart.net, its still in beta mode but it will support shippable, downloadble products in the next few weeks.
    Once the site goes live i will post a coupon that will allow people to use the pro and premium account for 3 months for free!

    Reply
  9. kishan says:
    September 2, 2011 at 3:55 am

    hello buddies i got a question i have been working for like 10 days or more now …i have done all the process to build my ecommerce site for my project . now i have the cart too totally working.. the prob is how to integrate and code for the checkout button so it will be directed to order page and the details will be inserted into mysql database.any sort of help will be appreciated..and thnx in advance..

    Reply
  10. Manish says:
    August 27, 2011 at 8:51 am

    Hi my ecommere website is ready..but still i want to link my prduct buy button to paypal.so whats the next as i have opened my account with paypal. now whats the next..

    Reply
  11. chelsea says:
    August 24, 2011 at 3:13 pm

    popcart.net is not good.. yes it is free but you can only add 1 single product, if you need to add more, you have to pay $4.00 to $9.00 a month! I recommend http://www.ecwid.com very easy, and you can add unlimited items for free!

    Reply
  12. Dave Taylor says:
    July 28, 2011 at 8:43 am

    Not sure what’s different about our accounts, duskier, but I just checked on PayPal and if I click on the “Merchant Services” tab, there’s “Add to Cart” as one of the buttons I can add to my site. Do you not have a verified or merchant account?

    Reply
  13. ddskier says:
    July 27, 2011 at 10:48 pm

    I dont see these options, any more its seems paypal has made the process more automated, however I would like to get the code as you have it above so that I may customize my own buttons rather then use paypals buttons and ideas on that?

    Reply
  14. Robert says:
    June 19, 2011 at 9:31 pm

    Hell I am trying to add paypal shopping buttons to our website but when somone clicks add to cart they go to the there cart on paypal is there a way to add a checkout button so they only go there when they are finished shopping?

    Reply
  15. Chuck says:
    November 14, 2010 at 7:22 pm

    Hi,
    I own an on-line sports store. With as many as a dozen suppliers and 7,000+ potential items, I am finding it extremely difficult to get all of my suppliers items into my store’s inventory. What is the fastest way to get this done without spending anything? I don’t have much to spend on this. And is there a way to get real-time inventory from my suppliers so I don’t sell any items that aren’t in stock?
    Thanks,
    Charlie

    Reply
  16. Darlene's Rug Hooking Shop says:
    November 6, 2010 at 10:49 am

    Hi Dave, Can’t believe I found you. I so desperately did not want to go through my bank …..fees fees fees, hidden fees….to set up a shopping cart. I sent your site to my website guy. Thanks so much for sharing. If all goes well we will add pay pal through your site so you get the commission.
    Thanks so much for sharing Dave.
    Darlene

    Reply
  17. anshuman says:
    August 31, 2010 at 1:54 am

    Thanks It worked For me

    Reply
  18. Brenda Hoekstra says:
    August 4, 2010 at 12:48 pm

    My question: Can I add a ‘add to order form’ button to my items? They are on my site in a Word format as text only. It is not taken or loaded from an Excel sheet. It is currently an online catalog and the customer just emails me their order using the ‘contact us’ page. (I would probably need to modify my ‘contact us’ page to make an order form on there too.) We then confirm stock and send them an e-invoice through paypal. A little unconventional but this is a free site for a non-profit org and we would like to keep it free. Down side is that it is not searcheable and not very interactive or easy to change stuff on it, so we are considering a cart/store setup yet too. Would the cart/store thing just be a better way to go? Problem is that I don’t really feel like re-entering all the info and descriptions over again. Thanks for your input, I love you online gurus b/c I learn so much and have found most of the info very helpful for this ‘old’ lady.

    Reply
  19. Jay says:
    July 5, 2010 at 12:16 pm

    Thanks! I signed up!

    Reply
  20. Jonathan says:
    June 5, 2010 at 11:13 am

    I have to agree with Mike’s post above. After using http://www.popcart.net I will never use any other cart. PopCart is very easy to use but i really like how it is white label so it can match my site’s branding.

    Reply
  21. Ryan says:
    May 9, 2010 at 9:21 pm

    Great info, and for the most part, I agree. However, you can still pay with another method, even while signed into your Paypal account. It’s a bit tricky, but it’s possible… I’ve done it on several occasions when there wasn’t enough dough in the bank account associated with the Paypal account.

    Reply
  22. bipin sharma says:
    April 13, 2010 at 7:50 am

    hi dav..i come to the end of shoppin cart and there i want to send an email to my customer and to me as well..coorresponding to the shopping mad eby the customer ..m designing my page usin asp..plz rope me out of this..

    Reply
  23. Teabone says:
    April 6, 2010 at 2:27 pm

    how do you editing an existing paypal shopping cart that is on your site? say you want to later on modify fields on it. can this only been done within the embedded code?

    Reply
  24. Mike says:
    March 10, 2010 at 10:36 am

    I used http://www.popcart.net for my site and was impressed with how easy it was to add. You just paste some code wherever you want a “buy” button and that’s it – you’ve got your shopping cart.

    Reply
  25. larry michaels says:
    February 7, 2010 at 10:54 am

    Thanks for the article and code snippets. I am looking for something a little different, I guess. What I would like to see, is an ecommerce shopping cart with a “blog this” type of option in the backend, or a blog with an admistration back end that will allow selling of products.
    Any thoughts on something like this?

    Reply
  26. Amy & Da Barefoot Chef says:
    December 11, 2009 at 5:01 pm

    Dave,
    I have been trying to figure out the best way to add a web mall/shopping cart to our website http://www.dabarefootchef.com and your web page magically appeared before my very eyes. Please help! I don’t know a lot about HTML formatting, but am trying. Since I already have a website if I add anything to it then it needs to be put into HTML format. Whew, I need your assistance in adding a page for the web mall/ shopping cart in HTML format please. Also I would like to add pictures and descriptions of our items that will be for sale on our website.
    Thanks So Very Much In Advance!!!!
    HTML Confused,
    Amy 🙂

    Reply
  27. Iqbal Sajid says:
    July 10, 2009 at 8:04 pm

    I have two projects to make a shopping cart site. but both parties don’t want online transactions. what they need is just make a cart online. and on finish an email is generated to the seller with contact info of buyer. they’ll contact and arrange to exchange money and items on phone/email. both parties have their sites up an running. I’m not a programmer nor a developer rather I’m a system engineer. but looking for some FREE software that can make a good looking shopping cart like things for them.

    Reply
  28. YWCB says:
    April 3, 2009 at 9:48 am

    Hi David,
    Do you know someone who can help me with the process of building my first website. I purchased a package from simplesitesbigprofit but i am unable to use it because i am not getting anywhere trying to get started and not enough help. Can you please help recommend or do it for me.

    Reply
  29. Meenu says:
    January 27, 2009 at 9:45 pm

    hi guys,
    I need to integrate paypal shopping cart with my website , my question is how to add mu product images with my product details . Ia there an option to edit these images ? i tries the above way to integrate paypal to my website ? does i need a database to store these items ? Does i make changes to the products and and the generated code each ti me ? please give me a clear idea…
    Thanks in advance
    Meenu

    Reply
  30. jietjiang says:
    October 11, 2008 at 6:18 am

    Hi.dave, i want add shopping card to http://www.convertdirect.com/
    how can i do that,i meaning google shopping”_

    Reply
  31. desre says:
    July 28, 2008 at 8:06 pm

    How do you add a shipping option to the cart – I want free shipping if ordering from say USA but to pay if shipping from say Europe or Africa… I dont want to charge everyone and I just dont see how to do this. Can you help?

    Reply
  32. Ginger Newsome says:
    March 11, 2008 at 12:13 am

    Ok, I seen someones page on myspace that was selling items they made and had (add to cart) buttons and paypal logo. I currently use paypal for my customers so I’m wanting to know how I can do this to my page also along with the cart buttons. I don’t have a website yet so I’m wanting to try it this way first. Can I do this and how? Thank you in advance for all your help:)

    Reply
  33. Alex says:
    February 11, 2008 at 6:59 pm

    I need to know how to edit the shipping amounts on the pay pal add to cart . the editing i need to do is the shopping cart let me use a % for shipping or a flat rate but what i need is to allow customers to add the amount of shipping i tell them because my supplier has way to many different shipping zones in the usa and a flat rate or % depending on the amount of your purchase so again need to know how to edit the hmtl code it the add to cart button to allow costumers to add shipping cost manually ..

    Reply
  34. Jim Arias says:
    December 2, 2007 at 10:42 pm

    One easy way to add paypal shopping cart onto your website is to use 3d party shopping cart software, that automatically generates add to cart buttons based on your product entries in the database. Because shopping carts, like this one http://www.ShoppingCart.org automatically updates your online Paypal store every time you update your database, you have to do very minimal maintenance.
    Regards,
    Jim

    Reply
  35. asim says:
    July 21, 2007 at 8:43 am

    I do not want to write separate button codes for each item,I want to customize a single button so that to give item_name and item_code values from Database.

    Reply
  36. Steven Burgess says:
    January 27, 2007 at 8:33 am

    Ola Dave,
    thank you for your instructions on how to set-up Paypal on myspace account. I’m trying to set-up a store to sell, and this info was key to sell relaxation music and soaking music for http://www.aquadio.com on http://www.myspace.com/aquadiosteven
    -steven

    Reply
  37. Dave Taylor says:
    April 20, 2005 at 8:20 pm

    “Just a general comment. PayPal no longer requires that a user have a PayPal account before they can make a payment credit card or other wise.”
    Actually, here’s where that becomes a problem: if you already have a Paypal account associated with your email address and you want to pay for something through Paypal via credit card, you need to either use a different email address or you’ll find that Paypal complains that you already have an account and need to sign in. Sign in, and you can no longer specify that the specific transaction should occur via credit card, it instead just automatically goes against your existing Paypal balance.

    Reply
  38. Frank Woodman Jr says:
    April 20, 2005 at 8:13 am

    Dave,
    Just a general comment. PayPal no longer requires that a user have a PayPal account before they can make a payment credit card or other wise.
    I agree with you on recommend PayPal just because it is so easy.
    Also if your going to set up your own shopping cart and merchant payment option then you have the added problem of security. The cost of a even a shared certifite to make a transaction safe is really a hidden cost to use your own merchant account. By using PayPal you solve that problems as well. Also the minimum charges of most merchant accounts can add up fast.
    Good luck with that on line site.
    Frank
    PS Great job Dave enjoy your info and help greatly.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

Recent Posts

  • How Can I Stop Sharing my Xfinity Internet Connection via xfinitywifi?
  • Guide to Identifying and Blocking Off-Facebook Data Tracking
  • How Can I Share My Netflix Account With My Friend? [Updated for 2023]
  • How to Check Energy Recommendations on your Windows Laptop
  • How Do I Customize New Tab Windows in Safari for Mac?

On Our YouTube Channel

Audeze FILTER Bluetooth Conference Speakerphone -- DEMO & REVIEW

How to: Replace a Switchbot Door Sensor Battery

Categories

  • AdSense, AdWords, and PPC Help (106)
  • Amazon, eBay, and Online Shopping Help (163)
  • Android Help (226)
  • Apple iPad Help (147)
  • Apple Watch Help (53)
  • Articles, Tutorials, and Reviews (346)
  • Auto Tech Help (15)
  • Business Advice (200)
  • ChromeOS Help (31)
  • Computer & Internet Basics (780)
  • d) None of the Above (166)
  • Facebook Help (384)
  • Google, Chrome & Gmail Help (188)
  • HTML & Web Page Design (247)
  • Instagram Help (49)
  • iPhone & iOS Help (623)
  • iPod & MP3 Player Help (173)
  • Kindle & Nook Help (99)
  • LinkedIn Help (88)
  • Linux Help (173)
  • Linux Shell Script Programming (89)
  • Mac & MacOS Help (911)
  • Most Popular (16)
  • Outlook & Office 365 Help (33)
  • PayPal Help (68)
  • Pinterest Help (54)
  • Reddit Help (19)
  • SEO & Marketing (82)
  • Spam, Scams & Security (95)
  • Trade Show News & Updates (23)
  • Twitter Help (220)
  • Video Game Tips (66)
  • Web Site Traffic Tips (62)
  • Windows PC Help (947)
  • Wordpress Help (206)
  • Writing and Publishing (72)
  • YouTube Help (47)
  • YouTube Video Reviews (159)
  • Zoom, Skype & Video Chat Help (62)

Archives

Social Connections:

Ask Dave Taylor


Follow Me on Pinterest
Follow me on Twitter
Follow me on LinkedIn
Follow me on Instagram


AskDaveTaylor on Facebook



microsoft insider mvp


This web site is for the purpose of disseminating information for educational purposes, free of charge, for the benefit of all visitors. We take great care to provide quality information. However, we do not guarantee, and accept no legal liability whatsoever arising from or connected to, the accuracy, reliability, currency or completeness of any material contained on this site or on any linked site. Further, please note that by submitting a question or comment you're agreeing to our terms of service, which are: you relinquish any subsequent rights of ownership to your material by submitting it on this site. Our lawyer says "Thanks for your cooperation."
© 2023 by Dave Taylor. "Ask Dave Taylor®" is a registered trademark of Intuitive Systems, LLC.
Privacy Policy - Terms and Conditions - Accessibility Policy