feat(seo): add wsc_ai_seo_geo_defined_terms custom field for product and category #17
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/custom-field-geo-defined-terms"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Zusammenfassung
Neues Custom Field
wsc_ai_seo_geo_defined_termsfür Produkte und Kategorien. Nimmt JSON-Daten auf, wird headless (z. B. per API/Import) befüllt. Rendering als reine Textarea (mt-textarea), kein WYSIWYG-Editor.Umsetzung
src/Service/CustomFieldsInstaller.php: neues Setwsc_ai_seo_geo("AI-SEO GEO"), das per zwei Relationen anproductUNDcategoryhängt (statt zweier getrennter Sets mit demselben Feld-Namen —custom_field.namemuss in Shopware global eindeutig sein, siehe Kommentar beiCUSTOM_FIELDS_GEO).addRelation()/uninstallSet()unterstützen jetztentityNameals Array (Set an mehreren Entities).uninstall()entfernt gespeicherte Werte jetzt auch auscategory_translation.custom_fields.Verifikation (DDEV
sw6-plugin, real durchgespielt)bin/console plugin:update WSCSWPluginAiSeoToolserfolgreichcustom_fieldfür den Key (kein Duplikat)custom_field_set_relation:productundcategory, beide auf dasselbe SetcomponentName: sw-field,type: textareaCloses #16