Zen Cart Logo
Forums / Addon Sideboxes / Scolling Special Sidebox

Scolling Special Sidebox

Locked

Views: 2,469

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 Jun 2006, 1:07 AM
#1
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Scolling Special Sidebox

hi all,

i'd just installed the specials scrolling sidebox mod by sn0ut to v1.3.0.1! good work indeed but the compatibility with the latest ZC was unknown! two problems occur;

i. every time the page refresh, the sidebox will display specials products ramdomly but why is it displaying the first specials product twice?!:huh:

ii. when you hevering the cursor to each of the scrolling image, comes out a popup message saying "100"! its suppose to display the name of the product!

anyone had fix to this?:unsure:

any thoughts sn0ut???

26 Jul 2006, 10:49 PM
#2
sn0ut avatar

sn0ut

New Zenner

Join Date:
Oct 2005
Location:
UK - London
Posts:
56
Plugin Contributions:
3

Re: Scolling Special Sidebox

Hi

I never noticed the onmouseover, I will change this to product name as soon as I get chance. Regarding the duplicate 1st product, I cannot see why this is happening meybe a zen guru could take a look at the code?

Sn0ut

27 Jul 2006, 12:09 AM
#3
tajul_ashyqin avatar

tajul_ashyqin

Zen Follower

Join Date:
Apr 2006
Location:
Labuan Island
Posts:
362
Plugin Contributions:
1

Re: Scolling Special Sidebox

sn0ut:

Hi

I never noticed the onmouseover, I will change this to product name as soon as I get chance. Regarding the duplicate 1st product, I cannot see why this is happening meybe a zen guru could take a look at the code?

Sn0ut

hi, sn0ut! thanx for the reply... at the mean time, i'd also asked qhome to take a look at it this week! :D

26 Dec 2006, 9:42 AM
#4
kimsonvu avatar

kimsonvu

Zen Follower

Join Date:
Aug 2006
Location:
HCMC
Posts:
263
Plugin Contributions:
0

Re: Scolling Special Sidebox

I install this module but it have some problem with IE . It load on FF2 is okie .

You can test in my website.

5 Jan 2007, 9:53 AM
#5
dantheman avatar

dantheman

New Zenner

Join Date:
May 2005
Location:
Toronto, Ontario, Canada
Posts:
41
Plugin Contributions:
0

Re: Scolling Special Sidebox

It's a nice looking contribution, but we ran into a big problem with it. I caused our hosting account to be suspended!!!

Here is what happened: I loaded the box, it looked fine, no problems, nice scrolling. Then I noticed that the website's main page takes a long time to come up. I just thought my internet connection is acting up again, so I ignored it. Then, the website went down completely and I received an e-mail from the hosting provider informing me that my account has been suspended for excessive use of resources (not bandwidth or space limit).

So, I checked the logs:

Before installing this contribution:

Parse Time: 0.819 - Number of Queries: 495 - Query Time: 0.195765625717

After installing this contribution

Parse Time: 35.289 - Number of Queries: 22706 - Query Time: 4.02439738457

It seems this contribution loads all the specials into memory - we have over 1,500 products and they are all marked special (sale), so it was opening all of them.

Maybe it only does it like this if you have Image Handler installed. Perhaps it's a combination of other factors that would not be reproduced in other Zen Cart stores...

We are running Zen Cart 1.3.7 and Image Handler2.

I wanted to share this information with other Zen Cart users because having slow page loads or even worse, having your account suspended is not a very pleasant experience.

The contribution can be restricted from loading all the specials, like Louis suggests by adding "limit 5" or "limit whatever" to the end of $random_product_query = ... but it will just truncate the list and load the same ones all the time, so it's not really a solution!

Perhaps someone can rewrite the contribution in such a way:

  • Find all the products that are marked as special.
  • Display a random list limited by a user defined value, something reasonable like 10 to 20 products by default.

Feedback is welcome!

Dan G.

Notebook Solutions Inc.

10 Jan 2007, 8:46 PM
#6
grayceworks avatar

grayceworks

New Zenner

Join Date:
Jan 2007
Location:
Atlanta, GA
Posts:
71
Plugin Contributions:
0

Re: Scolling Special Sidebox

I am having trouble with this add-in slowing down my site drastically.

I had a regular marquee on my old site, but I had to manually update the items, and it scrolled nice and smooth without slowing anything down.

But I wanted it to update items dynamically, however the scrolling specials, when I installed it, only gets TWO of the ten items I have in my specials, the same two every time, and it jumps when it switches between them, and it slows down the site a LOT, so that the mouse gets jumpy when you try to move it.

If I turn off the specials box, all is fine. I ended up putting back the static specials until I find out how to fix this... any ideas?