WooCommerce Clothing Size Recommendation Integration
Bring universal customer fit profiles to WooCommerce product pages without bloating WordPress plugins. Inject a tiny deferred script via wp_footer or any header/footer snippet manager, sync SKU garment charts over REST or CSV, and eliminate size guesswork at checkout.
wp_footer hook, child-theme snippet, CSV size-chart upload, and REST API catalog sync. A standalone WordPress.org directory plugin package is planned on our roadmap.WordPress / WooCommerce Hook Snippet
functions.phpadd_action('wp_footer', function () {
if (!function_exists('is_product') || !is_product()) return;
echo '<script src="https://beunifit.in/v1/widget/unifit.js" data-publishable-key="pk_live_YOUR_WC_KEY" data-auto-mount="true" defer></script>';
});By scoping to is_product(), WordPress loads the UniFit widget strictly on apparel product pages while reading WooCommerce Schema.org/JSON-LD SKU identifiers automatically.
Zero Theme Breakage
Mounts inside an isolated container near WooCommerce variation selectors and honors existing Storefront, Astra, or Elementor styling.
Variation & Stock Mapping
Maps S/M/L and numeric variation labels directly against canonical chest, waist, shoulder, and fabric-stretch tables in UniFit Core Engine v2.0.
HMAC Webhook Order Sync
Forward post-purchase size conversions and return flags server-side with HMAC-SHA256 verification and privacy isolation.