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

Notification

Icon
Error

GAlton
#1 Posted : Sunday, March 22, 2009 10:44:29 PM(UTC)
GAlton

Rank: Member

Joined: 6/10/2004(UTC)
Posts: 101

I want to use the cross sells area for displaying images, only. Anyone know how to remove the Add To Cart button in the Cross Sells area? How about how to remove the image link to the product page (since it is not really a product, but only an image for display)?
Aaron
#2 Posted : Monday, March 23, 2009 10:35:22 AM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,393
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 163 time(s) in 158 post(s)
Greg,

Add DisplayAddToCartButton="False" to the CrossSellDisplay control call on your product template to hide the "Add to Cart" button. Removing the link is more difficult as you must modify the SingleProductDisplay control (/BVModules/Controls/SingleProductDisplay.ascx). To make it work you will need to add a new property (and associated code) to the control, something like "DisableLink", and set the default value to false (so you don't break anything else on the site that uses this control). In your CrossSellDisplay control set DisableLink="True" for the SingleProductDisplay control.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
GAlton
#3 Posted : Monday, March 23, 2009 11:11:06 PM(UTC)
GAlton

Rank: Member

Joined: 6/10/2004(UTC)
Posts: 101

Thanks, that worked wonderfully. This way the "Details" link still directs actual cross sells items (ones with product variations) to the product. I think I will leave the image link, anyway, since I can use it to further describe the image. -- Tom
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.

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