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.
|
|
|
|
Rank: Member
Joined: 2/21/2007(UTC) Posts: 1,113
|
Options -> Orders ->Display Cross Sells When Adding Item To Cart |
|
|
|
|
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.
|
|
|
|
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
|
|
|
|
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? |
|
|
|
|
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
|
|
|
|
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. |
|
|
|
|
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
|
|
|
|
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...
|
|
|
|
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? |
|
|
|
|
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.
|
|
|
|
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.