WP Manifestindependent plugin directory
manifest / ecommerce / subscription-priority-for-apfs

Subscription Priority for All Products for WooCommerce Subscriptions WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Makes subscription options the default and more prominent on shop and product pages for All Products for Subscriptions.

★ 0stars
1.0.3latest · 1 year ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/shameemreza/subscription-priority-for-apfs/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A mini addon for All Products for WooCommerce Subscriptions that makes subscription plans the default selection and visually prioritizes them over one-time purchases.

Purpose

This plugin solves a common request from WooCommerce store owners who want to:

  • Guide customers toward subscription purchases.
  • Make subscription options more prominent.
  • Simplify the subscription selection process.
  • Increase recurring revenue.

Features

  • Automatic Default Selection - Subscription plans are pre-selected on product pages.
  • Universal Coverage - Works on all pages: shop, homepage, shortcodes, widgets, blocks.
  • Direct Subscribe Anywhere - Adds subscription version directly to cart from any location.
  • Visual Hierarchy - Bold and highlighted subscription options.
  • Custom Button Text - "Sign up" instead of "Add to Cart".
  • AJAX Support - Full compatibility with AJAX add-to-cart.
  • HPOS Compatible - Works with High-Performance Order Storage.
  • Developer Friendly - Extensible with hooks and filters.

Requirements

  • WordPress 6.0 or higher.
  • PHP 7.4 or higher.
  • WooCommerce 7.0 or higher.
  • WooCommerce Subscriptions.
  • All Products for WooCommerce Subscriptions.

Installation

  1. Download the latest release from GitHub Releases
  2. Upload to /wp-content/plugins/subscription-priority-for-apfs/
  3. Activate through the WordPress admin

Configuration

No configuration needed! The plugin works immediately after activation.

Customization

Available Filters

// Control which products default to subscription
add_filter( 'spapfs_enable_default_subscription', function( $enable, $product ) {
    // Your logic here
    return $enable;
}, 10, 2 );

// Customize the Sign up button text
add_filter( 'spapfs_subscribe_button_text', function( $text, $product ) {
    return __( 'Start Subscription', 'your-textdomain' );
}, 10, 2 );

// Override styles
add_filter( 'spapfs_inline_styles', function( $css ) {
    // Add or modify CSS
    return $css;
} );

Custom Styling

Override the default blue (#0073aa) highlighting:

/* Change subscription highlight color */
.wcsatt-options-product
  .subscription-option
  input[type="radio"]:checked
  + label {
  color: #your-color !important;
  background: linear-gradient(
    90deg,
    rgba(your-rgb, 0.05) 0%,
    rgba(your-rgb, 0.02) 100%
  );
}

Changelog

Version 1.0.3 (2024-11-28)

  • Fixed: "Sign up" button now works everywhere products are displayed (homepage, shortcodes, widgets, blocks)
  • Fixed: Subscription auto-selection now works on all pages, not just shop/category pages
  • Improved: Styles now load on all pages that might contain products
  • Enhanced: Better context detection for applying subscription schemes

Version 1.0.2 (2024-11-28)

  • Fixed: Created missing languages folder for translations
  • Fixed: Removed deprecated load_plugin_textdomain() function (not needed since WordPress 4.6)
  • Fixed: Corrected text domain throughout plugin to match plugin slug
  • Improved: Code compliance with WordPress Plugin Check standards

Version 1.0.1 (2024-11-28)

  • Fixed: Shop page button now correctly shows "Sign up" instead of "Add to cart"
  • Fixed: "Sign up" button on shop pages now adds subscription version (not one-time purchase)
  • Improved: Better detection of AJAX add-to-cart requests from shop pages
  • Changed: Button text from "Subscribe" to "Sign up" (matches WooCommerce Subscriptions default)

Version 1.0.0 (2024-11-28)

  • Initial release
  • Automatic subscription selection
  • Direct subscription add-to-cart
  • Bold and highlighted subscription text
  • Visual hierarchy implementation
  • HPOS compatibility
  • Developer hooks and filters

📄 License

This plugin is licensed under the GPL v2.0 or later.


⭐ If you find this plugin helpful, please give it a star on GitHub!

Releases

3 releases.

Tag
Published
1.0.3 latest
Aug 31, 2025 1 year ago
Aug 30, 2025 1 year ago
Aug 28, 2025 1 year ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Subscription Priority for All Products for WooCommerce Subscriptions 1.0.3 · audited by WP Registry

No security issues found.

Audited release
1.0.3
Findings
none
Worst severity
—
Content hash
3ef22a8d1faf9d02fff3e60a…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.