Download the PHP package fostercommerce/product-feeds without Composer
On this page you can find all versions of the php package fostercommerce/product-feeds. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fostercommerce/product-feeds
More information about fostercommerce/product-feeds
Files in fostercommerce/product-feeds
Package product-feeds
Short Description Build auto-updating product feeds for shopping and social platforms from Craft Commerce products and variants, Craft entries, or custom sources.
License proprietary
Homepage https://github.com/FosterCommerce/craft-product-feeds
Informations about the package product-feeds
Product Feeds
Build auto-updating product feeds for shopping and social platforms from Craft Commerce variants, Craft entries, or custom sources.
Overview
- Publish feeds for Google, Meta, Microsoft, Pinterest, TikTok, and Klaviyo, each from a stable URL the platform fetches on a schedule.
- Build a feed from Commerce variants, with SKU, price, and stock taken from Commerce, or from entries when you advertise a page rather than a product.
- Write a custom source in a module or plugin to publish items the built-in sources cannot, such as one item for each size an entry offers.
- Map each platform attribute to a product property, a Craft field, a default value, or a Twig template.
- Check a feed before the platform does: preview its items, see which attributes were blank or invalid on the last build, and test an image against the platform's minimum size.
- Keep each feed current, rebuilt on a schedule and whenever a product or entry in it changes.
- Split one catalog across several feeds (one per brand, one for items on promotion).
Use Product Feeds when
- Your products have to appear on Google, Meta, Microsoft, Pinterest, TikTok, or Klaviyo, and each feed has to stay current as the catalog changes.
- What you advertise is an entry rather than a Commerce product, such as a configurator or made-to-measure page.
- Your catalog does not match one item per product, such as one entry sold in several sizes, and a module or plugin can supply the items.
- A few attribute values need a different shape than your fields hold, such as a combined title or a computed date.
- The people who maintain the feed need to see blank or invalid values before the platform reports them.
Requirements
- Craft CMS
^5.9.0 - Craft Commerce
^5.5.0 - PHP
^8.2with thejson,zlib, andxmlwriterextensions
Install
Then choose a filesystem under Settings -> Plugins -> Product Feeds, and schedule the build command.
For the full guide, see installation.
Platforms
Each feed targets one platform: Google, Meta, Microsoft, Pinterest, TikTok, or Klaviyo. The platform sets which attributes the feed has, and the maximum length of each text value.
Each feed also has its own image engine and size, so a Pinterest feed can send portrait images while a Google feed sends square ones from the same Assets field. The image engine can be the asset's own URL, a Craft transform, Imager X, or Small Pics.
For what each platform sends, see attributes.
Sources
A feed's data can come from Commerce variants, with SKU, price, and stock from Commerce, or from entries when you advertise a page rather than a product. To limit a feed to part of the catalog, add rules to its Filter.
For anything else, a developer can write a custom source.
Mapping
Each attribute can get mapped to a native value, a Craft field, a default value, or a Twig template. After each build, every attribute reports how many items were blank or invalid, and Excluded items lists what the build left out and why.
For the full guide, see mapping a feed.
Documentation
For the full documentation, see the Product Feeds documentation.
License
Proprietary
All versions of product-feeds with dependencies
ext-json Version *
ext-xmlwriter Version *
ext-zlib Version *
craftcms/cms Version ^5.9.0
craftcms/commerce Version ^5.5.0
moneyphp/money Version ^4.0