Zen Cart Logo
Forums / All Other Contributions/Addons / AJAX Star Rating Bar

AJAX Star Rating Bar

Locked

Views: 6,671

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
23 Apr 2008, 5:28 AM
#1
amopro avatar

amopro

New Zenner

Join Date:
Jan 2007
Posts:
35
Plugin Contributions:
0

AJAX Star Rating Bar

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?

12 Jul 2008, 7:44 PM
#2
innovita avatar

innovita

New Zenner

Join Date:
Apr 2007
Posts:
7
Plugin Contributions:
0

Re: AJAX Star Rating Bar

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.

12 Jul 2008, 8:59 PM
#3
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,650
Plugin Contributions:
0

Re: AJAX Star Rating Bar

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.

20 Dec 2009, 8:18 PM
#4
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: AJAX Star Rating Bar

Fantastic! I've been waiting for a mod like this for months! Haven't been able to find anything though..

20 Dec 2009, 8:48 PM
#5
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: AJAX Star Rating Bar

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?

27 Dec 2009, 5:40 PM
#6
berserker avatar

berserker

Totally Zenned

Join Date:
May 2006
Posts:
712
Plugin Contributions:
0

Re: AJAX Star Rating Bar

Is this mod now in the downloads section? Is it stable?

23 Apr 2010, 12:59 AM
#7
khopek avatar

khopek

Totally Zenned

Join Date:
Aug 2006
Location:
portlandish, oregon
Posts:
795
Plugin Contributions:
0

Re: AJAX Star Rating Bar

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.

18 Jul 2010, 1:25 PM
#8
baracudamax avatar

baracudamax

New Zenner

Join Date:
Jul 2010
Posts:
33
Plugin Contributions:
0

Re: AJAX Star Rating Bar

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

18 Jul 2010, 3:19 PM
#9
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: AJAX Star Rating Bar

Could you please post the code? I tried the link in the second post but it's dead. This would be a great add-on if you'd care to package it up, or I could so the rest of the community can benefit from it.


Zen Cart and it's community are the best!!

19 Jul 2010, 2:20 PM
#10
baracudamax avatar

baracudamax

New Zenner

Join Date:
Jul 2010
Posts:
33
Plugin Contributions:
0

Re: AJAX Star Rating Bar

The package uploaded and waiting for review....

26 Jul 2010, 4:33 AM
#11
kryacek avatar

kryacek

New Zenner

Join Date:
Jul 2010
Posts:
11
Plugin Contributions:
0

Re: AJAX Star Rating Bar

Couldn't locate the addon in the download section. Anybody can guide me where I can download this? Thanks.

25 Dec 2010, 9:43 AM
#13
get_em_fast avatar

get_em_fast

Totally Zenned

Join Date:
Dec 2006
Location:
Seligman, MO U.S.A.
Posts:
2,072
Plugin Contributions:
1

Re: AJAX Star Rating Bar

Kim:

Please package the mod up as a contrib and add it to the downloads section.

baracudamax:

The package uploaded and waiting for review....

@ DEV TEAM
I saw somewhere in another thread that this mod had been denied after the upload. Just curious as to why? Did it not work correctly?

Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!