Your AI built a WooCommerce shop. Here’s what to check before the first real order
说明与用途
AI 构建的 WooCommerce 商店可能会更新产品数据,但页面仍显示旧价格。检查页面是否使用实时产品块、货币设置、支付方式,并下单测试。
问题
An AI agent can modify WooCommerce product data but may leave static shop pages unchanged, causing price mismatches and other configuration gaps.
结果
After following the five checks, the AI‑built shop displayed correct yen prices, had an enabled payment method, and accepted a test order that appeared correctly in the admin.
工作流
- 1. Verify shop page uses live product blocks; if static, replace with live product list block.
- 2. Change store currency via wp option and ensure prices are updated and decimals set correctly.
- 3. Confirm sale prices, stock, and publication status of products via wp wc product list.
- 4. Enable at least one payment gateway (e.g., Cash on Delivery) via wp wc payment_gateway update.
- 5. Place a real test order through the front‑end and verify it appears in WooCommerce Orders with correct total and status.
证据
I asked an AI agent to switch a demo shop to Japanese yen and put a copper pan on sale. It did both and gave me a neat table of the new prices. Then I opened the Shop page and every card still showed the old euro prices.
Quick test: change one price in WooCommerce, then reload the page. If the old price stays, the cards are text.
wp option get woocommerce_currency wp option update woocommerce_currency JPY
wp wc payment_gateway list --user=1 --fields=id,title,enabled wp wc payment_gateway update cod --enabled=true --user=1
Place a test order and find it in the admin
- 记录日期: 2026-11-01T23:59:09.475Z