WP Manifestindependent plugin directory
manifest / ecommerce / wp-woo-better-alternative

WP Woo Better Alternative

Show a “Better alternative” block on WooCommerce product pages, powered by ACF fields.

by Rob Huijben · github.com/robhuijben/wp-woo-better-alternative

★ 0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/robhuijben/wp-woo-better-alternative/archive/refs/heads/main.zip

Display a prominent “Better alternative” suggestion on WooCommerce product pages. The block is powered by Advanced Custom Fields (ACF) so store managers can highlight upsell products that better match a shopper’s needs.

Features

  • Adds a reusable Better Alternative block to single product pages out of the box.
  • Leverages ACF to let editors pick alternative products and control the copy without touching code.
  • Ships with an overridable template (templates/block-better-alternative.php) so developers can match any storefront design.

Installation

  1. Download or clone this repository into wp-content/plugins/wp-woo-better-alternative.
  2. Ensure WooCommerce and Advanced Custom Fields (free or PRO) are active on your site.
  3. From the WordPress admin, go to Plugins → Installed Plugins and activate WP Woo Better Alternative.

Configuration

  • Create the required ACF field group (e.g. a Relationship or Post Object field) that stores the alternative product reference and assign it to WooCommerce products.
  • Populate the Better Alternative field on each product you want to enhance.
  • Optionally copy templates/block-better-alternative.php to your theme (e.g. into your-theme/woocommerce/) and customize the markup or styling to match your brand.
  • Flush any page cache so the new block appears immediately for customers.