Seeking Feedback: Woo Blueprint #50734
Replies: 8 comments 12 replies
-
I like the concept, its good. Why not have it show in the WordPress tools for import/export and maybe have it as an addon to reduce increasing size of the plugin? |
Beta Was this translation helpful? Give feedback.
-
Hi @moon0326 I like the idea 👌 I tested the export and import in a multisite environment and the feature worked as expected. However, I couldn't test the extensibility. If I am not wrong, the export example provided contains some typos.
add_filter("wooblueprint_exporters", function (array $exporters) {
$exporters[] = new ExportMyPluginOptions();
return $exporters;
}); Other than that, it would be nice if the custom exporters options could be checked/unchecked: |
Beta Was this translation helpful? Give feedback.
-
I'm confused about the long-term vision and assumptions. Is this an extension of the PHP implementation of WordPress Playground Blueprints? Or is this a completely separate project? If it's separate – what's the rationale? There seem to be plenty of room to collaborate and build a single, solid library that could eventually become a part of WordPress core. |
Beta Was this translation helpful? Give feedback.
-
I like the concept! Would like to see a solution, that later can be moved over into core as the main maintainer and making it compatible with Playground and other core initiatives. |
Beta Was this translation helpful? Give feedback.
-
Not directly related, but I created an issue on Woo GH as WP playground gets stuck on Woo activation: #58718 |
Beta Was this translation helpful? Give feedback.
-
Hi woocommerce team, This is a fantastic feature and I'm glad it's available now. But it would be great if the ability to export orders, users, and user reviews were also added to this feature. I hope there is a plan for that. Thank you for the wonderful work. |
Beta Was this translation helpful? Give feedback.
-
I do like this feature, however to me this feels more like something that should be a more WordPress core function over a WooCommerce function? Working on making the import/export experience for orders, products etc would be likely more a WooCommerce feeling scope to cover. |
Beta Was this translation helpful? Give feedback.
-
When I found out blueprints would be included in WC 9.9 I got very happy since I've played around with Playground and blueprints in there before. Long term I am hoping that blueprints, in a wider WordPress context, fully can replace existing setup bash scripts eg in automated/manual testing and development scenarios. I think that including blueprints in WooCommerce is a great way to get more people introduced to the thinking around blueprints and hopefully also WordPress playground, testing it properly before most of it maybe can be included in WordPress core, while at the same time provide value in a WooCommerce context right away. In a way a blueprint export also can be useful in a support and troubleshooting context, since a system report eg includes a lot of information about a site, but eg not all WooCommerce settings. Therefore when helping out in a support ticket context, with a system report and a blueprint export you get an even better overview of a site and it's setup. Anyhow, I'll summarize my feedback that I got now when I started using the blueprint functionality below, it's both high and low thoughts and let me know if you think I should post some of the feedback somewhere else or break it out in separate issues in any way. Step descriptionsI would like to be able to add some kind of optional meta descriptions to a step, so I could explain what that step is intended to do. I think that would help with the readability of a blueprint and could be useful eg with how the export functionality works today, because as different settings are exported as separate blueprint steps, then it would be nice to see on the export eg that these are exported payment settings etc. I also think that this text maybe could be visible eg when running an import, eg in the UI or in the command line. Eg
WP CLI import through url'sBeing able to import and export blueprints through wp cli is great. However I would like to be able to import a blueprint also through a url, similar to how the command "wp plugin install" lets you use a url instead of a path. Tax and shipping exported as a runSql step does not make it portableIf I export tax and shipping right now, they are exported as runSql steps. See example below,
However, since the site that I might want to import this too could have a totally different table prefix, then this would not work at all right? Obviously it would be nicest to eg have some kind of custom WC importer step where you could define tax and shipping options in a json format similar as with settings. But if that is too complicated maybe a better approach would be to try to use a runPHP step instead of runSql? Or if you would allow wp-cli steps, then it could be done through that instead? Support for more blueprint importersIt would be great if it was possible to run blueprint steps on import like wp-cli, importWxr and updateUserMeta. Possible to define wp-cli commands as an array instead of separate stepsIf you would allow wp-cli steps I would love if it was possible to define multiple commands as an array instead of having them as separate steps. Because if you have many wp cli commands that you want to run, then it becomes very many steps or if you try to combine it to one big command, then it is not readable. So instead of having,
you would instead be able to define it as a step like this
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We’ve recently completed a hack project where we developed a tool for exporting and importing WooCommerce settings, which we’re calling Woo Blueprint for now. Before we decide whether to officially integrate it as a feature, we’d love to get feedback from the community.
Current Capabilities:
Export/Import: General settings, shipping settings, tax settings, payment gateway settings, plugins, and themes.
Future Updates: We plan to add support for exporting/importing pages, posts, products, and theme settings.
Current Status:
Early Stage: The tool is still in its initial phase and might have some bugs.
UI Improvements: Significant enhancements to the user interface are planned. Please checkout concept videos. The current UI is purely for the demo/testing purposes.
Demo
Export: This pre-configured site includes shipping zones, tax rates, and payment gateway settings.
export.mov
Import: We import the export file into a freshly installed WordPress and WooCommerce site.
Seeking.Feedback.Woo.Blueprint.Team.Ghidorah.1.mp4
Try it out
We’d greatly appreciate any feedback, suggestions, or bug reports. Your input will help us decide if this tool should be officially included. The woocommerce.zip contains the feature. Just upload woocommerce.zip into a suitable test environment or create a Jurassic Ninja site.
Create a Jurassic Ninja site
A Jurassic Ninja site is a temporary test site designed to automatically expire after 24 hours.
See more options
WooCommerce
andWooCommerce Beta Tester
blueprint
underWooCommerce Beta Tester
options.Launch single site
Extensibility
Woo Blueprint has two hooks that allow other WooCommerce plugins to extend its functionality and add export/import capabilities for their own settings. More detailed official documentation is planned, but here’s a sneak peek.
Export example: First, we'll define a
MyPluginOptionsStep
class that handles data structure and validation rules. Then, we'll createExportMyPluginOptions
class that queries and exports the data.Output:
Import example:
You can also download blueprint-example.zip demo plugin for testing purposes.
CLI Support
Woo Blueprint comes with import and export CLI commands.
Import
Export
Feedback
We would love to hear what you think about the blueprint import / export. Please leave your comments below and complete the survey to shape the future direction of the feature..
Beta Was this translation helpful? Give feedback.
All reactions