diff --git a/src/LaravelGoogleShoppingFeed.php b/src/LaravelGoogleShoppingFeed.php index 7bb7d5f..3d6cd13 100644 --- a/src/LaravelGoogleShoppingFeed.php +++ b/src/LaravelGoogleShoppingFeed.php @@ -19,7 +19,7 @@ class LaravelGoogleShoppingFeed 'link', 'title', 'price', - 'image_link' + 'g:image_link' ]; public static function init($title = null, $description = null, $link = null) @@ -53,7 +53,7 @@ public function addItem(array $item): bool public function generate() { $this->xml = [ - 'rss' => [ + 'rss' => [ '_attributes' => [ 'xmlns:g' => 'http://base.google.com/ns/1.0', 'version' => '2.0',