Product Name Cleanup β€” Phase 4

Product Name Cleanup β€” Functional Description

This dashboard reviews pd_name_cleanup_staging and writes approved English product titles and specification snippets into oc_product_description. Filter the queue, edit a proposed title or HTML snippet in place, approve unflagged rows, then commit approved batches. A commit reads the live description, removes an existing cleanup block, appends the new snippet between PD_CLEANUP comment markers, and stores the proposed name. Titles longer than 70 characters stay flagged and are not written to the catalog.

Operator Workflow

Work through these five steps in order. You do not need to edit code or open the database.

Step 1

Export Batches

  • Go to the Phase 3 Batch Dashboard.
  • Click Generate Batch JSON Files (250 items/batch) in Module A.
  • Click Download All as ZIP to save grok_batch_*.json files locally.
Step 2

Process in Cursor

  • Open the batch in Cursor AI.
  • Copy the prompt from the Phase 3 Batch Dashboard, then paste it into the Cursor chat window.
  • Let Cursor save grok_batch_XXX_done.json.
Step 3

Upload & Import

  • Return to the Phase 3 Batch Dashboard.
  • Drag your *_done.json files into Module B and click Upload *_done.json Files.
  • Click Import Uploaded *_done.json Files to Staging in Module C.
Step 4

Audit Staging

  • Review completed rows on this Phase 4 Review Dashboard.
  • Inline edit any titles exceeding 70 characters until the length badges turn green.
Step 5

Commit Live

  • Approve reviewed rows, then click Commit Approved Batches to Production.
  • That writes optimized titles and feature lists into the live OpenCart tables.

Technical reference

  • Passed Audit is passed_audit. Bucket A (Auto) is auto_processed. Bucket B (AI) is ai_completed. Flagged Review is is_flagged = 1 or a proposed title over 70 characters.
  • Filters cover status, bucket, and a keyword matched to product id, original name, or proposed name. Pagination links and the page jump keep those filters.
  • The grid loads 50 rows at a time. Choose 25 or 100 on the filter bar. Spec drawers open under the row.
  • Changing a proposed title or snippet saves that product and language immediately. The length badge is green at 70 characters or fewer and red above 70.
  • Approve sets staging status to approved and does not change the live catalog. Approve Visible Page does that for every unflagged, non-committed row on this page whose proposed title is 1 to 70 characters.
  • Commit Approved Batches to Production processes English rows (language_id = 1) with status approved and is_flagged = 0, in batches of 250. Each batch is one database transaction.
  • The live description is cleaned with the PD_CLEANUP comment pattern. If that pattern fails, the product is flagged REGEXP_STRIP_FAILURE and skipped. A failed batch rolls back. The browser retries up to 3 times, waiting 3 seconds between tries.
  • Original names and descriptions on the staging row are not rewritten here. Every production update binds both product_id and language_id.
Clear

This writes approved, unflagged English titles (language_id = 1) into oc_product_description in batches of 250. Each batch is one transaction. A failed batch rolls back and the page retries it.

0%

Showing 1–1 of 1

PID Lang Original Name Proposed SEO Name Length Status / Bucket Actions
92 1 Lee Precision R18 Shell Holder (.43 Mauser, 11.15 x 60 Mauser)
62 characters
41/70 Committed Bucket B
<p>The <strong>Lee Precision R12 Universal Shell Holder</strong> fits <b>.43 Mauser </b>and <b>11.15 x 60 Mauser</b><strong> </strong>cases. It is made from hardened steel which has been machined to close tolerance for maximum accuracy. It works with most brands of Single Stage Presses and 3 or 4 hole Turret Reloading Presses. Not for use with Lee's Auto Prime or Lee's hand priming tools. <br></p><h2><span style="background-color:#FFFF00;color:#000000;font-weight:bold;padding-bottom:3px;padding-left:7px;padding-right:7px;padding-top:3px;text-transform:uppercase;"><span style="line-height: 1.2em;">FEATURES:</span></span></h2><ul><li><strong>Made from hardened steel</strong>.</li></ul><h2><span style="background-color:#FFFF00;color:#000000;font-weight:bold;padding-bottom:3px;padding-left:7px;padding-right:7px;padding-top:3px;text-transform:uppercase;"><strong>FITS:</strong></span></h2><ul><li><b>.43 Mause</b><strong></strong></li><li><b>11.15 x 60 Mauser</b><strong></strong></li></ul>