Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes gender, pattern, size type, size system, dimensions, weight, energy efficiency, etc., and class for Facebook and Instagram. #32

Open
wants to merge 71 commits into
base: master
Choose a base branch
from

Conversation

jsmoriss
Copy link

@jsmoriss jsmoriss commented Nov 26, 2023

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 jsmoriss changed the title Attributes for product size, weight, energy efficiency, and more. Attributes gender, pattern, size type, size system, dimensions, weight, energy efficiency, etc., and class for Facebook and Instagram. Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant