Best Seller's Scrolling Images - support thread
This is the official support thread for the "Best Seller's Scrolling Images" plugin.
This plugin enables the following upgrades to the best seller's sidebox:
- Added the image
- Removed the numbering
- Display of the product name is beside the image (and not under image)
- Image display uses zen-cart image function (if you use Image Handler, it will be used here as well)
- Product price displayed using a zen-cart function (will also show currency changes and specials pricing)
In a nutshell - it scrolls the best sellers and adds needed info (price) to the sidebox.
This plugin was designed to be simple and without any special JS or AJAX technology, it uses a simple marquee tag.
Links:
Author's page: http://zen-cart.co.il/bestsellers-scrolling-images/
Plugin on ZenCart: http://www.zen-cart.com/index.php?ma...oducts_id=1836
Example can be found here:
http://noajewelry.com/
Enjoy,
Chaiavi
Re: Best Seller's Scrolling Images - support thread
I tried your nice module but no image is shown in the sidebox. Only the default : no_picture.gif !
What am i missing ? :blink:
Re: Best Seller's Scrolling Images - support thread
The bestseller sidebox shows your existing products.
Do the products it shows there have pictures?
Re: Best Seller's Scrolling Images - support thread
Yes, they do have images.
But something strange is happening.
I tried to debug the result of : tpl_best_sellers.php , by adding some echo commands :
PHP Code:
echo 'imgLink : ' . $imgLink .'<br/>';
echo "\n" ;
echo zen_href_link(zen_get_info_page($bestsellers_list[$i]['id']), 'products_id=' . $bestsellers_list[$i]['id']) .'<br/>';
echo "\n" ;
echo zen_get_products_display_price($bestsellers_list[$i]['id']) .'<br/>'.'<br/>';
and everything is OK, except the image file ! It only returns the default image folder ( i.e images/ )
You can seet the Results below :
imgLink : images/
http://example.com/store/index.php?m...roducts_id=191
€18,00
imgLink : images/
http://example.com/store/index.php?m...roducts_id=189
€13,60
imgLink : images/
http://example.com/store/index.php?m...roducts_id=181
€20,00
Any ideas ?
Re: Best Seller's Scrolling Images - support thread
Adding also this line :
PHP Code:
echo 'bestsellers_list['.$i.'][image] : ' . $bestsellers_list[$i]['image'] ;
returns empty results ( ! ) :
bestsellers_list[1][image] :
bestsellers_list[2][image] :
bestsellers_list[3][image] :
Re: Best Seller's Scrolling Images - support thread
Hi Takisd,
Please look at the other file you have in the bestseller package, it's in the modules directory.
Look at line #68 - that is the place where the image name is being populated.
Please debug that place and keep us posted.
BTW - good debugging work till now
Re: Best Seller's Scrolling Images - support thread
Chaivai , any ideas how to do it ? I'm new to zen cart & php . Thank you
Re: Best Seller's Scrolling Images - support thread
This is what i found !
If i paste the code of best_sellers.php into one page i.e Page4, while viewing the page everything works PERFECT ( Inside the page - where a new box is displayed - and in the right side where the basic sidebox is ! ).
In all other pages the images are not displayed !
What am i missing ?
Re: Best Seller's Scrolling Images - support thread
Quote:
Originally Posted by
takisd
Chaivai , any ideas how to do it ? I'm new to zen cart & php . Thank you
I am sorry for the misspell of your name !
Re: Best Seller's Scrolling Images - support thread
Thanks for this model.
Is it possible to remove the price from the product? to scroll just the product?