added shop page

This commit is contained in:
Hamza Ahmed
2023-11-14 00:00:10 +00:00
parent 79a42ff9d5
commit d6cbde3e8e
19 changed files with 443 additions and 23 deletions
+23 -2
View File
@@ -47,11 +47,23 @@ export default defineConfig({
fields: [
{
type: "string",
name: "productName",
title: "Product Name",
name: "title",
label: "Product Name",
isTitle: true,
required: true,
},
{
type: "string",
name: "code",
label: "Code",
required: true,
},
{
type: "string",
name: "image",
label: "Image",
required: false,
},
{
type: "rich-text",
name: "description",
@@ -62,4 +74,13 @@ export default defineConfig({
},
],
},
search: {
tina: {
indexerToken: '3ad8991708087bb81af5aa2bd79586afd6d847fb',
stopwordLanguages: ['eng']
},
indexBatchSize: 100,
maxSearchIndexFieldLength: 100
},
});