Magento2: Updated category name is not showing on storefront

Created on 31 Aug 2017  路  8Comments  路  Source: magento/magento2


Preconditions


  1. Magento 2.1.7, PHP 7.0.22, MySQL 5.7
  2. Apache web server

Steps to reproduce

  1. I have a category named ABC. I change the category name to XYZ.
  2. Save the category.

Expected result

  1. Update category name is also shown on frontend as well as in admin.

Actual result

  1. Category name is updated on admin, but on frontend old category name is displayed.

Clear Description Format is valid needs update bug report

Most helpful comment

I had this issue. What I think happened was that I created some of the categories when single store mode was set to "no" ("default store view" scope). I then later changed it to "yes" - which is "all store views" scope. The changes made in single store mode were not updating the categories but by disabling single store mode, going back to the categories and changing the scope at top of page from "all store views" to "default store view" and then checking the "default value" checkbox for everything in the category details and then saving/clean cache/reindex, my categories finally updated.

All 8 comments

I really doubt bug in such form may exist. Do you observe the same behavior if flush all the caches after saving category?

I run indexer and also flush all the cache, but the changes is not affecting on frontend.

I check this in the DB table catalog_category_entity_varchar. Name is updated only for the store_id 0. For the store_id 1, Old category name is exist.

Thanks for the quick response. Could you please add more details to issue description - in particular, the information about store switcher during steps you performed ("All Store Views", some store chosen etc).

I have single store view. Magento gives to configure single store mode from admin.

Once I enable single store mode and change the category name. And, again disable the single store mode and change the another category name.

In both situations, updated category name was not showing on storefront.

I disable Single Store Mode from store > configuration > General > General > Enable Single Store Mode.

Some categories Name were update to Default Store View when changing for All Store View, but some categories are not getting updated. All the configurations are same for the categories which getting updated and not getting updated.

@RishabhRkRai thank you for your report.
We were not able to reproduce this issue by following the steps you provided. Please provide more details regarding your environment, or try to reproduce this issue on a clean installation or latest release.

@RishabhRkRai, we are closing this issue due to inactivity. If you'd like to update it, please reopen the issue.

I had this issue. What I think happened was that I created some of the categories when single store mode was set to "no" ("default store view" scope). I then later changed it to "yes" - which is "all store views" scope. The changes made in single store mode were not updating the categories but by disabling single store mode, going back to the categories and changing the scope at top of page from "all store views" to "default store view" and then checking the "default value" checkbox for everything in the category details and then saving/clean cache/reindex, my categories finally updated.

Was this page helpful?
0 / 5 - 0 ratings