Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?


Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site

 All Forums
 General
 CSS and Responsive Designs
 Cross selling on detail page
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

cooper
Ecommerce Template Guru

USA
2763 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  08:28:51  
http://www.sciencesmarter.com/proddetail.asp?prod=16416

You'll notice the "csrecommendedtitle" shows up near the add to cart button, but the cross-selling products are listed below the reviews area.

Any idea what I messed up?

Bill

dbdave
ECT Moderator

USA
8801 Posts

Posted - 05/18/2020 :  08:44:36  
Hi, In the source of the page, I see this

<p><p class="cstitle">Some of our best selling items</p><div class="products"><div class="product 17020">
<form method="post" id="ectform3" action="cart.asp" onsubmit="return formvalidator3(this)"><input type="hidden" name="id" value="17020" />
<input type="hidden" name="mode" value="add" />
<div class="prodimage allprodimages"><a class="ectlink" href="proddetail.asp?prod=17020"><img id="prodimage3" class="prodimage allprodimages" src="prodimages/17020.jpg" alt="Thames and Kosmos Kids First Biology Lab" /></a></div>
<div class="prodname"><a class="ectlink" href="proddetail.asp?prod=17020">Thames and Kosmos Kids First Biology Lab</a></div>
<div class="prodprice"><strong>Price:</strong> <span class="price" id="pricediv3">$40.23</span> </div>
<div class="addtocart"><input type="button" value="Add to cart" class="ectbutton buybutton" onclick="subformid(3,'','')" /></div></form></div>
<div class="product 17036">
<form method="post" id="ectform4" action="cart.asp" onsubmit="return formvalidator4(this)"><input type="hidden" name="id" value="17036" />
<input type="hidden" name="mode" value="add" />
<div class="prodimage allprodimages"><a class="ectlink" href="proddetail.asp?prod=17036"><img id="prodimage4" class="prodimage allprodimages" src="prodimages/17036.jpg" alt="EQ Refractor Telescope" /></a></div>
<div class="prodname"><a class="ectlink" href="proddetail.asp?prod=17036">EQ Refractor Telescope</a></div>
<div class="prodprice"><strong>Price:</strong> <span class="price" id="pricediv4">$279.63</span> </div>
<div class="addtocart"><input type="button" value="Add to cart" class="ectbutton buybutton" onclick="subformid(4,'','')" /></div></form></div>
<div class="product 16265">
<form method="post" id="ectform5" action="cart.asp" onsubmit="return formvalidator5(this)"><input type="hidden" name="id" value="16265" />
<input type="hidden" name="mode" value="add" />
<div class="prodimage allprodimages"><a class="ectlink" href="proddetail.asp?prod=16265"><img id="prodimage5" class="prodimage allprodimages" src="prodimages/16265.jpg" alt="Weather Center" /></a></div>
<div class="prodname"><a class="ectlink" href="proddetail.asp?prod=16265">Weather Center</a></div>
<div class="prodprice"><strong>Price:</strong> <span class="price" id="pricediv5">$52.58</span> </div>
<div class="addtocart"><input type="button" value="Add to cart" class="ectbutton buybutton" onclick="subformid(5,'','')" /></div></form></div>
<script type="text/javascript">/* <![CDATA[ */function formvalidator3(theForm){
return(true);}
function formvalidator3(theForm){
return(true);}
function formvalidator4(theForm){
return(true);}
function formvalidator4(theForm){
return(true);}
function formvalidator5(theForm){
return(true);}
function formvalidator5(theForm){
return(true);}
/* ]]> */</script></div></p>


I think you should check those "p" tags wrapped around that there.

Thanks,
David

Marshall
Ecommerce Template Guru

USA
1576 Posts

Posted - 05/18/2020 :  09:10:46  
Bill,

Make sure your <!--#include file=... --> in the page are not between <p></p> I saw that once before and does cause a display issue.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Edited by - Marshall on 05/18/2020 13:30:29

cooper
Ecommerce Template Guru

USA
2763 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  09:52:20  
Thanks, Marshall.

This is what the code that I uploaded shows in my editor:

<!--#include file="vsadmin/inc/incproddetail.asp"-->
<%
crosssellsectionmax=3
crosssellaction="recommended"
%>
<!--#include file="vsadmin/inc/inccrosssell.asp"-->



Bill

dbdave
ECT Moderator

USA
8801 Posts

Posted - 05/18/2020 :  09:54:55  
Hi Bill, can you let us know what you've done to modify that text?
Some of our best selling items

Check your includes, or the proddetail page itself and see what you have there.
Maybe you have an extra opening <p> tag there.

Marshall
Ecommerce Template Guru

USA
1576 Posts

Posted - 05/18/2020 :  11:54:33  
You might also want to change
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
to
<!DOCTYPE HTML>
in all your pages.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

cooper
Ecommerce Template Guru

USA
2763 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  14:02:17  
Dave,

On the includes.asp page, I have:

csrecommendedtitle="Some of our best selling items"




Bill

dbdave
ECT Moderator

USA
8801 Posts

Posted - 05/18/2020 :  14:20:14  
Hi Bill, that seems just fine.

We know that somehow there is something wrapped in a <p> tag there, we just need to find out where it's coming from.

My next suggestion is to check the product description in the admin for that product. I think maybe it's there.
If you find any <p> tags there, check that they all have a matching open and close (</p>) tag.

Thanks,
David

Edited by - dbdave on 05/18/2020 14:20:52

cooper
Ecommerce Template Guru

USA
2763 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  15:44:10  
David,

No mark up in the long description:

Eye Piece - 10X WF DIN Objective - 4X, 10X, 20X Magnification - 40X, 100X, 200X Illumination - Prism-Optic Standard Features: 3.5" round stage (MS5) rotates 360 degree for convenience of adjusting specimens. Rack and pinion focusing with a slip clutch mechanism to prevent gear damage. Safety rack stop to prevent damage to the specimen. Glass optics with multi-layer coatings for contrast and high resolution. 4x, 10x, 20x, or 40xR (R=retractable) achromatic objectives and indexed revolving nosepiece. Complete with a dust cover and instruction manual. Shipping: 8 x 6 x 11-4lbs. Limited Lifetime Warranty Rechargeable Models Features: Up to 10,000 hours of bulb life. Full recharge in approx. 8 hours - provides 50-70 hours of continuous use per charge.

Nothing in the short description field. Search tags don't have any mark up there either.

Bill

Marshall
Ecommerce Template Guru

USA
1576 Posts

Posted - 05/18/2020 :  16:15:15  
Bill,

My HTML editor is indicating an error because of the HTML tag you are using. There are several form fields that do not a closing / tag. On is the quantity box input.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

dbdave
ECT Moderator

USA
8801 Posts

Posted - 05/18/2020 :  16:48:14  
Hi Bill, you can click my name and send me a message. I'll reply and you can send a copy of the page and I'll take a look.
Or, you could send FTP details and I'll check things out.

Thanks,
David

cooper
Ecommerce Template Guru

USA
2763 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  18:11:02  
Made that change, Marshall.

David, I sent you the FTP information.

Bill

dbdave
ECT Moderator

USA
8801 Posts

Posted - 05/18/2020 :  18:38:04  
Hi Bill, well it is a bit baffling, but what I have done is make a copy of the proddetail page with my change.
I basically wrapped the include line for the crosssell in a div with some styling to clear any floats.
I actually should have suggested that before because I have needed this myself in the past.

http://www.sciencesmarter.com/proddetail-test.asp?prod=16416

You can make the changes to your page and delete my "test" page from the server.

Thanks,
David

PS - Never could find the <p> tag issue...

cooper
Ecommerce Template Guru

USA
2763 Posts

Pre-sales questions only
(More Details...)

Posted - 05/18/2020 :  19:23:09  
Thank you, David!!!

Bill

dbdave
ECT Moderator

USA
8801 Posts

Posted - 05/18/2020 :  21:43:59  
You're quite welcome Bill.
I'm glad I could help.

David
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2020 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000