Skip to content

Latest commit

 

History

History
67 lines (48 loc) · 915 Bytes

File metadata and controls

67 lines (48 loc) · 915 Bytes

Yay Wholesale B2B for WooCommerce

WooCommerce wholesale plugin for serving wholesale & B2B customers.

Getting Started

// In wp-config.php
// development mode
define( 'YAYWHOLESALEB2B_IS_DEVELOPMENT', true );
// production mode
define( 'YAYWHOLESALEB2B_IS_DEVELOPMENT', false );
# Install JS dependencies
pnpm install
# Build Gutenberg block
pnpm build

Development

# Build assets (watch mode)
pnpm dev

Testing

E2E Tests (Playwright)

# Install Playwright browsers
pnpm test:e2e:install

# Start test environment (single site)
pnpm env:start:single

# Run all e2e tests
pnpm test:e2e

# Run with UI
pnpm test:e2e:ui

# Stop test environment
pnpm env:stop:single

Release

# Build & package both Pro and Lite
pnpm release

# Pro only
pnpm release:pro

# Lite only
pnpm release:lite

Internationalization

pnpm makepot