Rank: Member
Joined: 9/26/2008(UTC) Posts: 23
|
How can I disable the wish list feature from the admin console?
|
|
|
|
Rank: Member
Joined: 7/2/2009(UTC) Posts: 5
|
I have the same question. Anyone know? I'm not finding it in any of the admin options. I would like to disable the wish list feature. thank you!
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
You can always comment out the Wish List in the Product Template(s) you're using. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 7/2/2009(UTC) Posts: 5
|
Can you advise where to do this? The only files I can find that mention the wishlist are MyAccount_WishList.aspx and AddToWishlist.ascx
And maybe I'm doing something wrong but putting it in a comment is not working.
thanks.
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Heather, You can do it one of three ways. I'd probably go with #1 since it's the least invasive. 1. Style SheetCode:#wishlist { display: none; } 2. AddToWishlist.ascxPut HTML comments (<!-- STUFF TO HIDE -->) around the contents of this control like this: Code:<!--<div id="wishlist"> <asp:ImageButton ID="AddToWishlist" runat="server" ImageUrl="~/BVModules/Themes/Bvc5/images/buttons/AddToWishlist.png" AlternateText="Add To Wishlist" /> </div>--> 3. AddToWishlist.ascx.vbAdd this line to the Page_Load method: Me.Visible = False So, your Page_Load method will look like this: Code: Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not Page.IsPostBack Then Me.Visible = False Me.AddToWishlist.ImageUrl = PersonalizationServices.GetThemedButton("AddToWishList") End If End Sub |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 7/2/2009(UTC) Posts: 5
|
THANK YOU! I really appreciate your help!!
|
|
|
|
Rank: Member
Joined: 11/20/2005(UTC) Posts: 122
|
Originally Posted by: "Aaron" Put HTML comments (<!-- STUFF TO HIDE -->) around the contents of this control like this: Code: <!--<div id="wishlist"> <asp:ImageButton ID="AddToWishlist" runat="server" ImageUrl="~/BVModules/Themes/Bvc5/images/buttons/AddToWishlist.png" AlternateText="Add To Wishlist" /> </div>-->
Actually, this will make the button disappear, but the result is a big comment that is output to the web page. A better way to do it is to use ASP.NET comments so the compiler will ignore the block completely, and not output it to the web page. You can do this by putting comments like this: <%-- STUFF TO HIDE --%> This has the following advantages: 1. Your end users won't be able to read your comments or view any code that was commented. 2. The page will download just a wee bit faster to the browser. Probably won't be noticeable, but it all adds up. Note this will only work in pages with an extension that is recognized by the ASP.NET compiler (.aspx, .ascx, .asmx, etc). |
|
|
|
|
Rank: Member
Joined: 12/23/2003(UTC) Posts: 909
|
I've always done this to hide elements. the 5th way to skin the cat...lol...
<asp:ImageButton visible="False" ID="AddToWishlist" runat="server" ImageUrl="~/BVModules/Themes/Bvc5/images/buttons/AddToWishlist.png" AlternateText="Add To Wishlist" /> |
|
|
|
|
Rank: Administration
Joined: 4/2/2004(UTC) Posts: 2,393 Location: Hummelstown, PA Thanks: 6 times Was thanked: 163 time(s) in 158 post(s)
|
Originally Posted by: "dotNet guy" <%-- STUFF TO HIDE --%> Remember who our audience is: a non-technical user. Using ASP.NET comments in BV will often result in compilation errors because the code-behind of the page often references the control that was just commented out. Using HTML comments, while not perfect for the reasons you mentioned, do not suffer this problem. |
Aaron Sherrick BV Commerce Toll-free 888-665-8637 - Int'l +1 717-220-0012 |
|
|
|
Rank: Member
Joined: 2/6/2010(UTC) Posts: 3
|
Thanks Aaron For useful guidelines Disable Wish Lists <actually i also had same problem like and i need this type instruction and finally i got here,Thanks again Aaron
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.