Title: Buy Now Button Redirect for WooCommerce
Author: WP SITES
Published: <strong>2025 年 10 月 1 日</strong>
Last modified: 2025 年 10 月 1 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/buy-now-button-redirect-for-woocommerce/assets/icon.svg?rev
=3370936)

# Buy Now Button Redirect for WooCommerce

 由 [WP SITES](https://profiles.wordpress.org/wordpresssites/) 開發

[下載](https://downloads.wordpress.org/plugin/buy-now-button-redirect-for-woocommerce.1.0.4.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/buy-now-button-redirect-for-woocommerce/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/buy-now-button-redirect-for-woocommerce/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/buy-now-button-redirect-for-woocommerce/#developers)

 [技術支援](https://wordpress.org/support/plugin/buy-now-button-redirect-for-woocommerce/)

## 外掛說明

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

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

#### Usage

### Global Settings

 1. Go to **WooCommerce > Buy Now Link**
 2. Enable global redirect if desired
 3. Choose redirect destination:
 4.  * **Checkout Page**: Redirects to WooCommerce checkout
     * **Cart Page**: Redirects to WooCommerce cart
     * **Custom URL**: Redirects to a custom URL of your choice
 5. If using Custom URL, enter the full URL (e.g., `https://example.com/thank-you`)
 6. 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

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

### Priority System

The plugin uses a priority system for settings:

 1. **Product-specific settings** (highest priority)
 2. **Global settings with targeting conditions** (if product settings are disabled)
 3. **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](https://wpsites.net/product/buy-now-button-redirect-for-woocommerce/).

#### License

This plugin is licensed under the GPL v2 or later.

## 螢幕擷圖

[[

[[

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

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

參與者

 *   [ WP SITES ](https://profiles.wordpress.org/wordpresssites/)
 *   [ braddalton ](https://profiles.wordpress.org/braddalton/)

[將〈Buy Now Button Redirect for WooCommerce〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/buy-now-button-redirect-for-woocommerce)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/buy-now-button-redirect-for-woocommerce/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/buy-now-button-redirect-for-woocommerce/)，
或透過 [RSS](https://plugins.trac.wordpress.org/log/buy-now-button-redirect-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/buy-now-button-redirect-for-woocommerce/)。

## 中繼資料

 *  版本 **1.0.4**
 *  最後更新 **1 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.8.12**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/buy-now-button-redirect-for-woocommerce/)
 * 標籤:
 * [add to cart](https://tw.wordpress.org/plugins/tags/add-to-cart/)[buy now](https://tw.wordpress.org/plugins/tags/buy-now/)
   [checkout](https://tw.wordpress.org/plugins/tags/checkout/)[redirect](https://tw.wordpress.org/plugins/tags/redirect/)
   [woocommerce](https://tw.wordpress.org/plugins/tags/woocommerce/)
 *  [進階檢視](https://tw.wordpress.org/plugins/buy-now-button-redirect-for-woocommerce/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/buy-now-button-redirect-for-woocommerce/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/buy-now-button-redirect-for-woocommerce/reviews/)

## 參與者

 *   [ WP SITES ](https://profiles.wordpress.org/wordpresssites/)
 *   [ braddalton ](https://profiles.wordpress.org/braddalton/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/buy-now-button-redirect-for-woocommerce/)