# Low-Price Order Customer Import and Catalog Filter Implementation Plan
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Make low-price customer-profile selection import only customer data and hide catalog entries that have not enabled minimum-price validation.
**Architecture:** Add one pure helper beside the existing customer-profile effects to build an order that changes only its customer object, and add one pure catalog filter before the existing catalog classifier. The page selects these paths only when `Number(orderObj.lowPriceFlag) === 1`; normal-order routing and catalog behavior remain unchanged.
**Tech Stack:** WeChat Mini Program JavaScript, ES modules, Node.js 24 built-in test runner.
## Global Constraints
- Do not modify `config.js` or `yarn.lock`; they contain pre-existing user changes.
- Do not change APIs, dependencies, layouts, existing low-price price comparison, or submission validation.
- Treat minimum-price validation as enabled only when `validMinSellPrice === 'Y'`.
- Low-price packages require a non-empty child list and every child enabled.
- Low-price multi-spec goods retain only enabled SKUs and disappear when no SKU remains.
- Normal orders retain their existing customer-profile and full-catalog behavior.
---
### Task 1: Import only the customer domain for low-price orders
-[]**Step 5: Write the failing page integration test**
Create `customerProfileOnlyImport.integration.test.mjs` using the established page-loader setup from `selectedMerchantContext.integration.test.mjs`. Load the real page config, create a page with current low-price goods and payment state, invoke `pageConfig.chooseCustomerInfo.call(page, { detail: selectedRecord })`, and assert these literal outcomes:
The page double must keep `setData` behavior real for top-level patches and replace only the external profile fetch path with a local `echoCustomerProfileIfNeeded` observer.
-[]**Step 6: Run the integration test and verify RED**
-[]**Step 5: Write the failing catalog integration test**
Create `lowPriceCatalogFilter.integration.test.mjs` with the real page config and a fake `api.getSelectOrderGoodsList` response containing one enabled single, one disabled single, one mixed-SKU multi-spec item, and one mixed package. Invoke the real `getSelectOrderGoodsList`, wait for its promise chain, and assert: