diff --git a/app/Console/Commands/ImportHtmlTemplates.php b/app/Console/Commands/ImportHtmlTemplates.php
index d64058d..e9f0154 100644
--- a/app/Console/Commands/ImportHtmlTemplates.php
+++ b/app/Console/Commands/ImportHtmlTemplates.php
@@ -223,6 +223,18 @@ class ImportHtmlTemplates extends Command
}
// B. Genel İşlemler
+
+ // 0. Address tag'larını setting.contact_address ile değiştir
+ $addresses = $xpath->query('.//address', $node);
+ foreach ($addresses as $address) {
+ // Address içeriğini temizle ve placeholder koy
+ while ($address->firstChild) {
+ $address->removeChild($address->firstChild);
+ }
+ $textNode = $node->ownerDocument->createTextNode('{setting.contact_address}');
+ $address->appendChild($textNode);
+ }
+
// 1. Resimler
$images = $xpath->query('.//img', $node);
foreach ($images as $img) {