-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Adrian Duffell edited this page Aug 2, 2026
·
8 revisions
Welcome to the Outlet Pro wiki!
The following commands are helpful for testing:
wp-env run cli wp eval 'wp_set_current_user(1); echo wp_json_encode( rest_do_request( new WP_REST_Request("GET","/wp/v2/settings") )->get_data(), JSON_PRETTY_PRINT );'
wp-env run cli wp option delete wc_outlet_message wc_outlet_page_id wc_outlet_badge_label wc_outlet_badge_text_color wc_outlet_badge_bg_color wc_outlet_badge_border_radius wc_outlet_badge_border_color wc_outlet_badge_border_style wc_outlet_badge_border_width wc_outlet_badge_font_size wc_outlet_badge_font_weight wc_outlet_badge_padding_top wc_outlet_badge_padding_right wc_outlet_badge_padding_bottom wc_outlet_badge_padding_left wc_outlet_badge_scale wc_outlet_badge_density
wp-env run cli wp plugin deactivate outletpro && wp-env run cli wp plugin activate outletpro
THEME=twentytwentyfive STORE_PAGES=block npm run test:e2e -- tests/e2e/0-bootstrap-theme.spec.js tests/e2e/0-bootstrap-store-pages.spec.js tests/e2e/shopping.spec.js
THEME=storefront STORE_PAGES=shortcode npm run test:e2e -- tests/e2e/0-bootstrap-theme.spec.js tests/e2e/0-bootstrap-store-pages.spec.js tests/e2e/shopping.spec.js