swiftotter/advanced-pricing-bug

一个设计用来修复大型的Magento错误的(微型)模块。

安装: 452

依赖: 0

建议者: 0

安全: 0

星星: 3

观察者: 4

分支: 4

开放问题: 1

类型:magento2-module

v1.0.3 2018-01-24 16:01 UTC

This package is not auto-updated.

Last update: 2024-09-20 18:25:23 UTC


README

本模块旨在修复一个简单的问题。显然,在将数据从Magento 1.x迁移到Magento 2.1之后,会遇到这个错误。我认为这是由于属性集复制方式的问题。

解决方案受到以下启发:

安装

这非常简单

composer require swiftotter/advanced-pricing-bug
php bin/magento module:enable SwiftOtter_AdvancedPricingBug
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento indexer:reindex

如果您在保存产品时遇到“无效表单密钥”错误

请将此行添加到您的.ini文件中

max_input_vars=10000

或者将此行添加到您的index.php文件中

ini_set("max_input_vars",10000);