A short technical summary for developers and system administrators.
- Opt-in
- Every fix is off by default. A switched-off fix adds no CSS or JS to any screen. Store mode and the WhatsApp button change the front end, store counts appear only where you place them, and all other fixes load only in the WordPress admin. Settings are split into General, WooCommerce, and Help tabs.
- List tables
- Minimum column widths, a sticky header row, and horizontal overflow on WP_List_Table screens. Scope: every post type list or the product list only. The WordPress responsive view at phone widths is left untouched.
- Catalog mode
- Products and variations are marked not purchasable; add-to-cart requests are refused through forms, AJAX, and the Store API. Cart and Checkout redirect to the shop or home page, and their links are hidden in classic and block menus. Items already in a cart are dropped quietly.
- Quote cart
- Classic and block checkout requests are refused and the Checkout page redirects to the quote form page. The Quote items field is filled through the e5wpfr_quote_items filter and read again on the server; webhooks get product and variation IDs. Single-product links use post_id, variation_id, and quantity and are checked on the server; only published products count. The “In quote list” state comes from a small cookie (e5wphf_quote_ids), so cached pages are marked correctly.
- Store counts
- Block bindings source e5wphf/store-count (key: products, brands, or categories; format: rounded, exact, or raw), the [e5wphf_count] shortcode, the Rank Math variables %e5wphf_products%, %e5wphf_brands%, and %e5wphf_categories%, and PHP functions such as e5wphf_store_count(). Cached in a transient (the object cache when active) and flushed when products, terms, stock, or visibility change.
- Inquiry link
- The form page link gets post_id and variation_id URL parameters (names are configurable). The variation ID updates live on classic product pages and with the Add to Cart Form block.
- WhatsApp message
- Placeholders {title}, {sku}, {url}, and {site}; a part in parentheses with {sku} is left out when there is no SKU. Filters: e5wphf_whatsapp_message and e5wphf_whatsapp_content_post_types.
- Uninstall
- The plugin stores a single option (e5wphf_settings), which is removed when the plugin is deleted.