Cant remove product prices on customer role

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
13 năm cách đây
In the file /administration/modules/productpricesbycustomerrole.ascx there is a bug.
If you use another language then english you cant delete a added price from the grid.
The error is on line 44

                  
 <asp:TemplateField HeaderText="<% $NopResources:Admin.ProductPricesByCustomerRole.Delete %>"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:Button ID="btnDelete" runat="server" CssClass="adminButton"
                                Text="Delete" CausesValidation="false" CommandName="<% $NopResources:Admin.ProductPricesByCustomerRole.Delete %>"
                                ToolTip="<% $NopResources:Admin.ProductPricesByCustomerRole.Delete.Tooltip %>" />
                        </ItemTemplate>
                    </asp:TemplateField>


Should be:

                    <asp:TemplateField HeaderText="<% $NopResources:Admin.ProductPricesByCustomerRole.Delete %>"
                        HeaderStyle-HorizontalAlign="Center" ItemStyle-Width="15%" ItemStyle-HorizontalAlign="Center">
                        <ItemTemplate>
                            <asp:Button ID="btnDelete" runat="server" CssClass="adminButton"
                                Text="<% $NopResources:Admin.ProductPricesByCustomerRole.Delete %>" CausesValidation="false" CommandName="Delete"
                                ToolTip="<% $NopResources:Admin.ProductPricesByCustomerRole.Delete.Tooltip %>" />
                        </ItemTemplate>
                    </asp:TemplateField>
12 năm cách đây
This been fixed in 2.0:
http://nopcommerce.codeplex.com/workitem/10060
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.