Skip to content

Commit a2a38da

Browse files
committed
Use shorthand for login and plugins, remove kitchensink. Fixes 103
1 parent 75950b9 commit a2a38da

File tree

1 file changed

+2
-26
lines changed

1 file changed

+2
-26
lines changed

blueprints/woocommerce-product-feed/blueprint.json

+2-26
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,12 @@
1111
"php": "latest",
1212
"wp": "latest"
1313
},
14-
"phpExtensionBundles": ["kitchen-sink"],
1514
"features": {
1615
"networking": true
1716
},
17+
"login":true,
18+
"plugins":["woocommerce", "webtoffee-product-feed"],
1819
"steps": [
19-
{
20-
"step": "login",
21-
"username": "admin",
22-
"password": "password"
23-
},
24-
{
25-
"step": "installPlugin",
26-
"pluginZipFile": {
27-
"resource": "wordpress.org/plugins",
28-
"slug": "woocommerce"
29-
},
30-
"options": {
31-
"activate": true
32-
}
33-
},
34-
{
35-
"step": "installPlugin",
36-
"pluginZipFile": {
37-
"resource": "wordpress.org/plugins",
38-
"slug": "webtoffee-product-feed"
39-
},
40-
"options": {
41-
"activate": true
42-
}
43-
},
4420
{
4521
"step": "runPHP",
4622
"code": "<?php include 'wordpress/wp-load.php'; delete_transient( '_wc_activation_redirect' ); wp_insert_post(array( 'import_id' => 5, 'post_title' => 'Sample Product', 'post_content' => '<!-- wp:paragraph --><p>Sample product description</p><!-- /wp:paragraph -->','post_status' => 'publish','post_type' => 'product','post_author' => 1, 'meta_input' => array('_sku' => 'WEBTOFFEE-FEED-ITEM', '_regular_price' => 25.00, '_sale_price' => 22.00, '_price' => 22.00, '_wt_feed_brand' => 'WebToffee', '_wt_feed_gtin' => 'WEBTOFFEE123', '_wt_feed_mpn' => 'WebToffee123', '_wt_feed_color' => 'Red', '_wt_feed_gender' => 'Male' ) ) );"

0 commit comments

Comments
 (0)