[WordPress] 外掛分享: Buy Now Button Redirect for WooCommerce

前言介紹

  • 這款 WordPress 外掛「Buy Now Button Redirect for WooCommerce」是 2025-09-30 上架。
  • 目前尚無安裝啟用數,是個很新的外掛。如有要安裝使用,建議多測試確保功能沒問題!
  • 上一次更新是 2025-10-01,距離現在已有 148 天。
  • 外掛最低要求 WordPress 5.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

braddalton | wordpresssites |

外掛標籤

buy now | checkout | redirect | add to cart | woocommerce |

內容簡介

總結:這是一個 WooCommerce 外掛,讓您可以直接將「加入購物車」按鈕重定向到結帳頁面、購物車頁面,或自定義 URL。具有全局設置和單品定制功能,並提供先進的定位選項和現代化使用者介面。

問題與答案:

1. 這個外掛的主要功能是什麼?
- 回答:這是一個 WooCommerce 外掛,幫助您直接將「加入購物車」按鈕重定向到結帳頁面、購物車頁面或自定義 URL。

2. 這個外掛有哪些功能?
- 回答:它提供全局設置,可以為所有產品配置重定向行為,並且可以覆蓋全局設置以為單獨的產品進行定制,具有高級定位功能和現代化使用者界面。

3. 如何安裝這個外掛?
- 回答:將外掛文件上傳到 /wp-content/plugins/buy-now-button-redirect-for-woocommerce/,然後在 WordPress 的「外掛」菜單中啟用該外掛,最後在「WooCommerce > 購買立即連結」下配置設置。

4. 這個外掛如何使用全局設置?
- 回答:轉到 WooCommerce > 購買立即連結,在那裡啟用全局重定向,選擇重定向目的地:結帳頁面、購物車頁面或自定義 URL。

5. 這個外掛如何應用高級定位選項?
- 回答:該外掛可以通過分類、標籤或任何自定義分類來定位產品,並且可以應用於主要商店頁面、產品分類頁面、產品標籤頁面或所有產品歸檔頁面。

原文外掛簡介

A WooCommerce plugin that allows you to redirect the “Add to Cart” button directly to the checkout page, cart page, or a custom URL. Features both global settings and per-product customization with advanced targeting options and modern UI.
Features

Global Settings: Configure redirect behavior for all products
Per-Product Settings: Override global settings for individual products
Advanced Targeting: Target products by taxonomy and shop archives
AJAX Support: Works on both single product pages and shop/archive pages
Multiple Redirect Options:

Checkout page
Cart page
Custom URL

Smart Fallback: Product settings override global settings
Modern Interface: Enhanced UI with Select2 dropdowns and WordPress styling
Responsive Design: Clean, professional admin interface

Installation

Upload the plugin files to /wp-content/plugins/buy-now-button-redirect-for-woocommerce/
Activate the plugin through the ‘Plugins’ menu in WordPress
Configure settings under ‘WooCommerce > Buy Now Link’

Usage
Global Settings

Go to WooCommerce > Buy Now Link
Enable global redirect if desired
Choose redirect destination:

Checkout Page: Redirects to WooCommerce checkout
Cart Page: Redirects to WooCommerce cart
Custom URL: Redirects to a custom URL of your choice

If using Custom URL, enter the full URL (e.g., https://example.com/thank-you)
Save settings

Targeting Options
The plugin includes advanced targeting options to apply redirects only to specific products or pages:
Taxonomy Targeting

Target products by category, tag, or any custom taxonomy
Select2 Dropdowns: Modern, searchable multi-select dropdowns for easy term selection
Select specific terms within each taxonomy
Only products with selected terms will have redirects applied
Visual Tags: Selected terms display as styled tags with WordPress blue theme

Shop Archive Targeting

Main Shop Page: Apply redirects on the main shop page
Product Category Pages: Apply redirects on category archive pages
Product Tag Pages: Apply redirects on tag archive pages
All Product Archive Pages: Apply redirects on all product archive pages

Single Product Settings
Individual product “Add to Cart” buttons can be configured to redirect directly to checkout, cart, or a custom URL. This is perfect for products that should bypass the cart entirely or redirect to specific landing pages.
Per-Product Settings

Edit any product in WooCommerce
Look for the “Buy Now Link Settings” metabox in the main content area
Enable redirect for this specific product
Choose redirect destination (same options as global settings)
If using Custom URL, leave empty to use global custom URL
Update the product

Priority System
The plugin uses a priority system for settings:

Product-specific settings (highest priority)
Global settings with targeting conditions (if product settings are disabled)
No redirect (if both are disabled or targeting conditions not met)

Targeting Logic
When targeting options are configured:
– Taxonomy targeting: Only products with selected taxonomy terms will have redirects
– Archive targeting: Redirects only apply on selected shop archive pages
– Combined targeting: All conditions must be met for redirects to apply
Changelog
1.0.4

Admin Interface Enhancement: Added Single Product Settings section to global settings page
User Guidance: Added clear instructions for configuring individual product redirects
Documentation: Improved admin page with better user guidance

1.0.3

Settings Page Fix: Fixed settings page display issue caused by page slug mismatch
Settings Registration: Corrected settings sections and fields registration
Admin Interface: Ensured all settings fields display properly in admin panel

1.0.2

Additional WordPress.org Plugin Review Fixes: Resolved remaining plugin review issues
Custom Hook Names: Replaced WooCommerce core hook names with custom hook names
Menu Slug: Updated admin menu slug to use proper prefix
Documentation: Updated README with correct file paths and structure
Changelog: Comprehensive changelog updates

1.0.1

WordPress.org Plugin Review Compliance: Fixed all plugin review issues
Unique Naming: Replaced short ‘dtc’ prefix with longer ‘buynobur’ prefix throughout plugin
Text Domain: Updated text domain to match plugin slug exactly
Contributors: Added ‘braddalton’ to contributors list
Enqueue Standards: Replaced inline scripts/styles with proper wp_enqueue functions
File Structure: Separated admin CSS and JS into dedicated files
Code Standards: Improved code organization and WordPress coding standards compliance

1.0.0

Initial release
Global settings page in WooCommerce menu
Per-product metabox in main content area
Multiple redirect options (Checkout, Cart, Custom URL)
Advanced targeting by taxonomy and shop archives
AJAX support for shop and archive pages
Select2 integration for taxonomy selection
Enhanced admin styling with WordPress blue theme
Smart field display (Custom URL shows only when needed)
Responsive design and professional UI
Improved meta box styling with background and spacing

Support
For support and questions, please contact the plugin author.
License
This plugin is licensed under the GPL v2 or later.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Buy Now Button Redirect for WooCommerce」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.2 | 1.0.3 | 1.0.4 | trunk |

延伸相關外掛(你可能也想知道)

  • WPC AJAX Add to Cart for WooCommerce 》WPC AJAX Add to Cart for WooCommerce 是一款高效的外掛,能幫助線上商店削減網站載入時間、改善用戶體驗並增加銷售額。此外掛允許用戶加入商品至購物車而不...。
  • Ajax add to cart for WooCommerce 》關於我們 | 社群 | Github, WooCommerce 的預設加入購物車按鈕每次添加商品時都需要重新載入整個網站。你的電子商務網站載入的步驟和時間越多,你售出的機會...。
  • Add to Cart Button Custom Text 》這個外掛讓你可以更改在WooCommerce中用於購買產品的「加入購物車」按鈕上所顯示的文字。你可以針對以下不同的產品類型和位置選擇使用不同的自訂文字:, 單一...。
  • Custom Add to Cart labels for WooCommerce 》這個外掛讓您可以自定義單一產品頁面 (每種產品類型) 和目錄/商店頁面 (每種產品類型) 的「加入購物車」按鈕標籤。, 單一產品, , 簡單產品, 多變產品, 組合產...。
  • Remove Add to Cart WooCommerce 》這個外掛程式可以執行以下功能;由themelocation開發, 1- 從完整類別中移除/停用"新增至購物車"按鈕。, 2- 在完整類別中,使用"詢問我們"按鈕替換"新增至購物...。
  • WPC Added To Cart Notification for WooCommerce 》WPC Added to Cart Notification(WPC 購物車通知)是一款在線商店中完善流暢購物流程的有用 WordPress 外掛。它允許用戶在產品頁面或購物頁面上添加商品到購...。
  • Change WooCommerce Add To Cart Button Text 》增加您的「加入購物車」按鈕的互動性。, 這個 WordPress 外掛能讓您在幾分鐘內輕鬆地將 WooCommerce「加入購物車」按鈕文字修改成更有說服力的字眼,讓顧客更...。
  • WPC Sticky Add To Cart for WooCommerce 》使用「置頂加入購物車」功能是提升電商網站用戶體驗的最常見方法之一。這樣可以在瀏覽商店時準備更便捷和更快速的結帳流程。許多研究已經顯示,使用「置頂加...。
  • Add to Cart Text Changer and Customize Button, Add Custom Icon 》支援 WordPress 最新版,並新增了新功能,類似專業版功能。現在可以處理所有類型的產品和所有類型的頁面。例如商店頁面、檔案頁面、單一頁面等。, 示範, , 在...。
  • Custom Buttons for WooCommerce – Add To Cart Button for Product Types 》您的產品按鈕顯示的文字不對嗎?通過修改按鈕文字以符合您的客戶的需要,您可以改善它們。定制添加到購物車按鈕將有助於您的客戶瀏覽 WooCommerce 商店。, Bu...。
  • XT Ajax Add To Cart for WooCommerce 》「XT Ajax Add To Cart for WooCommerce」讓使用者在不需要重新載入整個網站的情況下,可以將單一產品或多屬性產品加入購物車。, 這是您必須在 WooCommerce ...。
  • Quick Buy For Woocommerce 》將快速購買按鈕添加到產品頁面,當使用者點擊快速購買按鈕時,會立即重定向到結帳/購物車頁面。, 當使用者點擊此按鈕時,當前產品會被加入購物車,使用者會被...。
  • Woocommerce Ajax add to cart for variable products 》這個外掛可啟用可變商品讓使用者透過 Ajax 加入購物車的功能,因為 WooCommerce 預設是不支援此功能的。外掛會加上自己的 jQuery,與 WooCommerce 預設的加入...。
  • Change Add to Cart Button Text for WooCommerce 》「Add to Cart Button Labels for WooCommerce」外掛可讓您更改加入購物車按鈕的文字。, ✅ 主要功能, 可以設定添加至購物車的標籤:, , 針對個別產品(...。
  • Enhanced AJAX Add to Cart for WooCommerce 》使用區塊或 shortcode,內嵌一個輕量、智能且靈活的「新增至購物車按鈕」與內容並排顯示在任何你想要的頁面上。, 這款 WooCommerce 擴充套件可以讓你渲染一個...。

文章
Filter
Apply Filters
Mastodon