BV Commerce Forum
»
BV Commerce Support
»
General Support
»
People with accounts and items on wish list
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
I was scanning through the people tab... a few people that haven't ordered anything have items on thier wish list. That's swell, but when I click on the item, I'm taken to the product's edit page.
Shouldn't I see the item as it was saved? I'd like to know the size, color, etc. also. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
The choices selected should appear below the product image on the edit user page. Is this not working for you? |
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Just as seen here: You can't save a product without the missing field warning, right? MitchA attached the following image(s): Wishlist.jpg (31kb) downloaded 37 time(s).You cannot view/download attachments. Try to login or register. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
|
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
|
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Are these modifiers or choices? |
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
I use only modifiers. Some of my products have 6 to 8 of them, and almost all need to change the price.
I don't want to deal with editing the choice list, and I can't imagine 4 to 8 choices getting crammed into the title bar. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hey Mitch.
I will log this one. We display the data for choices but not modifiers. The modifiers do get added to the cart. |
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Not a big thing, really. But I do wonder why I go the product's edit page when I click on the item in the wish list. |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hey Mitch. Here is a quick and dirty version… I am sure there are cleaner ways to do this… Open “MyAccount_Wishlist.aspx”. Locate the following: Code: <div class="wishlistproductimage"><asp:HyperLink ID="imgProduct" runat="server"></asp:HyperLink></div> <div class="wishlistproductlink"><asp:HyperLink ID="lnkProduct" runat="server"></asp:HyperLink></div> <div class="wishlistprice"><asp:HyperLink id="lnkProductPrice" runat="server"></asp:HyperLink></div>
Add a new line below this: Code: <div class="wishlistmodifier"><asp:HyperLink id="lnkModifiers" runat="server"></asp:HyperLink></div>
Make sure you style this DIV in your style sheet. Next, open MyAccount_Wishlist.aspx.vb. Locate the following: Code: Protected Sub GridView1_RowDataBound(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GridView1.RowDataBound
Replace everything in the middle with the following: Code: If e.Row.RowType = DataControlRowType.DataRow Then
Dim DeleteButton As System.Web.UI.WebControls.ImageButton DeleteButton = e.Row.FindControl("DeleteButton") If Not DeleteButton Is Nothing Then DeleteButton.ImageUrl = PersonalizationServices.GetThemedButton("Delete") End If
Dim AddToCartImageButton As ImageButton = e.Row.FindControl("AddToCartImageButton") If AddToCartImageButton IsNot Nothing Then AddToCartImageButton.ImageUrl = PersonalizationServices.GetThemedButton("AddToCart") End If
Dim localWishList As Catalog.WishList = CType(e.Row.DataItem, Catalog.WishList)
Dim localP As Catalog.Product = Catalog.InternalProduct.FindByBvin(localWishList.ProductBvin)
If localP IsNot Nothing Then
Dim imgProduct As HyperLink = e.Row.FindControl("imgProduct") Dim lnkProduct As HyperLink = e.Row.FindControl("lnkProduct") Dim lnkProductPrice As HyperLink = e.Row.FindControl("lnkProductPrice") Dim lnkModifiers As HyperLink = e.Row.FindControl("lnkModifiers")
Dim c As Collection(Of Orders.LineItemModifier) = localWishList.Modifiers Dim sb As New StringBuilder
If localP.ChoicesAndInputs.Count > 0 Then sb.Append("<ul>") For Each lim As Orders.LineItemModifier In c Dim pmo As Catalog.ProductModifierOption = Catalog.ProductModifierOption.FindByBvin(lim.ModifierValue) sb.Append("<li>") sb.Append(lim.ModifierName.ToString) sb.Append(": ") sb.Append(pmo.DisplayText.ToString) sb.Append("</li>") Next sb.Append("</ul>") End If
If imgProduct IsNot Nothing Then imgProduct.ImageUrl = Page.ResolveUrl(Utilities.ImageHelper.GetValidImage(localP.ImageFileSmall, True)) imgProduct.NavigateUrl = Utilities.UrlRewriter.BuildUrlForProduct(localP, Me.Page.Request) End If If lnkProduct IsNot Nothing Then lnkProduct.Text = localP.ProductName lnkProduct.NavigateUrl = imgProduct.NavigateUrl End If If lnkProductPrice IsNot Nothing Then lnkProductPrice.Text = localP.GetSitePriceForDisplay(localWishList.GetProductPriceAdjustment()) lnkProduct.NavigateUrl = imgProduct.NavigateUrl End If If lnkModifiers IsNot Nothing Then lnkModifiers.Text = sb.ToString lnkModifiers.NavigateUrl = imgProduct.NavigateUrl End If
End If End If
|
|
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
We may need to take it out of the unordered list to fit in the table cell properly. Let me know how it looks on your site. |
|
|
|
|
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.