Replace or Remove Frontend Output with a QCDR Rule
Use Replace it when matched frontend output should become another value, and Remove it when the matched output should disappear entirely. Both actions operate on eligible rendered frontend output and should be tested with deliberately narrow targeting before broad use.
Create a Replace Rule
- Open QC Dynamic Replacer → Rules and create or edit a Rule.
- Keep the Rule Draft while configuring it.
- Choose the content type and enter the exact Find this value.
- For Action, choose Replace it.
- For Replacement source, choose Enter a value or Use a QCDR token.
- If entering a value directly, choose the appropriate Replacement type and enter the replacement.
- Limit the Rule to the intended pages/menu items/URLs and configure matching/occurrence controls.
- Save, test, and enable only after the result is correct.
Create a Remove Rule
Use the same find and targeting workflow, but choose Remove it. At runtime, the selected matched occurrences are replaced with an empty value, so no replacement content is needed for the removal itself.
Be especially careful when removing HTML: removing only part of a tag or structural fragment can leave invalid markup. Prefer a complete, distinctive rendered target and verify the page source/layout after the Rule runs.
Control Which Matches Change
Under Matching behavior, QCDR supports Exact phrase / whole term or Partial substring, optional case-sensitive matching, and All/First/Last/A specific occurrence. Maximum replacements per page adds another per-Rule cap; 0 means no additional limit.
When a Token Supplies the Replacement
A Replace Rule can stay linked to a QCDR Token. If Token processing or the required Token is unavailable, QCDR preserves the original matched output instead of silently turning it into an empty string. Direct-value Replace Rules do not depend on Token Live Processing.
Verify the Real Frontend Result
Preview the saved Rule when your plan/ACL allows it, or enable it only on a controlled page. Confirm the intended occurrences changed and unrelated output did not. If the match is too broad, return the Rule to Draft/Disabled and tighten its find value, scope, or occurrence controls.
Community Discussion
Want to compare workflows, share practical tips, or discuss how you use this QCDR feature? Visit the QC Dynamic Replacer Community. For private support, bug reports, account-specific issues, or feature requests, use the QuantaCade support system.