Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In correct behaviours when adding a new variation in the variations tab, /product/NN/variations/add
The variation created there will create with only the default values (the first from every select list of attributes), no matter what I select from the attribute combinations.
If I edit it, the the changes will stick.
If I disable commerce bulk, then it creates variations correctly.
Comment | File | Size | Author |
---|---|---|---|
#4 | Custom-variation-result-different.png | 73.49 KB | petergus |
#4 | Add-custom-variation-manually.png | 72.19 KB | petergus |
#4 | Create-new-product.png | 53.14 KB | petergus |
#2 | done.png | 313.62 KB | drugan |
#2 | save.png | 273.74 KB | drugan |
Comments
Comment #2
drugan CreditAttribution: drugan as a volunteer commentedCan't reproduce:
Comment #3
drugan CreditAttribution: drugan as a volunteer commentedPlease, provide more info.
Comment #4
petergus CreditAttribution: petergus commentedStep 1. Create a new product, no variations yet.
Step 2. Click " + Add Variation". Select attribute options other then then default 'first at the top of the list'.
Step 3. Notice that the new product is created with the default 'first in the list' attributes instead of the ones selected. If I now edit this variation and change the option, they will then work.
In this case I had selected a queen and 3" higher frame, but the default 'first in the list' is crib and normal frame so that was used to create the variation.
Comment #5
drugan CreditAttribution: drugan as a volunteer commentedComment #7
drugan CreditAttribution: drugan as a volunteer commented@petergus
Yeah, it was my overdo when creating attributes combination prepopulate helper.
Assigned you as the patch author cause the catch was quite good and in time as I think.
Please, do not close the issue so other guys can find it before we'll make the next alpha7 release.
Comment #8
drugan CreditAttribution: drugan as a volunteer commentedComment #9
drugan CreditAttribution: drugan as a volunteer commented