I want AJAX Star Rating Bar under my product picture. I found one very interested is Unobtrusive AJAX Star Rating Bar but I don't know how can I intergrate it with zencart?
I want AJAX Star Rating Bar under my product picture. I found one very interested is Unobtrusive AJAX Star Rating Bar but I don't know how can I intergrate it with zencart?
You can download Unobtrusive AJAX Star Rating Bar for Zen Cart on My-whiteboard.com:
my-whiteboard.com/ecommerce/unobtrusive-ajax-star-rating-bar-for-zen-cart-and-oscommerce.html
See http://www.labsupplymall.com for demo.
Last edited by Kim; 12 Jul 2008 at 10:00 PM.
Please package the mod up as a contrib and add it to the downloads section.
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
Fantastic! I've been waiting for a mod like this for months! Haven't been able to find anything though..
I am attempting to implement this Ajax Rating however I am having some trouble with the bit of code requiring the files
<?php require('/DIRECTORY_TO_ZENCART/_drawrating.php'); ?>
I changed the code so it looks like
<?php require('/shop/_drawrating.php'); ?>
but it throws me an error saying it failed to open. The file it requires is located in shop/.. Do I have something wrong?
Is this mod now in the downloads section? Is it stable?
Had another go at this and got it working. I replaced the default ratings on the reviews_write_default.php, however it looks like there needs to be more modification to get this to work within Zen Cart. Currently if you go to a product and give it a rating, that rating shows up for all other products.
You must give an id for every product to display this id must be products id - $products_id
So add this to your tpl_product_info_display.php
<?php echo rating_bar($products_id,5); ?>
if you want 5 stars this is the code to give the right id to write to your sql and display it...
see it live in action...
http://www.e-matrix.gr
The package uploaded and waiting for review....
Bookmarks