Not every improvement needs a replatform. Adding a module to the platform you already run is often faster and safer. It becomes risky when each module brings its own data, rules and owner, and nobody is managing the whole.
Executive Summary
Commerce Architecture | Published October 15, 2026Retailers improve their commerce platforms constantly by adding modules: apps for reviews, search, subscriptions, loyalty, returns and personalization; services for tax, fraud and shipping; and custom extensions for business rules. Each addition is usually small, fast and justified. Together they can turn a clean platform into a fragile stack where data is duplicated, rules conflict, performance suffers and nobody can explain how an order really flows. This article sets out when modular enhancement is genuinely low-risk, the warning signs that it has become integration debt, and a simple intake, ownership and retirement process that keeps the stack healthy. The aim is to keep the speed and flexibility of modules without inheriting the cost of an architecture nobody designed.
Key takeaways
- Modular enhancement is usually the lowest-risk way to improve a platform, until modules start to overlap.
- Integration debt shows up as duplicated data, conflicting rules, slower pages and incidents nobody can diagnose.
- Every module needs an owner, a stated purpose, a data contract and a measure of value.
- Review the stack at least twice a year and retire modules that no longer earn their place.
- Prefer platform-native extension points over modules that work around the platform.
- The healthiest stacks have fewer, better-governed modules, not more.
The Quiet Way Stacks Get Complicated
Most retail technology stacks did not become complicated through one bad decision. They became complicated through dozens of reasonable ones. Marketing needed reviews, so a reviews app was added. Ecommerce needed better search, so a search service was connected. Customer service needed easier returns, so a returns platform arrived. Finance needed tax compliance in new markets, so a tax service was integrated. Each one solved a real problem quickly.
Two or three years later, the stack contains thirty or forty additions. Several store their own copy of products and customers. Three of them inject scripts into the storefront. Two apply discounts. One rewrites shipping rates. When checkout slows down or a promotion behaves oddly, it takes days to work out which module is responsible. Upgrading the platform requires testing every module. Nobody has a complete list of what is installed or who owns it.
This is integration debt. Like financial debt, it is not always bad. It can buy speed when speed matters. But it accrues interest in the form of slower change, higher risk and more time spent diagnosing problems instead of building.
This is the twenty-fifth article in the JM Digital platform series. It sits between the composable versus suite decision and the next article on governing promotion engines and offer agents, where conflicting modules cause some of the most expensive problems.
When Modular Enhancement Is Genuinely Low-Risk
Adding a module is often the right decision. Compared with a replatform, it is faster, cheaper and easier to reverse. It lets the business test a capability before committing to it. On platforms with healthy ecosystems, such as Shopify's app ecosystem or Salesforce Commerce Cloud's cartridge and partner model, it is the expected way to extend.
Modular enhancement tends to be low-risk when four conditions hold. The module does a clearly bounded job that does not overlap with anything else in the stack. It uses the platform's supported extension points rather than working around them. It either owns its data cleanly or reads data from the system of record without creating a competing copy. And there is a named owner who can say what value it delivers and when it should be removed.
When those conditions hold, modules make the platform stronger. When they do not, each addition makes the next one harder.
Warning Signs of Integration Debt
Integration debt rarely announces itself. These signs usually appear before anyone names the problem.
- Duplicated data. Several modules keep their own copy of products, customers, prices or inventory, and they disagree.
- Conflicting rules. Two or more modules can change discounts, shipping rates, tax or order status, and the result depends on which runs first.
- Storefront weight. Each module adds scripts, styles or calls to the storefront and checkout, and page performance degrades gradually.
- Slow diagnosis. When something breaks, it takes longer to find which module is responsible than to fix it.
- Upgrade fear. Platform updates are delayed because nobody is sure which modules will break.
- Orphaned modules. Some modules have no clear owner, and some are still billed but no longer used.
- Contract sprawl. Total spend on modules is not known without asking finance to search invoices.
Three or more of these signs together usually mean the stack needs a deliberate review rather than another addition.
The Module Intake and Retirement Map
The map below describes a lightweight lifecycle for every module, from proposal to retirement. It is designed to be fast enough that teams do not route around it.
The Intake Questions
A good intake process takes less than an hour for most modules. It is a short conversation, not a committee. These six questions do most of the work.
1. What job does it do, in one sentence?
If the job cannot be stated simply, the module may be solving several problems at once, which increases overlap risk.
2. Does anything already do this job?
Check the platform's native features, existing modules and planned roadmap items. Many retailers discover they are paying for two modules that do overlapping jobs.
3. Which data will it read and write?
List the data the module needs and the data it will change. If it will write to products, customers, prices, inventory, discounts or orders, confirm how that fits with the system of record for each.
4. How does it connect?
Prefer modules that use supported APIs and extension points. On Shopify, for example, customizations through Function APIs run inside the platform's own logic rather than around it. Modules that rely on injecting scripts into checkout or scraping data are higher risk.
5. What does it add to the storefront?
Ask what scripts, styles and network calls the module adds to key pages and checkout, and measure the effect in a test environment. Set a performance budget and hold modules to it.
6. How would we remove it?
Ask how data would be exported, what would break and how long removal would take. A module that is hard to remove deserves a higher bar to add.
One Rule, One Owner
The most expensive integration problems come from rules that more than one module can change. Discounts are the classic example. A platform's native discounts, a loyalty module, a subscription module and a personalization module may all be able to reduce a price. Shipping is another: the platform, a shipping rate module and a promotions module may all adjust what customers pay for delivery.
When more than one module can change the same rule, the outcome depends on execution order, timing and configuration that nobody fully understands. That is where margin leaks and customer complaints come from.
The principle is simple. For each rule that affects money or customer promises, such as price, discount, shipping cost, tax, order status and inventory availability, one module or system is the owner. Others may request changes through it, but they do not apply their own. Writing this down usually reveals a few conflicts that explain long-standing issues.
Keep a Stack Inventory
A surprising number of retailers cannot produce a complete list of the apps, services and extensions in their commerce stack. A stack inventory is the foundation for everything else in this article, and it is easy to start.
- Module name, vendor and what job it does.
- Business owner and technical owner.
- Annual cost, contract end date and notice period.
- Data it reads and writes, and the system of record for each.
- Rules it owns, such as discounts, shipping or tax.
- Storefront impact: scripts added and pages affected.
- Measure of value and the last time it was reviewed.
- Removal plan and estimated effort.
| Field | Why it matters |
|---|---|
| Capability and business rule | Shows overlap: two modules changing the same rule |
| Business owner | Someone decides whether it stays |
| Data it reads and writes | Reveals privacy, consent and conflict risk |
| Storefront performance impact | Scripts and apps add up page by page |
| Contract, cost and renewal date | Avoids renewals by default |
| Exit steps | What must be removed or migrated if it goes |
The first version usually finds modules nobody remembered, duplicate subscriptions and contracts that auto-renewed. Those findings alone often pay for the exercise.
What to Record for Every App or Module
A stack inventory only helps if it answers the questions you will have during an incident, a renewal or a replatform. A list of app names does not. Record the fields below for every app, service and custom integration, and review the inventory every quarter.
| Field | What to record | Question it answers |
|---|---|---|
| Business owner | A named person, not a team | Who decides whether it stays? |
| Job it does | One sentence in business terms | Is anything else doing the same job? |
| Data it reads and writes | Customers, orders, products, inventory, prices | What breaks or leaks if it fails or is compromised? |
| Where it runs | Storefront script, checkout, back office, external service | Does it affect page speed or checkout? |
| Permissions granted | Scopes or API access it holds | Does it have more access than its job needs? |
| Cost and renewal | Plan, usage charges, renewal date, notice period | When must we decide, and what does it really cost? |
| Exit path | How to remove it and what data must be exported | Can we leave without losing history? |
Retire Modules on Purpose
Adding modules is easy. Removing them takes deliberate effort, which is why stacks grow. Schedule a retirement review twice a year, ideally before peak season planning and before annual budgeting.
In the review, look at every module against four questions. Does it still have an owner? Is it delivering the value it was added for? Has the platform added a native feature that does the same job? Is it causing incidents, performance issues or upgrade risk? Modules that fail two or more of these are candidates for removal.
Retirement should be planned like any other change: export the data, remove storefront code, test the flows it touched, communicate to the teams that used it and cancel the contract with notice. Track the savings in money and complexity. Over time, a stack that retires as deliberately as it adds stays healthy.
When Modules Point to a Bigger Decision
A growing number of modules can be a signal that the core platform no longer fits the business. If many modules exist to work around the same limitation, such as complex B2B pricing, multi-market operations or configurable products, the right answer may be a change in the core platform or a deliberate composable service, not another module.
The composable versus suite article describes how to make that decision. The stack inventory is valuable input: it shows exactly which capabilities are being patched and what that patching costs.
Equally, the inventory can show that a planned replatform is unnecessary. Sometimes the core platform is fine and the problems come from a handful of conflicting modules. Cleaning those up is far cheaper than moving.
An Illustrative Stack Review
Consider an illustrative direct-to-consumer brand on a suite platform with thirty-two installed apps and services. Checkout performance has declined over two years, and a recent promotion gave away more margin than expected. The team assumes the platform is the problem and begins exploring a replatform.
A stack review finds that four apps can apply discounts, two can modify shipping rates and seven inject scripts into checkout or the cart. Five apps have no identifiable owner, and three are still billed but no longer used. The margin problem is traced to a loyalty app and a bundle app both applying discounts to the same order under a promotion neither team expected to combine.
The response is not a replatform. It is to assign discount ownership to the platform's native promotion logic, with the loyalty and bundle apps reconfigured to request discounts through it; to remove the unused apps; and to set a storefront performance budget for the remainder. Checkout performance improves and the stacking issue disappears. The replatform conversation is postponed until the business has a reason beyond fixing problems that were never the platform's fault.
Set a Storefront Performance Budget
Every module that adds code to the storefront or checkout uses some of the customer's patience. Individually the effect is small. Together, a dozen scripts, styles and third-party calls can make key pages noticeably slower, especially on mobile networks and during peak traffic, when performance matters most.
A performance budget makes this visible. Agree target load and interaction times for the pages that matter most: home, category, product, cart and checkout. Measure the effect of each module on those pages in a test environment before it goes live, and track the totals in production. When a new module would push a page over budget, something else has to give: an existing module is removed, the new one is loaded later or on fewer pages, or the business consciously accepts the trade-off.
Platform teams often find that a few modules account for most of the weight, and that some of them load on every page even though they are needed on one. Fixing load scope alone can recover meaningful speed without removing any capability.
| Measure | Google's threshold for good | What modules usually affect |
|---|---|---|
| Largest Contentful Paint (LCP) | 2.5 seconds or less | Render-blocking scripts, heavy widgets above the fold |
| Interaction to Next Paint (INP) | 200 milliseconds or less | Third-party scripts competing for the main thread |
| Cumulative Layout Shift (CLS) | 0.1 or less | Late-loading banners, reviews and recommendation widgets |
Measuring the Real Cost of an App
Every storefront app has a price on its billing page and a second price in page speed, support effort and data risk. Measuring the second price is what turns a stack review from opinion into a decision.
For page speed, use Google's Core Web Vitals as the shared yardstick: Largest Contentful Paint within 2.5 seconds, Interaction to Next Paint within 200 milliseconds and Cumulative Layout Shift below 0.1, measured on real mobile visitors. Test an app's effect by comparing a duplicate theme with and without it, on the same pages, rather than by reading the vendor's claims.
For operating cost, count the hours. Support tickets the app generates, manual workarounds when it fails and time spent on its updates all belong in the total. An app that saves a merchandiser an hour a week but creates two hours of support work is a net cost.
| Cost | How to measure it | Typical decision |
|---|---|---|
| Subscription and usage | Billing history over 12 months, including usage charges | Renegotiate or consolidate overlapping apps |
| Page speed | Core Web Vitals with and without the app on a duplicate theme | Load it only on the pages that need it, or replace it |
| Support and workarounds | Tickets and manual hours linked to the app | Fix the integration or retire the app |
| Data and security exposure | Permissions held and data it stores outside your platform | Reduce scopes or require a security review at renewal |
| Change risk | Incidents after app updates in the last year | Pin versions where possible and test updates before peak |
Contract and Cost Hygiene
Module costs are usually small enough to escape scrutiny individually and large enough to matter in total. Many are billed monthly on cards or bundled into usage tiers that grow with order volume. Contracts auto-renew. Seats remain assigned to people who left.
Bring module spend into the stack inventory and review it with finance at least annually. Look for modules priced on a percentage of revenue or orders, which grow quietly as the business grows; overlapping subscriptions; contracts with long notice periods; and modules whose vendor has been acquired or changed direction. Align renewal dates with the retirement review so decisions are made deliberately rather than by default.
Platform Upgrades Without Fear
A healthy modular stack should make platform upgrades routine. That requires each module to be covered by the regression tests that run before an upgrade, especially modules that touch checkout, discounts, tax, shipping or order data. Ask module vendors how they handle platform changes and how much notice they give. Track which modules caused problems in past upgrades and treat repeat offenders as retirement candidates. When upgrades are routine, the business gets the platform's improvements sooner, which is one of the main reasons to choose a suite platform in the first place.
Who Owns the Stack as a Whole
Every module needs an owner, but someone also needs to own the stack as a whole. Without that role, each owner optimizes their own module and nobody sees the combined effect on performance, data, rules and cost.
In most retailers this belongs to the head of ecommerce technology or a platform product owner. Their responsibilities are to maintain the stack inventory, run the intake conversation, hold the performance budget, chair the retirement review and decide when a pattern of modules points to a bigger architectural change. It is not a large job once the routines are in place, perhaps a few hours a week, but it has to be someone's job. When it is nobody's, integration debt is the default outcome, because adding is always easier than removing and every addition looks reasonable on its own.
Common Questions About Modular Retail Platforms
How many apps or modules is too many?
There is no safe number. A stack with forty well-governed modules can be healthier than one with fifteen overlapping ones. Watch the warning signs: duplicated data, conflicting rules, storefront weight, slow diagnosis and upgrade fear. Those matter far more than the count.
Who should approve new modules?
The business owner who wants the module and the technical owner of the platform together, using the intake questions. Escalate only when the module writes to money or customer promise rules, or when it overlaps with an existing module.
Are custom extensions better than third-party modules?
Not automatically. Custom extensions give control but create code your team must maintain through every platform upgrade. Third-party modules share that burden with the vendor but add vendor risk. Use the same intake and retirement process for both.
What is the quickest win in most stack reviews?
Removing unused or duplicated modules and resolving rule conflicts, especially around discounts and shipping. These often reduce cost, improve performance and fix long-standing issues within weeks.
The JM Digital Perspective
Modular enhancement is one of the best tools a retail technology leader has. It is fast, testable and reversible when it is governed. Without governance, it becomes the slow accumulation of risk that eventually makes a replatform look necessary.
My recommendation is to build the stack inventory this quarter and run the first retirement review before your next peak or budget cycle. Then apply the intake questions to every new module. You will keep the speed that modules give you and avoid paying for it later. The next article looks at one of the areas where module conflicts are most expensive: promotion engines and offer agents.
Related reading
Continue the production-readiness path
These connected JM Digital Corp insights add architecture, data, workflow, and delivery context around the AI series.
Research references
This article is grounded in current platform, standards, and industry material. The links below are included for readers who want source context behind the recommendations.
Find out whether your stack is enhancing or accumulating debt
The three-week Retail Architecture Diagnostic finds the constraint behind recurring friction across commerce, order management, finance and fulfilment, and ends with an executive readout and a 90-day plan.