php-google-merchant-feed icon indicating copy to clipboard operation
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.

Open jsmoriss opened this issue 1 year ago • 0 comments

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.

jsmoriss avatar Nov 26 '23 13:11 jsmoriss