Last active
January 18, 2026 00:18
-
-
Save thenbe/6e4f0f3ef69ee4e2e743de37ec0039aa to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$schema": "https://playground.wordpress.net/blueprint-schema.json", | |
| "meta": { | |
| "title": "Jaak WooCommerce Demo", | |
| "description": "WordPress Playground instance with WooCommerce and Jaak plugin installed. Includes sample products, Kuwait store settings, and skips the guided setup wizard.", | |
| "author": "naseraleisa", | |
| "categories": [ | |
| "woocommerce", | |
| "shipping", | |
| "jaak" | |
| ] | |
| }, | |
| "plugins": [ | |
| "woocommerce" | |
| ], | |
| "features": { | |
| "intl": true | |
| }, | |
| "landingPage": "/wp-admin/edit.php?post_type=shop_order", | |
| "steps": [ | |
| { | |
| "step": "installPlugin", | |
| "pluginData": { | |
| "resource": "wordpress.org/plugins", | |
| "slug": "jaak-for-woocommerce" | |
| }, | |
| "ifAlreadyInstalled": "skip" | |
| }, | |
| { | |
| "step": "runPHP", | |
| "code": "/* Skip the WooCommerce onboarding setup wizard */ <?php include '/wordpress/wp-load.php'; delete_transient( '_wc_activation_redirect' ); update_option('woocommerce_onboarding_profile', array('completed' => true)); update_option('woocommerce_task_list_hidden', 'yes'); update_option('woocommerce_extended_task_list_hidden', 'yes'); update_option('woocommerce_task_list_complete', 'yes'); update_option('woocommerce_task_list_welcome_modal_dismissed', 'yes'); update_option('woocommerce_show_marketplace_suggestions', 'no'); update_option('woocommerce_default_homepage_layout', 'single_column');" | |
| }, | |
| { | |
| "step": "runPHP", | |
| "code": "/* Set store settings */ <?php require_once '/wordpress/wp-load.php'; update_option('timezone_string', 'Asia/Kuwait'); update_option('woocommerce_store_address', 'Shuwaikh'); update_option('woocommerce_default_country', 'KW'); update_option('woocommerce_currency', 'KWD'); update_option('woocommerce_calc_taxes', 'no');" | |
| }, | |
| { | |
| "step": "runPHP", | |
| "code": "/* Set Jaak app settings */ <?php require_once '/wordpress/wp-load.php'; update_option('woocommerce_jaak_settings', array('jaak_api_root_url' => 'https://jaaknow-demo.com', 'jaak_api_key' => 'jaak-api-1e67f515-43ced9f0aa96aacb7034ac5036b9c4d23dca5aa74c484e6b'));" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc product create --name='Test Product' --regular_price=10 --status=publish --user=admin --porcelain" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"ahmad\",\"last_name\":\"a\",\"email\":\"test@example.com\",\"phone\":\"+96598765432\",\"country\":\"KW\",\"city\":\"shamiya\",\"address_1\":\"b9, ibn batuta st, h96\"}' --shipping='{\"first_name\":\"ahmad\",\"last_name\":\"a\",\"phone\":\"+96598765432\",\"country\":\"KW\",\"city\":\"shamiya\",\"address_1\":\"b9, ibn batuta st, h96\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"bader\",\"last_name\":\"b\",\"email\":\"test@example.com\",\"phone\":\"+96598765433\",\"country\":\"KW\",\"city\":\"Hadiya\",\"address_1\":\"B 3, St 5, H 11\"}' --shipping='{\"first_name\":\"bader\",\"last_name\":\"b\",\"phone\":\"+96598765433\",\"country\":\"KW\",\"city\":\"Hadiya\",\"address_1\":\"B 3, St 5, H 11\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"Dawoud\",\"last_name\":\"d\",\"email\":\"test@example.com\",\"phone\":\"+96598765434\",\"country\":\"KW\",\"city\":\"qrtuba\",\"address_1\":\"qrtuba b4 st1 lane 7 house 23\"}' --shipping='{\"first_name\":\"Dawoud\",\"last_name\":\"d\",\"phone\":\"+96598765434\",\"country\":\"KW\",\"city\":\"qrtuba\",\"address_1\":\"qrtuba b4 st1 lane 7 house 23\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"ekram\",\"last_name\":\"e\",\"email\":\"test@example.com\",\"phone\":\"+96598765435\",\"country\":\"KW\",\"city\":\"yrmooook\",\"address_1\":\"b1 st2 jada 4 building 27\"}' --shipping='{\"first_name\":\"ekram\",\"last_name\":\"e\",\"phone\":\"+96598765435\",\"country\":\"KW\",\"city\":\"yrmooook\",\"address_1\":\"b1 st2 jada 4 building 27\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"fahad\",\"last_name\":\"f\",\"email\":\"test@example.com\",\"phone\":\"+96598765436\",\"country\":\"KW\",\"city\":\"Khaitan\",\"address_1\":\"Block 7, street 80, house 26\"}' --shipping='{\"first_name\":\"fahad\",\"last_name\":\"f\",\"phone\":\"+96598765436\",\"country\":\"KW\",\"city\":\"Khaitan\",\"address_1\":\"Block 7, street 80, house 26\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"mohammad\",\"last_name\":\"m\",\"email\":\"test@example.com\",\"phone\":\"+96598765437\",\"country\":\"KW\",\"city\":\"mishref\",\"address_1\":\"b3, st3, h27\"}' --shipping='{\"first_name\":\"mohammad\",\"last_name\":\"m\",\"phone\":\"+96598765437\",\"country\":\"KW\",\"city\":\"mishref\",\"address_1\":\"b3, st3, h27\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"naser\",\"last_name\":\"n\",\"email\":\"test@example.com\",\"phone\":\"+96598765438\",\"country\":\"KW\",\"city\":\"jahra\",\"address_1\":\"b1, st1, h1\"}' --shipping='{\"first_name\":\"naser\",\"last_name\":\"n\",\"phone\":\"+96598765438\",\"country\":\"KW\",\"city\":\"jahra\",\"address_1\":\"b1, st1, h1\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"majed\",\"last_name\":\"m\",\"email\":\"test@example.com\",\"phone\":\"+96598765439\",\"country\":\"KW\",\"city\":\"andalus\",\"address_1\":\"b3 st5 h7\"}' --shipping='{\"first_name\":\"majed\",\"last_name\":\"m\",\"phone\":\"+96598765439\",\"country\":\"KW\",\"city\":\"andalus\",\"address_1\":\"b3 st5 h7\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"ahmad\",\"last_name\":\"z\",\"email\":\"test@example.com\",\"phone\":\"+96598765440\",\"country\":\"KW\",\"city\":\"sulaybeekhaaat\",\"address_1\":\"block 1, st 103 house 7\"}' --shipping='{\"first_name\":\"ahmad\",\"last_name\":\"z\",\"phone\":\"+96598765440\",\"country\":\"KW\",\"city\":\"sulaybeekhaaat\",\"address_1\":\"block 1, st 103 house 7\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| }, | |
| { | |
| "step": "wp-cli", | |
| "command": "wp wc shop_order create --status=processing --billing='{\"first_name\":\"cam\",\"last_name\":\"n\",\"email\":\"test@example.com\",\"phone\":\"+96598765441\",\"country\":\"KW\",\"city\":\"qayraawaaan\",\"address_1\":\"block 1, st119, h13\"}' --shipping='{\"first_name\":\"cam\",\"last_name\":\"n\",\"phone\":\"+96598765441\",\"country\":\"KW\",\"city\":\"qayraawaaan\",\"address_1\":\"block 1, st119, h13\"}' --line_items='[{\"product_id\":1,\"quantity\":2}]' --user=admin" | |
| } | |
| ], | |
| "siteOptions": { | |
| "blogName": "Jaak WooCommerce Demo" | |
| }, | |
| "preferredVersions": { | |
| "php": "8.3", | |
| "wp": "latest" | |
| }, | |
| "login": true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment