-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Puzzle app: update blueprint (#1499)
## Motivation for the change, related issues We need to update puzzle app blueprints based on sponsor feedback. I also found a bug with the processor where it would not use the landing page in cases a single blueprint with multiple plugins was used. ## Implementation details ## Testing Instructions (or ideally a Blueprint)
- Loading branch information
Showing
2 changed files
with
27 additions
and
20 deletions.
There are no files selected for viewing
34 changes: 24 additions & 10 deletions
34
packages/playground/puzzle/src/site-builder/blueprints/yith.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,43 @@ | ||
{ | ||
"landingPage": "/wp-admin/edit.php?post_type=gift_card&post_status=publish&yith-plugin-fw-panel-skip-redirect=1", | ||
"$schema": "https://playground.wordpress.net/blueprint-schema.json", | ||
"landingPage": "/wp-admin/admin.php?page=yith_wcwl_panel&tab=settings&sub_tab=settings-add_to_wishlist", | ||
"steps": [ | ||
{ | ||
"step": "installPlugin", | ||
"pluginZipFile": { | ||
"resource": "wordpress.org/plugins", | ||
"slug": "woocommerce" | ||
}, | ||
"options": { | ||
"activate": true | ||
} | ||
}, | ||
{ | ||
"step": "runPHP", | ||
"code": "<?php require_once '/wordpress/wp-load.php'; update_option('woocommerce_onboarding_profile', ['skipped' => true]);" | ||
"step": "installPlugin", | ||
"pluginZipFile": { | ||
"resource": "wordpress.org/plugins", | ||
"slug": "wordpress-importer" | ||
} | ||
}, | ||
{ | ||
"step": "installPlugin", | ||
"pluginZipFile": { | ||
"resource": "wordpress.org/plugins", | ||
"slug": "yith-woocommerce-gift-cards" | ||
}, | ||
"options": { | ||
"activate": true | ||
"slug": "yith-woocommerce-wishlist" | ||
} | ||
}, | ||
{ | ||
"step": "wp-cli", | ||
"command": "wp option update yith_wcwl_show_on_loop 'yes'" | ||
}, | ||
{ | ||
"step": "wp-cli", | ||
"command": "wp import /wordpress/wp-content/plugins/woocommerce/sample-data/sample_products.xml --authors=create" | ||
}, | ||
{ | ||
"step": "wp-cli", | ||
"command": "wp transient set _wc_activation_redirect 0 259200" | ||
}, | ||
{ | ||
"step": "wp-cli", | ||
"command": "wp option update woocommerce_onboarding_profile '{\"skipped\": true}' --format=json" | ||
} | ||
] | ||
} |
This file contains 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