This repository has been archived by the owner on Feb 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align Woo Block template locations with the newest convention
While we now support both the old and new conventions for the templates paths, our own repo should be aligned with the latest convention. See: #5455 Fixes: #5343
- Loading branch information
1 parent
855ae2e
commit 4c2a2bf
Showing
6 changed files
with
57 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- wp:woocommerce/mini-cart-contents --> | ||
<div class="wp-block-woocommerce-mini-cart-contents"> | ||
<!-- wp:woocommerce/filled-mini-cart-contents-block --> | ||
<div class="wp-block-woocommerce-filled-mini-cart-contents-block"> | ||
<!-- wp:woocommerce/mini-cart-title-block /--> | ||
<!-- wp:woocommerce/mini-cart-products-table-block /--> | ||
<!-- wp:woocommerce/mini-cart-footer-block /--> | ||
</div> | ||
<!-- /wp:woocommerce/filled-mini-cart-contents-block --> | ||
|
||
<!-- wp:woocommerce/empty-mini-cart-contents-block --> | ||
<div class="wp-block-woocommerce-empty-mini-cart-contents-block"> | ||
<!-- wp:paragraph {"align":"center"} --> | ||
<p class="has-text-align-center"> | ||
<strong>Your cart is currently empty!</strong> | ||
</p> | ||
<!-- /wp:paragraph --> | ||
|
||
<!-- wp:buttons --> | ||
<div class="wp-block-buttons"> | ||
<!-- wp:button {"align":"center","className":"is-style-outline"} --> | ||
<div class="wp-block-button aligncenter is-style-outline"> | ||
<a href="/" class="wp-block-button__link">Start shopping</a> | ||
</div> | ||
<!-- /wp:button --> | ||
</div> | ||
<!-- /wp:buttons --> | ||
</div> | ||
<!-- /wp:woocommerce/empty-mini-cart-contents-block --> | ||
</div> | ||
<!-- /wp:woocommerce/mini-cart-contents --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/legacy-template {"template":"archive-product"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/legacy-template {"template":"single-product"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/legacy-template {"template":"taxonomy-product_cat"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<!-- wp:template-part {"slug":"header"} /--> | ||
<!-- wp:group {"layout":{"inherit":true}} --> | ||
<div class="wp-block-group"><!-- wp:woocommerce/legacy-template {"template":"taxonomy-product_tag"} /--></div> | ||
<!-- /wp:group --> | ||
<!-- wp:template-part {"slug":"footer"} /--> |