PluginProbe
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce / 3.0.1
CartFlows – Funnel Builder & Checkout Plugin for WooCommerce v3.0.1
3.3.0 3.2.1 3.2.0 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.1 trunk 1.0.4 1.1.0 1.1.0.1 1.1.1 1.1.10 1.1.11 1.1.12 1.1.13 1.1.14 1.1.15 1.1.16 1.1.17 1.1.18 1.1.19 1.1.2 All 162 releases
cartflows / .abilities-audit / modules / landing / mining.md

mining.md in CartFlows – Funnel Builder & Checkout Plugin for WooCommerce 3.0.1, at .abilities-audit/modules/landing/mining.md

47 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 # Landing Module -- Ability Mining
2
3 **Module:** Landing (Module 8)
4 **Priority:** P1
5 **Directory:** `cartflows/modules/landing/`
6 **WC Required:** No
7 **Date:** 2026-03-04
8
9 ---
10
11 ## Source Files Reviewed
12
13 - `class-cartflows-landing.php` -- Module loader
14 - `classes/class-cartflows-landing-meta-data.php` -- Meta fields, settings
15 - `classes/class-cartflows-landing-markup.php` -- Frontend rendering, redirect logic, homepage integration
16
17 ---
18
19 ## Meta Keys Identified
20
21 | Key | Type | Description |
22 |-----|------|-------------|
23 | `wcf-disable-step` | yes/no | Disable step toggle |
24 | `wcf-custom-script` | textarea | Custom script |
25 | `step_post_name` | string | Step slug (post field, not meta) |
26
27 ---
28
29 ## Ability Candidates
30
31 ### 1. get-landing-settings (Configuration/Read)
32 Returns landing step configuration: step slug, next step link shortcode, and disable-step toggle. This is the only viable read ability for this minimal module.
33
34 ---
35
36 ## Rejected During Mining
37
38 - **Custom script**: Security concern -- arbitrary code injection via API.
39 - **Disable step toggle** (as write ability): Too generic (applies to all step types equally). Could be a general "update-step-settings" but that crosses module boundaries. Low value as a standalone write ability for landing only.
40 - **Next step link shortcode**: Read-only informational value, already available via get-step. Captured inside get-landing-settings instead.
41
42 ---
43
44 ## Notes
45
46 The Landing module is intentionally minimal -- it is a page-builder-driven step type with almost no CartFlows-specific configuration. The step content is entirely managed through the page builder (Elementor, Gutenberg, Divi, etc.). Only 1 ability is viable.
47