You've already forked wc-bootstrap
Fix CSS dependency handle and update documentation
Correct wc-bootstrap-overrides stylesheet dependency from unregistered 'woocommerce' handle to 'woocommerce-general'. Update README directory structure to reflect wc-base.html.twig rename and .env-dist location. Add Fixed section to CHANGELOG. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
11
README.md
11
README.md
@@ -64,7 +64,12 @@ wc-bootstrap/
|
||||
│ └── WooCommerceExtension.php # WC/WP Twig functions & filters
|
||||
├── languages/ # Translation files
|
||||
├── templates/ # Bootstrap 5 Twig template overrides
|
||||
│ ├── wc-base.html.twig # Base layout (extends parent's base.html.twig)
|
||||
│ ├── layouts/ # Page-type layouts (account, archive, form, page, single)
|
||||
│ ├── archive-product.html.twig
|
||||
│ ├── content-product.html.twig
|
||||
│ ├── content-product-cat.html.twig
|
||||
│ ├── product-searchform.html.twig
|
||||
│ ├── auth/
|
||||
│ ├── brands/
|
||||
│ ├── cart/
|
||||
@@ -79,8 +84,8 @@ wc-bootstrap/
|
||||
├── docker/
|
||||
│ ├── Dockerfile # Multistage build (WC download, npm, composer, WP)
|
||||
│ ├── entrypoint.sh # Auto-setup wrapper entrypoint
|
||||
│ ├── setup.sh # First-run WP install + plugin/theme activation
|
||||
│ └── .env-dist # Environment variable template
|
||||
│ └── setup.sh # First-run WP install + plugin/theme activation
|
||||
├── .env-dist # Environment variable template
|
||||
├── compose.yaml # WordPress + MariaDB services
|
||||
├── compose.override.yaml # Dev overrides (bind mounts, debug flags)
|
||||
├── composer.json
|
||||
@@ -106,7 +111,7 @@ WooCommerce wc_get_template("cart/cart.php")
|
||||
|
||||
```bash
|
||||
# Copy and adjust environment variables (optional)
|
||||
cp docker/.env-dist .env
|
||||
cp .env-dist .env
|
||||
|
||||
# Build and start
|
||||
docker compose build
|
||||
|
||||
Reference in New Issue
Block a user