Closed moacode closed 3 years ago
Estimate: 2–4 hours.
@judereid I would add a DELETE endpoint to the variants controller and use the deleteElement
method:
Craft::$app->getElements()->deleteElement($element);
On reflection, the user should just update their configuration.
We need the ability to delete a variant from the variants data table.