定制 rapidez/statamic-brands 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rapidez/statamic-brands

最新稳定版本:0.1.3

Composer 安装命令:

composer require rapidez/statamic-brands

包简介

README 文档

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

统计信息

  • 总下载量: 74
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 3
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2022-11-18