You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having the same issue. It seems only the top level categories are being generated but not the child categories.
I am using the latest version of the module and magento 2.4.6-p2
Describe the bug
When running
bin/magento ok:urlrewrites:regenerate --store-id=6 --category-id=15 --no-reindex
It does not regenerate child categories url_keys but just the parent category (in my case 15)
Expected behavior
It should regenerate url_key for all child categories
To Reproduce
Run
bin/magento ok:urlrewrites:regenerate --store-id=6 --category-id=15 --no-reindex
Additional context
Here I do not understand why the level is 2 and not ['gt' => '2']
https://github.com/olegkoval/magento2-regenerate_url_rewrites/blob/master/Model/RegenerateCategoryRewrites.php#LL259C7-L259C7
The text was updated successfully, but these errors were encountered: