is_pro(); $arwc_upgrade = $license->upgrade_url(); // Surface the lowest-scoring products first — they have the most to fix. usort( $arwc_rows, static function ( $a, $b ) { return (int) $a['score'] <=> (int) $b['score']; } ); // "Quick wins" = products with at least one issue that a FREE fix can resolve // fast (identifiers, structured data, price/category, description, image). Used // to drive merchants straight to their first easy fix. $arwc_quick_codes = array( 'missing_sku' => true, 'missing_gtin' => true, 'schema_no_description' => true, 'schema_no_offer' => true, 'schema_no_category' => true, 'schema_no_image' => true, 'thin_description' => true, 'empty_description' => true, 'no_specs_in_description' => true, 'marketing_heavy_description' => true, ); $arwc_quick_count = 0; $arwc_quick_first = 0; foreach ( $arwc_rows as $arwc_qr ) { $arwc_has_quick = false; foreach ( (array) $arwc_qr['issues'] as $arwc_qi ) { if ( isset( $arwc_qi['code'], $arwc_quick_codes[ $arwc_qi['code'] ] ) ) { $arwc_has_quick = true; break; } } if ( $arwc_has_quick ) { $arwc_quick_count++; if ( 0 === $arwc_quick_first ) { $arwc_quick_first = (int) $arwc_qr['id']; } } } ?>
' . esc_html( number_format_i18n( $arwc_imp_updated ) ) . '', esc_html( number_format_i18n( $arwc_imp_skipped ) ), esc_html( number_format_i18n( $arwc_imp_errors ) ) ); ?>
' . esc_html__( 'Run the audit first', 'agentictrack-agent-readiness-for-woocommerce' ) . '' ); ?>