简体   繁体   English

Magento 2 在管理面板中所做的更改未显示在客户端页面上

[英]Magento 2 Changes Made in Admin Panel do not appear on the Client's Page

The problem:问题:

Changes (eg changing products' names) and adding new features (eg a new Cart Price Rule) do not work on the Client's Page.更改(例如更改产品名称)和添加新功能(例如新的购物车价格规则)在客户页面上不起作用。 All of the changes I do are visible on the Admin Panel right away.我所做的所有更改都会立即显示在管理面板上。

What I've tried:我试过的:

  1. Refreshing cache (System => Tools => Cache Management)刷新缓存(系统=>工具=>缓存管理)
    I am selecting 14 out of 15 checkboxes as my senior collegue has said, selecting the "configuration" checkbox may (and probably will) crash the whole site, besides I have been told this "configuration" checkbox has nothing to do with this problem.正如我的资深同事所说,我选择了 15 个复选框中的 14 个,选择“配置”复选框可能(并且可能会)使整个站点崩溃,此外我被告知这个“配置”复选框与此问题无关。

  2. Flushing Cache刷新缓存
    I have tried both of the options, "Flush Cache Storage" & "Flush Magento Cache"我已经尝试了两个选项,“Flush Cache Storage”和“Flush Magento Cache”

  3. Reindexing重建索引
    I have typed bin/magento indexer:reindex into the OKD console.我在 OKD 控制台中输入了bin/magento indexer:reindex The output of reindexing is alright, as you can see:重建索引的 output 没问题,可以看到:
    重建索引

I could not find any other possible solutions to this problem online, or any other up-to-date post on this topic.我无法在线找到此问题的任何其他可能解决方案,也找不到有关此主题的任何其他最新帖子。

Do you have multistore website ?你有多店网站吗?

if yes then make changes in the desired store to get the changes reflected on frontend.如果是,则在所需的存储中进行更改以使更改反映在前端。

About your questions, try the below codes/methods to see whether it fixes your problem:关于您的问题,请尝试以下代码/方法,看看是否能解决您的问题:

In order to clean a cache in Magento 2 please go to Admin Panel > System > Cache Management .为了清理 Magento 2 中的缓存,请 go 到管理面板 > 系统 > 缓存管理

Admin Panel > System > Cache Management管理面板 > 系统 > 缓存管理

Press the Flush Magento Cache button.刷新 Magento 缓存按钮。

Flush Magento Cache button刷新 Magento 缓存按钮

Once the cache has been flushed you will see the success message.刷新缓存后,您将看到成功消息。

Success message成功讯息

All the process全部过程

If you can connect to website, you using CLI如果您可以连接到网站,则说明您使用的是 CLI

bin/magento cache:clean 
bin/magento c:c 
bin/magento cache:flush 
bin/magento c:f

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM