php-google-merchant-feed
php-google-merchant-feed copied to clipboard
Attributes gender, pattern, size type, size system, dimensions, weight, energy efficiency, etc., and class for Facebook and Instagram.
Added several attributes for gender, pattern, size type, size system, dimensions, weight, energy efficiency, etc.
Since Facebook and Intagram's commerce manager catalog feed uses Google merchant feed XML, with a few changes, I've added a new Meta class that extends the Product class:
$product = new Vitalybaev\GoogleMerchant\Meta\Product();
The setAvailability() method uses different values for Facebook and Instagram, and includes an addBrand() method to add GTINs and MPN (Meta does not support the 'gtin' and 'mpn' attributes).
js.