• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

MitchA
#1 Posted : Monday, August 20, 2007 8:52:52 AM(UTC)
MitchA

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.
Nick Alberti
#2 Posted : Monday, August 20, 2007 9:07:51 AM(UTC)
Nick Alberti

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?
MitchA
#3 Posted : Monday, August 20, 2007 10:30:11 AM(UTC)
MitchA

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.
Nick Alberti
#4 Posted : Wednesday, August 22, 2007 11:58:05 AM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

Hello Mitch.

Is this the right product?

http://www.missionfurnis...ne-Cabinet__MAS736S.aspx
MitchA
#5 Posted : Wednesday, August 22, 2007 1:45:18 PM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Yes.
Optimists invent airplanes,
Pessimists buy parachutes.
Nick Alberti
#6 Posted : Wednesday, August 22, 2007 1:55:46 PM(UTC)
Nick Alberti

Rank: Member

Joined: 9/27/2004(UTC)
Posts: 1,099

Are these modifiers or choices?
MitchA
#7 Posted : Wednesday, August 22, 2007 2:31:59 PM(UTC)
MitchA

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.
Nick Alberti
#8 Posted : Wednesday, August 22, 2007 2:45:28 PM(UTC)
Nick Alberti

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.
MitchA
#9 Posted : Wednesday, August 22, 2007 6:43:13 PM(UTC)
MitchA

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.
Nick Alberti
#10 Posted : Thursday, August 23, 2007 11:11:05 AM(UTC)
Nick Alberti

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

Code:

End Sub


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
Nick Alberti
#11 Posted : Thursday, August 23, 2007 11:13:04 AM(UTC)
Nick Alberti

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.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012