shopware / shopware/shopware

After subsequent generation, the “Add variants only” function also considers changes that were previously made in “Value Selection.”

Open
#12,872 0 comments 0 reactions 0 assignees View on GitHub
BoostDay26 customer-support domain/inventory Platform(Default) priority/low
Dominant language
PHP
Stars
3.4k
Forks
1.2k
Avg merge
2d 23h
Merged PRs (30d)
433

Description

### Shopware Version

6.7.2.2

### Affected area / extension

Platform(Default)

### Actual behaviour

After subsequent generation, the “Add variants only” function also considers changes that were previously made in “Value Selection.” This can lead to variants being hidden on the product detail page unintentionally. Here, the selection within the “Value Selection” mask appears to remain active in the background and is taken into account as soon as the “Add variants only” option is activated (which will show a different value section once activated).

### Expected behaviour

Changes that have been made in the value selection (with "add variants only" disabled(!) ) must not be taken into account once the "add variants only" option gets enabled.

### How to reproduce

- Open a variant product
- Open variant generation mask
- Go ahead and uncheck different configurator options BUT don't proceed with regenerating the variants.
- Enable "add variants only" option now which will show another value selection mask
- Without selecting any of these properties, click "Next"
- Next on you will be shown the following hint: `"Actions performed according to current configuration:
0 variants will be added, 0 variants will be deleted."`
- Since that seems correct, accept and click "delete all variants"(?)

Result: Unchecked properties will still show in the variant overview (in the admin) but they disappear on the product detail page.

Changes that have been made here (see screenshot) — possibly unintentionally—will be irrevocably taken into account as soon as you activate the “Add variants only” option and then generate the variants, even—and this is the important point—if no selection has been made for adding further variants.

Image

Image

Image

Image

Image

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.