Inability to automatically generate variants for a few days #455
-
Good morning, For a few days, I have no longer been able to create variants that are dynamically generated as shown in the video below: screen-capture.3.webmIt worked very well before. Any idea what's going on? A product console example: {
"count": 1,
"page_count": 1,
"page": 1,
"results": [
{
"name": "test",
"sku": null,
"active": true,
"cost": null,
"images": null,
"purchase_options": {},
"variable": true,
"description": null,
"tags": [],
"meta_title": null,
"meta_description": null,
"slug": "test",
"attributes": {
"color": [
"Black",
"White"
]
},
"delivery": "shipment",
"bundle": null,
"price": 0,
"stock_tracking": true,
"options": [
{
"id": "657620351ebad46586daf2bf",
"values": [
{
"id": "6576204a1ebad46586daf2c0",
"name": "Black",
"$locale": {
"fr-FR": {
"name": "Black"
}
}
},
{
"id": "6576204a1ebad46586daf2c1",
"name": "White",
"$locale": {
"fr-FR": {
"name": "White"
}
}
}
],
"name": "color",
"active": true,
"input_type": "select",
"variant": true,
"description": null,
"required": true,
"attribute_id": "color",
"$locale": {
"fr-FR": {
"name": "color",
"description": null
}
}
}
],
"content": {
"organization": "280",
"agency": "255"
},
"currency": "EUR",
"type": "physical",
"date_created": "2023-12-10T20:32:10.997Z",
"stock_status": "out_of_stock",
"date_updated": "2023-12-10T20:38:44.121Z",
"stock_purchasable": false,
"id": "6576204aab691200126f92e7",
"$locale": {
"fr-FR": {
"name": "test",
"description": null,
"tags": [],
"meta_title": null,
"meta_description": null
}
}
}
]
} |
Beta Was this translation helpful? Give feedback.
Answered by
logeshswell
Jan 8, 2024
Replies: 1 comment 6 replies
-
The attribute is mark as variant option: |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After a deep investigation, our team concluded that this is not a bug.
It is occurring only in your store as you defined a custom field 'unit' as required for variants model.
This prevents the variants from being created as it does not contain any value during auto-creation.
The problem is resolved after disabling the required toggle of the unit field.