How to Use Buy Now buttons Using the WordPress eStore Shopping Cart Plugin

Categories: Button Display

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

Checkout the buy now button creation video tutorial from our additional video tutorial section.

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:

[wp_eStore_buy_now_button id=PRODUCT-ID]

Replace ‘PRODUCT-ID’ with the actual product id of the product you are selling. For example:

[wp_eStore_buy_now_button id=1]

Try clicking on the following Buy button to see how it works:

demo_product_sc_2
Name:
Demo Product Four
Description: Demonstrates the
‘Buy Now’ type button
Price: $1.00

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

Demo Buy Now button
Demo Buy Now button
This is a test description. This description is here to show how the description of this product looks like when used with the WordPress Shopping Cart.
Price: $1.00

Enter the following shortcode to display the product like the one above (1 is the product id of the product in this example):

[wp_eStore_buy_now_fancy id=1]

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’):

print_eStore_buy_now_button(PRODUCT-ID)

So adding the following line to a PHP file will display a Buy Now button for the product who’s product id is 4:

<?php echo print_eStore_buy_now_button(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:

Common Pitfalls

All the pitfalls listed in the Common Pitfalls section of the Add to Cart button applies here too.

Note: We now provide technical support for our premium plugins via our customer only support forum

40 Responses to “How to Use Buy Now buttons Using the WordPress eStore Shopping Cart Plugin”

  1. sarah@Apple apps Says:

    I am using add to cart button on my WordPress Blog. Its awesome.

  2. Ivy Says:

    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.

  3. Sundar Says:

    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.

  4. Ivy Says:

    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

  5. dayar Says:

    Hi,
    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?

  6. Yokandesh Says:

    @Bob
    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.

    Cheers

    @admin
    Great plugin congrats.
    I’m searching for a way to edit the “Buy Now” button by the way.

  7. Deborah Says:

    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.

    Thanks again,

    Debbie

  8. Ivy Says:

    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:
    http://www.tipsandtricks-hq.com/ecommerce/wp-estore-shortcodes-and-functions-reference-460

    Cheers,
    Ivy

  9. Deborah Says:

    Hi,

    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.

    Any ideas?
    http://the-iassistant.com/how-to-use-contact-form-7-wp-plugin/
    (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.

  10. Ivy Says:

    @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.

    Ivy

  11. Linda Says:

    Hi Ruhul,

    I would like to use checkout_paypal.png instead of buy now button. Could you please tell me how to do this?

    Thank you
    Linda

  12. Jennifer Minge Says:

    Thanks! That page did give me the information that I needed and I have everything working now. Thanks again.

  13. admin Says:

    This page should have some fix for you:

    http://www.tipsandtricks-hq.com/ecommerce/wordpress-estore-troubleshooting-218

  14. Jennifer Minge Says:

    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:
    http://www.investinrealestate101.com/business-plan/

    I tried subsituting in the button url the following:
    http://www.investinrealestate101.com/wp-content/plugins/wp-cart-for-digital-products/images/buy_now_76.png

    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

  15. admin Says:

    @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.

  16. Kat Says:

    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?

  17. admin Says:

    @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.

  18. Troy T Says:

    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!

  19. admin Says:

    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 ?

  20. Kat Says:

    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!

  21. admin Says:

    Not sure I understand what you mean.. can you please explain a little bit more?

  22. Kat Says:

    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?

  23. admin Says:

    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:

    [wp_eStore:product_id:1:end]
    [wp_eStore_buy_now:product_id:1:end]

    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.

  24. Kat Says:

    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!
    Thanks!

  25. admin Says:

    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.

  26. Reeni Says:

    Hi,
    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?

    Thanks.

  27. admin Says:

    Hi Nicholas, The following URL has instructions to embed buttons on the sidebar (try the widget option that is explained there):

    http://www.tipsandtricks-hq.com/ecommerce/?p=215

  28. Nicholas Says:

    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.

  29. admin Says:

    @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.

    http://www.weloveroses.com/wp-content/plugins/wp-cart-for-digital-products/images/buy_now.png

    Let me know how you go.

  30. Richard Says:

    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?

  31. admin Says:

    @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?

  32. admin Says:

    @Bob, it’s really easy.. your pages are displayed using the following code in your template file:

    <?php wp_list_pages();?>

    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 :)

  33. Bob Cline Says:

    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?
    Thanks again,
    Bob

  34. admin Says:

    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:

    http://www.your-domain.com/eBook-Sale-Delivery

    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.

  35. Bob Cline Says:

    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.
    Bob Cline

  36. reviewazon Says:

    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.

  37. admin Says:

    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.

  38. Chris Says:

    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?


Leave a Reply

Featured Documents

Tips and Tricks Hot Items

wordpress_estore_icon
wordpress membership plugin icon
WordPress PDF Stamper Plugin
WordPress Lightbox Ultimate Plugin
wordpress_affiliate_plugin_icon