vaachar/sylius-archivable-products-plugin 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

vaachar/sylius-archivable-products-plugin

Composer 安装命令:

composer require vaachar/sylius-archivable-products-plugin

包简介

A sylius plugin to add archiving to products.

README 文档

README

Plugin to make products archivable when they shouldn't be available anymore. Also includes the option to archive products automatically when they reach a stock of 0 on all variants.

Quickstart Installation

  1. Require plugin via Composer
composer require vaachar/sylius-archivable-products-plugin
  1. Inlcude config.yaml in _sylius.yaml
- { resource: "@SyliusArchivableProductsPlugin/Resources/config/config.yaml" }
  1. Use trait and add interface to src/Entity/Product/Product.php
class Product extends BaseProduct implements IsArchivableProductInterface
{
    use ArchivableProductTrait;

    ...
}
  1. Execute migrations
bin/console doctrine:migrations:migrate

Usage

This plugin adds a new menu entry to the side menu when creating or editing a product called Archive.

There you can activate the Archive when out of stock option to let this plugin automatically disable a product and archive it. You can also manually enter a date/time to archive the product there.

On the admin product listing page you can also quickly archive a product via the Archive action button.

Archiving a product will hide it from the admin product listing so that your shop administrators can easily identify if a disabled product is only temporarily disabled or if it is archived and thus discontinued. You can view all archived products by selecting the respective filter.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-11-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固