Skip to content
No description or website provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


How to install with composer.

    "require": {
        "lukesnowden/google-shopping-feed": "dev-master"


Example of Google feed generation.

use LukeSnowden\GoogleShoppingFeed\Containers\GoogleShopping;

GoogleShopping::title('Test Feed');
GoogleShopping::description('Our Google Shopping Feed');

foreach( $products as $product ) {

	$item = GoogleShopping::createItem();

	/** create a variant */
	$variant = $item->variant();

	 * One thing to note, if creating variants, delete the initial object after you've done,
	 * Google no longer needs it!
	 * $item->delete();


// boolean value indicates output to browser

Category Taxonomies

Returns a list of the categories. The list is updated daily from Googles Documentation

$lang = 'gb';
$googleCategories = GoogleShopping::categories($lang);

$lang can be one of these Google supported languages: au, br, cn, cz, de, dk, es, fr, gb, it, jp, nl, no, pl, ru, sw, tr, us.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.