moshaorui 4 сар өмнө
parent
commit
2006837ac6

+ 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;
                 }