Store Statistics

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
Hace 13 años
is there any way to hide store stastics from a user when they log in to admin area??

Thanks

Steve
Hace 13 años
The ACL (Access Control List. ) feature doesn't work to hide store statistics, you can delete/comment out this code from administration/default.aspx page But you as admin also won't be able to see the statistics as you will be removing/commenting out the code from the page

<table class="dashboard">
        <tr>
            <td class="maincol">
                <div class="section-header">
                    <div class="title">
                        <img src="Common/ico-stat1.gif" alt="<%=GetLocaleResourceString("Admin.StoreStatistics")%>" />
                         <%=GetLocaleResourceString("Admin.StoreStatistics")%>
                    </div>
                </div>
                
                <table class="stats">
                    <tbody>
                        <tr>
                            <td class="orderaveragereport">
                                <nopCommerce:OrderAverageReport runat="server" ID="ctrlOrderAverageReport" />
                            </td>
                        </tr>
                    </tbody>
                </table>
                <table class="stats">
                    <tbody>
                        <tr>
                            <td class="orderstatistics">
                                <nopCommerce:OrderStatistics runat="server" ID="ctrlOrderStatistics" />
                            </td>
                            <td class="customerstatistics">
                                <nopCommerce:CustomerStatistics runat="server" ID="ctrlCustomerStatistics" DisplayTitle="true" />
                            </td>                                    
                        </tr>
                    </tbody>
                </table>
                <table class="stats">
                    <tr>
                        <td class="bestsellers">
                            <nopCommerce:BestSellersStat runat="server" ID="ctrlBestSellersStat" />
                        </td>
                        <td class="searchterms">
                            <nopCommerce:SearchTermStat runat="server" ID="ctrlSearchTermStat" />
                        </td>
                    </tr>
                </table>
            </td>
            <td class="rightcol">
                <nopCommerce:nopCommerceNews runat="server" ID="ctrlNews" />
            </td>
        </tr>
        <tr>
            <td colspan="2" class="basecol">
                <nopCommerce:Warnings runat="server" ID="ctrlWarnings" />
            </td>
        </tr>
    </table>
Hace 13 años
Thanks for that mike, a little more drastic than I wanted but will think about it,

Steve
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.