How to disable Wishlist - AC Gold
From AbleCommerce Wiki
How to disable Wishlist feature in AbleCommerce Here are the detailed steps to disable Wishlist feature in AbleCommerce.
- Go to Website/Conlib/StoreHeader.ascx file and locate.
<asp:HyperLink ID="WishlistLink" runat="server" NavigateUrl="~/Members/MyWishlist.aspx" class="wishlist" Text="Wishlist" >
and update it as
<%--<asp:HyperLink ID="WishlistLink" runat="server" NavigateUrl="~/Members/MyWishlist.aspx" class="wishlist" Text="Wishlist" >--%>
- Go to your Website/ConLib/BuyProductDialog.ascx.cs file and locate
AddToWishlistButton.Visible = AbleContext.Current.StoreMode == StoreMode.Standard;
and update it as
AddToWishlistButton.Visible = false;
- Go to your Website/ConLib/BuyProductDialogOptoinList.ascx.cs file and locate
LinkButton lb2 = new LinkButton();
and update it as
LinkButton lb2 = new LinkButton(); lb2.Visible = false;
- Go to your Website/ConLib/Account/AccountTabMenu.ascx.cs file and locate following line of code
menuLinks.Add("Wishlist", "MyWishlist.aspx");
and update it as below
//menuLinks.Add("Wishlist", "MyWishlist.aspx");
- Go to your Website/Members/MyWishlist.aspx.cs file and locate following code line
//VALIDATE THE WISHLIST
and update it as below
Response.Redirect("~/Default.aspx"); //VALIDATE THE WISHLIST