-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
editing product not save slug for each locale #9040
Comments
I also have this issue, changed locale from EN to IT and product disappeared |
Hi @ghena, As of now, you can change the attribute of the url_key to locale based from the database. We will provide this feature in our next release. |
Implemented in PR #9833. This implementation will work only with new or fresh databases. Existing databases will continue to function as before, meaning If you want
Ensure you update your default locale accordingly in the above query. |
Terms
Bagisto Version(s) affected
2.0.
Issue Description
Add a product in the default language.
Assume you have at least 2 locales enabled.
Edit the product.
switch on not default locale and alter url_key.
The url_key saved is equal to the default locale.
So the new url_key is not saved in the product_attribute_values table
Preconditions
assume you have at least 2 locales enabled.
Steps to reproduce
Add a product and assume you have at least 2 locales enabled.
switch on not default locale and alter url_key.
The url_key saved is equal to the default locales.
So the new url_key is not saved in the product_attribute_values table
Expected Result
new url key for the current locales is saved on the product_attribute_values table
Actual Result
the url_key submitted is not saved
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: