定制 integer-net/magento2-product-is-new-attribute 二次开发

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

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

integer-net/magento2-product-is-new-attribute

最新稳定版本:1.0.0

Composer 安装命令:

composer require integer-net/magento2-product-is-new-attribute

包简介

Create an "is_new" product attribute and update it automatically from the "news_from_date" and "news_to_date" attributes

README 文档

README

Latest Version on Packagist Software License Supported Magento Versions

Create an "is_new" product attribute and update it automatically from the "news_from_date" and "news_to_date" attributes

Installation

  1. Install it into your Magento 2 project with composer:

    composer require integer-net/magento2-product-is-new-attribute
    
  2. Enable module

    bin/magento setup:upgrade
    

Configuration

You can disable auto generation in Store -> Configuration -> Catalog -> Product "Is New" Attribute -> Will be updated automatically every night per Store View.

Usage

A new product attribute "Is new" (is_new) will be created upon installation of this module. A cronjob is running every night at 00:01 and regenerates the value of this attribute for each product, depending on the content of the "Set Product as New From" (news_from_date and news_to_date) date attributes.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email avs@integer-net.de instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-04