{"id":15,"date":"2009-05-19T04:31:02","date_gmt":"2009-05-19T04:31:02","guid":{"rendered":"http:\/\/tipsandtricks-hq.com\/ecommerce\/?p=15"},"modified":"2025-10-17T17:28:54","modified_gmt":"2025-10-17T06:28:54","slug":"how-to-use-buy-now-buttons-using-the-wordpress-estore-shopping-cart-plugin","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/how-to-use-buy-now-buttons-using-the-wordpress-estore-shopping-cart-plugin-15","title":{"rendered":"How to Use Buy Now buttons Using the WordPress eStore Shopping Cart Plugin"},"content":{"rendered":"\n<p>WP eStore plugin allows you to create &#8220;Buy Now&#8221; type button functionality so your customers don&#8217;t have to add items to the cart. The &#8220;Buy Now&#8221; type buttons take the customers directly to the payment page for payment when clicked.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-a-paypal-buy-now-button\">Creating a PayPal Buy Now Button<\/h2>\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Creating a PayPal Buy Now Button Using WP eStore\" width=\"500\" height=\"375\" src=\"https:\/\/www.youtube.com\/embed\/hggk3V6TXGg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Adding a &#8220;Buy Now&#8221; type button is similar to <a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/show-add-to-cart-buttons-using-wordpress-estore-shopping-cart-plugin-1\"><strong>adding an Add to Cart button<\/strong><\/a>. The main difference is in the shortcode that is used to place the button on a post or page. To insert a &#8220;Buy Now&#8221; type button add the following shortcode in a post or page:<\/p>\n\n\n\n<p>[wp_eStore_buy_now_button id=PRODUCT-ID]<\/p>\n\n\n\n<p>Replace &#8216;PRODUCT-ID&#8217; with the actual product id of the product you are selling. For example:<\/p>\n\n\n\n<p>[wp_eStore_buy_now_button id=1]<\/p>\n\n\n\n<p>Try clicking on the following Buy button to see how it works:<\/p>\n\n\n\n<p><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-thumbnail wp-image-3052\" src=\"http:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2009\/06\/product-image-mp3-blue-150x150.jpg\" alt=\"product image audio selling\" width=\"150\" height=\"150\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2009\/06\/product-image-mp3-blue-150x150.jpg 150w, https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2009\/06\/product-image-mp3-blue.jpg 300w\" sizes=\"(max-width: 150px) 100vw, 150px\" \/><br>Name:<\/strong> Demo Product Four<br><strong>Description:<\/strong> Demonstrates the<br>&#8216;Buy Now&#8217; type button<br><strong>Price:<\/strong> $1.00<br><div class=\"eStore_button_wrapper eStore_pp_buy_now_wrapper\"><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" class=\"eStore-pp-buy-now-form eStore-pp-buy-now-form-4\" onsubmit=\"return ReadForm1(this, 2);\" ><div class=\"eStore_variation_top\"><\/div><input type=\"hidden\" name=\"product_name_tmp1\" value=\"Demo Product Four\" \/><input type=\"hidden\" name=\"price_tmp1\" value=\"1.75\" \/><input type=\"hidden\" name=\"cmd\" value=\"_xclick\" \/><input type=\"hidden\" name=\"charset\" value=\"utf-8\" \/><input type=\"hidden\" name=\"business\" value=\"sales@tipsandtricks-hq.com\" \/><input type=\"hidden\" name=\"item_name\" value=\"Demo Product Four\" \/><input type=\"hidden\" name=\"amount\" value=\"1.75\" \/><input type=\"hidden\" name=\"currency_code\" value=\"USD\" \/><input type=\"hidden\" name=\"item_number\" value=\"4\" \/><input type=\"hidden\" name=\"no_shipping\" value=\"1\" \/><input type=\"hidden\" name=\"notify_url\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/?estore_pp_ipn=process\" \/><input type=\"hidden\" name=\"return\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/thank-you\" \/><input type=\"hidden\" name=\"cancel_return\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/\" \/><input type=\"hidden\" name=\"bn\" value=\"TipsandTricks_SP\" \/><input type=\"hidden\" name=\"cbt\" value=\"Click Here for Your Downloads\" \/><input type=\"hidden\" name=\"rm\" value=\"1\" \/><input type=\"hidden\" name=\"custom\" value=\"ip=216.73.217.6\" id=\"eStore_custom_values\" \/><input type=\"image\" src=\"http:\/\/tipsandtricks-hq.com\/ecommerce\/wp-content\/plugins\/wp-cart-for-digital-products\/images\/buy_now.png\" class=\"eStore_buy_now_button\" alt=\"Buy Now\"\/><\/form><\/div><\/p>\n\n\n\n<p>Each &#8216;Buy Now&#8217; type button can have a unique return URL. When the return URL is used the customer is sent to the specified URL after Payment.<\/p>\n\n\n<h2 class=\"wp-block-heading\" id=\"customizing-the-buy-button-image\">Customizing the &#8220;Buy&#8221; Button Image<\/h2>\n\n\n<p>You can customize the buy button image with your unique custom designed image by specifying the image URL in the &#8220;Button Image URL&#8221; field of the product.<\/p>\n\n\n\n<p>For example I have used the well known &#8220;Belcher Button&#8221; image for the following buy button. It looks a lot like what you may have seen on may other sales pages, doesn&#8217;t it? \ud83d\ude42<\/p>\n\n\n\n<div class=\"eStore_button_wrapper eStore_pp_buy_now_wrapper\"><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" class=\"eStore-pp-buy-now-form eStore-pp-buy-now-form-24\" onsubmit=\"return ReadForm1(this, 2);\" ><div class=\"eStore_variation_top\"><\/div><input type=\"hidden\" name=\"product_name_tmp1\" value=\"Buy Now Button with Custom Image \" \/><input type=\"hidden\" name=\"price_tmp1\" value=\"97.00\" \/><input type=\"hidden\" name=\"cmd\" value=\"_xclick\" \/><input type=\"hidden\" name=\"charset\" value=\"utf-8\" \/><input type=\"hidden\" name=\"business\" value=\"sales@tipsandtricks-hq.com\" \/><input type=\"hidden\" name=\"item_name\" value=\"Buy Now Button with Custom Image \" \/><input type=\"hidden\" name=\"amount\" value=\"97.00\" \/><input type=\"hidden\" name=\"currency_code\" value=\"USD\" \/><input type=\"hidden\" name=\"item_number\" value=\"24\" \/><input type=\"hidden\" name=\"no_shipping\" value=\"1\" \/><input type=\"hidden\" name=\"notify_url\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/?estore_pp_ipn=process\" \/><input type=\"hidden\" name=\"return\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/thank-you\" \/><input type=\"hidden\" name=\"cancel_return\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/\" \/><input type=\"hidden\" name=\"bn\" value=\"TipsandTricks_SP\" \/><input type=\"hidden\" name=\"cbt\" value=\"Click Here for Your Downloads\" \/><input type=\"hidden\" name=\"rm\" value=\"1\" \/><input type=\"hidden\" name=\"custom\" value=\"ip=216.73.217.6\" id=\"eStore_custom_values\" \/><input type=\"image\" src=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/2010\/10\/thebelcherbutton.jpg\" class=\"eStore_buy_now_button\" alt=\"Buy Now\"\/><\/form><\/div>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"using-a-fancy-display-template-with-the-buy-now-button\">Using a Fancy Display Template with the Buy Now Button<\/h2>\n\n\n<div class=\"eStore-product eStore-fancy-wrapper\"><div class=\"eStore-thumbnail\"><a href=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/product_thumbnails\/thumbnail-9.jpg\" rel=\"lightbox[Demo Buy Now button]\" title=\"Demo Buy Now button\"><img decoding=\"async\" class=\"thumb-image\" src=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/uploads\/product_thumbnails\/thumbnail-9.jpg\" alt=\"Demo Buy Now button\" \/><\/a><\/div><div class=\"eStore-product-description\"><div class=\"eStore-product-name\">Demo Buy Now button<\/div>This is a test description. This description is here to show how the description of this product looks like when used with the <a href=\"http:\/\/www.tipsandtricks-hq.com\/?p=1059\"><strong>WordPress Shopping Cart<\/strong><\/a>.<div class=\"eStore_price\"><span class=\"eStore_price_label\"><strong>Price: <\/strong><\/span><span class=\"eStore_price_value\">$1.00<\/span><\/div><div class=\"eStore_button_wrapper eStore_pp_buy_now_wrapper\"><form action=\"https:\/\/www.paypal.com\/cgi-bin\/webscr\" method=\"post\" class=\"eStore-pp-buy-now-form eStore-pp-buy-now-form-9\" onsubmit=\"return ReadForm1(this, 2);\" ><div class=\"eStore_variation_top\"><\/div><input type=\"hidden\" name=\"product_name_tmp1\" value=\"Demo Buy Now button\" \/><input type=\"hidden\" name=\"price_tmp1\" value=\"1.00\" \/><input type=\"hidden\" name=\"cmd\" value=\"_xclick\" \/><input type=\"hidden\" name=\"charset\" value=\"utf-8\" \/><input type=\"hidden\" name=\"business\" value=\"sales@tipsandtricks-hq.com\" \/><input type=\"hidden\" name=\"item_name\" value=\"Demo Buy Now button\" \/><input type=\"hidden\" name=\"amount\" value=\"1.00\" \/><input type=\"hidden\" name=\"currency_code\" value=\"USD\" \/><input type=\"hidden\" name=\"item_number\" value=\"9\" \/><input type=\"hidden\" name=\"no_shipping\" value=\"1\" \/><input type=\"hidden\" name=\"notify_url\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/?estore_pp_ipn=process\" \/><input type=\"hidden\" name=\"return\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/thank-you\" \/><input type=\"hidden\" name=\"cancel_return\" value=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/\" \/><input type=\"hidden\" name=\"bn\" value=\"TipsandTricks_SP\" \/><input type=\"hidden\" name=\"cbt\" value=\"Click Here for Your Downloads\" \/><input type=\"hidden\" name=\"rm\" value=\"1\" \/><input type=\"hidden\" name=\"custom\" value=\"ip=216.73.217.6\" id=\"eStore_custom_values\" \/><input type=\"image\" src=\"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-content\/plugins\/wp-cart-for-digital-products\/images\/buy_now_76.png\" class=\"eStore_buy_now_button\" alt=\"Buy Now\"\/><\/form><\/div><\/div><\/div>\n\n\n\n<p>Enter the following shortcode to display the product like the one above (1 is the product id of the product in this example):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[wp_eStore_buy_now_fancy id=1]<\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"display-buy-now-button-from-any-wordpress-theme-file\">Display Buy Now button from Any WordPress Theme File<\/h2>\n\n\n<p>You can also use the following PHP function if you want to show the &#8216;Buy Now&#8217; type buttons from your wordpress theme&#8217;s template files (eg. on the sidebar &#8216;sidebar.php&#8217;):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">print_eStore_buy_now_button(PRODUCT-ID)<\/pre>\n\n\n\n<p>So adding the following line to a PHP file will display a Buy Now button for the product who&#8217;s product id is 4:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php echo print_eStore_buy_now_button(4); ?><\/pre>\n\n\n<h2 class=\"wp-block-heading\" id=\"creating-a-buy-now-button-for-other-payment-gateways\">Creating a Buy Now Button For Other Payment Gateways<\/h2>\n\n\n<p>Check the following documentation to learn how to create a buy now button for the other eStore gateways:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/support.tipsandtricks-hq.com\/forums\/topic\/how-to-use-gateway-specific-buy-now-type-buttons\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>How to use payment gateway specific buy now button<\/strong><\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>WP eStore plugin allows you to create &#8220;Buy Now&#8221; type button functionality so your customers don&#8217;t have to add items to the cart. The &#8220;Buy Now&#8221; type buttons take the customers directly to the payment page for payment when clicked. Creating a PayPal Buy Now Button Adding a &#8220;Buy Now&#8221; type button is similar to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[4],"tags":[6,201],"class_list":{"0":"post-15","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-button-display","7":"tag-buy-now-button","8":"tag-wordpress-estore","9":"entry"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/15"}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":6,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/15\/revisions"}],"predecessor-version":[{"id":5448,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/posts\/15\/revisions\/5448"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/media?parent=15"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/categories?post=15"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/ecommerce\/wp-json\/wp\/v2\/tags?post=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}