WP Shopping Cart Installation
- Unzip and Upload the folder “wordpress-paypal-shopping-cart” to the “/wp-content/plugins/” directory.
- Activate the plugin through the “Plugins” menu in WordPress.
- Go to Settings and configure the options (eg. your paypal email, Shopping Cart name, Return URL etc.)
- Use the shortcode to add a product to a post or page where you want it to appear.
WP Shopping Cart Basic Usage
Step 1: To add the ‘Add to Cart’ button simply insert the following shortcode to a post or page next to the product description:
[wp_cart_button name="PRODUCT-NAME" price="PRODUCT-PRICE"]
Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price.
Here is an example usage of the shortcode:
[wp_cart_button name="Test Product" price="19.95"]
Step 2: To add the shopping cart to a post or page, insert the following shortcode to a post or page.
[show_wp_shopping_cart]
Using the Buttons and Cart From a template file
If you want to add a purchase button in your theme’s template file then do the following:
1. To add the ‘Add to Cart’ button from template (.php) files use the following function:
<?php echo print_wp_cart_button_for_product('PRODUCT-NAME', PRODUCT-PRICE); ?>
Replace PRODUCT-NAME and PRODUCT-PRICE with the actual name and price. Example:
<?php echo print_wp_cart_button_for_product('wordpress', 7.50); ?>
2. To add the shopping cart to the sidebar, simply use the widget from the widgets menu or add the following line to your sidebar template file where you want the shopping cart to appear.
<?php echo print_wp_shopping_cart() ?>
Display a Product Box
Read the following documentation that explains how you can use a shortcode to display a nice product box for your product(s):
Example Post/Page Editor Content with Shortcode
The following is a screenshot of the WordPress post/page editor showing how the ‘add to cart’ button and the shopping cart is inserted into a post or page.
Using a Compact Shopping Cart
Use the following shortcode where you want to show the compact shopping cart:
[wp_compact_cart]
You can add this shortcode in a standard text widget to add the compact cart to the sidebar.
Always Show the Shopping Cart
The standard “show_wp_shopping_cart” shortcode only shows the cart when there are items in the cart. So it shows the cart when the visitor has clicked on an add to cart button and added item(s) to the cart. When the cart is empty, it simply hides the cart (nothing is shown).
If you want to show the cart all the time then use the following shortcode instead. It will show an empty cart message when there is nothing in the cart.
[always_show_wp_shopping_cart]
Using Shipping Option
1. To use shipping cost use the “shipping” argument in the shortcode. Here is an example usage:
[wp_cart_button name="Test Product" price="19.95" shipping="4.99"]
or use the following php function from your wordpress template files
<?php echo print_wp_cart_button_for_product('product name',price,shipping cost); ?>
Please see the How shipping Calculation Works post for more info.
Using Variation Control Option
Variation Control can be used to create products similar to the following screenshot:
1. To use variation control for your product use the variation argument like the following:
[wp_cart_button name="Test Product" price="25.95" var1="VARIATION-NAME|VARIATION1|VARIATION2|VARIATION3"]
Here is an example usage:
[wp_cart_button name="Test Product" price="29.95" var1="Size|small|medium|large"]
2. To use a 2nd or 3rd variation use the following:
[wp_cart_button name="Test Product" price="29.95" var1="Size|small|medium|large" var2="Color|red|green|blue"]
[wp_cart_button name="Test Product" price="29.95" var1="Size|small|medium|large" var2="Color|red|green|blue" var3="Sleeve|short|full"]
Specifying an Item Number or SKU
You can use the “item_number” parameter in the “add to cart” button shortcode to specify an “Item Number” or “SKU” for a product. This “item number” value will get sent to PayPal (when a customer does the checkout).
Below is an example shortcode:
[wp_cart_button name="Test Product" price="19.95" item_number="SKU12345"]
Selling Digital Media Files
See the media file selling usage documentation.
Use an User Interface to Insert the Shortcodes
The plugin has a shortcode inserter that you can use to add the shortcodes to your WordPress posts/pages.
Feel free to leave a comment below if you are having any difficulties.
Visit the WordPress Shopping Cart Plugin Page.
Note: We provide technical support for our premium plugins via our customer only support forum
@Julie, Yes the cart plugin works on a WordPress multi-site install also.
I am currently using your simple shopping cart plugin on a website, which recently had to be converted to a multi-site. Now, I need to use the plugin on the multi-site. Is it a viable option?
@Amit, when someone orders a product from you, it will go in the cart orders menu. Make sure your have PayPal IPN enabled in your PayPal account.
Hi,
Great Plugin. I have it all working fine. The only problem is I cannot see who ordered what from the cart ?
How to see those any ideas ?
Thanks,
Everything is working great, at our new little shabby chic dog boutique store: http://www.shabbychicdog.com thanks much and I subscribed to keep up with your tips.
I do like the extra features of the premium plugin and may upgrade once we start selling some stuff. This was so easy I’m going to put it on a couple of my other sites to market a few things.
Thank you guys for the help! It was a PHP session issue. So instead of a bunch of coding that I have no idea about. I called my hosting (Ipage) and they reset/turned on the PHP session on the hosting. and that shopping cart now works.
I’ll advise anyone with this issue to just call your hosting company.
The following function should do the job to calculate the number of items in the shopping cart:
Hi,
First off – great little plugin. A nice solution for people who want to sell a few sideline items through their site.
I’m customising this a little to have a hideable basket. Have you got any idea how I can print the total number of items currently in the basket? So instead of just displaying Your Shopping Basket, it displays Your Shopping Basket (NUMBER_OF_ITEMS_HERE).
Thanks for your assistance.
Cheers
Dave H
@Jone, You can only have up to 2 variations with the simple shopping cart.
How many variations can you add? When I add a variation 3 & 4 it displays incorrectly within one of the first 2 variations
Many thanks
Hi there, i just needed to drop you a line to say that i thoroughly enjoyed this detailed post of yours, I have subscribed to your RSS feeds and have skimmed a few of your posts before but this one really stood out for me. I know that I am just a stranger to you but I figured you might appreciate the admiration Take care and keep blogging.
@Reg, The following forum post will explain how to do this: http://www.tipsandtricks-hq.com/forum/topic/shopping-cart-hide-quantity
IS there a way to remove the “quantity field.” I offer one of a kind products so people can’t ask for more than one of a product. If that field is there they can fill in say quantity 3 but I can’t fulfill that order. Just wondering if I can remove it all together. Thanks!!
WONDERFUL! EXCELLENT! We put our new paypal page up here: http://redcreekwildlifecenter.com/?p=219
It works GREAT! Thank You.
@Peter, you can specify the currency in the settings of the plugin. Our plugins can support any currency that is supported by PayPal.
You can see the PayPal supported currencies here:
https://www.paypal.com/cgi-bin/webscr?cmd=p/sell/mc/mc_intro-outside
I have an Australian website. Will the product price with paypal etc be in US or Australian dollars? How do I ensure it will be Australian dollars.
Hi Jason, This sounds like a PHP session issue. Please see the following forum post as it will explain more about the PHP session issue and how to fix this:
http://www.tipsandtricks-hq.com/forum/topic/php-session-not-working-correctly
Hey there,
I’m having some troubles with your plugin. I’ve read I cant add the quantities before the checkout. But I’m having issues when I add something to the cart. It shows 1 in the cart. Then if you manually change the number to say 4, it asks you to hit enter to update the cart. If you hit enter, it refreshes the page and you lose whats in your cart.
What am I doing wrong?
Ok, so I got the cart working, looks great.
Hi Ted, The following forum post will explain why this is happening and how to fix the issue you are having with access permission.
http://www.tipsandtricks-hq.com/forum/topic/you-do-not-have-sufficient-permissions-to-access-this-page-error
Let me know how it goes.
I uploaded the file and activated it but when I try to access the settings I get an error that says “You do not have sufficient permission to access this page”. Please help.
Ted
Hi Jackie, The Variation name gets passed to PayPal. Whatever you make the name of your variation this information will be passed to PayPal at checkout time. Please note PayPal does have a limitation on the characters that can be passed (320 this includes the name of the product and the variation).
I am using the multiple variation option, which is working fine. But what I am trying to do is link the “variation” title to a page which gives a description of the variations. The links to the page work and the drop down menus are fine, but for some reason it is adding additional text from the code after the “Add to cart” button.
The code I am using is:
[wp_cart:Me to You – Someone Special:price:29.95:var1[Ribbon|None|Happy Birthday – Red|Happy Birthday – Purple|Happy Birthday – Black|Birthday Girl|Birthday Boy|Red|Burgundy|Hot Pink|Purple|Lilac|Blue|Green|Grey|Black]:var2[Gift Wrapping|None|Red|Burgundy|Hot Pink|Baby Pink|Purple|Royal Blue|Light Blue|Baby Blue|Green|Cream / Off-white|Happy Birthday – Gold|Happy Birthday – Purple]:end]
Any thoughts/ideas?
Hi George, The following forum post will explain more about this:
http://www.tipsandtricks-hq.com/forum/topic/buyers-can-pay-using-a-credit-card-or-their-paypal-account#post-5720
when people click on the check out with paypal button – is it possible to send them to a version of the paypal page that accepts credit cards as well as paypal – ie; they dont need a paypal account to check out?
thanks
George
Hi Javalin, The following forum post will explain more about this warning and how to fix it:
http://www.tipsandtricks-hq.com/forum/topic/the-plugin-generated-xxxx-characters-of-unexpected-output
When I activated the plug in I got the following error msg:
The plugin generated 918 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
@Sisi, You simply put your PayPal email in the field called “Paypal Email Address” in the settings of the plugin.
how do you connect this to your own paypal, so that when people purchase things it goes straight into your paypal account?
Hi, You can add the button shortcode anywhere you would like.
Please see the following video tutorial:
http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768
Hi,
I downloaded the simple plugin, but I am wondering if I can add a button for every media image? I know you can use NextGen for a gallery, but I have already uploaded my images using the media on WordPress. Any suggestions?
Hi I found your blog on google and enjoyed reading it .I’ve bookmarked your site and will be back
awesome layout and excellent article.many thanks this is fantastic details
Oh I see. 🙂
Not quite what I was looking for but that should work.
Thanks for all your support admin team.
Chung.
All you need to do is place a simple HTML link with the anchor text “View Cart” or “Checkout” which points to your checkout page (embed the full shopping cart on this page). Now, when your customers click on this link they will be able to go to the checkout page and continue the checkout.
Hi Ivy,
Thanks for the speedy reply.
The site is currently in its design phase and is running on my local host through XAMP.
I basically need a trimmed down version of the Simple PayPal widget on my header, which only shows the total items, subtotal and checkout button.
I found this code in one of your forums:
<?php foreach ($_SESSION['simpleCart'] as $item)
{
$sub_total += $item['price'] * $item['quantity'];
$total_items += $item['quantity'];
}
echo "Shopping Cart: “;
echo “Total Items: “.$total_items;
echo “Sub Total: £”.$sub_total;
?>
Which is exactly what I needed. I wrapped this in a on my header and all I need now is to add the checkout button/link so customers can checkout from anywhere on the site, if they have navigated away from a product page.
Once again, your help is much appreciated.
Many Thanks.
Chung.
Hi Chung, Can you please send me a link to your site so I can take a look at what you are trying to do?
Cheers,
Ivy
Hi Neil, You can have a maximum of 3 variations for both the Simple Shopping Cart and the eStore.
Cheers,
Ivy
I noticed in example you have 3 variations, can I put up to 6 variations or is the maximum 3.
Hi Admin,
Great Plugin, and many thanks for providing it for free.
I have found a way to only show the total quantity and price in my header by digging through your forums; however i’m stuck on how to add thepaypal button to it as well.
Is there a short code that I can use to add the paypal button anywhere on my page/s.
I just need a quick way for customers to checkout, when they are away from the products page, but find that adding the widget to my sidebar requires to much space.
Any suggestions would be most appreciated.
Thanks.
At the moment only the eStore has the option to add a 3rd variation.
Hey – Great plugin! I love it! I was wondering if you could coach me through adding a third variation option though. I need three components to my product.
Thanks.
The simple shopping cart do not have any role in creating or placing the thumbnails. You just have to look at your CSS and put margin to so they are not too close to each other.
everything works …. except, the thumbnails are too close to each other.
where did i mess up in the process?
any help would be appreciated.
here’s my link: http://antcreations.terraceadventist.org/prints-for-sale/
Hi Mary, Can you please send me a link to this issue so I can take a look at it?
Cheers,
Ivy
Hi, I’m really new to this, but I have installed the WP simple shopping cart on a draft page for my site,and have a problem with one thing,so far…
I’ve put the shopping cart on the sidebar, and made one item entry on my order page, complete with the add to cart button. The problem is that I can’t change the quantity in the shopping cart..it shows 1 and if I try to change it to 2 or more, it empties the cart. I need to be able to order up to 10 and have the amount and shipping change accordingly. What step have I missed here?
ie: 1 10 lb bag,shipping $1; 2 l0lb bags, shipping $2; 3 10lb bags,shipping $3.. etc
thanks for any help you can provide!
Hi Dene, simple paypal shopping cart doesn’t have this option. The only close thing you can do is a per product special instruction option with WP eStore (this page has a demo product showing how it works)
http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-plugin-demo-175
Hi Ivy
I’m trying to use the simple paypal cart with Nextgen gallery at: http://www.pitterplatters.com/the-ornament-collection/flat/
I would like to pass a field to paypal for personalization. I don’t want the buyer to actually personalize the product on my site – I want them to enter the personalization text at checkout. I just want to pass a variable to paypay to say ask for personalization.
I don’t want to use the paypal instructions for merchant field as it seems to be 1 instruction line for the entire cart. I want to force the personalization line for each item selected.
Worst case, I would ask for the personalization when the item is in my basket but I don’t want to prompt the user for it before they add the item to the cart.
Is there a way to do that with either of your products?
I hope my question makes sense. If not, please let me know.
Thanks.
Dene
Hi Alexa, this feature is only available in the eStore plugin. You can find out more about the eStore here; http://www.tipsandtricks-hq.com/ecommerce/wp-estore-documentation
Let me know if you need anything else.
Cheers,
Ivy
Is there any way to add a text field next to the item (not on the checkout page)?
Hi David, This usually has to do with the Css of the theme you are using. The following forum post will explain more about this: http://www.tipsandtricks-hq.com/forum/topic/add-to-cart-button-not-display-correctly
Let me know how it goes.
Cheers,
Ivy
problems with cart graphics being the wrong size.
Hi I have a test domain at http://videofusion.tv and I’m having problems with the graphics in the cart being the wrong size.
I wonder if you could suggest anything.
Many thanks
David
Hi Andrew, Right now this feature is only available in the eStore plugin.
Cheers,
Ivy
Is it possible to have a user input field, where a customer can input text that would show up on the Paypal statement. I sell stickers and for some items I need the customer to tell me what the sticker will say.
Hi James, In the setting page of the plugin the first field is “Paypal Email Address” You will need to put your Paypal email address in here. This is how the plugin knows where to send the money.
Cheers,
Ivy
Ready to go live. One question. How does the PayPal payment get to me? I don’t see where I show where to send the money?
Thanks.
Hi Lisa, Can you please send us a link to your site so we can take a look at it and troubleshoot this problem?
Cheers,
Ivy
P.S. Use PayPal Profile Based Shipping is NOT selected but the shipping rate still does not go to the Paypal cart.
Please advise.
Thank you
Lisa
I am using the flat rate shipping cost. The shipping rate shows up in the cart on the website, however when it gets to Paypal, no shipping cost shows up in the Paypal cart. Please advise.
Thank you kindly.
Lisa
Hi Ice Bear and Jeff, Unfortunately this feature is only available in the eStore plugin. With the simple shopping cart we have tired to keep it lightweight an very easy to use.
Cheers,
Ivy
Hy,
can i put then max. things to sell into the Code ?
Each i have 5 peaces to sell, so that not more can sold ?
mfg
IceBEar
Great plugin. I have it integrated with NextGen Gallery. However, I do have a question. The site that I’m creating is for an artist. She only has one of each item. Is there any mechanism to mark an item as sold after a single purchase? Thanks.
Hi KeDeUs, This sounds like a problem with your PHP session. Here are a few forum post that may help you with this issue.
http://www.tipsandtricks-hq.com/forum/topic/only-buy-one-item#post-264
http://www.tipsandtricks-hq.com/forum/topic/shopping-cart-empty/page/2
Cheers,
Ivy
Hi
I am having a few problems. I made a page with 3 tshirt designs i want to sell. Everything seemed ok so far. I can select a tshirt and add it to the cart but if I change the quantity it just refreshes the page and the cart goes away.
The second problem is that if i want to make another selection (get another shirt) it refreshes again and the first shirt no longer shows up in the cart.
I am unable to provide you with a link to my page right now because my user would start trying to buy shirts if i publish it.
Any help would be appreciated. Been looking and reading but cant seem to find an answer to my problems.
Bookmarked!!!
Thanks for the complete explanation..
Thanks so much for the plug-in. I got it working in no time. I wanted to pass along some code to some fellow users that may be helpful.
Let’s say you hard coded the Add to Cart code on your template file and need to change the price for individual products on individual pages or posts. You can do so by using a WordPress Custom Field. The following example works the the custom field of “price”.
&alt;?php $price = get_post_meta( $post->ID, ‘price’, true ); ?>
^^^Above the loop in the template
&alt;?php echo print_wp_cart_button_for_product($name, $price); ?>
^^^In your template
I hope this can help someone and I’d love to hear Ruhul’s input.
Thanks so much for the plug-in. I got it working in no time. I wanted to pass along some code to some fellow users that may be helpful.
Let’s say you hard coded the Add to Cart code on your template file and need to change the price for individual products on individual pages or posts. You can do so by using a WordPress Custom Field. The following example works the the custom field of “price”.
ID, ‘price’, true ); ?>
^^^Above the loop in the template
^^^In your template
I hope this can help someone and I’d love to hear Ruhul’s input.
Follow-up on the “Visit The Shop” suggestion. I did find a better work around than editing the wp_shopping_cart.php. I simply put the link into the “Text to show when Cart empty” setting:
Visit Member Services
It works fine, but breaks the settings page display of that field, probably because of the unexpected HTML.
Thanks again for a great plugin!
Nice plugin! I’m working with a non-profit organization and they would like to change the “Visit The Shop” link in the sidebar widget to “Visit Member Services”. I’ve changed the code in wp_shopping_cart.php and things work fine. However, it would be nice if you could make this an item in the Settings panel.
Hi Mark, glad to hear you like the WP eStore plugin… I have added your comment to the following page:
http://www.tipsandtricks-hq.com/ecommerce/?p=154
I just downloaded this and within 5 minutes, I was up and running. I had been using Quick Shop in a site with about 4,000 hard-goods products. But when I switched to WP 2.91, it didn’t work anymore and the developer’s web page says that they will get around to updating when they get time!??! Reviewed eight other shopping cart apps before I found this one.
I’ve looked at all of your product pages and reviewed the requests for support comments. You are amazingly supportive. In all cases you answer quickly and in easy to understand language.
I also purchased the WP e-store app because I have another site I am developing with digital products. I have no doubt that will be just as easy.
Thank you but I have to go. I need to change the trigger text to wp_store in another 3,999 products.
I will look into it.
Just downloaded eStore and am excited about getting started!
Going to see if I can work out selling Gift Certificates as a digital download.
One of the hottest trends is Gift Cards. Just wondering if the Coupon/Discounts could be configured as a Gift Card that can be redeemed online?
For instance:
Individual (coupon) codes for each Gift Card that would allow the holder to purchase FREE for the amount of the card and charge for any amount over?
That would be fantastic!
This is very specific to your theme’s CSS. this happens when some theme specifies the size of input field which it shouldn’t do. You can check the following URL to get some idea as to how you can override this CSS
http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-troubleshooting-218
Hi
Just installed this but my view cart feature blows up on me.
If you go to the site and add a product to the cart…the items in the cart become huge and unreadable. They also spill over into the rest of the site. I’m guessing this is a CSS problem but couldn’t find any documentation on it.
anyone have ideas?
thanks
You can use any size image… the plugin will automatically resize it to 125×125 pixel.
I don’t know where else to ask this, and I’ve searched for the answer to no avail, what size should the thumbnails be?
@DS, this is not possible without some code modification. You can use the shipping field to specify your “fee” and change the logic so it calculates based on the percentage.
Hello. Let me start by saying that this is a great plug-in. It was super easy to set up and get going.
I have one two-part question:
1) Is there a way to add a ‘Convenience’ or ‘Paypal’ fee that will automatically calculate based on the total price?
Say a purchase of $100 is made. So in the shopping cart it would show the product purchased: $100; then an added convenience fee (where shipping is listed) of $3 showing a total of $103?
2) Following the same idea as above, but instead of calculating a percentage of the total price, adds a flat rate convenience fee?
So if the flat rate convenience fee is $5, and the total product purchase price is $100, then it’ll show:
product: $100
fee: $5
total: $105
Thanks very much!
Nevermind!! I solved it. Was missing the footer function. Duh!
I’m working on a site for a client, and your plugin has been a lifesaver. But I can’t seem to figure out why my product variation are not being passed to paypal. They’re showing up in the dropdown, but when I add to card, nothing.
The page in question is: http://www.brownbagbotanicals.com/products/sugar-whip-body-scrub/
And the code I’m using is
[wp_cart:Sugar Whip:price:19:var1[Select Aroma|Chocolate Decadence|Ambrosia|Cucumber Honey]:end]
Hi Catherine, just checked your site and looks like the cart is appearing fine (I am guessing you figured it out yourself)
QUOTE:
“@migf1, I didn’t make the 3-4 hour window so couldn’t see it on your site.”
I’m sorry for the late response, but I got the damn flu and I wasn’t able to cope with the site. Anyway, you can check again now at: http://migf1.hopto.org/wp_test/?page_id=198 for the next 3-4 hours. If you miss it again, I’ll open it again later from a different PC (i’ll keep you posted).
Thanks in advance!
I posted this question on a different discussion as well. I have installed the plug in as per the Photocrati instructions. Buttons are good, everything good except the shopping cart does not appear. The page is blank with nothing at all on it. What am I missing?
Hi Jared, if you look at the shortcode references you will see that it has PHP function references too. the following will display the cart only if there are items in the shopping cart:
<?php echo eStore_shopping_cart(); ?>
Oops sorry about that! I just found the line that needed to go into my footer.
Thanks for the great plugin!
-Daniel
Hello,
I’m having trouble with the variables. They aren’t showing up in brackets like in the example.
Thanks very much!
-Daniel
I’ve purchased and installed the eStore plugin now. Since I’m placing the Shopping Cart as a widget in my sidebar instead of by code into a template file, how can I make the Cart only display if there are items? In the Simple version, it was as simple as adding a line of code to the php file in the print_shopping_cart function. Can I do the same here? What would be the code, and which file? It’d be nice if this were an option on the Settings page as well – maybe I’m overlooking it?
Hi Jared, you can use this plugin for donation (http://www.tipsandtricks-hq.com/wordpress-paypal-donation-plugin-942)
No, products are not tied to a box.. it’s just some additional options that you get in the eStore if you want to use it.
yes, the WP eStore shortcodes page has the references you need
http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460
Hey. On the verge of purchasing the eStore after using the Simple version some. A few questions first:
1. It’s not mentioned anywhere on your site, but does your eStore plugin also support PayPal’s donation service? I’d like to be able to add Donate buttons to my site.
2. Also, in the eStore version, are the buttons tied to a product in a box like in all of the examples on your site here, or are they merely buttons, just like in the Simple version? I ask because I have a photo gallery and have no need for the boxes with the product thumbnail but rather only need an Add to Cart button that will add the photo it’s next to to the shopping cart.
3. Can the eStore version also be made to only display the shopping cart when it has items in it, and otherwise hide it?
Thanks!
@migf1, I didn’t make the 3-4 hour window so couldn’t see it on your site.
Any news about the product link problem?
Thank you for the quick response!
I’m downloading version 2.5 now, thanks! (that’s great news)
For the links in the cart, unfortunately they do not work the way you described. They point to the current page (they do not point to the page the product was added from).
For the next 3-4 hours you can check the problem in the following testing url: http://migf1.selfip.com/wp_test/?page_id=198
Add a product from the list in that page, and then check the cart by selecting the “cart/euro” icon from the top of the page… product links do NOT point back to the previous page… the same happens regardless the way I implement the Cart (widget and/or trigger code).
Thanks!
@migf1, the cart displays the link to the page where the product was added from cause you can have the same product displayed on different pages. This way it will go to the one where you added it from.
Please download v2.5 from the plugins page for UTF8 support (http://www.tipsandtricks-hq.com/wordpress-simple-paypal-shopping-cart-plugin-768)
Hello and thanks for this wonderful little gem!
It has been asked before, twice, but was not answered. I hope we get more lucky this time 🙂
When products are inserted into the cart, the links of their names do not point to the page containing the product (as they are supposed to). They point to whatever the current page is instead.
It happens both when the cart is shown via the widget on a sidebar and when it is shown via the trigger-code in any post or page.
I’m using the NextGEN Gallery integration method to add products inside the cart.
As a side note, is there any chance we get UTF8 support in a future version? Right now, when I use Greek text inside the trigger-code the products are shown up with weird characters inside the cart (plus they cannot be removed).
Thanks in advance for any help!
PS: WP 2.8.6, WP Simple Paypal Shopping Cart 2.4, NextGEN Gallery 1.4.3
Hey sorry to spam your comments. After reading for a while longer, I figured out the answer to 1) from your Additional Resources; and to 2) from a previous comment. Sorry about that! A quick note though, on your Additional Resources page, where it describes the code to insert in the show_wp_paypal_shopping_cart_widget function, since I’m no programmer, I didn’t know that I had to put that inside of the {, so I was placing it directly at the top of the function and kept inducing fatal errors in my script. Took me a number of minutes to figure it out. Just a note. Thanks again for everything! No need to answer my questions 🙂
Hey there,
Thank you so much for your work. I’m may go with the eStore, but for now I’m testing out the Simple version. Three quick questions: 1) Can you tell me how, if there’s nothing in the shopping cart, in fact to display nothing at all (in other words, to show neither “Shopping Cart” nor “Your cart is empty” — reason for this: my sidebar is on the bottom of my WP page and the space encompassing the widgets will only expand based on the height of any input, so if there’s nothing there, it’ll be as though no widgets, and if someone adds to the cart, it’ll open up – cool effect)?; 2) Is there a way in the Simple version to have the variations affect the price, such as various print sizes of photographs costing different amounts and showing up as such in the tally?
Thanks so much!
Yes it works,
i was trying to copy/paste from the examples above,if wish some wehere it referred to readme file.i spent more than 30min.thank you for your support.
show-wp-shopping_cart
@Megan, it is not possible to specify the quantity field in the variation section.
@aghper, please double check the trigger text you are using show the shopping cart (it is easy to make a mistake). Copy the text from the readme.txt file that comes with this plugin and paste it in the HTML view and it will work (if you go through the comment section then you will see how many people had the similar issue all because of a small typo).
Hi there,
This is a great product. I just have one question. I’m want to be able to specify a quantity field by the add now button. I’m using the var2 for the quantity but when I click add now, the actual quanitity is set to 1. Is there a way to do this?
Thanks.
yes i did,i am using the latest wp version.it works on the widget but not on a new page.
Did you add that text in the HTML view?
I have added this line on my page here:
http://www.vegasleisuretime.com/shopping-cart/
but does not work no matter what i do.
http://www.vegasleisuretime.com/about/
thanks for any help
@Michael, please make sure you don’t use any symbol in your price field including comma (,). Only use the number eg. 49.99 (PayPal doesn’t like symbols in the price field.
Regarding the variation… you need to make sure your themes footer.php has a call to the wp_footer() function or it won’t add the javascripts. Many themes are not designed according to WordPress standard and causes problems. The following URL should help:
http://www.tipsandtricks-hq.com/ecommerce/wp-shopping-cart-troubleshooting-578
@Guy, Nope, the variation method can’t be used with quantity field. I will give the tag creation tool some thought.
Hi,
Your plugin is great. But I have one problem.
I have some product with variations.
Here’s how I embed it into the page.
[wp_cart:MY PRODUCT:price:49,99:shipping:2:var1[Color|Yellow|Red|Blue|Black]:end]
When I push “Add to Cart” button it adds MY PRODUCT to cart without Var1 value. If then I choose another color and push “Add to Cart” it increases the quantity by 1 instead of addind new product with another var1 valut to cart.
What do I do wrong?
I would like to use the variation method, and be able to select Qty… is this possible ? You should make a product tag creation tool on here… with fields waiting… then those lazy … or people with lots of products to create can just copy paste into the table and hit process… and in one hit it creates all thirty or so products with the details prefilled into the fields… they then copy the html created and add that to their WP. Cheers g
@Daniel, Looks like you are using the WP-eCommerce plugin by Instinct. Thats a different plugin… Please post your issues regarding that plugin on their site.
Hi admin,
Shall I take it that there is no known solution to my question on Paypal not receiving/accepting shipping calculations, or that the solution is so easy that I should have found it myself?
Sorry to bother you, I have tried researching this in the help files and forums but cannot see any suggestions. At the moment we cannot use the cart but would like to know for sure why before we abandon.
Thanks in advance
Daniel
I changed it to 1, which is indicative of the rating of your absolutely fantastic wordpress plugin and it works a charm. You are a very wonderful person to keep on top of all of your developments and such good work. Thank you thank you thank you !
Hello,
I’ve just installed your simple Shopping Cart and it seems to work a charm, except in the case of updating quantities. Any attempt to change quantity above ‘1’ reloads the page sans shopping panel. See what I mean here: http://www.interrobangzine.com/store/
Any help would be greatly appreciated.
@Joan, please search for the following in the “wp_shopping_cart.php” file:
add_filter(‘the_content’, ‘print_wp_cart_button_new’,11);
11 is the filter priority.. you can change that to whatever you like.
Hi there ‘Admin’ (sorry I don’t know your name)
I am using WordPress 2.8.4, and WP Simple Paypal Shopping cart v2.3 as well as Hackadelic Sliding Notes 1.6.2.1. Unfortunately the shopping cart shortcode does not work when it’s embedded in the Sliding Notes shortcode.
On my site, travelhorizonstyle.com.au you choose the COUNTRY Africa, then
ROMANTIC ROVOS RAIL EXPERIENCE, and expand Tour Prices>> you’ll see the problem.
Hackadelic wrote to me & said: “[wp_cart:…] is not a shortcode. It must have been implemented as a filter. Hence shortcodes=on has no effect.
What comes to mind is that wp_cart’s filter priority may be too low, so it executes AFTER the slider shortcode. Can’t tell w/o deeper analysis though.”
There is very little info about shortcode / filter priority. Can you give me a hint where & what I might change to make WP Simple Paypal Shopping cart work again ?
ahhh… wait.. it is fixed. apparently the problem was that I had the Maintenance Mode plugin enabled.
cool thanks….
http://melodramarecordings.dreamhosters.com/?p=290
Hi Zac, please post a link to the page where you are testing it so I can have a look.
Hi there.. very cool and thanks for sharing. WordPress can always use more e-commerce solutions 🙂 I almost have it working correctly.. however the variations are not being carried over to the Paypal page. I am trying something like this:
[wp_cart: t-shirt:price:25:var1[Sizes|small|medium|large]:end]
any idea what is going wrong ?
Hi Terry, The simple shopping cart doesn’t have a database so it can’t manage coupon codes. This is why coupon codes are only available in the WP eStore plugin.
http://www.tipsandtricks-hq.com/ecommerce/?p=364
What about a coupon code? I offer a guide at 37.99 retail but want to give a coupon. As it sits now when I click through to PP there isn’t a coupon code area.
Is that coming in the future?
Hi Gary, Buyers can pay using a Credit card or their paypal account. The following URL has full explanation:
http://www.tipsandtricks-hq.com/ecommerce/?p=523#paypal_credit_cart
Sorry, posted on the other page and then saw the notice to come here!
~~
Love the plugin functionality, simplicity, (and ability to pick up text off my post page to create the product info vs. filling out lengthy forms).
But I like others need a manual option as well as PayPal. Working on a form with pass throughs, but very messy.
Also, (the real question here), it seems that buyers clicking through must have a PayPal account or be willing to create one. Thought PayPal would process credit cards w/o a PayPal account. Am I missing something here, a setting, or has PayPal just quietly eliminated that option?
Thx.
Hi Beth, You need to add the trigger text that displays the shopping cart when items are added in the cart so customers can checkout. Please refer to the 3rd and 4th instructions on the Usage Instructions on this page.
You can add a reference text input box to collect user input using the “on1” and “os1” optional PayPal HTML Variables. Simply add a input text box and put the value of this to the “os1” field and add to the paypal form that gets submitted during checkout.
I can’t remember exactly which line but try searching for the following and remove the br:
$output .= ‘<br /><span id=”pinfo”
Hi,
I have managed to place all the items on the site with a ‘add to cart buttons’ but I can’t seem to work out how to create a page where users can submit their order (which inserts there order into pay-pal or whatever)
I also am interested in how to insert additional text fields into the order form (I was reading previous posts and you have said that you need an understanding of html which I have as well as basic php)
@Mike, you can leave the “Shopping cart title” field empty and it won’t the 2nd time. Normally with the image and proper formatting of the title it looks nicer when you have the title there but on your theme it’s not the case.
remove an html break <br />, sorry, the comment interpreted my html.
Thanks!
@admin ….. thanks, worked like a charm.
What file can I edit in the package to remove a which is creating an space not needed.
You said “The links of the item goes to the URL from where the item was added to the cart.”
It does not seem to be doing that. Please see http://www.goddessfx.com
Also, is it possible to do a “promo code”. If your code which is used normally for item and price can do a negative that would work.
Please let me know and thank you so much for your help.
Chuck
Hi Rich, you seem to have the following in your theme’s CSS file:
select {
width: 130px;
}
This is why it’s making the “select” input fields 130px wide. remove the width or the whole select block and it will adjust to the size of the text.
Why when I add a product to the cart, in the sidebar widget, the title then appears twice for the shopping cart.
http://www.bradgebhart.com/purchase/
Can someone help me?
Thanks!
Hi,
Great plugin thanks!
I’m fleshing out a new blog for our site and I’d like to implement the plugin for our shop.
Seems to be workign though when adding the variations for t-shirt sizes the drop down seems to span the entire post/page:
http://co-mission.co.uk/blog/shop/
This looks a bit wack, any suggestions?
Cheers,
Rich
Strangely, but after image rotator plugin addition and another gallery options reconfigure, buttons and drop-downs are shown.
Here is my playground: http://www.nytees.us/denisrush/?page_id=63
Hi Moisha, please post a link to the page where you are having the issue so I can have a look.
Hello, using WP 2.8.4, Atahualpa 3.4.3 Theme, NextGEN Gallery 1.3.6, Simple WordPress Shopping Cart Plugin v2.3. The Button and shopping cart seems to work just fine “standalone”.
But when intergrated into NextGen Gallery ( i.e. when trigger text is inserted within the picture Description field), the web page displays my product description and the trigger text instead of the button.
Hi Dom, if you have multiple page styles then you will need to specify the one you want to use for this site by adding an input field like the one below in the shopping cart checkout form:
<input type=”hidden” name=”page_style” value=”PayPal”>
“PayPal” here is the default one… change this to the name of your page style.
Please note that the trigger text only work in a post or a page. If you want to use something from the sidebar then you will have to use the respective PHP function call specified in the documentation.
hi ruhal,
got it! cheers 🙂
thanks for replying so quick.
i do have different styles i use for different sites. so thats why i dont want to make one the primary style.
any ideas how i can show my custom style for this site.
also. i tried adding the:
to the sidebar.php in my templates file. It doesn’t work.
I also tried to no avail.
im not very good with php, i think i need to add more to integrate it with my WP template bt not sure what, any ideas?
You shouldn’t need to change anything on the plugin side for the customized PayPal checkout page to work unless you have a few different page styles that you want to use for different sites.
hi!
great plugin.
I’ve customized my paypal payment page with my own logo, within the profile section in paypal.
I want this to show though when customers click on the buy now page. At the moment it’s just showing email and no logo.
What do i need to change in order to do this?
Thanks
The links of the item goes to the URL from where the item was added to the cart. You can add a product to the shopping cart then navigate to a different page then click on the link of the item and it will take you to the page where it was added.
It does not seem to be doing that. Please see http://www.goddessfx.com
Also, is it possible to do a “PROMO CODE”. If your code which is used normally for item and price can do a negative that would work.
Please let me know and thank you so much for your help.
Chuck
Hello,
Nice simple plugin. My question is why do the items in the cart show as links but do not go anywhere? Can we specify where each item links back to? Like the item description page or just have the items in cart not appear as links.
I am trying to set up a retail clothing site with wordpress and your plugin.
Chuck
Hi There,
The remove item form cart doesn’t seem to be working on my site… any tips?
Thanks
Lee
Another question I have is, is it possible to use variation control on price and shipping as well?
For example, how could I do the following.
Product A
size: Small = $5
size: Medium = $10
size: Large = $15
Shipping then varies depending on the size, so a small item may cost $2 to ship, a medium item $4 and a large item $6.
Is it possible to set up something like that with this plugin?
@Cindy, The following URL should help sorting out the sales tax:
http://www.tipsandtricks-hq.com/ecommerce/?p=191
Anyone else have a problem using this plug-in and PayPal then not adding tax on to the total?
Is the plugin capable of calculating and adding on tax?
I tried this, but it didn’t work (eg. didn’t pass the title):
echo print_wp_cart_button_for_product(the_title(), ‘2’, ”);
Also, how would I insert product variations (eg. different sizes, sml, med, lge) into the above code (to be used directly into the wordpress template files)?
@Frank, Your PHP session isn’t working… please contact your hosting provider to get your PHP session to work properly and this plugin will work.
@swollenpickles, you should be able to use the following function and pass in the title as the product name to display a button:
print_wp_cart_button_for_product($name, $price, $shipping)
using it on http://www.lecompt.com/ecommerce any reason why it just adds 1 item? see the url and the LeCompt Gear page add 2 cd’s only the last one shows up any reason to that?
Frank
Hi,
Do you know if it’s possible to code the Variation Control into the template directly?
I want to use the “the_title()” tag as the product name.
Cheers
thanks Ruhul !
@Olivier, the tag you are using to display the shopping cart must be entered in the HTML view and also make sure the tag doesn’t have any spelling mistake in it.
Hi,
Sorry but i must have missed something.
I’m on WP 2.8.4, i installed the plugin on 3 different blogs (1 local,2 hosted) wrote a post with the trigger syntax for testing, get the “add to cart” but it doesn’t create anything, just reloads the page.
see : http://blumpit.com/blog/?p=3
Thanks for your answer
Hi Sasha, The simple shopping cart plugin doesn’t have that option.
Hi,
Is it possible to include cost in the variations that will change the final price as the site that I am working on has different options for its products?
Thank you
Sasha
Hi Rich, By default the shopping cart doesn’t show the “Empty Cart” message when embedded in a post or page. You can change it easily though… this URL should help (http://www.tipsandtricks-hq.com/ecommerce/?p=322)
The WP Shopping Cart plugin doesn’t have the donation option.
Thanks for a great plugin!
I have two questions:
1) When the cart is empty, the phrase “Your cart is empty” is not showing up on the page.
2) Is there a way to allow the shopper to enter an amount of money for, say, a donation?
Thanks for your help.
Rich
Hi Dan, I sent you an email but it came back to me with a “Mail Delivery Failed” message. Anyway, I use Akismet so sometimes comments get blocked without me knowing.. sometimes I just get overwhelmed (I have a few sites that I maintain) with comments and I just can’t get to reply to all.. sometimes I think about replying later and then I forget. Anyway, I can’t see why the variation control won’t show up cause I just took the trigger text you provided and pasted into my test site and it works fine so there is nothing wrong in the trigger text. What version of the plugin are you using?
@csocha, Nope, the variation can’t be used with a PHP function.
Hey
Was wondering if there was any way i could use variations with the php function?
Many Thanks,
Chris
Hi,
I wrote once before and sent in a donation but didn’t see my post here. I am using variation control settings as below but the trigger text does nor generate the drop downs.
I’m using this with the nexgen gallery which otherwise is a killer combination. Can you suggest what I’m missing or where the problem is?
The site is http://www.stitchnow.net It is the first product on the 3rd page of the online store page, labeled coming soon-an orange shirt, in case you ant to look at the set up
[wp_cart:Caique on a Branch T-shirt:price:18:var1[Size|Small|Medium|Large]:end]
@admin Thank you for this idea! What I mean is vice versa: The checkout option sends an email to me (admin) with order details (what is ordered) after the customers has filled out his email address and has accepted my business conditions via check box. The admin panel should have a field to fill in the url to the conditions. I don’t want to have the customers bank information. If you can solve my problem it would be great and of couse I would pay for it. Interesting for me: Do also other users want this solution? Greetings from Germany!
Hi Ramona, I can come up with something I guess.. I can optionally add an extra checkout option that takes the customer to a Manual Order page where they can put in their details (Bank information, shipping detials etc) and when they click “Confirm Order” it emails those information to the admin.
Do you have something else in your mind?
Hi Ruhul, Ramona’s option would be good for us too.
Ruhul, is it possoble to have an additional (second) payment option beside paypal : prepaid? Instead of the paypal website the customer gets an email with banking information and a “thankl ypo for your oder – oderdetails”. There a a lot of customers who don’t have/want a paypal account.
@Nena: The code for a product looks like [wp_cart:iClone3:price:79.99:end] = tigger text without shipping cost. During check-out the plugins shows the total amount with 1 position shipping cost. These costs are configured under WP shopping cart – Base Shipping Cost. That’s it!
@Ramona, how did you solve the shipping total issue?
Meanwhile I have found “my” solution: Cart in each product page integratedt, link from the sidebar to the cart .
sorry: http://www.hapke-media.com!
1) After I have tested eStore successfully I use the simple shopping cart pl. für another project. But: I prefer not applying the widget in the sidebar (theme is a bit complicated). So I built a new php-file to show the cart in die sidebar (). BUT: the cart is toooooo large, as you can see at http://www.hapkemeda.com (top left sidebar). I think customers like to see their card. That’s why I don’t generate a special cart-page or checkout page.
What’s your idea, Ruhul?
2) If I put another product in the cart, the plugin counts shipping not only one time, but for each product. At the end shipping costs are very high. What’s wrong with my configuration?
3) Thanks for good ecommerce solutions!
@Tim: If users do not write the correct price (11,95 instead of 11.95) a mistake with paypal is occuring.
Hi Julio, you won’t be able to do that using the simple shopping cart plugin. The WP eStore plugin can do what you are after.
Oops sorry to multi-comment but I see the variation is only displayed if the dropdown box is actually pressed. If it is left at the default display (ie the first item), it will not be included. This is fine.
The variation does not show up on the Paypal checkout page. Does anyone know if there is anyway for the user to see it there ? How does the vendor get notified of the variation ?
Hi,
Could anyone help me out here? I have a question. If I would like to sell digital downloads, so after they pay I give them the link to automatically download the file, do I have a way to send them to that specific page for the product. I have not been able to find this info here.
Thanks,
Julio
Hi Mark, You can wrap the code to show the Add to cart button in an if statement similar to the following:
if (!cart_not_empty()){
//Show add to cart button
}
Hi Ruhul
Can I move the “add to cart” button down, as it is too high above the line? I’ve added white space to the “add to cart” button but it just creates more space between line items. I’ve used padding-top:1cm to .wp_cart_button{ but it also does not move the button down.
Your plugin is amazing otherwise..
Am I bad, I forgot to mention that That this is actually a WordPress Home Page and it is set to “static” (even though WordPress tells you they are really not…. but that is a whole different topic 🙂 ) I even tried an IF… ELSE using the cart_not_empty() but no luck every way I could think of….
Thanks again.
Hi Ruhul,
Hopefully a quick and easy question. On my home page I am trying to achieve the Add To Cart Button being there before the customer decides which service package they want and as they choose the package for that button to disappear and the actual cart to appear. I have this code currently in my html.
echo print_wp_cart_button_for_product(’Annually’, 239.95);
echo print_wp_shopping_cart()
inside php tags. I have removed the image and know how to modify the CSS to suit my needs. Is there a “quick and easy” fix to this?
Thanks and GREAT plugin, VERY customizable! 🙂
Hey,
The plugin seems great and simple. Yet, I have a question. If I would like to sell digital downloads, so after they pay I give them the link to automatically download the file, do I have a way to send them to that specific page for the product. I have not been able to find this info here.
Thanks,
Julio
Hi Zac, You can collect special instructions from the buyer during the checkout using the method described in the following URL (Look for the collecting additional instructions section):
http://www.tipsandtricks-hq.com/ecommerce/?p=322
Let me know if that helps
Thanks for the reply.
How do I activate the CSS?
When I view my page the first picture is on the left with the product price, color and size.
The second picture is supposed to be on the right below the first one but it shows up more to the center, almost in the middle of the first one.
I know it probably has to do with the size of the Order now button or HTML….
Thanks Again
@Patti, CSS should not be inactive.. not sure what you meant by “products and order information not lining up”
Ok, so that’s on the paypal side of things? There’s no way to customize it before it hits paypal then? I just want to make sure we understand each other. Thanks so much! 🙂
@admin,
Sorry to be a bother, but did you get my problem? When I sent the post, my internet died on me. 🙂
Ruhul Amin,
First, this is a great plugin that you have developed! I appreciate your hard work into this project.
Second, could you please help me with something? I am running a website for an author who wishes to offer signed copies of his book to anyone who orders online. The book could be given as a gift, so I need a custom text box to get the name that the customer wants on the book.
I am having trouble with the solution you provided in previous posts. All I need is for my shopping cart to ask the user “Who is this book for?” and provide a small text box near the question so that the user can provide the answer. Obviously, this new variable will be sent to the paypal address along with the rest of the information, so that the author can correctly sign the book.
If you could help me by showing me specifically what code I should be adding and where, I would be grateful. I am running “WordPress” version 2.8.4 and your “WP Simple Paypal Shopping Cart” version 2.3.
Thanks so much! 🙂
Zack S
Thanks for the great plugin.
I am having difficulties with getting the products and order information to line up.
I went to the CSS file to change the size of the add to cart button but WP says that the CSS is inactive. How do I activate this so I can resize my button??
http://mycareband.com/?page_id=11
New to WP, New to Thesis, New to Shopping Cart
Thanks
Hi Guys, It’s got nothing to do with WP v2.8.4 as i am using it myself.
@David, you need to put double-quote (not single-quote) around your product name. so change ‘Classic Break Beat Drums Volume I’ to “Classic Break Beat Drums Volume I” and it should work fine.
David, are you using WP 2.8.4? I noticed the issues you and I are having with PHP, are related to this update.
&lst;? php echo print_wp_cart_button_for_product(’Classic Break Beat Drums Volume I’, 4.99); ?&grt;
here is the code. Sorry about that !
Hello,
I am trying to add this piece code in my footer.php section of code and it does not seem to work. The footer section of my website completely disappears. Any ideas why this piece of code is not working. If need be I can send you the .php file.
Thanks,
David C.
The shopping cart trigger is not working when I put on a separate page. It works in the widget and on the same page as the items; however, it will only show one (1) item at a time. If I select a second item, it replaces the original item. If I leave the page, the cart is emptied. I am using 2.3
@admin ,, thanx so much for your help
@Hameed, I don’t know how to explain it but you need to enter the trigger text similar to the following where you want an add to cart button:
[wp_cart:Test Product:price:10:end]
@newdeveloper, you need to use the PHP function and not the trigger text. try putting the following:
<?php echo print_wp_shopping_cart(); ?>
i have a problem , i want to show the shipping cart in the sidebar template , so i get the php code widget to execute the line
but it shows the line as it is (as a text) ,,i dunno where is the problem?
your write in “Step 4 Use the trigger text to add a product to a post or page where you want it to appear” i did not understand it please explain clearly
Thanks
Hello Admin
I dont know how to upload products and how to show them on the front.
I need help.
Please explain how can i do it
Thanks
Thanks for reply.
Sorry I asked a question relating to the wrong plugin.
I clicked to the question from recent comments and never noticed I was in the simple plugin section as I noticed mentions previous, relating to the estore plugin.
Again, sorry to waste your time answering a pointless question.
Regards
John
Hi John, You are confusing the WP eStore changelog with the simple shopping cart one (Pay attention to the title of the post). Please note that there are two plugins WP eStore (this allows your to restrict the number of items available) and WP Simple Shopping Cart (this does not have that functionality). Alec’s question was in regards to the simple shopping cart plugin.
The simple wp shopping cart plugin doesn’t have this functionality because it doesn’t use a database to store the product details and hence it can’t keep track of the number of items sold. I have many thousands of users of this plugin who like it because it’s very light-weight and simple to use and I plan to keep it that way.
Hi Admin
You state this in the changelog.
#
Capability to limit the maximum number of copies to be sold for a specific product (Useful when you only want to sell 50 copies of a product for example)
#
So, I dont understand why you say to alec above that you cannot restrict the number of items available.
Unless I am not understanding his question properly, which is very possible.
If I had 10 products only to sell and do not wish any more to be sold as I would not have them in stock, can I do this, and if so how.
The above changelog statement says I can, or am I confused.
Regards
John
@Diana, You need to replace the PRODUCT-NAME and PRODUCT-PRICE text with the actual name and price of your product eg. [wp_cart:Test Product:price:10.50:end].
@Alec, It doesn’t allow you to restrict the number of items available.
Hello after testing all the shop plugins I think your´s best for me, but I have a problem: prices and product name aren´t showing in my post I tried everything but no, the variations appears, and in the shopping cart does.
I am using wp 2.8.3
the code I insert in the post is: [wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:end]
Hi There,
I am considering this plugin for my website. Just wondering if it handles quantity, for example, if I only have 8 items to be sold will it only allow me to restrict the number of items available?
Thanks,
Alec
@Tim, It’s because you are putting the currency symbol ‘$’ in the price (PayPal doesn’t like it). Just enter the price without the currency symbol (30.00) like it is shown in the HTML example code in this page
Ah – I was staring right at that the whole time and not even noticing what I did! Thanks!
Hi, I tried it again, and the price doesn’t show up in the shopping cart (just $0.00). When I click on the checkout logo, I get this error on the PayPal page: “The link you have used to enter the PayPal system contains an incorrectly formatted item amount.”
Great, thanks! I though that was an option and not a required step. Do I still need to add “” somewhere in my template, and if so, where would that go?
@Tim, when you click the “add to cart” button it adds the item to the shopping cart on your site. Customers can add more products to the shopping cart or delete items from it. It takes them to the PayPal page for payment when they click the “Checkout” button on the shopping cart. You seem to be missing the shopping cart part. Please follow the instructions and add the shopping cart to your sidebar using the widget or to a post or page using the trigger text. This way when someone clicks the “Add to Cart” button their item(s) will be displayed in the shopping cart. Let me know if that helps.
Hi, this indeed seems to be an awesome widget! But for some reason, when I click “add to cart,” it goes to the same URL and not to my PayPal page. I have my e-mail address for my PayPal account inputted correctly, too. Any idea what I may be doing wrong? Thanks!
@Patrick, Thats strange.. I checked your HTML code and it looks like it’s adding the shipping properly but for some reason PayPal is not taking it. Did you setup profile based shipping in your PayPal account?
@Vinnie, I have never seen that before… please post a link to the page where you are testing it so I can have a look.
OK this is very awesome indeed. I am challenged in a few places. I have successfully added the shipping costs for base and individual items.
But then when it goes to paypal it does not include the shipping amounts. then it gives me an error code that it cannot process at this time.
Also how can we set this to open as a new tab or page and not leave the main webpage of the product.
Here is where I am testing it from: http://empowerednutrition.com/burner/
I am getting ready to let this go live to my private list and passively online, but then will purchase and implement eStore and Affiliate Platform Plugin within a week or less if things pan out correctly on this one.
Please help, I love this set up and have almost abandoned my magento shopping cart site for this one if I can get it to work with PayPal and shipping costs.
Thanks in advance for your answer and awesome info and products.
After placing one particular item in the shopping cart, the plugin doesn’t go to the proper post.
I get a ‘Nothing Found’ error, though the URL is correct, but for some reason it says ‘–WEBBOT-SELF–‘ at the end of the url. Any ideas on how to fix this?
@David, Looks like you are using three variations… the shopping cart handles upto two variations at the moment.
The update quantity input and remove item from cart button are not working for me. They just reload the page (I’m assuming the JS isn’t working).
Sorry I’m not trying to spam your blog, but it won’t let me add all of the code. I’m going to try to separate it to a few lines.
[wp_cart:Product:price:34.95:var1[Color|1|2]:var2
[Flavor|1|2|3|4|5|6|7|8|9|10|11|12|13|14]
:var3[Size|1|2|3|4]:end]
Add them all together and they are the example code.
Here’s an example of what I mean. The 3rd variation shows up inside of the Color box, instead of having it’s own drop down.
[wp_cart:Product:price:34.95:var1[Color|1|2]:var2[Flavor|1|2|3|4|5|6|7|8|9|10|11|12|13|14]:var3[Size|1|2|3|4]:end]
@David, I have tested with more than 4 variations.. make sure you don’ thave any special character (eg. ‘, ” etc) in the variation name.. PHP doesn’t handle them very well.
The variation control only allows three or four choices. Yesterday I tried adding 15 choices and the first I don’t remember if it was three or four showed up.
@Dave, If you display the shopping cart on a different page (eg. checkout page) than where the ‘Add to Cart’ buttons are then you won’t have any problem even if your theme is loading the Javascript files in the header.
Anyway, to load the javascript files in the footer you need to simply copy the line of text that’s loading the javascript file from the ‘header.php’ file to the ‘footer.php’ file. in your header.php file you will see lines similar to the following that loads the javascript file:
<script type=”text/javascript” src=”http://www.your-domain.com/wp-content/themes/your-theme-name/script-name.js”></script>
so just search for the following text and move that line to the footer.php
<script type=”text/javascript”
Hope that helps.
Ok for some reason it worked itself out… the additional items are no longer showing up in my cart.
Sorry for the multiple post – I wrote all the needed info in one post but then it didn’t show up… twice.
Thanks anyway!
this is a wonderful tool. Thank You! I am not HTML or javascript capable but still able to operationalize for essentially all of my needs. One issue I am struggling to master is why doesn’t shopping cart work with IE . There is a previous post that says: This plugin works fine in Internet Explorer… you just have to make sure that you are not loading any Javascripts in the header of your theme. The Javascript should always be loaded in the Footer for site performance anyway. Apologies but can you say this in a way that I can know how to change my website? FYI here is the specific link http://corpusoptima.com/book-tour/
ok I uninstalled everything.. even wordpress… re-installed everything… and those items are STILL showing up in the cart. The problem is they have an ‘ in the name. I fixed it inside of the nextgen gallery, but I just can’t get those items to delete out of my cart… PLEASE HELP!!
Here’s the address to the cart problem http://poppeace.com
any reason why I can’t delete Items out of my cart? i tried deleting & re-installing the cart plugin but the items still show up in the cart
@Justin, Your need is a little unique so I suspect you will need something a little bit more customized. Essentially those type of things that you mentioned are done with Javascripts.
@Len, I sent you an email with the shopping cart modification idea.
@Chris, It gets a little complex to add prices to each variation on the fly when you are not using the database. When both variations use different prices the number of combinations get messy. I am implementing this capability in the WP eStore plugin at the moment as that one uses a database. If everything goes good I will see if I can come up with something for the simple shopping cart one in the future.
@Laurie, It will require some code changes to add a third variation… you can have a look at what I have done for the 1st two variations and do the same for the thrid one.
Hi there Admin,
I thought I already left a post but it’s disappeared. Can you please send me the instructions you sent to JMP about adding more fields for the customer to fill in.
Many thanks.
ok! Thank you.. Is there a blank custom field that customer can fill out??
Being able to add prices to each of the vars would be amazing.
[wp_cart:Something Coolvar1[Size|Small|Medium|Big][Price|7.99|13.99|17.99:end]
That would fit my needs perfectly. Even still, as it is, great mod. Thank you! You may have saved me a ton of trouble!
Thanks for the great information. I would be selling HID kits for cars on my site and i would need a option like if the customer wants them for a 2009 Toyota Corolla how would i do that! I would have to create an option with the Year another with the Make and another with the model. Is there a way that i can do like if they pick a toyota then they would have to pick model but i don’t want models from Ford,Nissan and other companies to appear. ONly toyota product. Heres an example http://www.sylvania.com/ConsumerProducts/AutomotiveLighting/LampReplacementGuide/
Hello all,
I’m wondering if it’s possible to add a third variance to the drop down menu? for example a clothing store: a shirt size, colour, AND style?
Thanks in advance for any helpful replies.
Hi Brian, The trigger text only gives you the ‘Add to Cart’ button. It doesn’t display the Product name or price. This is so you can design the way you want to display the Name and price and any other details about the product and then just add an ‘Add to Cart’ button next to it so people can purchase it.
That explains it. Thanks for the quick response…
One other question… is there a way to allow customers to purchase multiple quantities of the same item? (either using a variable pull down menu or providing a blank entry field?)
If not, we’ll continue with simply changing the quantities in the cart (which works perfectly)…
Hi Annie, what doesn’t work? Please give me a little bit more details as to what doesn’t work so I can help you. You can also post a link to the page where you are using it so I can have a look.
Evening to all… I’m having trouble with the simplest code line. I cannot seem to get the product name or price to be displayed. The ‘add to cart’ button is visible and works (and even adds the correct item and price into the cart).
To test, I created a blank test page to see if the text was being hidden by images, etc. No luck…
Thanks in advance… it’s a great plug-in… perfect for my needs…
@Karen, I think your problem is related to the WP eStore plugin. I will send you an email to address this issue.
Hi Kyle, This plugin works fine in Internet Explorer… you just have to make sure that you are not loading any Javascripts in the header of your theme. The Javascript should always be loaded in the Footer for site performance anyway.
it do not work now, wrong page of paypal, before it was good with this version it is wrong what can i do, help please
i am in premier account on paypal, as before
I keep receiving an operation aborted error message when trying to use the plugin on IE. Is there IE support?
almost at the very top of this page – WP Shopping Cart Usage – underneath is a pic with the code – its the code for using the cart plugin WITHOUT nextgen. Still use the nextgen code in the post… but under each pic description… use the the standard cart code at the top of this page as mentioned. I even got it to work with a sizes drop down. SO in other words.. use any standard cart code in the pic descriptions under manage gallery in your admin panel.
Hope this helps! Good Luck!
@admin – Sorry to bug you again, I am still chomping at the bit to add custom text fields to the products 🙂 What code changes that you mentioned above do I need to make?
I am having problems with the sales count working for my ebook download. I have had sales, but I do not see anything happening in the sales count entry? All other pieces are working.
Otherwise a very easy plugin to get up and running.
Thank you for your insights.
I figured out a work-around for my problem…. I changed the code in the pic description to the original simple paypal cart code without nextgen integration… viola! The add to cart buttons show up just fine under the pics and work too!
Weird solution but whatever… nextgen gallery with add to cart buttons… awesome!!
I hope this helps some folks.
After more digging.. its the nextgen gallery… its not ready for wp 2.8 yet… thats the cause. Thanks for helping me narrow it down admin, and thanks for the offer to help JMP.
So i just gotta wait… this is good news cause i just installed the ecommerce plugin and thought ‘oh they made this reeeeaaaal easy to work with huh?’
Peace and chicken grease!
You can email me the instructions for the text fields and I’ll let you know how I do 🙂
HHmm.. no luck… tried several older versions of nextgen 1.0 1.2 1.3 no luck.
I remembered to add the estore template file… the shopping cart plugin was active… the code was correct… eh just no luck.
Remember you need to put the template file in the ‘gallery/view’ folder again after you upgrade the NextGen gallery.
I tried it without the nextgen when i first discovered the plugin and it worked fine – the add to cart buttons showed up. I’ve got wordpress version 2.8.1 do you think that has something to do with it? I’ll try to find an older version of nextgen gallery and see if it works.
@Sanjay, you only need to enter your PayPal email address in the field that says “PayPal Email Address” in the settings menu of this plugin. If you don’t know where the settings page of the WP Shopping Cart is then please have a look at the WP shopping cart additional resources page to see a sreenshot.
@Dan, I had a quick look at your test page and it looks like your page isn’t getting filtered. The only reason for this to happen is if you don’t have the plugin active or if the trigger text is wrong. None of these two reasons seem to apply in your case though. I would try putting the trigger text on a simple post or page and see if the button shows up there… that would indicate something might be going wrong when integrating with the NextGen Gallery plugin.
How do i set up my paypal with the plugin? i do not see a paypal config page in the settings. pls help
I’m having trouble figuring out what I’m missing…. I’ve got the nextgen gallery and the paypal shopping cart scheme going…. The problem I’m having is the ‘add to cart buttons’ are not showing up. I’ve deactivated all plugins expect for nextgen and the shopping cart… even switched themes to be sure – no luck.
you can find it here: http://www.unicronstudios.net/wp-testing/
I’m overlooking something simple I know it.
Any help is appreciated!
Sorry seems to be okay, the automatic update seemed to be not functioning properly..
The new update gave an error “Fatal error: Cannot redeclare shopping_cart_show() ….wordpress/wp-content/plugins/wordpress-simple-paypal-shopping-cart/wp_shopping_cart.php on line 34”
That would be great! That was the one thing holding me back from using your plugin, which BTW, is wonderful.
I understand, but it would be a great feature though 😉
@Ritchie, Not at the moment… it starts to get complicated when you start doing those… I will consider adding this in a future release.
Is there any possibility to add different shipping costs to var1?
[wp_cart:Get It (CD Single):price:7:shipping:3:var1[Shipping to|Germany1|Europe2|Rest of the world3]:end]
@JMP, Yes, there is a way to have a text field that the customer can enter a text into but it will require some code modification. If you are okay with HTML then I can explain the code changes that you need to do.
Is there any way to have text fields that are submitted along with payment. Say you are making a custom item and you want them to enter the text they want. Or, somehow combine this plugin with contact form 7?
Hi Ritchie, Looks like you are using an old version of the plugin… please download the latest version from the WP Shopping Cart plugin page and use that.
Here’s the page
http://www.awesomekickassrecords.com/wordpress/?page_id=46
the button below is with shipping costs
[wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:shipping:SHIPPING-COST:end]
This really doesn’t work!!
Why doesn’t the shipping work. Tried it a thousand times but no shipping costs..
What do I do wrong, this can’t be..