AssignDefaultCategory
Class: Class to assign default category to products.
Source: src/Internal/AssignDefaultCategory.php:13
Class: Class to assign default category to products.
Source: src/Internal/AssignDefaultCategory.php:13
Method: Class initialization, to be executed when the class is resolved by the container.
Source: src/Internal/AssignDefaultCategory.php:19
Method: When a product category is deleted, we need to check if the product has no categories assigned. Then assign it a default category. We delay this with a scheduled action job to not block the response.
Source: src/Internal/AssignDefaultCategory.php:31
Method: Assigns default product category for products that have no categories.
Source: src/Internal/AssignDefaultCategory.php:46