is_pro(); $arwc_upgrade = $license->upgrade_url(); $arwc_score = $arwc_has_scan ? (int) $summary['store_score'] : null; $arwc_dashboard_url = admin_url( 'admin.php?page=' . ARWC_Admin::PAGE_SLUG ); $arwc_fix_url = admin_url( 'admin.php?page=' . ARWC_Admin::FIX_PAGE_SLUG ); $arwc_access_url = admin_url( 'admin.php?page=' . ARWC_Admin::ACCESS_PAGE_SLUG ); $arwc_settings_url = admin_url( 'admin.php?page=' . ARWC_Admin::SETTINGS_PAGE_SLUG ); $arwc_wizard_url = admin_url( 'admin.php?page=' . ARWC_Onboarding::PAGE_SLUG ); /** * Render one step row. * * @param array $arwc_step { * @type string $num Step number. * @type bool $done Whether this step is complete. * @type string $title Step title. * @type string $desc Step description (already escaped where needed). * @type string $cta CTA label. * @type string $url CTA URL. * @type bool $blank Open in a new tab. * @type string $tag Optional pill label (e.g. "Free" / "Pro"). * @type bool $tag_pro Whether the pill is the Pro (amber) style. * } * @return void */ $arwc_render_step = static function ( $arwc_step ) { $arwc_done = ! empty( $arwc_step['done'] ); $arwc_blank = ! empty( $arwc_step['blank'] ); ?>
  • >
  • ' . esc_html( number_format_i18n( (int) $summary['processed'] ) ) . '' ); ?>
      '1', 'done' => $arwc_has_scan, 'title' => __( 'Run your first audit', 'agentictrack-agent-readiness-for-woocommerce' ), 'desc' => __( 'A free, read-only scan scores every published product from 0–100 for AI agent-readiness. Nothing is changed.', 'agentictrack-agent-readiness-for-woocommerce' ), 'cta' => $arwc_has_scan ? __( 'Re-run the audit', 'agentictrack-agent-readiness-for-woocommerce' ) : __( 'Run the audit', 'agentictrack-agent-readiness-for-woocommerce' ), 'url' => $arwc_dashboard_url, 'tag' => __( 'Free', 'agentictrack-agent-readiness-for-woocommerce' ), 'primary' => ! $arwc_has_scan, ) ); // Step 2 — Review scores. $arwc_render_step( array( 'num' => '2', 'done' => false, 'title' => __( 'Review your scores', 'agentictrack-agent-readiness-for-woocommerce' ), 'desc' => __( 'Green (80–100) is agent-ready, amber (50–79) is fair, red (0–49) needs work. Sort and filter the product list to find what’s holding you back.', 'agentictrack-agent-readiness-for-woocommerce' ), 'cta' => __( 'View the audit', 'agentictrack-agent-readiness-for-woocommerce' ), 'url' => $arwc_dashboard_url, 'tag' => __( 'Free', 'agentictrack-agent-readiness-for-woocommerce' ), ) ); // Step 3 — Fix issues. $arwc_render_step( array( 'num' => '3', 'done' => false, 'title' => __( 'Fix the issues', 'agentictrack-agent-readiness-for-woocommerce' ), 'desc' => __( 'Repair issues right in the plugin — structured data, price, category, the description editor and GTIN/SKU are all free. Every change is previewed, applied only on click, and reversible.', 'agentictrack-agent-readiness-for-woocommerce' ), 'cta' => __( 'Open the Fixer', 'agentictrack-agent-readiness-for-woocommerce' ), 'url' => $arwc_fix_url, 'tag' => __( 'Free', 'agentictrack-agent-readiness-for-woocommerce' ), ) ); // Step 4 — Agent Access. $arwc_render_step( array( 'num' => '4', 'done' => false, 'title' => __( 'Make your store discoverable', 'agentictrack-agent-readiness-for-woocommerce' ), 'desc' => __( 'Turn on AI-crawler rules and publish a product-aware llms.txt so agents can find and understand your whole catalog. Also free.', 'agentictrack-agent-readiness-for-woocommerce' ), 'cta' => __( 'Open Agent Access', 'agentictrack-agent-readiness-for-woocommerce' ), 'url' => $arwc_access_url, 'tag' => __( 'Free', 'agentictrack-agent-readiness-for-woocommerce' ), ) ); // Optional — Pro. if ( $arwc_is_pro ) { $arwc_render_step( array( 'num' => '5', 'done' => true, 'title' => __( 'AI fixes are unlocked', 'agentictrack-agent-readiness-for-woocommerce' ), 'desc' => __( 'Pro is active. AI description rewrites and AI-suggested attributes are available in the Fixer — no API key of your own needed.', 'agentictrack-agent-readiness-for-woocommerce' ), 'cta' => __( 'Use AI fixes', 'agentictrack-agent-readiness-for-woocommerce' ), 'url' => $arwc_fix_url, 'tag' => __( 'Pro', 'agentictrack-agent-readiness-for-woocommerce' ), 'tag_pro' => true, ) ); } else { $arwc_render_step( array( 'num' => '5', 'done' => false, 'title' => __( 'Unlock AI fixes (optional)', 'agentictrack-agent-readiness-for-woocommerce' ), 'desc' => __( 'Go Pro for one-click AI description rewrites and AI-suggested attributes, plus Agent Orders analytics. Everything above stays free.', 'agentictrack-agent-readiness-for-woocommerce' ), 'cta' => __( 'See Pro', 'agentictrack-agent-readiness-for-woocommerce' ), 'url' => $arwc_upgrade, 'blank' => true, 'tag' => __( 'Pro', 'agentictrack-agent-readiness-for-woocommerce' ), 'tag_pro' => true, ) ); } ?>

    ', '' ); ?>