Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/yaycommerce/yaybulkorder/archive/refs/heads/main.zipWooCommerce plugin for quick bulk ordering.
Getting Started
// In wp-config.php
// development mode
define( 'YAYBULKORDER_IS_DEVELOPMENT', true );
// production mode
define( 'YAYBULKORDER_IS_DEVELOPMENT', false );
# Install JS dependencies
pnpm install
# Build Gutenberg block
pnpm build
Development
# Build assets (watch mode)
pnpm dev
Testing
E2E Tests (Playwright + @wordpress/env)
Requires Docker running. Coverage is thin today — see tests/e2e/tests/.
# Start the WordPress + WooCommerce test environment (Docker)
pnpm test:e2e:env:start
# Run all e2e tests
pnpm test:e2e
# Run with UI
pnpm test:e2e:ui
# Stop the test environment
pnpm test:e2e:env:stop
pnpm test:e2e:install (downloads Playwright's bundled Chromium) is only needed in CI — local runs use the system-installed Google Chrome instead (see tests/e2e/playwright.config.ts).
Release
# Build & package both Pro and Lite
pnpm release
# Pro only
pnpm release:pro
# Lite only
pnpm release:lite
Internationalization
pnpm makepot
Chia chuc nang
Product Table : table of multiple Products, add to cart directly in one page Variant Table : table of one Product with variations, add to cart directly in one page. Quick Order : enter quantity in Shop, then click "Add to Cart" , "Add More". Show total in Floating Button (Brandy Block)
Config Bulk Order : plugin settings, style, meta
Store Product Table : readonly: product query state: total count, pagination, filter
Store Variant Table : readonly: product id state: quantity input
Store Quick Order : readonly: product id state: quantity input
Store Cart : import from Woocommerce