Compare commits

..
6 Commits
Author SHA1 Message Date
Joel Male f9dcce39b9 chore: support Laravel 10 & 11 2024-01-08 09:26:53 +10:00
Joel Male a7e22e8fce update price to g:price as per google changes 2023-01-06 09:28:12 +10:00
Joel Male 5a1c822810 bump version 2023-01-03 14:50:47 +10:00
Joel Male fb85d49e88 update google image field as per latest google update 2023-01-03 14:45:20 +10:00
Joel Male b08e9943b8 chore: update version 2022-06-29 09:05:53 +10:00
Joel Male 01ac326a54 chore: update version 2022-06-29 09:05:00 +10:00
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ ## Example
'id' => 'item_001', 'id' => 'item_001',
'title' => 'Blue Nikes', 'title' => 'Blue Nikes',
'link' => 'https://mystore.com/products/blue-nikes', 'link' => 'https://mystore.com/products/blue-nikes',
'image_link' => 'https://mystore.com/images/blue-nikes-001.jpg', 'g:image_link' => 'https://mystore.com/images/blue-nikes-001.jpg',
'price' => 29.99, 'g:price' => 29.99,
]); ]);
return $feed->generate(); return $feed->generate();
+2 -2
View File
@@ -6,7 +6,7 @@
"laravel", "laravel",
"google-shopping-feed" "google-shopping-feed"
], ],
"version": "1.0.0", "version": "4.0.0",
"homepage": "https://github.com/wearepixel/laravel-google-shopping-feed", "homepage": "https://github.com/wearepixel/laravel-google-shopping-feed",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
@@ -20,7 +20,7 @@
}, },
"require": { "require": {
"spatie/array-to-xml": "2.8.*|3.*.*", "spatie/array-to-xml": "2.8.*|3.*.*",
"illuminate/support": "8.*|9.*" "illuminate/support": "8.*|9.*|10.*|11.*"
}, },
"prefer-stable": true "prefer-stable": true
} }
+2 -2
View File
@@ -18,8 +18,8 @@ class LaravelGoogleShoppingFeed
'id', 'id',
'link', 'link',
'title', 'title',
'price', 'g:price',
'image_link' 'g:image_link'
]; ];
public static function init($title = null, $description = null, $link = null) public static function init($title = null, $description = null, $link = null)