WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-enhancements

WooCommerce Enhancements

A versatile toolkit to enhance WooCommerce functionality (Category Hider, Shipping Bar, Countdown).

by Sebastian Szydlowski · github.com/seb-devsec/woocommerce-enhancements

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/seb-devsec/woocommerce-enhancements/archive/refs/heads/main.zip

/**

  • Plugin Name: WooCommerce Enhancements
  • Description: A versatile toolkit to enhance WooCommerce functionality (Category Hider, Shipping Bar, Countdown).
  • Version: 1.0.0
  • Author: Sebastian Szydlowski
  • Text Domain: wce
  • Domain Path: /languages */

A high-performance, fully modular optimization toolkit for WooCommerce built with modern WordPress development practices and clean OOP architecture. This plugin is designed as a "swiss-army knife" for e-commerce shops to boost conversions, improve admin workflow, and optimize the checkout UX.

Key Features & Modules

WC Enhancements (WCE) A high-performance, ultra-modular optimization suite for WooCommerce built using modern WordPress engineering standards and clean OOP principles. This plugin serves as an advanced multi-tool for e-commerce stores—optimizing conversions, refining the checkout UX, and streamlining catalog administration without the bloat of multiple separate plugins.

Active Functional Modules

  1. Smart Product Badges Dynamically attaches visual indicators (Sale!, New, Sold Out) to product archive cards.

Smart Clutter Protection: Automatically suppresses the "New" badge when an item is on "Sale", prioritizing direct promotions and keeping layouts clean.

Granular Options: Full control over badge text, custom color palettes, and the active lifetime threshold for newly published items.

  1. Product Sales Counter Leverages social proof by displaying live item velocity under the price on single product templates.

Negative Social Proof Guard: Configurable threshold filter to hide counters on newly listed items until they hit a baseline traction target (e.g., min. 5 sales).

Hybrid Configuration: Style attributes are governed globally, while a per-product metabox allows individual exclusion for ultra-premium or low-volume stock.

  1. Hide Paid Shipping Boosts conversion clarity by dropping standard paid shipping lines once the client triggers eligibility for Free Shipping.

Local Pickup Safeguard: Keeps specific options like "Local Pickup" active alongside Free Shipping to prevent losing localized sales.

Late Execution: Operates deep inside woocommerce_package_rates (priority 100) to guarantee cleaner extraction of carrier lines added by external shipping extensions.

  1. Product Sticky Bar (FOMO / Urgency Bar) Locks a conversion-focused banner to the top or bottom edge of the viewport exclusively on active item landing pages.

Isolated Logic: Toggle state and persuasion copy are completely decentralized and maintained on a per-product level.

Resource Optimization: Drops heavy inline HTML style strings; layout parameters are evaluated once by the central compiler pipeline.

  1. Quick Product Image Upload An inline AJAX workflow enhancement tool that cuts down catalog processing times by up to 80%.

Table-Level Interception: Administrators can click thumbnails straight from the main WooCommerce product listing screen to call up the native WP Media Frame.

Zero-Reload Commits: Image assets are linked securely in the background via asynchronous workers, instantly drawing down refreshed view states.

  1. Minimum Order Amount Restricts purchasing mechanisms until a target cart value baseline is successfully met.

Dynamic Content Extraction: Automatically feeds formatted variables like {min_amount} and {current_amount} into localized notification contexts.

Block Engine Synergy: Directly overrides standard React checkout actions within modern Gutenberg components using structural interceptors, backing them up with fallback validation routines.

  1. Category Hider Excludes restricted product taxonomies and their catalog trees cleanly from public shop loops.

Recursive Tree Control: Built using a clean, recursive parent-child hierarchy visual layout in the plugin dashboard.

  1. Free Shipping Progress Bar (Shipping Bar) Pushes incremental cart growth by visualizing the exact distance left to trigger free delivery.

Real-time Synchronization: Recalculates dynamically as item weight and price values shift during browsing.

  1. Custom Thank You Page Manager Allows managers to bypass standard, rigid checkout confirmation loops with optimized customer onboarding experiences.

  2. Review Manager Advanced tools designed to isolate, highlight, and polish user ratings to maximize layout validation metrics.

  3. Product-Specific Terms & Conditions (T&C) Enforces precise legal compliance rules by injecting conditional checkout confirmation requirements bound to specific high-liability catalog profiles.

  4. Disable Product Zoom Strips native image magnifying effects on selected item templates to clean up rendering pipelines on performance-restricted mobile viewpoints.

  5. Empty Cart Button Adds an optimized, single-action clearing utility that securely wipes active checkout cookies and transients in a single click.

Architectural Highlights

Centralized Module Manager Modules are registered via a core registry array. They can be toggled on/off independently via the main dashboard. Unused modules never instantiate their hooks or overhead.

Dynamic Inline CSS Compiler (Inline_CSS) To avoid blocking rendering pipelines with multiple asset files or writing dirty inline style="..." attributes, the plugin features an asset aggregator. It scans active modules, resolves styles dynamically using PHP variable interpolation ({$variable}), minifies whitespaces, and outputs a single cached