-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Import product CSV url_key for the default (without store_view_code) should not update the url key in the frontend #36905
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
Comments
Hi @erwinschaap. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Hi @engcom-Dash. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://d9dca40b3d4faa95725e11adcc8682e0.instances.magento-community.engineering |
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://d9dca40b3d4faa95725e11adcc8682e0.instances.magento-community.engineering |
Hi @erwinschaap , Could you please the share CSV file which you are utilising while import to reproduce the issue.That would be helpful for us to understand the expected result more clearly. Thanks. |
We are experiencing this issue on 2.4.5-p1 too, the url keys for the store views in the admin area are ignored and the frontend is still using default scope url keys, "use default" is not ticked. |
Hi @ryanpalmerweb , Could please share your CSV file which is utilising for this issue ,It will be very useful for to reproduce this issue. Regards, |
If you first import first.csv you have the basic settings for the product. If you then update it with the update.csv you will see that the url key in the frontend is not correct and in each store the same as the default, but in the backoffice you will see the existing url key overrides. @engcom-Dash |
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://d9dca40b3d4faa95725e11adcc8682e0.instances.magento-community.engineering |
@magento give me 2.4-develop instance |
Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Dash, here is your Magento Instance: https://d9dca40b3d4faa95725e11adcc8682e0.instances.magento-community.engineering |
Hi @erwinschaap , Thanks for Collaboration and Contribution, Verified the issue in 2.4-develop instance,and the issue is not reproducible. Preconditions: Steps to Reproduce :
Kindly Refer the below Screenshots: Below Screenshots before Update the URL Below Screenshots After update the CSV(New URL) file with We are getting expected result which is the default URL key is updating to the new url key and for the specific store_views the value for the url_key in the Backend As well as in the frontend visible is the same.So this issue is not reproducible and Kindly provide more information if the issue is still reproducible. Let us know if we are missing anything Regards |
@engcom-Dash The only difference is that we had an override in the second store view (US in your case, so not default value but another URL key). If you then update the global url key via import (so with an empty store_view_code) you will find an reproductible path |
Hi @erwinschaap, Thanks for quick response, Issue confimred ! Verified the issue in 2.4-develop instance and its reproducible,Hence we are confirming the issue. Preconditions: Kindly refer the below screenshots: Steps to Reproduce:
After we update with New CSV file with New URL key,It is updated in default store view and front end customer view.But the the New url key is not updated in Specific store view(US) its showing with initial URL key.So we are getting actual result as per the description and the issue is reproducible in 2.4-develop instance,Hence we are confirming the issue. Regards, |
Hi @engcom-Dash, Before importing you first need to override in e.g. the US store the url key to another url key and after that you do exactly the same as in the video. You will see the difference at that moment, |
Hi @erwinschaap , Verified the issue in 2.4-develop and the issue is reproducible,Hence we are confirming the issue. Kindly refer the below screenshots: Behaviour of Default store view and Specific store view After Updating the new URL key with store view code empty: Thanks. |
❌ Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-8251 |
❌ You don't have permission to export this issue. |
@magento give me 2.4-develop instance |
Hi @engcom-Bravo. Thank you for your request. I'm working on Magento instance for you. |
Hi @engcom-Bravo, here is your Magento Instance: https://d9dca40b3d4faa95725e11adcc8682e0.instances-prod.magento-community.engineering |
Hi @erwinschaap, Thank you for reporting and collaboration. Verified the issue on Magento 2.4-develop instance and the issue is reproducible.Kindly refer the screenshots. Steps to reproduce We have changed URL-KEY for english store view to Config after importing it should not change to global because we have unchecked use default value.After importing it is showing correctly in admin but with that URL-KEY we are not able to access the product. ![]() For default store view it is working fine because we have not unchecked the use default value.When we import CSV file with store view code it will update values for all store views.for english store view it will not update because we have unchecked use default value. ![]() Hence confirming the issue. Thanks. |
I have the same issue on 2.4.6. Im now trying to create a patch for this issue. If anyone has an idea please let me know :). |
I have resolved it for me by adding this code to the catalog-url-rewrite module. It now checks if the url_key is set. Tested on 2.4.6-p7 and your magento installation should be higher than php 8.1
|
Hi @erwinschaap , Thanks for your reporting and collaboration. Steps to reproduce : We have changed URL-KEY for german store view to Config after importing it should not change to global because we have unchecked use default value.After importing it is showing correctly in admin and frontend. For default store view it is working fine because we have not unchecked the use default value.When we import CSV file with store view code it will update values for all store views.for german store view it will not update because we have unchecked use default value. Can you please re-verify in latest 2.4-develop instance and confirm. |
Hi @erwinschaap , This issue is being closed since it has not been updated in a long time. Thanks. |
Preconditions and environment
Steps to reproduce
Expected result
The default URL key is updating to the new url key and for the specific store_views the value for the url_key in the backoffice AS in the frontend visible is the same
default: jacked
en: (default) jacked
nl: jas
fr: veste
import for default:
sku,store_view_code,url_key
1,,jack
backoffice:
default: jack
en: (default) jack
nl: jas
fr: veste
frontend:
default: jack
en: (default) jack
nl: jas
fr: veste
The overrides are still doing their work.. This is expected
Actual result
The url_key in the backoffice for a specific store view is still the initial url_key provided by the store, but the url_key in the frontend visible is now the url_key uploaded by product CSV import.
default: jacked
en: (default) jacked
nl: jas
fr: veste
import for default:
sku,store_view_code,url_key
1,,jack
backoffice:
default: jack
en: (default) jack
nl: jas
fr: veste
frontend:
default: jack
en: (default) jack
nl: jack
fr: jack
So all urls in the frontend are now the same url for each store but in the backoffice there are overiddes. This is NOT correct!
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: