开发者

Magento Admin Dashboard graph displays "no data found" sometimes, how do I remove that?

开发者 https://www.devze.com 2023-01-31 02:04 出处:网络
The graph/chart that appears on the frontpage of the admin panel dashboard says \"No Data Found\" if an order or sale hasn\'t been placed in the time period selected. I want to display the chart no ma

The graph/chart that appears on the frontpage of the admin panel dashboard says "No Data Found" if an order or sale hasn't been placed in the time period selected. I want to display the chart no matter what, even if there are no orders.

What do I hav开发者_运维技巧e to modify to do this? The code or just a template?


Edit DOCROOT\app\design\adminhtml\default\default\template\dashboard\index.phtml and remove lines 115-125 :

<div class="entry-edit" style="border:1px solid #ccc;">
                <?php echo $this->getChildHtml('diagrams') ?>
                    <div id="diagram_tab_content"></div>
                <div style="margin:20px;">
                    <?php echo $this->getChildHtml('totals') ?>
                </div>
                <div style="margin:20px;">
                    <?php echo $this->getChildHtml('grids') ?>
                    <div id="grid_tab_content"></div>
                </div>
            </div>
0

精彩评论

暂无评论...
验证码 换一张
取 消