{"id":303426,"date":"2026-05-17T07:18:50","date_gmt":"2026-05-17T07:18:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/nanokart-for-woocommerce\/"},"modified":"2026-05-17T07:18:16","modified_gmt":"2026-05-17T07:18:16","slug":"nanokart-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/nanokart-for-woocommerce\/","author":23478285,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1.5","stable_tag":"0.1.5","tested":"6.9.4","requires":"6.0","requires_php":"8.0","requires_plugins":null,"header_name":"Nanokart for WooCommerce","header_author":"Nanokart","header_description":"Adds Nanokart virtual try-on (Tryon Studio) to WooCommerce: product-page try-on, AI size recommendations with per-product size charts, optional Moments scenes, and add-to-cart\u2014proxied to your Nanokart API with secure store settings.","assets_banners_color":"","last_updated":"2026-05-17 07:18:16","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":23,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.1.5":{"tag":"0.1.5","author":"abinashnanokart","date":"2026-05-17 07:18:16"}},"upgrade_notice":{"0.1.5":"<p>Security hardening and WooCommerce dependency header; migrate per-product size charts by re-saving products if you rely on the old meta key.<\/p>","0.1.4":"<p>Text domain <code>nanokart-for-woocommerce<\/code>; removed manual <code>load_plugin_textdomain<\/code> for WordPress.org compatibility.<\/p>","0.1.3":"<p>Plugin Check fixes: license header, readme metadata, and security sniff cleanups.<\/p>","0.1.2":"<p>Adds per-product size chart editing in the product editor and readme for directory submission.<\/p>"},"ratings":[],"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.5"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[7097,263220,232891,148223,286],"plugin_category":[45],"plugin_contributors":[263221],"plugin_business_model":[],"class_list":["post-303426","plugin","type-plugin","status-publish","hentry","plugin_tags-fashion","plugin_tags-nanokart","plugin_tags-size-recommendation","plugin_tags-virtual-try-on","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-abinashnanokart","plugin_committers-abinashnanokart"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nanokart-for-woocommerce.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Nanokart for WooCommerce<\/strong> brings <a href=\"https:\/\/nanokart.ai\">Nanokart<\/a> virtual try-on to your store. Shoppers open <strong>Tryon Studio<\/strong> from the product page; try-on and size requests are sent to your <strong>Nanokart Try-On API<\/strong> through your WordPress site, with API keys stored in <strong>WooCommerce \u2192 Nanokart<\/strong>.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li><strong>Tryon Studio<\/strong> button on product pages (when the product has an image and Nanokart is configured).<\/li>\n<li><strong>Size recommendations<\/strong> using measurement data you provide as JSON.<\/li>\n<li><strong>Per-product size charts<\/strong> \u2014 edit <strong>Edit size chart (JSON)<\/strong> under <em>Product data \u2192 General<\/em> for each product; leave empty to use the store default from Nanokart settings.<\/li>\n<li><strong>Variable products<\/strong> \u2014 set the size chart on the <strong>parent<\/strong> product; variations inherit it.<\/li>\n<li><strong>Optional Moments<\/strong> \u2014 enable or restrict scene types (e.g. workday, unwind) in Nanokart settings.<\/li>\n<li><strong>Add to cart<\/strong> after try-on, integrated with WooCommerce AJAX cart behavior.<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.0 or higher<\/li>\n<li>PHP 8.0 or higher<\/li>\n<li>WooCommerce 8.0 or higher<\/li>\n<li>A Nanokart account and Try-On API URL + API key (configured in <strong>WooCommerce \u2192 Nanokart<\/strong>)<\/li>\n<\/ul>\n\n<h3>External services<\/h3>\n\n<p>This plugin connects your storefront to <strong>Nanokart<\/strong> (NanoKart India Private Limited), an AI platform that powers virtual try-on, optional \"Moments\" lifestyle scenes, and AI-assisted size recommendations.<\/p>\n\n<ul>\n<li><strong>When:<\/strong> Each time a shopper uses Tryon Studio, size recommendation, or related features, your site sends the request to Nanokart\u2019s API using the API key you save under WooCommerce \u2192 Nanokart.<\/li>\n<li><strong>What is sent:<\/strong> Product image URLs, optional shopper-uploaded photos, optional garment uploads, height and size-chart data you configure, optional store\/customer labels you set, and API authentication headers (<code>X-API-Key<\/code>, optional <code>X-Partner-Id<\/code>). Responses (e.g. generated image URLs, try-on keys, size suggestions) are returned through your WordPress site to the shopper\u2019s browser.<\/li>\n<li><strong>Legal:<\/strong> Nanokart <a href=\"https:\/\/nanokart.ai\/terms\">Terms &amp; Conditions<\/a>, <a href=\"https:\/\/nanokart.ai\/privacy\">Privacy Policy<\/a>.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to <code>\/wp-content\/plugins\/nanokart-for-woocommerce\/<\/code> (WordPress.org uses this slug; your zip\u2019s top-level folder should match), or install the zip from <strong>Plugins \u2192 Add New \u2192 Upload Plugin<\/strong>.<\/li>\n<li>Activate <strong>Nanokart for WooCommerce<\/strong> through the <strong>Plugins<\/strong> screen.<\/li>\n<li>Ensure <strong>WooCommerce<\/strong> is installed and active.<\/li>\n<li>Go to <strong>WooCommerce \u2192 Nanokart<\/strong> and enter your <strong>Try-On API URL<\/strong>, <strong>API key<\/strong>, and any optional defaults (default size chart JSON, Moments, etc.).<\/li>\n<li>Edit each product that should offer try-on and add <strong>Edit size chart (JSON)<\/strong> if that product needs its own measurements.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"where%20do%20i%20configure%20the%20plugin%3F\"><h3>Where do I configure the plugin?<\/h3><\/dt>\n<dd><p><strong>WooCommerce \u2192 Nanokart<\/strong> \u2014 API URL, API key, default size chart, Moments, and related options.<\/p><\/dd>\n<dt id=\"where%20do%20i%20set%20a%20different%20size%20chart%20per%20product%3F\"><h3>Where do I set a different size chart per product?<\/h3><\/dt>\n<dd><p>Edit the product \u2192 <strong>Product data<\/strong> \u2192 <strong>General<\/strong> \u2192 <strong>Edit size chart (JSON)<\/strong>. Must be valid JSON. Clear the field to fall back to the store default.<\/p><\/dd>\n<dt id=\"does%20this%20work%20with%20variable%20products%3F\"><h3>Does this work with variable products?<\/h3><\/dt>\n<dd><p>Yes. Set <strong>Edit size chart (JSON)<\/strong> on the <strong>parent<\/strong> variable product.<\/p><\/dd>\n<dt id=\"what%20folder%20name%20%2F%20text%20domain%20should%20i%20use%3F\"><h3>What folder name \/ text domain should I use?<\/h3><\/dt>\n<dd><p>Use the slug <strong><code>nanokart-for-woocommerce<\/code><\/strong> (allowed \u201cfor WooCommerce\u201d pattern on WordPress.org). The <strong>Text Domain<\/strong> in code matches that slug; WordPress loads translations automatically for plugins hosted on WordPress.org\u2014no manual <code>load_plugin_textdomain()<\/code> call is required.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.5<\/h4>\n\n<ul>\n<li>Security: nonces on rewrite API routes, stricter upload MIME handling, JSON\/size-chart sanitization before proxying to Nanokart.<\/li>\n<li><code>Requires Plugins: woocommerce<\/code> header; readme external-service disclosure with Terms\/Privacy links; prefixed product meta key <code>nnk_woo_size_chart_cm<\/code> (legacy <code>size_chart_cm<\/code> still read).<\/li>\n<li>Settings: default size chart JSON normalized on save.<\/li>\n<\/ul>\n\n<h4>0.1.4<\/h4>\n\n<ul>\n<li>Text domain set to <code>nanokart-for-woocommerce<\/code> (matches recommended WordPress.org slug).<\/li>\n<li>Removed <code>load_plugin_textdomain()<\/code> (discouraged on WordPress.org since WP 4.6; core loads translations).<\/li>\n<\/ul>\n\n<h4>0.1.3<\/h4>\n\n<ul>\n<li>Plugin header: GPLv2 license; <code>\/languages<\/code> folder for translators.<\/li>\n<li>PHPCS\/Plugin Check: safer <code>$_SERVER<\/code> handling, multipart\/POST annotations, readme short description length and Tested up to.<\/li>\n<\/ul>\n\n<h4>0.1.2<\/h4>\n\n<ul>\n<li>Per-product size chart field (<strong>Edit size chart (JSON)<\/strong>) on product edit screen.<\/li>\n<li>Readme and documentation updates.<\/li>\n<\/ul>\n\n<h4>0.1.1<\/h4>\n\n<ul>\n<li>Earlier releases and refinements (Tryon Studio, WooCommerce cart integration, Moments settings).<\/li>\n<\/ul>","raw_excerpt":"Nanokart virtual try-on for WooCommerce: Tryon Studio, per-product size charts, Moments, and add to cart.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/303426","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=303426"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/abinashnanokart"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=303426"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=303426"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=303426"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=303426"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=303426"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=303426"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}