WordPress eStore allows you to create “Buy Now” type button functionality so your customers don’t have to add items to the cart. The “Buy Now” type buttons take the customers directly to the payment page for payment when clicked.
Creating a PayPal Buy Now Button
Adding a “Buy Now” type button is similar to adding an Add to Cart button. The main difference is in the shortcode that is used to place the button on a post or page. To insert a “Buy Now” type button add the following shortcode in a post or page:
Replace ‘PRODUCT-ID’ with the actual product id of the product you are selling. For example:
Try clicking on the following Buy button to see how it works:
Name: Demo Product Four
Description: Demonstrates the
‘Buy Now’ type button
Each ‘Buy Now’ type button can have a unique return URL. When the return URL is used the customer is sent to the specified URL after Payment.
Customizing the “Buy” Button Image
You can customize the buy button image with your unique custom designed image by specifying the image URL in the “Button Image URL” field of the product.
For example I have used the well known “Belcher Button” image for the following buy button. It looks a lot like what you may have seen on may other sales pages, doesn’t it? 🙂
Using a Fancy Display with the Buy Now Button
Enter the following shortcode to display the product like the one above (1 is the product id of the product in this example):
Display Buy Now button from Any WordPress Theme File
You can also use the following PHP function if you want to show the ‘Buy Now’ type buttons from your wordpress theme’s template files (eg. on the sidebar ‘sidebar.php’):
So adding the following line to a PHP file will display a Buy Now button for the product who’s product id is 4:
Creating a Buy Now Button For Other Payment Gateways
Check the following documentation to learn how to create a buy now button for the other eStore gateways:
Note: We provide technical support for our premium plugins via our customer only support forum
I am using add to cart button on my WordPress Blog. Its awesome.
Hi Sundar, Manual checkout will only work with shopping cart checkout only. “Buy Now Buttons” only work for PayPal as these link directly to PayPal.
Hi Just downloaded the plugin – it is really good and I am starting to be in love with trpsandtricks-hq.com. One quick question, is there is a way to redirect the ‘buy now’ option to manual gateway and not to paypal? I.e., if a visitor click on buy now option they are routed to paypal but I want them to be routed to manual gateway.
Please let me know.
We have just added this option last night. All you need to do is update the plugin and you can use the terms and conditions option for Buy Now, Subscription and Add to Cart Buttons.
The following post will explain how updates work: http://support.tipsandtricks-hq.com/update-request
I sell in my site different products. Each product has its own form that the buyer needs to fill in.
After the customer purchase a product, he is being redirected to the specific page with the specific form he needs to fill.
This is why I use the “buy now” option and not the “add to cart” button.
Now – I must have the customer read and approve “terms and conditions” before he purchase a product.
I understand that “buy now” doesn’t have that option.
Can you suggest a different way to have the customer read and approve those terms before he pays for the product?
There is a great plugin if you will use a lot of unlisted pages on WordPress.
Page Lists Plus
It’s the one I use so I can give access to pages I don’t want listed, instead of editing the code each new page you want unlisted.
Great plugin congrats.
I’m searching for a way to edit the “Buy Now” button by the way.
Thanks for the shortcode link, but you can’t copy and paste that one either. 🙂
After I corrected the code, the capital S, it still wouldn’t work. What I discovered was this:
I wrote the content in a Word document, then copied and pasted into my WP editor. I forgot to strip the code that Word puts into it.
Once I did those two things, it now works.
Hi Deborah, It looks like the code is incorrect it should be with a Capital “S” in eStore.
You can find all the shortcodes here, you can copy and paste them from here also:
I had my page set up and working with a “Buy Now” button. I rewrote it and did not save the trigger text.
I came to this page, found the trigger text, and entered it on the HTML view of my editor. The trigger text is showing instead of the Buy Now button.
(The trigger text is way at the bottom, right above the “What if I don’t love it” heading.) [wp-estore_buy_now:product_id:3:end]
BTW, it would be helpful if the trigger text could be copied and pasted. Because it is a picture, I have to write it down and retype it.
@Linda, You can specif this under the ‘Buy Now Type Button Specific Settings (Click to Expand)’ this can be found in the add/edit products menu.
I would like to use checkout_paypal.png instead of buy now button. Could you please tell me how to do this?
This page should have some fix for you:
Thanks! That page did give me the information that I needed and I have everything working now. Thanks again.
I just purchased the plugin and got it installed on my website where I am selling my first 3 products using the buy now and not add to cart. If you view my page of products, notice the buy now button looks like crap:
I tried subsituting in the button url the following:
This button graphic shows up but it is super sized and very difficult to read.
How do I get the button to be regular size?
Thanks in advance for the assistance
@Kat, your server may not have the PHP fopen functionality open.. I will give you an alternative solution for this.
No you do not need to change any code to use your custom buttons. Simply upload the button image and use it’s URL in the “Buttong Image” field.
When I go to the link when I generate one from ‘admin functions’, it says in plain text: ‘The Requested File Could Not Be Found’
The product URL is correct as I get a download window when I go to the link, but the encrypted link does not work.
As for the button, if I upload my own design do I need to change any code so that mine is the one that is shown?
@Troy, no, you need to add/configure a product before you can show a button for that product. Once you add a product you can display any type of button (eg. “Add to Cat” or “Buy Now” or “Subscription”) for it.
Great Plugin! Is it possible to add a Buy Now button to a post without having to add the item to the e-store first? Similar to the Simple WP Shopping Cart code [wp_cart:PRODUCT-NAME:price:PRODUCT-PRICE:end] where you enter the product and price in the post. However, I want to by-pass the shopping cart and I don’t want to add to the e-store admin. Thanks!
You can upload any button image like you upload any other files to your server (I use Filezilla to upload my files). Please note that the plugin comes with a lot of “Add to Cart”, “Buy Now” button images that are stored in the “images” directory.
Regarding the link not working.. what happens when you click the link? Are you sure the URL you entered in the “Digital Product URL” field of the product is correct ?
You know you can upload a custom design for the ‘add to cart’ button? I have done, and I’ve now sorted out the ‘buy now’ button as well but it is a plain button like the usual ones for Firefox, IE, etc., how can I upload another button that has the same design as the ‘add to cart’ button, but says ‘buy now’?
By the way, (and sorry for being a burdon) I tested the payment system, which works, but the encrypted link that my test was sent didn’t work. I’m not sure if it’s something I’ve done wrong or what.. I followed the ‘5 Simple Steps’.. Can you give me more detailed instructions, if that’s not too much trouble?
Thanks loads, you’re really doing me a favour with this Plugin and all of your help!
Not sure I understand what you mean.. can you please explain a little bit more?
Hi Kat, First of all you don’t need to add every product twice to offer an “Add to Cart” button and a “Buy Now” type button. You can configure one product and then use the corresponding shortcode/tag to display an “Add to Cart” or “Buy Now” button for that product.
First configure a product (for you theme) with the basic set of details (eg. Name, Price and Digital Product URL). Say for example the product ID of this item you just configured is 1. so enter the following in a post or page:
This should give you two buttons (one “Add to Cart” and one “Buy Now” button for the same product). You should start to see how it works. Now you can go back and edit the product to enter more details of this product if you like.
Oh ok. That works. I read further up that you needed to put each product in twice.. Thanks!
How can I have a custom ‘buy now’ button to match the ‘add to cart’ one that I uploaded?
Hi, firstly, thanks for a great plugin! It’s exactly what I was looking for to sell my WordPress themes!
Secondly, I’m trying to put an ‘add to cart’ button and a ‘buy now’ button for each premium theme, I know I need to add the product twice, but I can’t get the ‘buy now’ button to work; I don’t really understand all the fields in the ‘add/edit product’ section. I would be really grateful if you could help me out, maybe give me some simple steps like your ‘dummie’s guide’, as that was really helpful!
Hi Reeni, By default the fancy feature is usable only with “Add to Cart” buttons as this is a shopping cart plugin and most people just use the “Add to Cart” type buttons but you can manually apply CSS to achieve it for “Buy Now” type buttons too… let me know if you need a little help with the CSS. I have plans to include this option in a future release.
I recently bought the eStore plugin and currently working on configuring everything. Can I use the buy now with the fancy feature? Is there a code for it?
Hi Nicholas, The following URL has instructions to embed buttons on the sidebar (try the widget option that is explained there):
I have recently purchased the estore plugin. It looks great!
I would like to be able to embed the Buy Now button within my sidebar but having trouble. Rather than using posts, my landing page is just 2 sidebars with Text wiidgets within them. So basically what I need is to be able to insert the Buy Now button within the text or HTML. Is this possible?
Note: I am using the Atahualpa theme which has no sidebar.php as such.
Thanks in advance.
@Richard, You just need to make sure that you didn’t make any mistake when you entered the URL of the button image. Sometimes it helps to copy the button image URL and paste it in a browser window to make sure the image location is correct. In your situation you can use the following “Buy Now” Image that is included in the WP eStore package.
Let me know how you go.
Hello, I’m attempting to add a Buy Now button to a page in the word press back end. The buy now trigger text links up to the right place in paypal, but there is no image. The plugin is not recognizing the location of the buy now button image. Therefore, all that is shown on the page where the button should be is a “broken image” thumbnail. How do I fix this?
@Bob, Just out of curiosity… why won’t you be able to upload a 20MB file to your web host? Don’t you have FTP access?
@Bob, it’s really easy.. your pages are displayed using the following code in your template file:
You just have to change that to use the following:
<? php wp_list_pages(‘exclude=5,8’ ); ?>
This way WordPress will exlcude pages with the id 5 and 8 from displaying on the navigation. You will have to replace these number with the page id of the pages that you want to hide from displaying.
If you don’t want to do it manually then you can use a plugin eg. the Page Exclude Plugin (http://wordpress.org/extend/plugins/exclude-pages/) that helps you exclude pages from displaying.
Also, don’t forget you can always create a stand alone HTML file with just the password,links and other information and upload it to your webhost and use the URL of that file. No one said that this page have to be a wordpress page 🙂
Thank you for the first reply on this Thank you note. I did in fact create just such a page. I had to keep it “Private” otherwise it shows up on the website. Since it remains “Private” no one can get to it, even when they are re-directed to it. Is there a way to “Hide” the page from view?
Hi Bob, Instead of posting the links/password on the “Thank you” page you can create another page, say for example “eBook-Sale-Delivery” which has the following URL:
Put the relevant password, links etc on this page. Now, use the URL of this page in the “Product Download URL” field of the product but make sure you have the “Offer Content as Downloads” option checked off (This makes the above URL redirectable rather than downloadable).
Now, when the customer purchases the eBook, he/she will get an email with the encrypted download link and when this encrypted link is clicked, the customer will be redirected to this “eBook-Sale-Delivery” page which has the password/links etc. This way you still have your “Thank you” page free to be used for generic post sale guidance/directions.
Let me know if it makes any sense.
I do intend to add a feature so that you can specify multiple download URLs for a product in a future release.
Thank you for your reply about the buy now button needing a URL. I now have that fixed. I have a rather unique dilemma. My e-Book is 20 MB. We had to break it down in chapters to get WordPress to upload it. As a result, I can not use your download URL section. I have had to post the Password in the Thank you and re-direct them to the e-book page.
Unfortunately since I have to give the password to the ebook page here, I can no longer use the Plugin for any other item as the same Thank you note goes to every purchase.
I really like this plugin better than the Simple Paypal Plugin. Is there a way around this Thank you going to every customer for every item? I don’t like having two Shopping carts on my website, so I’m keeping this one at the boyyom on the right side for now.
Thank you so much for this post. I use the reviewazon plugin. Reviewazon is the easy and simple way to add amazon affiliate product to your website.
You can configure two products with the same price and then configure one as “Buy Now” and the other as “Add to Cart” then use the two buttons (‘Buy Now’ and ‘Add to Cart’) on your post.
I have begun using the plugin and found out that it will only do Add to Cart or Buy Now, you cannot do both buttons for an item. I would like to give my customers the option to either add it to my cart or purchase immediately. Has anyone else come across this?