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
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/
التعليمات باللغة العربية على الرابط التالي
https://www.opencartarab.com/docs
استضافة اوبن كارت العرب
https://host.opencartarab.com
"We help each other to grow". That's the opencart community!
All free mods
Home Based Ebay business Opportunity(not ads)
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
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"
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>
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>
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.
Users browsing this forum: No registered users and 32 guests