Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/22/2018 : 17:03:50
Ok,
So I've had this set up for a while and it is still NOT working correctly.
Cool site in profile, Not main site (it works perfectly there).
If I open the index page in Chrome - it always shows the same 4 products, beginning with "A", 1 row. Refreshing the page about 5-6 times will finally start to show some randomness.
If I open the index page via Admin (View my store) in FF - sometimes it displays a crazy amount of rows, like 12 rows of products instead of 1. Refreshing will being it back it to 1. But again, the same 4 products beginning with "A". Refresh, I get 12 rows. Refresh, back to 1 row. This time they are more random, C, H, J, B. Refresh... back to the first 4 "A" named products.
It's like there is a weird conflict somewhere and I just can not seem to solve it.
Julie Owned & loved by 7 German Shepherds
|
pdraper
Advanced Member
New Zealand
160 Posts Pre-sales questions only (More Details...)
|
Posted - 07/22/2018 : 17:19:06
Hey Julie,
Just been going through this myself.
Things to check in includes
crosssellsectionmax=5 <---Number of items to show crosssellcolumns=5 <--- Self explanatory orsortby=13 <--- Means random crossselrows=1 <--- Self explanatory
May not be the case for you but I had to manage these items to get it working right
Paul
Edited by - pdraper on 07/22/2018 17:20:06
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/22/2018 : 17:53:15
Thanks,
Tried that but it seems to have no effect... still not functioning properly.
I noticed that sometimes when I click Home from a product detail page - it will display ALL the recommended products all the way down the page. Refresh, back to normal - 1 row, 4 products.
I'm almost at the point of getting rid of it (which would really suck) or randonly selecting 4 products manually (which would be a pain).
Julie Owned & loved by 7 German Shepherds
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/23/2018 : 00:30:41
Hi Julie I'll do some testing here - what did you ideally want to show - 4 best selling products? This is what works for me but obviously you can choose which elements to show <% crosssellaction="bestsellers" crosssellcolumns=4 orsortby=13 csproductpagelayout="productimage,productname,description,instock,reviewstars,price,listprice,currency,detaillink,quickbuy" %> Andy Please feel free to review / rate our software
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/23/2018 : 19:33:15
Hi Andy,
It should show 4 random products based on recommended checked in admin.
Could it be acting wonky due to putting the code inside a div with a class? I don't know, just scratching my head.
I have it like this:
<div class="clearfix"></div> <% crosssellaction="recommended" orsortby=13 crosssellsectionmax=4 csstyleprefix="cs" csproductpagelayout="productimage,productname,description,instock,price,listprice,detaillink,quickbuy" quickbuylayout="productimage, productname, instock,productid, description, options, listprice, price, detaillink,addtocart" csrecommendedtitle="You and your best friend will love..." shortdescriptionlimit=100 %>
<!--#include file="vsadmin/inc/inccrosssell.asp"-->
<div class="clearfix"></div>
Julie Owned & loved by 7 German Shepherds
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/23/2018 : 19:48:30
Hmmmm,
I added crosssellcolumns=4 to the code and added a max of 8 products to test a bit. Seemed to help when I refreshed BUT....
I just browsed around the site, went to a few product detail pages, then clicked on the Home link at the top of the page....
And it's showing, I kid you not, 12 rows of products on the home page. 48 items.
::sigh::
Julie Owned & loved by 7 German Shepherds
Edited by - Positivek9 on 07/23/2018 19:50:52
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/23/2018 : 23:54:44
Sorry, I was confusing your set up with Paul's - he was referring to bestsellers. For recommended products this really should work fine as you have it <% crosssellaction="recommended" orsortby=13 crosssellsectionmax=4 csstyleprefix="cs" csproductpagelayout="productimage,productname,description,instock,price,listprice,detaillink,quickbuy" quickbuylayout="productimage, productname, instock,productid, description, options, listprice, price, detaillink,addtocart" csrecommendedtitle="You and your best friend will love..." shortdescriptionlimit=100 %> Do you have anything in includes.asp that is cross selling related? Andy Please feel free to review / rate our software
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/24/2018 : 07:25:03
Hi Andy,
I have the default:
' Cross Selling / Upselling crosssellaction="related" csbestsellerstitle="Our best sellers" csrecommendedtitle="Recommended items" bestsellerlimit=180
I tried adding in pdraper's suggested code but it did not make any difference (I left it but it's commented out):
'crosssellsectionmax=4 'crosssellcolumns=4 'orsortby=13 'crosssellrows=1
Julie Owned & loved by 7 German Shepherds
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/24/2018 : 07:45:11
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/24/2018 : 08:10:54
Just to confirm - you are looking at the "Cool Site" in profile and not my main site? The main site has no issues at all with the home page recommended area. Works like a champ & I love it. The other site, not so much. I just don't know why I keep getting a wonky display on my end. Firefox is really bad. Chrome always displays the "A" collars..if I refresh, then it staggers them a bit. But I just did a test in Chrome, clicked on the recommended collar on the right, went to the product detail page, and then clicked on Home on the top menu bar. And once again, it displayed ALL the recommended items - not just 4. Just so you know I'm not crazy  : [img]https://www.spoilthatpetshop.com/ss1.png[/img] Julie Owned & loved by 7 German Shepherds
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/24/2018 : 08:23:19
I noticed that the link is set to go to default.asp.
Should I remove the default.asp and have the link just go to https://www.mysite.com?
Grasping at straws here.
Made the change - same issue.
After I refreshed about 5-6 times in FF to try to get something other than the same "A" collars - it once again displayed ALL the products. SMH
Julie Owned & loved by 7 German Shepherds
Edited by - Positivek9 on 07/24/2018 08:37:27
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/24/2018 : 08:59:57
I think it's better for SEO to use the full URL rather than default.asp but I doubt that has any bearing here. True randomization isn't really a feature of ASP like PHP so the random results won't be as random as if they were on a PHP site. Having said that you shouldn't get that many products appearing so I'll do some more testing and see if I can recreate it. Andy Please feel free to review / rate our software
|
Andy
ECT Moderator
95440 Posts |
Posted - 07/25/2018 : 00:33:41
I tried your site a few times and couldn't recreate it until just now, it may be a coincidence but it was when I clicked on the Americana dog collar detail link and then the home button. It then didn't happen again until clicking on that one again when it appeared - are you getting that too or does the multiple display just happen randomly for you? Andy Please feel free to review / rate our software
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/25/2018 : 08:03:19
It always appears like that if you click around a few times.... or refresh.
------------------------------------
If you inspect the element for the div - it shows a few Javascript errors in the console:
TypeError: document.getElementById(...) is null[Learn More] www.mysite.com:919:262 <anonymous> https://www.mysite.com/:919:262 TypeError: document.getElementById(...) is null[Learn More] www.mysite.com:924:262 TypeError: document.getElementById(...) is null[Learn More] www.mysite.com:929:262 ReferenceError: SyntaxHighlighter is not defined[Learn More] www.mysite.com:1213:7 <anonymous> https://www.mysite.com/:1213:7
https://code.jquery.com/jquery-1.11.0.min.js:2:27131 fireWith https://code.jquery.com/jquery-1.11.0.min.js:2:27949 ready https://code.jquery.com/jquery-1.11.0.min.js:2:29781 K https://code.jquery.com/jquery-1.11.0.min.js:2:30126
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Unexpected_type https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_defined
Not sure if that has anything to do with it but thought I would pass it along.
Julie Owned & loved by 7 German Shepherds

|
Andy
ECT Moderator
95440 Posts |
Posted - 07/25/2018 : 08:08:22
|
Positivek9
Ecommerce Template Guru
USA
4061 Posts Pre-sales questions only (More Details...)
|
Posted - 07/25/2018 : 08:19:09
Sure, will do!
Julie Owned & loved by 7 German Shepherds
|
|
|