mirror of
https://github.com/wearepixel/laravel-google-shopping-feed.git
synced 2026-11-14 21:31:46 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f9dcce39b9 | ||
|
|
a7e22e8fce |
@@ -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
@@ -6,7 +6,7 @@
|
|||||||
"laravel",
|
"laravel",
|
||||||
"google-shopping-feed"
|
"google-shopping-feed"
|
||||||
],
|
],
|
||||||
"version": "2.0.1",
|
"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
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ class LaravelGoogleShoppingFeed
|
|||||||
'id',
|
'id',
|
||||||
'link',
|
'link',
|
||||||
'title',
|
'title',
|
||||||
'price',
|
'g:price',
|
||||||
'g:image_link'
|
'g:image_link'
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user