moshaorui 4 months ago
parent
commit
2006837ac6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Console/Commands/SyncAlbumContent.php

+ 2 - 0
app/Console/Commands/SyncAlbumContent.php

@@ -79,6 +79,7 @@ class SyncAlbumContent extends Command
                             'content' => $content,
                             'created_at' => Carbon::now(),
                             'updated_at' => Carbon::now(),
+                            'seo_title' => $albumContent->model,
                         ]);
                     $baseProductId = $baseProduct;
                 } else {
@@ -90,6 +91,7 @@ class SyncAlbumContent extends Command
                             'sku' => $sku,
                             'content' => $content,
                             'updated_at' => Carbon::now(),
+                            'seo_title' => $albumContent->model,
                         ]);
                     $baseProductId = $baseProduct->id;
                 }