{
    "$schema": "https://playground.wordpress.net/blueprint-schema.json",
    "preferredVersions": {
        "php": "latest",
        "wp": "latest"
    },
    "siteOptions": {
        "blogname": "Variation Duplicator for WooCommerce"
    },
    "steps": [
        {
            "step": "installPlugin",
            "pluginData": {
                "resource": "wordpress.org/plugins",
                "slug": "woocommerce"
            },
            "options": {
                "activate": true
            }
        },
        {
            "step": "installPlugin",
            "pluginData": {
                "resource": "wordpress.org/plugins",
                "slug": "variation-duplicator-for-woocommerce"
            },
            "options": {
                "activate": true
            }
        },
        {
            "step": "runPHP",
            "code": "<?php\nrequire_once '/wordpress/wp-load.php';\n\n// Mark the onboarding wizard as completed and skipped\nupdate_option( 'woocommerce_onboarding_profile', [\n    'completed' => true,\n    'skipped'   => true,\n] );\n\n// Hide the home-screen task list and mark it complete\nupdate_option( 'woocommerce_task_list_hidden', 'yes' );\nupdate_option( 'woocommerce_task_list_complete', 'yes' );\n\n// Disable 'Coming Soon' / Launch Your Store mode (WC 9+)\nupdate_option( 'woocommerce_coming_soon', 'no' );\n\n// Hide marketplace suggestions and tracking prompts\nupdate_option( 'woocommerce_show_marketplace_suggestions', 'no' );\nupdate_option( 'woocommerce_allow_tracking', 'no' );\n\n// Clear pending admin notices (e.g. 'Welcome to WooCommerce')\nupdate_option( 'woocommerce_admin_notices', [] );\n\n// Remove the activation redirect transient that auto-launches the wizard\ndelete_transient( '_wc_activation_redirect' );\n\n// Pre-fill store location so 'store details' step is satisfied\nupdate_option( 'woocommerce_store_address', '123 Main St' );\nupdate_option( 'woocommerce_store_city', 'New York' );\nupdate_option( 'woocommerce_default_country', 'US:NY' );\nupdate_option( 'woocommerce_store_postcode', '10001' );\nupdate_option( 'woocommerce_currency', 'USD' );\n"
        },
        {
            "step": "importWxr",
            "file": {
                "resource": "vfs",
                "path": "/wordpress/wp-content/plugins/woocommerce/sample-data/sample_products.xml"
            }
        }
    ],
    "features": {
        "networking": true
    },
    "login": true,
    "landingPage": "/wp-admin/post.php?post=12&action=edit"
}