rapidez / statamic-brands
Installs: 74
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 3
Open Issues: 0
pkg:composer/rapidez/statamic-brands
Requires
- rapidez/statamic: ~0.9
- statamic/cms: ^3.3
This package is auto-updated.
Last update: 2024-01-15 09:14:31 UTC
README
Deprecated and integrated within rapidez/statamic
; please use https://github.com/rapidez/statamic
Rapidez Statamic Brands
This is a Statamic add-on used to import brands from Magento as a Statamic collection, so that the brand information can be enriched in Statamic.
Features
- Export Brands from Magento's brand attribute options and import into Brands collection
- Enrich brands with more information
- Multistore support
How to Install
Install using Composer
composer require rapidez/statamic-brands
Publish the YAML settings
php artisan vendor:publish --provider="Rapidez\StatamicBrands\ServiceProvider"
Brand attribute code (optional)
The default attribute code used for brands is brand
, but it is also possible that another attribute is used for this. You can change this in config/statamic-brands.php
.
Multisite
When configuring your multisite for Statamic, it is important to add the stores to the sites section in the published file content/collections/brands.yaml
, for example:
title: Brands sites: - default - rapidez_nl - rapidez_uk propagate: false template: default layout: layout revisions: false sort_dir: asc date_behavior: past: public future: private
How to Use
Commands
Run the following command to run the brand import:
php artisan rapidez:statamic:sync:brands