Post by Digital Sushi » Mon Oct 25, 2010 7:08 pm

Hi there.

Is there a way to have reviews auto publish themselves without me having to approve them?

Active Member

Posts

Joined
Mon Oct 18, 2010 10:23 pm
Location - South Africa

Post by dramony » Thu Nov 04, 2010 11:35 am

also interested on this... anyone?

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by Qphoria » Thu Nov 04, 2010 11:48 am

1. EDIT: catalog/model/catalog/review.php

2. FIND:

Code: Select all

date_added = NOW()
3. AFTER, ADD:

Code: Select all

, status = 1

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by dramony » Thu Nov 04, 2010 12:51 pm

Thanks Q!

I want to convert Reviews into Inquiries within the product page.
Is there a way to ask for additional info like Phone, email, address and remove the stars on the review?
Also, how to disable submission of Ratings?

Thank you.

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by dramony » Thu Nov 04, 2010 5:21 pm

Qphoria wrote:1. EDIT: catalog/model/catalog/review.php

2. FIND:

Code: Select all

date_added = NOW()
3. AFTER, ADD:

Code: Select all

, status = 1
How to automatically update the page upon posting?

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by dramony » Sat Nov 06, 2010 10:24 am

any ideas?
How to automatically update the page upon posting?

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by alex.lin » Mon Nov 08, 2010 1:15 pm

reload the review part in the page after posting...

Code: Select all

Edit \catalog\view\theme\default\template\product\product.tpl

Find (in review() function)
	if (data.success) {

 After Add

     $('#review').load('index.php?route=product/product/review&product_id=<?php echo $product_id; ?>');

Opencart Developer

- http://www.cnopencart.com opencart中文站


User avatar
Active Member

Posts

Joined
Thu Jun 03, 2010 12:15 am


Post by dramony » Tue Nov 09, 2010 12:09 pm

Works great! Thank you.

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by dramony » Fri Feb 11, 2011 4:33 am

So i converted the Product Review portion to Product Inquiry, wherein customers can leave a message on it via product page. However on the Back Office, i must check and see who made an inquiry and what product they are on. So here's my question: is the a way to add a reply box when editing that review/inquiry so that i dont have to do a search on the BO and reply on the frontend?

Any help would be appreciated. Thank you.

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by dramony » Fri Feb 11, 2011 10:15 pm

anyone got an idea?

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by dramony » Tue Apr 19, 2011 12:20 pm

anyone?

Active Member

Posts

Joined
Sat Oct 24, 2009 12:34 pm

Post by frankleng » Wed Sep 26, 2012 9:41 pm

alex.lin wrote:reload the review part in the page after posting...

Code: Select all

Edit \catalog\view\theme\default\template\product\product.tpl

Find (in review() function)
	if (data.success) {

 After Add

     $('#review').load('index.php?route=product/product/review&product_id=<?php echo $product_id; ?>');
I found this just now, thanks very much.

Active Member

Posts

Joined
Sun Apr 22, 2012 5:49 pm

Post by jh3rman » Tue Mar 18, 2014 4:03 am

Sorry to revive an old thread but I am in need of a way to auto reload the product page once the review is submitted and I found the above but it doesn't seem to work for me on 1.5.6. Is there something else I can try?

Newbie

Posts

Joined
Tue Sep 10, 2013 10:28 am
Who is online

Users browsing this forum: No registered users and 14 guests