Skip to content
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.

Generating urls for store view not default is broken #35

Open
MaxE17677 opened this issue Mar 5, 2018 · 1 comment
Open

Generating urls for store view not default is broken #35

MaxE17677 opened this issue Mar 5, 2018 · 1 comment

Comments

@MaxE17677
Copy link

https://github.com/Iazel/magento2-regenurl/blob/f72b83c5f6eeff49b66e6ce6fd9e39a2ab743455/Iazel/RegenProductUrl/Console/Command/RegenerateProductUrlCommand.php#L87

The if in line 87 should be removed. Otherwise all generated url's are persisted under the default store view.

Call bin/magento iazel:regenurl -s 2 builds urls for the correct store view. But saves them under store view 1 (default)

@raivisdejus
Copy link

I can confirm, I also have this issue and the proposed fix solves the problem.
Thanks for the tool and thanks for the fix ;)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants