Buy Button for WooCommerce

外掛說明

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.

螢幕擷圖

安裝方式

  1. Go to the Add New plugins screen in your WordPress Dashboard
  2. Click the upload tab
  3. Browse for the plugin file (buy-button-for-woocommerce.zip) on your computer
  4. Click “Install Now” and then hit the activate button

常見問題集

Can I use this plugin to create Buy Now buttons in WooCommerce?

Yes.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Buy Button for WooCommerce〉的開發相關工作。

參與者

將〈Buy Button for WooCommerce〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.4

  • Added a product showcase box.

1.0.3

  • WordPress 6.7 compatibility update.

1.0.2

  • Added support for custom CSS classes.

1.0.1

  • First commit