Shopware: Deactivate variants automatically

In Shopware, when a sales item is sold, the whole item is deactivated for a real order exactly when all variants have a stock level less than or equal to 0. To realize this also on a variant basis, I have programmed a small plugin, whose Bootstrap.php I provide below.


8f3757318524b4883325

The plugin can also be found free of charge in the Community Store: Deactivate variants automatically .

Back