
內容簡介
Buy Button for WooCommerce 是一款能為 WooCommerce 產品創建「立即購買」按鈕的外掛。使用者可以透過短碼將按鈕放置於頁面上,點擊後將直接導向結帳頁面進行付款,提升購物便利性。
【主要功能】
• 創建「立即購買」按鈕
• 支援自訂按鈕文字
• 可添加自訂 CSS 類別
• 提供產品展示框模板
• 簡易使用短碼操作
外掛標籤
開發者團隊
原文外掛簡介
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.
