Post by Qphoria » Wed Feb 01, 2012 6:04 am

Working with 1.5.x and 2.x
This script lets reviews with ratings greater than your defined value be auto-approved.
By default it is set to auto-approve ratings of 4 or 5 but you can set it for 1, 2, 3, 4, or 5

Image
Donate!|OpenCart Basics|GeoZones
Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by merry » Wed Feb 01, 2012 10:59 am

Wow, Qphoria, cool script and what a time-saver! Brilliant.

Merry

Most answers are from my OpenCart 1.5 User Manual CURRENT TO 1.5.5.1 and includes free updates.
FREE HELP! 60-page user guide with OpenCart Admin Menu Cheatsheet, Install Guide & 30 Minute QuickStart Guide: http://showmeguides.com/


User avatar
Active Member

Posts

Joined
Thu Dec 09, 2010 12:51 am
Location - Mexico and sometimes Texas

Post by opencartArab » Wed Feb 01, 2012 4:17 pm

+1

https://www.opencartarab.com
التعليمات باللغة العربية موجودة على الرابط التالي
https://www.opencartarab.com/docs


Expert Member

Posts

Joined
Thu Apr 01, 2010 3:31 am

Post by marcelwoo » Wed Feb 01, 2012 10:23 pm

I love Qphoria :clown:

"We help each other to grow". That's the opencart community!

All free mods
Home Based Ebay business Opportunity(not ads)


User avatar
Active Member

Posts

Joined
Tue Mar 29, 2011 1:45 am

Post by donyeh » Sat Feb 11, 2012 6:21 pm

Great mod!

Thanks for sharing Qphoria. :)

Newbie

Posts

Joined
Tue Dec 27, 2011 11:07 am

Post by jarek79 » Mon Aug 20, 2012 5:26 am

Qphoria you are a GOD!!!

Thanks

Jerry

Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes


User avatar
New member

Posts

Joined
Tue Jun 05, 2012 10:23 pm


Post by bmbg » Tue Aug 28, 2012 12:59 pm

How would I go about having different messages displayed based on star rating?

For example, auto-approved (3, 4, 5) ratings would display a message such as "Thank you, your review has been submitted."

And non-auto-approved (1,2) could display "Sorry you were not satisfied blah blah blah"

Newbie

Posts

Joined
Mon Aug 27, 2012 9:43 am

Post by panthere » Sun Oct 11, 2015 8:22 pm

Hello

For opencart 2 support you must edit the search line in xml, like bellow

Before

Code: Select all

<search position="after"><![CDATA[
			$this->db->query("INSERT INTO " . DB_PREFIX . "review
            ]]></search>
After (opencart 2 support)

Code: Select all

<search position="after"><![CDATA[
				$this->db->query("INSERT INTO " . DB_PREFIX . "review SET author = '" . $this->db->escape($data['name']) . "', customer_id = '" . (int)$this->customer->getId() . "', product_id = '" . (int)$product_id . "', text = '" . $this->db->escape($data['text']) . "', rating = '" . (int)$data['rating'] . "', date_added = NOW()");
            ]]></search>
Thanks Qphoria

Newbie

Posts

Joined
Wed Apr 08, 2015 5:12 am

Post by sanpanthera » Fri Dec 28, 2018 3:09 pm

Hi ,

I am a newbie and I find difficulty to work with vQmod. My opencart version is 3.x .
@Qphoria: Could you please provide OCMod file for the same.

Newbie

Posts

Joined
Fri Dec 28, 2018 3:04 pm

Post by xxvirusxx » Tue Jan 01, 2019 5:13 pm

@sanpanthera

I made ocmod

Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - RO
Who is online

Users browsing this forum: No registered users and 4 guests