Hello I have a wix store. I want to use Velo for Wix to modify the SEO of my products with VB net

My program is in vb net.
For now I am able to modify the first level tags without problem with this productData
Dim productData As New With {
Key ._id = item(“_id”).ToString,
Key .name = “Ste” & item(“name”).ToString
}
I need to modify the seoData Information but I don’t know how to write it

I found the answer to my question.

See if this can help in the future

Dim productData As New With {
Key ._id = item(“_id”).ToString,
Key .description = productDescriptionHtml,
Key .seoData = New With {
Key .tags = New List(Of Object) From {
New With {
Key .type = “title”,
Key .children = strSEOBalise, ’ The new title
Key .custom = False,
Key .disabled = False
},
New With {
Key .type = “meta”,
Key .children = “”, ’ La nouvelle description meta
Key .custom = False,
Key .disabled = False,
Key .props = New With {
Key .name = “description”,
Key .content = strSEOMeta
}
}
},
Key .settings = New With {
Key .preventAutoRedirect = False,
Key .keywords = New List(Of Object) From {
New With {
Key .term = strSEO, ’ La nouvelle liste de mots-clés
Key .isMain = True
}
}
}
}
}

1 Like