From ca6c23411ff242853f38b7661c7ec94e69362131 Mon Sep 17 00:00:00 2001 From: Maggie Date: Tue, 23 Nov 2021 17:07:03 +0100 Subject: [PATCH 1/4] added initial templates with wide alignment --- blockbase/block-templates/archive-product.html | 15 +++++++++++++++ blockbase/block-templates/single-product.html | 15 +++++++++++++++ .../block-templates/taxonomy-product_cat.html | 15 +++++++++++++++ .../block-templates/taxonomy-product_tag.html | 15 +++++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 blockbase/block-templates/archive-product.html create mode 100644 blockbase/block-templates/single-product.html create mode 100644 blockbase/block-templates/taxonomy-product_cat.html create mode 100644 blockbase/block-templates/taxonomy-product_tag.html diff --git a/blockbase/block-templates/archive-product.html b/blockbase/block-templates/archive-product.html new file mode 100644 index 0000000000..393dd72a34 --- /dev/null +++ b/blockbase/block-templates/archive-product.html @@ -0,0 +1,15 @@ + + + +
+ + +
+ +
+ + +
+ + + \ No newline at end of file diff --git a/blockbase/block-templates/single-product.html b/blockbase/block-templates/single-product.html new file mode 100644 index 0000000000..ebc298cf5b --- /dev/null +++ b/blockbase/block-templates/single-product.html @@ -0,0 +1,15 @@ + + + +
+ + +
+ +
+ + +
+ + + \ No newline at end of file diff --git a/blockbase/block-templates/taxonomy-product_cat.html b/blockbase/block-templates/taxonomy-product_cat.html new file mode 100644 index 0000000000..1472ceed05 --- /dev/null +++ b/blockbase/block-templates/taxonomy-product_cat.html @@ -0,0 +1,15 @@ + + + +
+ + +
+ +
+ + +
+ + + \ No newline at end of file diff --git a/blockbase/block-templates/taxonomy-product_tag.html b/blockbase/block-templates/taxonomy-product_tag.html new file mode 100644 index 0000000000..84df5aef3d --- /dev/null +++ b/blockbase/block-templates/taxonomy-product_tag.html @@ -0,0 +1,15 @@ + + + +
+ + +
+ +
+ + +
+ + + \ No newline at end of file From 385f4a02b7fc18c80948d49cb1af86bf000a0fc9 Mon Sep 17 00:00:00 2001 From: Maggie Date: Tue, 23 Nov 2021 17:09:51 +0100 Subject: [PATCH 2/4] removed the tazonomy templates --- .../block-templates/taxonomy-product_cat.html | 15 --------------- .../block-templates/taxonomy-product_tag.html | 15 --------------- 2 files changed, 30 deletions(-) delete mode 100644 blockbase/block-templates/taxonomy-product_cat.html delete mode 100644 blockbase/block-templates/taxonomy-product_tag.html diff --git a/blockbase/block-templates/taxonomy-product_cat.html b/blockbase/block-templates/taxonomy-product_cat.html deleted file mode 100644 index 1472ceed05..0000000000 --- a/blockbase/block-templates/taxonomy-product_cat.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -
- - -
- -
- - -
- - - \ No newline at end of file diff --git a/blockbase/block-templates/taxonomy-product_tag.html b/blockbase/block-templates/taxonomy-product_tag.html deleted file mode 100644 index 84df5aef3d..0000000000 --- a/blockbase/block-templates/taxonomy-product_tag.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -
- - -
- -
- - -
- - - \ No newline at end of file From 6762286c2ec54c630b123d5e4909cb0f4d536a06 Mon Sep 17 00:00:00 2001 From: Maggie Date: Wed, 24 Nov 2021 11:32:06 +0100 Subject: [PATCH 3/4] add woo templates to theme.json --- blockbase/theme.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/blockbase/theme.json b/blockbase/theme.json index fdb1ad6d36..ecea4b4e91 100644 --- a/blockbase/theme.json +++ b/blockbase/theme.json @@ -27,6 +27,14 @@ "page", "post" ] + }, + { + "name": "single-product", + "title": "Single Product" + }, + { + "name": "archive-product", + "title": "Archive Product" } ], "settings": { From 3fa4bd4ecb390c4f946098ae939e43722c038bd6 Mon Sep 17 00:00:00 2001 From: Maggie Date: Wed, 24 Nov 2021 11:48:10 +0100 Subject: [PATCH 4/4] added mini cart to header --- blockbase/block-template-parts/header.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/blockbase/block-template-parts/header.html b/blockbase/block-template-parts/header.html index f46a6d8040..e789021a80 100644 --- a/blockbase/block-template-parts/header.html +++ b/blockbase/block-template-parts/header.html @@ -9,6 +9,8 @@ + +