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

Notification

Icon
Error

dcs68
#1 Posted : Tuesday, December 1, 2009 12:05:15 PM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Hi,
is there a way that I can hide cross sells on product page so that the only time they appear this intermediate page between adding to cart and arriving at the cart page? I thought in previous versions I was able to hide this by a visible="false" tag in the product page.

Thanks,
Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Aaron
#2 Posted : Tuesday, December 1, 2009 4:17:54 PM(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)
That should work. Are you sure that you're not seeing another control? You can usually use an HTML comment (<!-- -->) to hide controls, too.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
dcs68
#3 Posted : Wednesday, December 2, 2009 7:35:05 AM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Thanks Aaron,

I tried that HTML commenting and it seemed to work perfectly in Internet Explorer, chrome and Safari but didn't work properly in Firefox.
Any idea about a fix for the Firefox issue?

Thanks,
Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Andy Miller
#4 Posted : Wednesday, December 2, 2009 10:05:03 AM(UTC)
Andy Miller

Rank: Member

Joined: 11/5/2003(UTC)
Posts: 2,136

Was thanked: 1 time(s) in 1 post(s)
If FireFox is showing HTML that is inside of HTML comments, then I suspect there is invalid HTML on the page. All browsers are tolerant of invalid HTML, but they each have their own way of dealing with missing tags, or tags in the wrong order, etc. I'm guessing FireFox is ignoring the start of comment because some other tag is open or something.

Or FireFox just does not like HTML comments. But you can create a simple html page to test that.
Andy Miller
Structured Solutions

Shipper 3 - High Velocity Shipment Processing
dcs68
#5 Posted : Wednesday, December 2, 2009 10:53:23 AM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Thanks Andy,

Here is what I found on the FF issue http://weblog.200ok.com....e-why-html-comments.html

I am not sure why the visible="false" is not working for me on the .aspx page. I have used this method many times before...

Thanks,
Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Matt@9BallDesign
#6 Posted : Wednesday, December 2, 2009 11:14:30 AM(UTC)
Matt@9BallDesign

Rank: Member

Joined: 12/23/2003(UTC)
Posts: 909

If you pull the control off the template page and the call to the control at the top of the template page, you won't be dealing with commenting out or visible="false" issues.
Matt Martell


http://www.9balldesign.com - Web, Print, Graphic


http://www.martellhardware.com/ - Decorative &amp; Builder's Hardware

------------------------------------------------
dcs68
#7 Posted : Wednesday, December 2, 2009 11:15:42 AM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Ok, since the visible="false" was not working when I put it in the .aspx page I instead added the below to the aspx.vb file

' Cross Sell
Me.CrossSellDisplay.Product = Me.LocalProduct
Me.CrossSellDisplay.DataBind()
CrossSellDisplay.Visible = False

This worked but will it cause problems elsewhere?

Thanks,
Derelk



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
Aaron
#8 Posted : Wednesday, December 2, 2009 11:28:09 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)
That should be fine, Derek.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
dcs68
#9 Posted : Wednesday, December 2, 2009 11:31:49 AM(UTC)
dcs68

Rank: Member

Joined: 6/1/2004(UTC)
Posts: 720

Thanks Guys!!

Matt, I did try that but for some reason I was getting errors on the page. I will re-test that as well though....

Thanks again,
Derek



Derek Schaaf

http://www.yourticketzone.com

[url=http://www.cmcdds.com][/url]
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