Difference between revisions of "How to disable Wishlist"

From AbleCommerce Wiki
Jump to: navigation, search
(New page: '''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 > W...)
 
Line 10: Line 10:
 
and update it as  
 
and update it as  
 
<pre>AddToWishlistButton.Visible = false;</pre>
 
<pre>AddToWishlistButton.Visible = false;</pre>
 +
*Go to your Website/ConLib/BuyProductDialogOptoinList.ascx.cs file and locate
 +
<pre>LinkButton lb2 = new LinkButton();<pre>
 +
and update is as
 +
<pre>LinkButton lb2 = new LinkButton();
 +
lb2.Visible = false;</pre>
 +
*Go to your Website/ConLib/MyAccountPage.ascx file and locate following line of code
 +
<pre>
 +
<li><asp:HyperLink ID="WishlistLink" runat="server" Text="Edit My Wishlist" NavigateUrl="~/Members/MyWishlist.aspx"></asp:HyperLink></li>
 +
</pre>
 +
and update it as below
 +
<pre>
 +
<%--<li><asp:HyperLink ID="WishlistLink" runat="server" Text="Edit My Wishlist" NavigateUrl="~/Members/MyWishlist.aspx"></asp:HyperLink></li>--%>
 +
</pre>

Revision as of 10:37, 1 July 2010

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();<pre> 
and update is as
<pre>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>--%>