swiftotter/advanced-pricing-bug

A (miniature) module designed to fix a big Magento bug.

Installs: 450

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 4

Open Issues: 1

Type:magento2-module

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

This package is not auto-updated.

Last update: 2024-05-03 16:37:37 UTC


README

This module is designed to fix a simple problem. Apparently after migrating data from Magento 1.x to Magento 2.1, this error is encountered. I believe this is due to a problem with how the attribute sets are copied.

The solution is inspired from:

Installation

This is super simple:

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

If you encounter "Invalid Form Key" Error while saving products

add this line in your .ini file

max_input_vars=10000

or put this in your index.php file

ini_set("max_input_vars",10000);