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 12,501–12,550 of 12,819

PID Lang Original Name Proposed SEO Name Length Status / Bucket Actions
136655 1 Lee Precision SIZ DI BODY 429 DE
34 characters
34/70 Passed audit Unassigned
136660 1 Lee Precision QT 224 VALK INST
34 characters
34/70 Passed audit Unassigned
136661 1 Lee Precision STRING HANDLE
34 characters
34/70 Passed audit Unassigned
136665 1 Lee Precision B OXIDE COLUMN
34 characters
34/70 Passed audit Unassigned
136668 1 Lee Precision 223 ACKLEY CHG TBL
34 characters
34/70 Passed audit Unassigned
136669 1 Lee Precision EZ SEAT DIE 6.5-300
34 characters
34/70 Passed audit Unassigned
136673 1 Lee Precision 8 CAV SAFETY PRIME
34 characters
34/70 Passed audit Unassigned
136677 1 Lee Precision CUST CLG 6.5/06
34 characters
34/70 Passed audit Unassigned
136678 1 Lee Precision CUST CLG 375 RUGER
34 characters
34/70 Passed audit Unassigned
136679 1 Lee Precision CUST CLG 340 WHBY MA
34 characters
34/70 Passed audit Unassigned
136680 1 Lee Precision CUST FC DIE 351 WSL
34 characters
34/70 Passed audit Unassigned
136721 1 Lee Precision CUST FC DIE 6.5X47 L
34 characters
34/70 Passed audit Unassigned
136728 1 Lee Precision CUST FC DIE 8MM LEBE
34 characters
34/70 Passed audit Unassigned
136735 1 Lee Precision CUST CLG 270 WHBY MA
34 characters
34/70 Passed audit Unassigned
136743 1 Lee Precision CUST CLG 8 X 68MM S
34 characters
34/70 Passed audit Unassigned
136750 1 Lee Precision CUST CLG 280 ACK IMP
34 characters
34/70 Passed audit Unassigned
136794 1 Lee Precision CUST CLG 224 VALKYRI
34 characters
34/70 Passed audit Unassigned
136803 1 Lee Precision CUST QT 6.5PRC
34 characters
34/70 Passed audit Unassigned
136812 1 Lee Precision CUST QT DIE 223WSSM
34 characters
34/70 Passed audit Unassigned
136837 1 Lee Precision CUST QT DIE 303 SAV
34 characters
34/70 Passed audit Unassigned
136840 1 Lee Precision CUST QT 7X64 BRENN
34 characters
34/70 Passed audit Unassigned
136841 1 Lee Precision CUST CLG 45 GAP
34 characters
34/70 Passed audit Unassigned
136842 1 Lee Precision #25 STEEL AP SH HLDR
34 characters
34/70 Passed audit Unassigned
136843 1 Lee Precision
34 characters
34/70 Passed audit Unassigned
136844 1 Lee Precision
34 characters
34/70 Passed audit Unassigned
136845 1 Lee Precision
34 characters
34/70 Passed audit Unassigned
136846 1 Lee Precision
34 characters
34/70 Passed audit Unassigned
136849 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136851 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136853 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136854 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136855 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136856 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136857 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136858 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136859 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136860 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136861 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136862 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136864 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136867 1 Lee Precision 3 REQ.
22 characters
22/70 Passed audit Unassigned
136868 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136870 1 Lee Precision 2 REQ.
22 characters
22/70 Passed audit Unassigned
136872 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136873 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136874 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136876 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136877 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136878 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned
136879 1 Lee Precision 1 REQ.
22 characters
22/70 Passed audit Unassigned