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

Notification

Icon
Error

dotnetdiva
#1 Posted : Monday, April 30, 2007 8:23:29 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

I don't think this feature is working properly for me...


It shows up on some items, but not others. The strange thing is, the most popular items which everyone adds to their orders don't have this display...



I know it works sometimes...

http://store.attachedtobaby.com/products/Didymos-Instructional-DVD.aspx



But here's some of our most popular items, that people order all the time with other things:

http://store.attachedtobaby.com/Products/Moby-Wrap-Baby-Carrier.aspx

http://store.attachedtobaby.com/Products/BabyLegs-Classic.aspx



Any ideas on how to get this to work consistently?
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

Nick Alberti
#2 Posted : Tuesday, May 1, 2007 9:02:45 AM(UTC)
Nick Alberti

Rank: Member

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

Hey Angela. Are these products using the same product template?
dotnetdiva
#3 Posted : Tuesday, May 1, 2007 1:06:37 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

Yep (using the BVC 2004 product template), the only thing that I can think of why it works for some is that I manually populated the database table once just to see if it "worked"... I'll look into it more.

Does anyone have this working?
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

Nick Alberti
#4 Posted : Tuesday, May 1, 2007 1:20:26 PM(UTC)
Nick Alberti

Rank: Member

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

Hey Angela.

What is the maximum results under Options > Performance > Suggested Items Maximum Results

Do you have access to the database? If so, try executing the “bvc_Product_SuggestedItems stored procedure and provide your products BVIN. See if it returns anything.

If you are not familiar with SQL Server, open a support ticket and we will look at it for you.

Thanks!
dotnetdiva
#5 Posted : Tuesday, May 1, 2007 2:49:26 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

I have it set at 4.

The return value I get is always 0 for that stored procedure.
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

dotnetdiva
#6 Posted : Wednesday, May 2, 2007 1:17:35 PM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

Okay I figured out why most of my products aren't returning anything. They are all product variations (size/color), and the very few products I do have that are just one SKU, are indeed showing the Recommended Products.

Is there a way to display the Recommended Products for my products with variations?
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

dotnetdiva
#7 Posted : Thursday, May 3, 2007 8:26:02 AM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

Wait, I don't think that's the right sql. I'll have to wait for my husband to come home and get it right, he's the database guru. :)

(Mods, you can delete these last two posts, sorry!)
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

dotnetdiva
#8 Posted : Thursday, May 3, 2007 8:26:11 AM(UTC)
dotnetdiva

Rank: Member

Joined: 6/26/2006(UTC)
Posts: 351

I got it to show the items like I wanted. It's late and I might need to do some tweaking yet... but it works!

http://store.attachedtob...y-Wrap-Baby-Carrier.aspx


SELECT TOP(@MaxResults)
ProductID, SUM(Quantity) AS "Total Ordered"
FROM bvc_LineItem l
JOIN bvc_Order o on l.OrderBvin = o.bvin
WHERE o.IsPlaced = 1 AND dbo.bvc_ProductAvailableAndActive(ProductID, 0) = 1
AND OrderBvin IN
(SELECT OrderBvin
FROM bvc_LineItem
WHERE ProductID IN
(SELECT bvin
FROM bvc_Product
WHERE (ParentID = @bvin)))
GROUP BY ProductID
ORDER BY SUM(Quantity) DESC
Angela
Attached to Baby

http://www.attachedtobaby.com

"closer to your heart... do you don't miss a beat."

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