WordPress Simple Paypal Shopping Cart Plugin
Categories: Featured, Wordpress Plugin
The WordPress Simple Paypal Shopping Cart is a very easy to use plugin that allows you to sell products or services online in one click from your WordPress blog.
Plugin Description
WordPress Simple PayPal Shopping Cart lets you add an ‘Add to Cart’ button anywhere on your blog. This plugin also allows you to add the shopping cart anywhere in a post or page or sidebar easily. The shopping cart shows the user what they currently have in the cart and allows them to add or remove items. The payment is processed by PayPal.
Screenshots
Simple Product Display

Product Display with Variation Control

Shopping Cart Screenshot
Below is a screenshot of how the shopping cart looks when customers add products to the cart.

Sample Shopping Cart Screenshot
Demo of the WordPress Paypal Shopping Cart Plugin
I am using the WordPress eStore (plugin to sell digital products securely) which is the premium version of the WordPress PayPal Shopping Cart plugin. So I had to disable this simple shopping cart on this blog as it may conflict with the premium version but you can visit the WordPress eStore plugin page and play with the add to cart buttons to see how this plugin works (It will give you a good idea as the “add to cart” feature of both these plugins are similar)
NextGen Gallery and WordPress Paypal Shopping Cart Integration

NextGen Gallery Integration
NextGEN Gallery developed by Alex Rabe is a full integrated Image Gallery plugin for WordPress with a Flash slideshow option. A demo shop that was created with the NextGen Gallery and Paypal Shopping Cart plugin and Instructions on how to do it can be found on the wodpress-ecomerce.com site.
Documentation & Technical Support
Installation and Usage
The following video tutorial on basic installation and usage guide is a good starting point:
Detailed WP Shopping Cart installation and usage instructions can be found on the Documentation site
Download Latest Version (v2.8.6)
Download the WordPress Paypal Shopping Cart Plugin.
Support/Donation Option
Donation option can be found on my projects page.
WP Shopping Cart Additional Documentation/Resources
You can also try the WordPress Easy Paypal Payment or Donation Accept Plugin that can be used to Accept Paypal payment for a service or a product or Donation.
If you need help with this plugin or if you are having an issue with the plugin then please post it on the Simple Shopping Cart Forum or leave a comment on the WordPress Shopping Cart Documentation Site on the post that you think is relevant to the issue and I will try to address it as soon as I can.
Tags: Paypal, paypal shopping cart, Web development, Wordpress, Wordpress Plugin, WordPress Shopping Cart









#1 by Darren (Green Change) on February 16, 2009 - 5:34 am
This is awesome! I liked your PayPal donation plugin, but this one adds the flexibility to really sell products from your site easily. It’s really nice-looking, and so easy to use.
Great job!
What’s next?
#2 by George Serradinho on February 17, 2009 - 12:54 pm
Hi and thanks for the plugin.
I will try it out as I have hundreds and hundreds of ebooks and maybe I could sell it easily.
#3 by leblebi on February 17, 2009 - 1:43 pm
woow. just what I need
#4 by Alex on February 17, 2009 - 2:26 pm
WONDERFUL plugin !!!
If you want me to translate it in French language just tell me which words I have to traduce.
How to put “your cart” on the sidebar? to show all the items (only text ) ex:googlecheckout
Do you think to add these option: return to the site?
Best,
Alex
#5 by david on February 17, 2009 - 8:30 pm
thanks for the plug in- i have a question…i am fine if i put it on my page – in the html…but when i try to put it in a table;
http://alexrabe.boelinger.com/wordpress-plugins/wp-table/
But i keep getting the [wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:end]
in text form in the table cell…….does a table disrupt the trigger somehow?
anyone have an idea for me plz?
thanks.
#6 by admin on February 17, 2009 - 8:50 pm
@David, I had a look at the wp-table plugin code and it looks like it uses a tag [table=id] to dynamically convert the tag into a table. The wordpress paypal shopping cart plugin also uses a tag to dynamically replace the tag into an ‘add to cart’ button.
Now the problem is when the page is constructed the [wp_cart] tag (used by the shopping cart plugin) isn’t present in the page as the wp-table plugin is converting the [table=id] tag into a table.
So, unfortunately you can’t use the shpping cart plugin inside the wp-table plugin. It’s fine if you want to use this plugin in a table though… you just have to create the table on the page with HTML code similar to the following example:
<table class=”wp-cart-product-table”>
<tr valign=”top”>
<th scope=”row”>Some WordPress Product</th>
<td>[wp_cart:Awesome WordPress Product:price:9.99:end]</td>
</tr>
#7 by SuperFist Funk on February 17, 2009 - 11:08 pm
Hi there – thanks for this great plugin +++
Just a little issue – if you install via wp admin – it will not show the .gif and .png…
You need to amend the url in the php file.
I hope this help.
BTW – I didn’t try to install manually so I don’t know if you’ll get the same issue.
xoxo
#8 by admin on February 17, 2009 - 11:47 pm
@SuperFist Funk, You just need to make sure that the plugin directory name is
wordpress-paypal-shopping-cart
otherwise the script won’t find the images where its looking for. After you unzip the file, the directory should have the above name, if not then make sure to rename it. Refer to the installation section for more details.
#9 by SuperFist Funk on February 18, 2009 - 12:20 am
@Admin, yes of course it is simpler to do a manual install and just copy the whole folder and/or rename it if necessary (before install).
But my the plugin was activated already – and it was more convenient to change pictures’ the path. I did rename the folder correctly first and it broke it (most likely because I didn’t de-activat it first). Anyway, in case you come across someone with this problem.
An other little thing, in post, I can only make the checkout section appear if I insert the code in HTML mode — it won’t work in “Visual mode” – is this normal?
How would you stick in on a sidebar? I tried > Widget > Text / HTML > but I could get it to work – is it supposed to work there?
#10 by admin on February 18, 2009 - 1:35 am
Thank you for pointing that out Superfist Funk.
To add the shopping cart to the sidebar simply insert the following line in your sidebar template file where you want the shopping cart to appear:
< ?php echo print_wp_shopping_cart() ?>
The “Executable PHP Widget” plugin can be used to insert any php code in your sidebar if you don’t want to modify the wordpress sidebar template file yourself. Eventually I will add the widget functionality into this plugin when I get some time.
#11 by Tony V on February 18, 2009 - 1:44 am
very nice plug in. I know this will work with my needs. Any chance you can tell me how to add the ability to collect information from the buyer? I am using wpmu and I plan on using this plugin to offer different upgrade options. It would be great if I could collect their blog name so I know which blog to upgrade after I get the payment.
any chance you will be writting a plugin to handle paypal subscriptions? if you are, can you be sure to add the option to collect information? I am sure others may have different needs so maybe this would be better to make as an option. I of course would want to collect the subscribers blog name, others may want just an email and or maybe shipping address information etc.
thanks again.
#12 by admin on February 18, 2009 - 5:14 am
@Tony, Thank you for the good suggestions… I do intend to add the paypal subscription option in the future release.
You can add a custom text field similar to the example below in the paypal form to add the ability to collect some information from the buyer:
<input type=”hidden” name=”on0″ value=”Your Site Address”>Your Site Address:
Look for the <form action=”https://www.paypal.com” in the php code and introduce the text field.
#13 by baron on February 18, 2009 - 5:40 am
hi. Thanks for plugin
perfect.
Regards
#14 by Paul Chaston on February 18, 2009 - 5:52 am
Hi this looks really great. I`ve been looking for a simple way to sell digital image downloads of my photographs on my site. Would this plug-in do that. i.e prevent access to the download dir where unwatermaked images are stored until the paypal payment has been process and then provide link(s) to the image files for customer download. I would need to restrict the number of downloads allowed and the number of days downloading links lasted to prevent the links being passed around. Will also need to send out an email with the links incase of inital problems, lost of service etc
Thanks
#15 by Alex on February 18, 2009 - 10:31 am
Hello,
Can you explain me please how can I sell items with Euro symbol because we can choose only $ or £ ?
Where I have to put this line :
under wich code line and where in sidebar.php to see the shopping cart
appear on top of my sidebar ( right side) or into horizontal navbar menu.
because I m a NEWBIE.
Best,
Alex
#16 by Alex on February 18, 2009 - 1:37 pm
Sorry ,
about :where I have to put this line:
:
under wich code line and where in sidebar.php to see the shopping cart
appear on top of my sidebar ( right side) or into horizontal navbar menu.
because I m a NEWBIE.
Best,
Alex
#17 by admin on February 18, 2009 - 7:08 pm
@Alex, To sell stuff in Euro you simply need to configure the currency in the Plugin Options Page.
Use the following settings and you are done (You can copy and paste this Euro character from here if you don’t have it on your Keyboard)
Currency: EUR
Currency Sybmol: €
To see the shopping cart appear in your sidebar… refer to the comment I posted earlier above. I am working on adding widget support to this Plugin… so soon you will be able to download a version that has built in WordPress Widget support.
#18 by Bryan on February 18, 2009 - 8:09 pm
Instead of using a Paypal email does this plug-in support the use of a Secure merchant account ID number?
#19 by Tony V on February 18, 2009 - 8:30 pm
thanks for the reply, and the work around for adding the option to collect info from the buyer.
might I point out one more feature for your consideration on the next plugin which you say will work for subscriptions.?
in my case, I would like to put different packages together that would be different prices for subscription. examples;
more space
couple plugins
remove ads
for $x amount
even more space
couple more plugings
remove ads
for $xx amount
I am thinking a shopping cart to be able to add different options. of course each option will have it’s own price so on check out, the price will depend on which options they chose, and because of the service I am offering, in this case , blogging services, the submission option is important.
Thanks for your great work, Great Plugins.
Tony V
#20 by Superfist Funk on February 19, 2009 - 12:05 am
@Admin – thanks for your help and advice. I tried what you suggested but did not succeed (inserting: ).
I also installed the plugin you recommended, and again – not much luck. I am not sure if it’s because 1) I am using the latest WP or 2) the theme is not compatible with it or 3) I don’t know what I am doing! lol (most likely)
It’s ok, I’ll wait for the next release and see it is a bit easier to achieve.
Thanks again.
#21 by Superfist Funk on February 19, 2009 - 12:15 am
Oh, one question – to make sure I know what I am talking about:
Is is possible to have say, the ‘Add to Cart’ button on various posts, offering different products…
BUT/AND
Having the shopping cart only on one dedicated page, perhaps called “Cart or what else…”?
OR – do you have to have both on the same page/posts/sidebar?
#22 by admin on February 19, 2009 - 2:03 am
@SuperFish, Yes you can have the ‘Add to Cart’ button on various posts and pages to sell multiple products. Then have the Shopping cart on a different page say for example ‘Checkout’ page. This will allow your customers to add the products to the cart from different posts and pages and then finally go to the Checkout Page (where the shopping cart is displayed) and Pay for it.
#23 by admin on February 19, 2009 - 4:14 am
Just released the version1.2 of the wordpress paypal shopping cart plugin. I have added ‘WP Paypal Shopping Cart’ widget in this version that can be used from the WordPress widgets menu.
#24 by Zura on February 19, 2009 - 5:09 am
I’ve just installed this plugin and set up my little cart. I like it! Thanks so much!
http://creativeclown.com/online-courses
#25 by admin on February 19, 2009 - 5:36 am
Cool.. your online shop on Fun Art courses looks nice.
#26 by Alex on February 19, 2009 - 12:43 pm
@admin – fantastic !!! thank you for your help and your great plugin wich you propose for free instead another commerce plugin.
Best,
Alex
#27 by ricky on February 19, 2009 - 7:44 pm
Does this work with 2.7.1 i have no clue how to set it up. if you want to look at the product page and see what i am doing wrong.. thanks
#28 by admin on February 19, 2009 - 7:59 pm
@Ricky, Yes it works with WordPress version 2.7.1
Looks like your ‘Add to cart’ button is working fine. Now you need to use the tag that shows the shopping cart to the customers so they can checkout. You can use the Widget to show the shopping cart on the sidebar or use the following tag on a post of page where you want the sopping cart to sppear
<!–show-wp-shopping-cart–>
It’s not showing properly in html but there are two dashes (- -) in the tag
Please note that you need to add the above tag in HTML view in order for it to work.
#29 by Alex on February 20, 2009 - 7:22 am
Hello,
Sorry it s me again !!! I can t remember how to use the tag” add to cart” look my example:
[wp_cart:5continents6:price:10,00: end]
Help me please,
Best,
Alex
#30 by admin on February 20, 2009 - 7:29 am
@Alex, If its 10 Euros then just use 10 instead of 10,00. Don’t use comma (,) in the price also don’t put any space after the colon (:) see example below.
[wp_cart:5continents6:price:10:end]
#31 by tom on February 20, 2009 - 12:02 pm
i can get the plugin to work as a widget in a side bar but when i use the trigger to add it to a page all i see is the trigger not the actual cart etc
#32 by Superfist Funk on February 21, 2009 - 12:56 am
@Admin – in response to the post >> February 19th, 2009 at 2:03 am.
Same problem as Tom above, I can’t get it to work on a page either.
Yes, as you understood, I’d like to have a “Checkout” page but I can’t get
the cart to show up. All I get is the trigger text (like tom).
Do you think that the problem could be a theme compatibility issue?
One question: is it possible to have more than one cart in various area,
like one in pages and on with each posts? Or is it important to only use one?
Thanks a lot.
#33 by Superfist Funk on February 21, 2009 - 2:17 am
Little amendment; I uninstalled previous version and reinstalled newer version.
I noticed something but I don’t know how to explain it, I’ll try my best.
First: Good news – I can now see the cart in pages.
The weird thing is that when I tried to put the cart trigger in pages before, i would either get the trigger code showing (if in visual mode), or “nothing” if I put the trigger in HTML mode.
At this stage, I had the cart working on a post, so i wondered if the cart didn’t like being in two different places?
I noticed that when in pages, although the cart didn’t show up (after adding a product of course), the page behaved like if the cart was “there” but invisible!
I don’t know if anyone understand what I meant? Basically, if you left the page, you’d get the message asking “are you sure you want to leave this page…”
You know, like when the cart is showing.
Further, I went back to the post which had a working cart, to see if the page would work, at this stage I assumed you could only have one cart for the whole site?
So, still nothing on the page… BUT I had an ISSUE and it needs to be remembered: Because I had added something to cart via the, and because there was no cart, it was impossible to clear… or empty the cached file?
I emptied the browser cache, I then try to re-trigger the cart from the post that worked – sadly the cart wouldn’t show up anymore ! I was quite upset, and a bit annoyed;) So, I had a little idea, I went back in time in my post and chose a version that had the cart working – and sure enough – the cart was working + showing again (on posts only).
So, I learnt to be careful, because you can mess things up easily if you are not careful.
I hope you are still with me, and if this happen to you, remember to try what I did, roll back a post, or if the worse come, re-install the plugin.
As it stands, I though i would put the trigger for the cart in a page FIRST and not in a post, et voila! for the first time i was able to see the cart in a page…
Ok, sorry if it was a long post, I hope this helped someone.
A little request for Admin:
Would it be possible to have a “go to cart” link hard coded?
I shall explain:
Say you are selling stuff on posts only, and you have your cart in a page…
One option is to do it manually every time I guess, to stick the URL to the cart…
An other option would be to have one of those lovely graphics you are using to go to the link – BUT this link would be setup in “settings”. Make sense?
Anyway, next I’ll try to style the cart, so far so good, you Rule Ruhul!
No joke intended
#34 by Superfist Funk on February 21, 2009 - 2:20 am
@Tom – try to remove all instances of the cart trigger and stick it back on a page via HTML – NOT visual. Try re-install if it doesn’t work. I had the same issue – now it’s ok.
I am not sure yet if you can have several instances of the cart, we have to wait for Admin to know for sure.
#35 by admin on February 21, 2009 - 3:00 am
Hello SuperFish, Thank you for the detailed run down of the problem and solution. I have put down the request to add a ‘go to cart’ link on my future improvements spreadsheet for this plugin.
Now to answer your question… yes you can have the shopping cart on as many pages and posts as you want .