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