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

Notification

Icon
Error

sternyy
#1 Posted : Wednesday, February 6, 2008 1:28:00 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
How do I remove the crossells from the product page? I only want to show the crossells when adding a product to the cart. I tried commenting it out. Works fine in IE but not in firefox.
birdsafe
#2 Posted : Wednesday, February 6, 2008 8:40:54 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Options -> Orders ->Display Cross Sells When Adding Item To Cart
sternyy
#3 Posted : Thursday, February 7, 2008 10:26:18 AM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
it still displays the crossells on the product page though. I dont want them on the product page.
Richard
#4 Posted : Thursday, February 7, 2008 11:31:55 AM(UTC)
Richard

Rank: Member

Joined: 4/28/2003(UTC)
Posts: 141

Edit your product/products and on the left hand menu choose up sells/cross sells and remove any products you may have choosen there, save when finished. That should remove them from your product pages.


Richard
birdsafe
#5 Posted : Thursday, February 7, 2008 12:53:05 PM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

I beleive he still wants them "active" only displayed when you add to cart. Have you tried adding "visible = "false"" to the line for the product template?
sternyy
#6 Posted : Thursday, February 7, 2008 2:18:19 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
Richard: I still want crosssells to display when the product is added to the cart. Removing the crossells would remove the crosssells all together.

Joe: yeah I tried adding visible="false".. didnt work.

I use my crossells as accessories for my products. I like the idea of being able to show the accessories when the customer adds the product to the cart. Everything shows up real nice and reminds the customer that there are additional accessories for each product. I dont want to show them on my product page because it gets real cluttered, especially when you have 10 or 20 accessories for a product.

I can't firugre out why firefox is having a problem when i comment out the code and IE doesnt. real weird :(

Bryan
Cliff
#7 Posted : Thursday, February 7, 2008 8:01:55 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

Remove the control (there are references at both the top and bottom of the page) from the product template and the references to it from the template's code-behind, if needed. I generally strip out anything I don't want directly from the template when I do customizations.

Regarding the commenting out issue, you may not be using the right syntax. Removing it completely is your best bet.
sternyy
#8 Posted : Friday, February 8, 2008 11:31:43 AM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
i tried removing the control at the top and the code and my site errored
sternyy
#9 Posted : Friday, February 8, 2008 11:32:53 AM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
i removed this:

<%@ Register Src="../../Controls/CrossSellDisplay.ascx" TagName="CrossSellDisplay"
TagPrefix="uc4" %>

and this:

<uc4:CrossSellDisplay ID="CrossSellDisplay" runat="server" DisplayDescriptions="false"
RepeatColumns="4" RepeatDirection="Horizontal" RepeatLayout="Table" DisplayMode="Wide"
DisplayAddToCartButton="true" />

and still got an error...
Cliff
#10 Posted : Friday, February 8, 2008 5:12:11 PM(UTC)
Cliff

Rank: Member

Joined: 5/24/2004(UTC)
Posts: 4,147

The error probably references some VB code in your product.aspx.vb file which needs removing?
sternyy
#11 Posted : Sunday, February 10, 2008 1:05:16 PM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
ill have to turn off my friendly errors ;) oops shoulda thought of that earlier.
sternyy
#12 Posted : Wednesday, February 13, 2008 10:20:01 AM(UTC)
sternyy

Rank: Member

Joined: 1/10/2005(UTC)
Posts: 714

Thanks: 14 times
Was thanked: 1 time(s) in 1 post(s)
had to edit the product.aspx.vb file and it works now... thanks.
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