Difference between revisions of "How to disable Wishlist"
From AbleCommerce Wiki
(3 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
<pre>AddToWishlistButton.Visible = false;</pre> | <pre>AddToWishlistButton.Visible = false;</pre> | ||
*Go to your Website/ConLib/BuyProductDialogOptoinList.ascx.cs file and locate | *Go to your Website/ConLib/BuyProductDialogOptoinList.ascx.cs file and locate | ||
− | <pre>LinkButton lb2 = new LinkButton();<pre> | + | <pre> |
− | and update | + | LinkButton lb2 = new LinkButton(); |
− | <pre>LinkButton lb2 = new LinkButton(); | + | </pre> |
− | lb2.Visible = false;</pre> | + | and update it as |
+ | <pre> | ||
+ | LinkButton lb2 = new LinkButton(); | ||
+ | lb2.Visible = false; | ||
+ | </pre> | ||
*Go to your Website/ConLib/MyAccountPage.ascx file and locate following line of code | *Go to your Website/ConLib/MyAccountPage.ascx file and locate following line of code | ||
<pre> | <pre> | ||
Line 23: | Line 27: | ||
<%--<li><asp:HyperLink ID="WishlistLink" runat="server" Text="Edit My Wishlist" NavigateUrl="~/Members/MyWishlist.aspx"></asp:HyperLink></li>--%> | <%--<li><asp:HyperLink ID="WishlistLink" runat="server" Text="Edit My Wishlist" NavigateUrl="~/Members/MyWishlist.aspx"></asp:HyperLink></li>--%> | ||
</pre> | </pre> | ||
+ | *Go to your Website/ConLib/MyWishlistPage.ascx.cs file and locate following code line | ||
+ | <pre>//VALIDATE THE WISHLIST</pre> | ||
+ | and update it as below | ||
+ | <pre> | ||
+ | Response.Redirect("~/Default.aspx"); | ||
+ | //VALIDATE THE WISHLIST | ||
+ | </pre> | ||
+ | |||
+ | [[Category:AbleCommerce 7]] |
Latest revision as of 11:34, 15 August 2013
How to disable Wishlist feature in AbleCommerce Here are the detailed steps to disable Wishlist feature in AbleCommerce.
- Login to your store as merchant
- Go to Administration > Website > Content and Layout page
- Edit Standard Header scriptlet and remove following code line from it.
<a href="~/Members/MyWishlist.aspx" class="wishlist">Wishlist</a>
- Go to your Website/ConLib/BuyProductDialog.ascx.cs file and locate
AddToWishlistButton.Visible = true;
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/MyAccountPage.ascx file and locate following line of code
<li><asp:HyperLink ID="WishlistLink" runat="server" Text="Edit My Wishlist" NavigateUrl="~/Members/MyWishlist.aspx"></asp:HyperLink></li>
and update it as below
<%--<li><asp:HyperLink ID="WishlistLink" runat="server" Text="Edit My Wishlist" NavigateUrl="~/Members/MyWishlist.aspx"></asp:HyperLink></li>--%>
- Go to your Website/ConLib/MyWishlistPage.ascx.cs file and locate following code line
//VALIDATE THE WISHLIST
and update it as below
Response.Redirect("~/Default.aspx"); //VALIDATE THE WISHLIST