Directory / plugin

Buy Button for WooCommerce

v1.0.4 · by Noor Alam

Create Buy Now buttons for WooCommerce

About this plugin

Buy Button for WooCommerce is a plugin that can create Buy Now buttons for WooCommerce products. The buttons can be placed on a page with shortcodes. When a visitor clicks on a Buy Now button, they will be redirected to the checkout page to pay for the product.

How to Create a Buy Now Button in WooCommerce

To create a quick buy button, you need to use the following shortcode:

[buy_button_wc id="1"]

Replace 1 with your WooCommerce product id.

Button Text

The default text for the button is “Buy Now”. You can customize it using the “button_text” parameter (optional).

[buy_button_wc id="1" button_text="Pay Now"]

Class

The “class” parameter can be used to add custom CSS classes to a button (optional).

[buy_button_wc id="1" class="btn1"]

[buy_button_wc id="1" class="btn1 btn2"]

[buy_button_wc id="1" class="btn1 btn2 btn3"]

Template

The “template” parameter can be used to create a product showcase box featuring the product image, title, category, price, and button (optional).

[buy_button_wc id="1" template="1"]

For detailed documentation please visit the WooCommerce Buy Now Button Plugin page.

Plugin tags