Version Notes
First stable release
Download this release
Release Info
Developer | Magento Core Team |
Extension | Magmodules_Feedbackcompany |
Version | 1.1.0 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.1.0
- app/code/local/Magmodules/Feedbackcompany/Block/Adminhtml/Widget/Grid/Log.php +1 -1
- app/code/local/Magmodules/Feedbackcompany/Helper/Data.php +1 -1
- app/code/local/Magmodules/Feedbackcompany/Model/Api.php +149 -54
- app/code/local/Magmodules/Feedbackcompany/Model/System/Config/Source/Attribute.php +43 -0
- app/code/local/Magmodules/Feedbackcompany/Model/System/Config/Source/Category.php +66 -0
- app/code/local/Magmodules/Feedbackcompany/Model/System/Config/Source/Reviewlink.php +27 -0
- app/code/local/Magmodules/Feedbackcompany/etc/config.xml +5 -1
- app/code/local/Magmodules/Feedbackcompany/etc/system.xml +48 -3
- app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/left.phtml +1 -1
- app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/right.phtml +1 -1
- app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/richsnippets.phtml +2 -3
- app/locale/en_US/Magmodules_Feedbackcompany.csv +14 -1
- app/locale/nl_NL/Magmodules_Feedbackcompany.csv +16 -3
- package.xml +4 -4
- skin/frontend/base/default/magmodules/feedbackcompany/style.css +1 -1
app/code/local/Magmodules/Feedbackcompany/Block/Adminhtml/Widget/Grid/Log.php
CHANGED
@@ -49,7 +49,7 @@ class Magmodules_Feedbackcompany_Block_Adminhtml_Widget_Grid_Log extends Mage_Ad
|
|
49 |
$order = Mage::getModel('sales/order')->load($row->getOrderId());
|
50 |
$increment_id = $order->getIncrementId();
|
51 |
$order_url = Mage::helper('adminhtml')->getUrl("adminhtml/sales_order/view", array('order_id'=> $row->getOrderId()));
|
52 |
-
$msg = Mage::helper('feedbackcompany')->__('%s -
|
53 |
}
|
54 |
}
|
55 |
|
49 |
$order = Mage::getModel('sales/order')->load($row->getOrderId());
|
50 |
$increment_id = $order->getIncrementId();
|
51 |
$order_url = Mage::helper('adminhtml')->getUrl("adminhtml/sales_order/view", array('order_id'=> $row->getOrderId()));
|
52 |
+
$msg = Mage::helper('feedbackcompany')->__('%s - %s', '<a href="' . $order_url . '">#' . $increment_id .'</a>', $row->getResponse());
|
53 |
}
|
54 |
}
|
55 |
|
app/code/local/Magmodules/Feedbackcompany/Helper/Data.php
CHANGED
@@ -36,7 +36,7 @@ class Magmodules_Feedbackcompany_Helper_Data extends Mage_Core_Helper_Abstract {
|
|
36 |
|
37 |
function getExternalLink() {
|
38 |
if(Mage::getStoreConfig('feedbackcompany/general/url')) {
|
39 |
-
return Mage::helper('feedbackcompany')->__('
|
40 |
} else {
|
41 |
return false;
|
42 |
}
|
36 |
|
37 |
function getExternalLink() {
|
38 |
if(Mage::getStoreConfig('feedbackcompany/general/url')) {
|
39 |
+
return Mage::helper('feedbackcompany')->__('via') . ' <a href="' . Mage::getStoreConfig('feedbackcompany/general/url'). '" target="_blank">Feedbackcompany.nl</a>';
|
40 |
} else {
|
41 |
return false;
|
42 |
}
|
app/code/local/Magmodules/Feedbackcompany/Model/Api.php
CHANGED
@@ -57,77 +57,172 @@ class Magmodules_Feedbackcompany_Model_Api extends Mage_Core_Model_Abstract {
|
|
57 |
}
|
58 |
|
59 |
public function sendInvitation($order) {
|
60 |
-
|
61 |
$store_id = $order->getStoreId();
|
62 |
-
$start_time = microtime(true);
|
63 |
-
$crontype = 'orderupdate';
|
64 |
-
$order_id = $order->getIncrementId();
|
65 |
-
$api_id = Mage::getStoreConfig('feedbackcompany/general/api_id', $store_id);
|
66 |
-
$api_key = Mage::getStoreConfig('feedbackcompany/invitation/connector', $store_id);
|
67 |
-
$delay = Mage::getStoreConfig('feedbackcompany/invitation/delay', $store_id);
|
68 |
-
$remind_delay = Mage::getStoreConfig('feedbackcompany/invitation/remind_delay', $store_id);
|
69 |
-
$resend = Mage::getStoreConfig('feedbackcompany/invitation/resend', $store_id);
|
70 |
-
$min_order = Mage::getStoreConfig('feedbackcompany/invitation/min_order_total', $store_id);
|
71 |
$inv_status = Mage::getStoreConfig('feedbackcompany/invitation/status', $store_id);
|
72 |
-
$email = strtolower($order->getCustomerEmail());
|
73 |
-
$order_number = $order->getIncrementID();
|
74 |
-
$order_total = $order->getGrandTotal();
|
75 |
-
$aanhef = urlencode($order->getCustomerName());
|
76 |
-
$check_sum = 0;
|
77 |
-
$products = array();
|
78 |
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
$products = implode(',', $products);
|
84 |
|
85 |
-
|
86 |
-
|
87 |
-
$check_sum += ord($email[$i]);
|
88 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
|
90 |
-
|
91 |
-
|
92 |
-
$
|
93 |
-
$
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
$
|
103 |
-
|
104 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
} else {
|
106 |
$response_html = 'No response from https://connect.feedbackcompany.nl';
|
107 |
}
|
108 |
-
|
109 |
// Write to log
|
110 |
-
$writelog = Mage::getModel('feedbackcompany/log')->addToLog('invitation', $order->getStoreId(), '', $response_html, (microtime(true) - $start_time), $crontype, $url . '?' . $
|
111 |
return true;
|
112 |
-
}
|
113 |
-
} else {
|
114 |
-
return false;
|
115 |
}
|
|
|
116 |
}
|
117 |
|
118 |
public function getStoreIds() {
|
119 |
-
$
|
120 |
-
$
|
121 |
-
$
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
$storeids[] = $result['scope_id'];
|
128 |
}
|
129 |
}
|
130 |
-
return $
|
131 |
}
|
132 |
|
133 |
-
}
|
57 |
}
|
58 |
|
59 |
public function sendInvitation($order) {
|
60 |
+
|
61 |
$store_id = $order->getStoreId();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
$inv_status = Mage::getStoreConfig('feedbackcompany/invitation/status', $store_id);
|
|
|
|
|
|
|
|
|
|
|
|
|
63 |
|
64 |
+
$date_now = Mage::getModel('core/date')->timestamp(time());
|
65 |
+
$date_order = Mage::getModel('core/date')->timestamp($order->getCreatedAt());
|
66 |
+
$date_diff = (($date_order - $date_now) / 86400);
|
67 |
+
$backlog = Mage::getStoreConfig('feedbackcompany/invitation/backlog', $store_id);
|
|
|
68 |
|
69 |
+
if($backlog < 1) {
|
70 |
+
$backlog = 30;
|
|
|
71 |
}
|
72 |
+
|
73 |
+
if(($order->getStatus() == $inv_status) && ($date_diff < $backlog)) {
|
74 |
+
|
75 |
+
$start_time = microtime(true);
|
76 |
+
$crontype = 'orderupdate';
|
77 |
+
$order_id = $order->getIncrementId();
|
78 |
+
$api_id = Mage::getStoreConfig('feedbackcompany/general/api_id', $store_id);
|
79 |
+
$api_key = Mage::getStoreConfig('feedbackcompany/invitation/connector', $store_id);
|
80 |
+
$delay = Mage::getStoreConfig('feedbackcompany/invitation/delay', $store_id);
|
81 |
+
$resend = Mage::getStoreConfig('feedbackcompany/invitation/resend', $store_id);
|
82 |
+
$remind_delay = Mage::getStoreConfig('feedbackcompany/invitation/remind_delay', $store_id);
|
83 |
+
$min_order = Mage::getStoreConfig('feedbackcompany/invitation/min_order_total', $store_id);
|
84 |
+
$exclude_cat = Mage::getStoreConfig('feedbackcompany/invitation/exclude_category', $store_id);
|
85 |
+
$productreviews = Mage::getStoreConfig('feedbackcompany/invitation/productreviews', $store_id);
|
86 |
+
$email = $order->getCustomerEmail();
|
87 |
+
$order_number = $order->getIncrementID();
|
88 |
+
$order_total = $order->getGrandTotal();
|
89 |
+
$aanhef = $order->getCustomerName();
|
90 |
+
$check_sum = 0;
|
91 |
+
$categories = array();
|
92 |
+
$exclude_reason = array();
|
93 |
+
$request = array();
|
94 |
+
|
95 |
+
// SendInivation Request
|
96 |
+
$request['action'] = 'sendInvitation';
|
97 |
+
|
98 |
+
// Exclude by Category
|
99 |
+
if($exclude_cat) {
|
100 |
+
$excl_cats = Mage::getStoreConfig('feedbackcompany/invitation/exclude_categories', $store_id);
|
101 |
+
$excl_categories = explode(',', $excl_cats);
|
102 |
+
} else {
|
103 |
+
$excl_categories = '';
|
104 |
+
}
|
105 |
+
|
106 |
+
// Get all Products
|
107 |
+
$filtercode = array(); $i = 1;
|
108 |
+
$websiteUrl = Mage::app()->getStore($store_id)->getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
|
109 |
|
110 |
+
foreach($order->getAllVisibleItems() as $item) {
|
111 |
+
$filtercode[] = urlencode($item->getSku());
|
112 |
+
$filtercode[] = urlencode($item->getName());
|
113 |
+
if($productreviews) {
|
114 |
+
$product = Mage::getModel('catalog/product')->setStoreId($store_id)->load($item->getProductId());
|
115 |
+
if(($product->getStatus() == '1') && ($product->getVisibility() != '1')) {
|
116 |
+
$var_url = urlencode('product_url[' .$i. ']');
|
117 |
+
$var_text = urlencode('product_text[' .$i. ']');
|
118 |
+
if($product->getUrlPath()) {
|
119 |
+
$deeplink = $websiteUrl . $product->getUrlPath();
|
120 |
+
$request[$var_url] = urlencode($deeplink);
|
121 |
+
$product_text = str_replace('{{name}}', $product->getName(), Mage::getStoreConfig('feedbackcompany/invitation/productreviews_text', $store_id));
|
122 |
+
$request[$var_text] = urlencode($product_text);
|
123 |
+
$i++;
|
124 |
+
}
|
125 |
+
}
|
126 |
+
}
|
127 |
+
|
128 |
+
if($exclude_cat) {
|
129 |
+
if(!$product) {
|
130 |
+
$product = Mage::getModel('catalog/product')->setStoreId($store_id)->load($item->getProductId());
|
131 |
+
}
|
132 |
+
$categories = array_merge($categories, $product->getCategoryIds());
|
133 |
+
}
|
134 |
+
}
|
135 |
+
|
136 |
+
$filtercode = implode(',', $filtercode);
|
137 |
+
|
138 |
+
// Get Checksum
|
139 |
+
for($i = 0; $i < strlen($email); $i++) {
|
140 |
+
$check_sum += ord($email[$i]);
|
141 |
+
}
|
142 |
+
|
143 |
+
$exclude = 0;
|
144 |
+
if($min_order >= $order_total) {
|
145 |
+
$exclude = 1;
|
146 |
+
$exclude_reason[] = Mage::helper('feedbackcompany')->__('Below minimum order value');
|
147 |
+
}
|
148 |
+
|
149 |
+
if($order->getStatus() != $inv_status) {
|
150 |
+
$exclude = 1;
|
151 |
+
}
|
152 |
+
|
153 |
+
if($excl_categories) {
|
154 |
+
foreach($categories as $cat) {
|
155 |
+
if(in_array($cat, $excl_categories)) {
|
156 |
+
$exclude = 1;
|
157 |
+
$exclude_reason[] = Mage::helper('feedbackcompany')->__('Category is excluded');
|
158 |
+
}
|
159 |
+
}
|
160 |
+
}
|
161 |
+
|
162 |
+
if($exclude == 1) {
|
163 |
+
if($exclude_reason) {
|
164 |
+
$reason = implode(',', array_unique($exclude_reason));
|
165 |
+
$reason = 'Not invited: ' . $reason;
|
166 |
+
$writelog = Mage::getModel('feedbackcompany/log')->addToLog('invitation', $order->getStoreId(), '', $reason, (microtime(true) - $start_time), $crontype, '', $order->getId());
|
167 |
+
} else {
|
168 |
+
return false;
|
169 |
+
}
|
170 |
+
} else {
|
171 |
+
|
172 |
+
$request['filtercode'] = $filtercode;
|
173 |
+
$request['Chksum'] = $check_sum;
|
174 |
+
$request['orderNumber'] = $order_number;
|
175 |
+
$request['resendIfDouble'] = $resend;
|
176 |
+
$request['remindDelay'] = $remind_delay;
|
177 |
+
$request['delay'] = $delay;
|
178 |
+
$request['aanhef'] = urlencode($aanhef);
|
179 |
+
$request['user'] = urlencode($email);
|
180 |
+
$request['connector'] = $api_key;
|
181 |
|
182 |
+
$post = '';
|
183 |
+
foreach(array_reverse($request) as $key => $value) {
|
184 |
+
$post .= '&' . $key . '=' . $value;
|
185 |
+
}
|
186 |
+
$post = trim($post, '&');
|
187 |
+
|
188 |
+
// Connect to API
|
189 |
+
$url = 'https://connect.feedbackcompany.nl/feedback/';
|
190 |
+
$feedbackconnect = curl_init($url . '?' . $post);
|
191 |
+
curl_setopt($feedbackconnect, CURLOPT_VERBOSE, 1);
|
192 |
+
curl_setopt($feedbackconnect, CURLOPT_FAILONERROR, false);
|
193 |
+
curl_setopt($feedbackconnect, CURLOPT_HEADER, 0);
|
194 |
+
curl_setopt($feedbackconnect, CURLOPT_FOLLOWLOCATION, 1);
|
195 |
+
curl_setopt($feedbackconnect, CURLOPT_RETURNTRANSFER, 1);
|
196 |
+
curl_setopt($feedbackconnect, CURLOPT_SSL_VERIFYPEER, false);
|
197 |
+
$response = curl_exec($feedbackconnect);
|
198 |
+
curl_close($feedbackconnect);
|
199 |
+
|
200 |
+
if($response) {
|
201 |
+
$response_html = $response;
|
202 |
} else {
|
203 |
$response_html = 'No response from https://connect.feedbackcompany.nl';
|
204 |
}
|
205 |
+
|
206 |
// Write to log
|
207 |
+
$writelog = Mage::getModel('feedbackcompany/log')->addToLog('invitation', $order->getStoreId(), '', $response_html, (microtime(true) - $start_time), $crontype, $url . '?' . $post, $order->getId());
|
208 |
return true;
|
209 |
+
}
|
|
|
|
|
210 |
}
|
211 |
+
return false;
|
212 |
}
|
213 |
|
214 |
public function getStoreIds() {
|
215 |
+
$store_ids = array(); $api_ids = array();
|
216 |
+
$stores = Mage::getModel('core/store')->getCollection();
|
217 |
+
foreach ($stores as $store) {
|
218 |
+
if($store->getIsActive()) {
|
219 |
+
$api_id = Mage::getStoreConfig('feedbackcompany/general/api_id', $store->getId());
|
220 |
+
if(!in_array($api_id, $api_ids)) {
|
221 |
+
$api_ids[] = $api_id; $store_ids[] = $store->getId();
|
222 |
+
}
|
|
|
223 |
}
|
224 |
}
|
225 |
+
return $store_ids;
|
226 |
}
|
227 |
|
228 |
+
}
|
app/code/local/Magmodules/Feedbackcompany/Model/System/Config/Source/Attribute.php
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu - http://www.magmodules.eu
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Magmodules
|
16 |
+
* @package Magmodules_Feedbackcompany
|
17 |
+
* @author Magmodules <info@magmodules.eu)
|
18 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
class Magmodules_Feedbackcompany_Model_System_Config_Source_Attribute {
|
23 |
+
|
24 |
+
public function toOptionArray() {
|
25 |
+
$attributes = Mage::getResourceModel('catalog/product_attribute_collection')
|
26 |
+
->addVisibleFilter()
|
27 |
+
->addFieldToFilter('frontend_input', array('boolean'));
|
28 |
+
|
29 |
+
$optionArray[] = array(
|
30 |
+
'label' => Mage::helper('feedbackcompany')->__('-- Select Yes/No Attribute'),
|
31 |
+
'value' => ''
|
32 |
+
);
|
33 |
+
|
34 |
+
foreach($attributes as $attribute) {
|
35 |
+
$optionArray[] = array(
|
36 |
+
'label' => $attribute->getData('frontend_label'),
|
37 |
+
'value' => $attribute->getData('attribute_code')
|
38 |
+
);
|
39 |
+
}
|
40 |
+
|
41 |
+
return $optionArray;
|
42 |
+
}
|
43 |
+
}
|
app/code/local/Magmodules/Feedbackcompany/Model/System/Config/Source/Category.php
ADDED
@@ -0,0 +1,66 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu - http://www.magmodules.eu
|
4 |
+
*
|
5 |
+
* NOTICE OF LICENSE
|
6 |
+
*
|
7 |
+
* This source file is subject to the Open Software License (OSL 3.0)
|
8 |
+
* that is bundled with this package in the file LICENSE.txt.
|
9 |
+
* It is also available through the world-wide-web at this URL:
|
10 |
+
* http://opensource.org/licenses/osl-3.0.php
|
11 |
+
* If you did not receive a copy of the license and are unable to
|
12 |
+
* obtain it through the world-wide-web, please send an email
|
13 |
+
* to info@magmodules.eu so we can send you a copy immediately.
|
14 |
+
*
|
15 |
+
* @category Magmodules
|
16 |
+
* @package Magmodules_Feedbackcompany
|
17 |
+
* @author Magmodules <info@magmodules.eu)
|
18 |
+
* @copyright Copyright (c) 2015 (http://www.magmodules.eu)
|
19 |
+
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
20 |
+
*/
|
21 |
+
|
22 |
+
class Magmodules_Feedbackcompany_Model_System_Config_Source_Category {
|
23 |
+
|
24 |
+
public function toOptionArray($addEmpty = true){
|
25 |
+
$options = array();
|
26 |
+
|
27 |
+
$collection = Mage::getResourceModel('catalog/category_collection');
|
28 |
+
$collection->addAttributeToSelect('name')->addPathFilter('^1/[0-9/]+')->load();
|
29 |
+
$cats = array();
|
30 |
+
foreach ($collection as $category) {
|
31 |
+
$cat = new stdClass();
|
32 |
+
$cat->label = $category->getName();
|
33 |
+
$cat->value = $category->getId();
|
34 |
+
$cat->level = $category->getLevel();
|
35 |
+
$cat->parentid = $category->getParentId();
|
36 |
+
$cats[$cat->value] = $cat;
|
37 |
+
}
|
38 |
+
|
39 |
+
foreach($cats as $id => $cat){
|
40 |
+
if(isset($cats[$cat->parentid])){
|
41 |
+
if(!isset($cats[$cat->parentid]->child)) {
|
42 |
+
$cats[$cat->parentid]->child = array();
|
43 |
+
}
|
44 |
+
$cats[$cat->parentid]->child[] =& $cats[$id];
|
45 |
+
}
|
46 |
+
}
|
47 |
+
foreach($cats as $id => $cat){
|
48 |
+
if(!isset($cats[$cat->parentid])){
|
49 |
+
$stack = array($cats[$id]);
|
50 |
+
while(count($stack)>0 ){
|
51 |
+
$opt = array_pop($stack);
|
52 |
+
$option = array('label' => ($opt->level>1 ? str_repeat('- ', $opt->level-1) : '') . $opt->label, 'value' => $opt->value);
|
53 |
+
array_push($options, $option);
|
54 |
+
if(isset($opt->child) && count($opt->child)) {
|
55 |
+
foreach(array_reverse($opt->child) as $child) {
|
56 |
+
array_push($stack, $child);
|
57 |
+
}
|
58 |
+
}
|
59 |
+
}
|
60 |
+
}
|
61 |
+
}
|
62 |
+
unset($cats);
|
63 |
+
return $options;
|
64 |
+
}
|
65 |
+
|
66 |
+
}
|
app/code/local/Magmodules/Feedbackcompany/Model/System/Config/Source/Reviewlink.php
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Magmodules.eu - http://www.magmodules.eu - info@magmodules.eu
|
4 |
+
* =============================================================
|
5 |
+
* NOTICE OF LICENSE [Single domain license]
|
6 |
+
* This source file is subject to the EULA that is
|
7 |
+
* available through the world-wide-web at:
|
8 |
+
* http://www.magmodules.eu/license-agreement/
|
9 |
+
* =============================================================
|
10 |
+
* @category Magmodules
|
11 |
+
* @package Magmodules_Reviewemail
|
12 |
+
* @author Magmodules <info@magmodules.eu>
|
13 |
+
* @copyright Copyright (c) 2013 (http://www.magmodules.eu)
|
14 |
+
* @license http://www.magmodules.eu/license-agreement/
|
15 |
+
* =============================================================
|
16 |
+
*/
|
17 |
+
|
18 |
+
class Magmodules_Feedbackcompany_Model_System_Config_Source_Reviewlink
|
19 |
+
{
|
20 |
+
public function toOptionArray()
|
21 |
+
{
|
22 |
+
$reviewlink = array();
|
23 |
+
$reviewlink[] = array('value'=>'1', 'label'=> Mage::helper('feedbackcompany')->__('Product Review Page'));
|
24 |
+
$reviewlink[] = array('value'=>'2', 'label'=> Mage::helper('feedbackcompany')->__('Product Page'));
|
25 |
+
return $reviewlink;
|
26 |
+
}
|
27 |
+
}
|
app/code/local/Magmodules/Feedbackcompany/etc/config.xml
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Magmodules_Feedbackcompany>
|
26 |
-
<version>1.0
|
27 |
</Magmodules_Feedbackcompany>
|
28 |
</modules>
|
29 |
<global>
|
@@ -213,6 +213,10 @@
|
|
213 |
<backlog>20</backlog>
|
214 |
<remind_delay>0</remind_delay>
|
215 |
<resend>1</resend>
|
|
|
|
|
|
|
|
|
216 |
</invitation>
|
217 |
<frontend>
|
218 |
<enabled>0</enabled>
|
23 |
<config>
|
24 |
<modules>
|
25 |
<Magmodules_Feedbackcompany>
|
26 |
+
<version>1.1.0</version>
|
27 |
</Magmodules_Feedbackcompany>
|
28 |
</modules>
|
29 |
<global>
|
213 |
<backlog>20</backlog>
|
214 |
<remind_delay>0</remind_delay>
|
215 |
<resend>1</resend>
|
216 |
+
<productreviews>0</productreviews>
|
217 |
+
<productreviews_text><![CDATA[Write a review about {{name}}]]></productreviews_text>
|
218 |
+
<min_order_total>0</min_order_total>
|
219 |
+
<exclude_category>0</exclude_category>
|
220 |
</invitation>
|
221 |
<frontend>
|
222 |
<enabled>0</enabled>
|
app/code/local/Magmodules/Feedbackcompany/etc/system.xml
CHANGED
@@ -473,16 +473,61 @@
|
|
473 |
<depends><enabled>1</enabled></depends>
|
474 |
<comment>If yes, customers will get new review reminders for every new order.</comment>
|
475 |
</resend>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
476 |
<min_order_total translate="label">
|
477 |
<label>Minimum Order Total</label>
|
478 |
<frontend_type>text</frontend_type>
|
479 |
-
<sort_order>
|
480 |
<show_in_default>1</show_in_default>
|
481 |
<show_in_website>1</show_in_website>
|
482 |
<show_in_store>1</show_in_store>
|
483 |
<depends><enabled>1</enabled></depends>
|
484 |
-
<comment><![CDATA[Invitation e-mail is sent only for order above this value. Use 0 for no minimum]]></comment>
|
485 |
-
</min_order_total>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
486 |
</fields>
|
487 |
</invitation>
|
488 |
<log translate="label">
|
473 |
<depends><enabled>1</enabled></depends>
|
474 |
<comment>If yes, customers will get new review reminders for every new order.</comment>
|
475 |
</resend>
|
476 |
+
|
477 |
+
<productreviews translate="label">
|
478 |
+
<label>Add Product links</label>
|
479 |
+
<frontend_type>select</frontend_type>
|
480 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
481 |
+
<sort_order>11</sort_order>
|
482 |
+
<show_in_default>1</show_in_default>
|
483 |
+
<show_in_website>1</show_in_website>
|
484 |
+
<show_in_store>1</show_in_store>
|
485 |
+
<depends><enabled>1</enabled></depends>
|
486 |
+
<comment>If yes, product links will be added to the review email, so people can leave a review about the product on your webshop</comment>
|
487 |
+
</productreviews>
|
488 |
+
<productreviews_text translate="label">
|
489 |
+
<label>Review Link Text</label>
|
490 |
+
<frontend_type>text</frontend_type>
|
491 |
+
<sort_order>13</sort_order>
|
492 |
+
<show_in_default>1</show_in_default>
|
493 |
+
<show_in_website>1</show_in_website>
|
494 |
+
<show_in_store>1</show_in_store>
|
495 |
+
<comment>Text of the product link, use {{name}} to show the productname.</comment>
|
496 |
+
<depends><enabled>1</enabled></depends>
|
497 |
+
</productreviews_text>
|
498 |
+
|
499 |
<min_order_total translate="label">
|
500 |
<label>Minimum Order Total</label>
|
501 |
<frontend_type>text</frontend_type>
|
502 |
+
<sort_order>21</sort_order>
|
503 |
<show_in_default>1</show_in_default>
|
504 |
<show_in_website>1</show_in_website>
|
505 |
<show_in_store>1</show_in_store>
|
506 |
<depends><enabled>1</enabled></depends>
|
507 |
+
<comment><![CDATA[Invitation e-mail is sent only for order above this value. Use 0 for no minimum.]]></comment>
|
508 |
+
</min_order_total>
|
509 |
+
<exclude_category translate="label">
|
510 |
+
<label>Exclude by Category</label>
|
511 |
+
<frontend_type>select</frontend_type>
|
512 |
+
<source_model>adminhtml/system_config_source_yesno</source_model>
|
513 |
+
<sort_order>22</sort_order>
|
514 |
+
<show_in_default>1</show_in_default>
|
515 |
+
<show_in_website>1</show_in_website>
|
516 |
+
<show_in_store>1</show_in_store>
|
517 |
+
<depends><enabled>1</enabled></depends>
|
518 |
+
|
519 |
+
</exclude_category>
|
520 |
+
<exclude_categories>
|
521 |
+
<label>Exclude following Categories</label>
|
522 |
+
<frontend_type>multiselect</frontend_type>
|
523 |
+
<source_model>feedbackcompany/system_config_source_category</source_model>
|
524 |
+
<sort_order>24</sort_order>
|
525 |
+
<show_in_default>1</show_in_default>
|
526 |
+
<show_in_website>1</show_in_website>
|
527 |
+
<show_in_store>1</show_in_store>
|
528 |
+
<depends><enabled>1</enabled></depends>
|
529 |
+
<comment><![CDATA[The invitation e-mail will not be sent whenever there is ordered a product from one of the selected categories.]]></comment>
|
530 |
+
</exclude_categories>
|
531 |
</fields>
|
532 |
</invitation>
|
533 |
<log translate="label">
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/left.phtml
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
</div>
|
30 |
<?php if($total->getPercentage() > 0): ?>
|
31 |
<?php if($this->getSnippetsEnabled('left')): ?>
|
32 |
-
<div class="block-content" itemscope itemtype="http://schema.org/
|
33 |
<p itemprop="name" class="company-name"><?php echo $total->getCompany(); ?></p>
|
34 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
35 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
29 |
</div>
|
30 |
<?php if($total->getPercentage() > 0): ?>
|
31 |
<?php if($this->getSnippetsEnabled('left')): ?>
|
32 |
+
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
33 |
<p itemprop="name" class="company-name"><?php echo $total->getCompany(); ?></p>
|
34 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
35 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/sidebar/right.phtml
CHANGED
@@ -29,7 +29,7 @@
|
|
29 |
</div>
|
30 |
<?php if($total->getPercentage() > 0): ?>
|
31 |
<?php if($this->getSnippetsEnabled('right')): ?>
|
32 |
-
<div class="block-content" itemscope itemtype="http://schema.org/
|
33 |
<p itemprop="name" class="company-name"><?php echo $total->getCompany(); ?></p>
|
34 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
35 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
29 |
</div>
|
30 |
<?php if($total->getPercentage() > 0): ?>
|
31 |
<?php if($this->getSnippetsEnabled('right')): ?>
|
32 |
+
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
33 |
<p itemprop="name" class="company-name"><?php echo $total->getCompany(); ?></p>
|
34 |
<div class="total-block-stars"><span style="width: <?php echo $total->getPercentage(); ?>%"></span></div>
|
35 |
<div class="total-block-text" itemprop="aggregateRating" itemscope itemtype="http://schema.org/AggregateRating">
|
app/design/frontend/base/default/template/magmodules/feedbackcompany/widget/richsnippets.phtml
CHANGED
@@ -24,11 +24,10 @@
|
|
24 |
<?php if(Mage::getBlockSingleton('page/html_header')->getIsHomePage()) { ?>
|
25 |
<div class="feedbackcompany-snippets">
|
26 |
<?php echo $this->getHtmlStars($snippets->getPercentage()); ?>
|
27 |
-
<div
|
28 |
-
<meta itemprop="name" content="<?php echo $snippets->getCompany(); ?>">
|
29 |
<div itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
|
30 |
<meta itemprop="bestRating" content="100">
|
31 |
-
<p><?php echo Mage::helper('feedbackcompany')->__('Rating %s based on %s customer reviews', '<span itemprop="ratingValue">' . $snippets->getPercentage() . '</span>%', '<span itemprop="
|
32 |
</div>
|
33 |
</div>
|
34 |
</div>
|
24 |
<?php if(Mage::getBlockSingleton('page/html_header')->getIsHomePage()) { ?>
|
25 |
<div class="feedbackcompany-snippets">
|
26 |
<?php echo $this->getHtmlStars($snippets->getPercentage()); ?>
|
27 |
+
<div class="block-content" itemscope itemtype="http://schema.org/WebPage">
|
|
|
28 |
<div itemprop="aggregateRating" itemscope="itemscope" itemtype="http://schema.org/AggregateRating">
|
29 |
<meta itemprop="bestRating" content="100">
|
30 |
+
<p><?php echo Mage::helper('feedbackcompany')->__('Rating %s based on %s customer reviews', '<span itemprop="ratingValue">' . $snippets->getPercentage() . '</span>%', '<span itemprop="ratingCount">' . $snippets->getVotes() . '</span>') ?> <?php echo $this->getExternalLink(); ?> </p>
|
31 |
</div>
|
32 |
</div>
|
33 |
</div>
|
app/locale/en_US/Magmodules_Feedbackcompany.csv
CHANGED
@@ -7,12 +7,15 @@
|
|
7 |
"Add Rich Snippets","Add Rich Snippets"
|
8 |
"Add to Sidebar","Add to Sidebar"
|
9 |
"Add to Sidebar Homepage","Add to Sidebar Homepage"
|
|
|
10 |
"Aftersales:","Aftersales:"
|
11 |
"Age","Age"
|
12 |
"Api URL","Api URL"
|
13 |
"Are you sure you want to cleanup logfiles?","Are you sure you want to cleanup logfiles?"
|
14 |
"Are you sure you want to delete all reviews?","Are you sure you want to delete all reviews?"
|
15 |
"Auto Cleaning","Auto Cleaning"
|
|
|
|
|
16 |
"Can do better:","Can do better:"
|
17 |
"Can be obtained from the Feedbackcompany Dashboard","Can be obtained from the Feedbackcompany Dashboard"
|
18 |
"Checkout process:","Checkout process:"
|
@@ -33,21 +36,26 @@
|
|
33 |
"Every Hour","Every Hour"
|
34 |
"Every other Hour","Every other Hour"
|
35 |
"External (Feedbackcompany.nl)","External (Feedbackcompany.nl)"
|
|
|
|
|
36 |
"Feedbackcompany Custom Blocks","Feedbackcompany Custom Blocks"
|
37 |
"Feedbackcompany Import Reviews","Feedbackcompany Import Reviews"
|
38 |
"Feedbackcompany Log Settings","Feedbackcompany Log Settings"
|
39 |
"Feedbackcompany Overview Page","Feedbackcompany Overview Page"
|
40 |
"Feedbackcompany Reviews Sidebar","Feedbackcompany Reviews Sidebar"
|
41 |
"Female","Female"
|
|
|
42 |
"Gender","Gender"
|
43 |
"General configuration","General configuration"
|
44 |
"If yes, customers will get new review reminders for every new order.","If yes, customers will get new review reminders for every new order."
|
|
|
|
|
45 |
"Information:","Information:"
|
46 |
"Internal (/feedbackcompany)","Internal (/feedbackcompany)"
|
47 |
"Invitation","Invitation"
|
48 |
"Invitation Call","Invitation Call"
|
49 |
"Invitation to write the customer experience","Invitation to write the customer experience"
|
50 |
-
"Invitation e-mail is sent only for order above this value. Use 0 for no minimum","Invitation e-mail is sent only for order above this value. Use 0 for no minimum"
|
51 |
"Last Update","Last Update"
|
52 |
"Leadtime:","Leadtime:"
|
53 |
"Left","Left"
|
@@ -63,6 +71,8 @@
|
|
63 |
"Meta Keywords","Meta Keywords"
|
64 |
"Minimum Order Total","Minimum Order Total"
|
65 |
"No","No"
|
|
|
|
|
66 |
"None","None"
|
67 |
"Number of Reviews","Number of Reviews"
|
68 |
"Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Feedbackcompany.nl.","Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Feedbackcompany.nl."
|
@@ -83,6 +93,7 @@
|
|
83 |
"Review","Review"
|
84 |
"Reviews","Reviews"
|
85 |
"Reviews Cron","Reviews Cron"
|
|
|
86 |
"Rich Snippets is a schema.org markup that makes it possible to give richer and more specific information. <br/> The Rich Snippets will show your store rating in the google search engine results. <br/><br/>Use: {{block type=""feedbackcompany/snippets"" name=""webwinkelsnippets""}} to call the block on the homepage.<br/><br/>","Rich Snippets is a schema.org markup that makes it possible to give richer and more specific information. <br/> The Rich Snippets will show your store rating in the google search engine results. <br/><br/>Use: {{block type=""feedbackcompany/snippets"" name=""webwinkelsnippets""}} to call the block on the homepage.<br/><br/>"
|
87 |
"Right","Right"
|
88 |
"Right Sidebar","Right Sidebar"
|
@@ -101,11 +112,13 @@
|
|
101 |
"Specify at which status you want to send the invitation. Default is ""Completed"","Specify at which status you want to send the invitation. Default is ""Completed""
|
102 |
"Succefully deleted all %s saved review(s).","Succefully deleted all %s saved review(s)."
|
103 |
"Test API","Test API"
|
|
|
104 |
"The Feedback Company","The Feedback Company"
|
105 |
"The Feedback Company - Logs","The Feedback Company - Logs"
|
106 |
"The Feedback Company - Reviews","The Feedback Company - Reviews"
|
107 |
"The Feedback Company ID","The Feedback Company ID"
|
108 |
"The Feedback Company Permission Setting","The Feedback Company Permission Setting"
|
|
|
109 |
"This will ensure that the customer receives the invitation shortly after receiving the product and not before. This increases the opportunity that the client will share his experience.","This will ensure that the customer receives the invitation shortly after receiving the product and not before. This increases the opportunity that the client will share his experience."
|
110 |
"Time","Time"
|
111 |
"Total score updated","Total score updated"
|
7 |
"Add Rich Snippets","Add Rich Snippets"
|
8 |
"Add to Sidebar","Add to Sidebar"
|
9 |
"Add to Sidebar Homepage","Add to Sidebar Homepage"
|
10 |
+
"Add Product links","Add Product links"
|
11 |
"Aftersales:","Aftersales:"
|
12 |
"Age","Age"
|
13 |
"Api URL","Api URL"
|
14 |
"Are you sure you want to cleanup logfiles?","Are you sure you want to cleanup logfiles?"
|
15 |
"Are you sure you want to delete all reviews?","Are you sure you want to delete all reviews?"
|
16 |
"Auto Cleaning","Auto Cleaning"
|
17 |
+
"Below minimum order value","Below minimum order value"
|
18 |
+
"Category is excluded","Category is excluded"
|
19 |
"Can do better:","Can do better:"
|
20 |
"Can be obtained from the Feedbackcompany Dashboard","Can be obtained from the Feedbackcompany Dashboard"
|
21 |
"Checkout process:","Checkout process:"
|
36 |
"Every Hour","Every Hour"
|
37 |
"Every other Hour","Every other Hour"
|
38 |
"External (Feedbackcompany.nl)","External (Feedbackcompany.nl)"
|
39 |
+
"Exclude by Category","Exclude by Category"
|
40 |
+
"Exclude following Categories","Exclude following Categories"
|
41 |
"Feedbackcompany Custom Blocks","Feedbackcompany Custom Blocks"
|
42 |
"Feedbackcompany Import Reviews","Feedbackcompany Import Reviews"
|
43 |
"Feedbackcompany Log Settings","Feedbackcompany Log Settings"
|
44 |
"Feedbackcompany Overview Page","Feedbackcompany Overview Page"
|
45 |
"Feedbackcompany Reviews Sidebar","Feedbackcompany Reviews Sidebar"
|
46 |
"Female","Female"
|
47 |
+
"Filter Options","Filter Options"
|
48 |
"Gender","Gender"
|
49 |
"General configuration","General configuration"
|
50 |
"If yes, customers will get new review reminders for every new order.","If yes, customers will get new review reminders for every new order."
|
51 |
+
"If yes, product links will be added to the review email.","If yes, product links will be added to the review email."
|
52 |
+
"If yes, product links will be added to the review email, so people can leave a review about the product on your webshop","If yes, product links will be added to the review email, so people can leave a review about the product on your webshop"
|
53 |
"Information:","Information:"
|
54 |
"Internal (/feedbackcompany)","Internal (/feedbackcompany)"
|
55 |
"Invitation","Invitation"
|
56 |
"Invitation Call","Invitation Call"
|
57 |
"Invitation to write the customer experience","Invitation to write the customer experience"
|
58 |
+
"Invitation e-mail is sent only for order above this value. Use 0 for no minimum.","Invitation e-mail is sent only for order above this value. Use 0 for no minimum"
|
59 |
"Last Update","Last Update"
|
60 |
"Leadtime:","Leadtime:"
|
61 |
"Left","Left"
|
71 |
"Meta Keywords","Meta Keywords"
|
72 |
"Minimum Order Total","Minimum Order Total"
|
73 |
"No","No"
|
74 |
+
"No response from https://connect.feedbackcompany.nl","No response from https://connect.feedbackcompany.nl"
|
75 |
+
"Not invited: Category is excluded","Not invited: Category is excluded"
|
76 |
"None","None"
|
77 |
"Number of Reviews","Number of Reviews"
|
78 |
"Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Feedbackcompany.nl.","Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Feedbackcompany.nl."
|
93 |
"Review","Review"
|
94 |
"Reviews","Reviews"
|
95 |
"Reviews Cron","Reviews Cron"
|
96 |
+
"Review Link Text","Review Link Text"
|
97 |
"Rich Snippets is a schema.org markup that makes it possible to give richer and more specific information. <br/> The Rich Snippets will show your store rating in the google search engine results. <br/><br/>Use: {{block type=""feedbackcompany/snippets"" name=""webwinkelsnippets""}} to call the block on the homepage.<br/><br/>","Rich Snippets is a schema.org markup that makes it possible to give richer and more specific information. <br/> The Rich Snippets will show your store rating in the google search engine results. <br/><br/>Use: {{block type=""feedbackcompany/snippets"" name=""webwinkelsnippets""}} to call the block on the homepage.<br/><br/>"
|
98 |
"Right","Right"
|
99 |
"Right Sidebar","Right Sidebar"
|
112 |
"Specify at which status you want to send the invitation. Default is ""Completed"","Specify at which status you want to send the invitation. Default is ""Completed""
|
113 |
"Succefully deleted all %s saved review(s).","Succefully deleted all %s saved review(s)."
|
114 |
"Test API","Test API"
|
115 |
+
"Text of the product link, use {{name}} to show the productname.","Text of the product link, use {{name}} to show the productname."
|
116 |
"The Feedback Company","The Feedback Company"
|
117 |
"The Feedback Company - Logs","The Feedback Company - Logs"
|
118 |
"The Feedback Company - Reviews","The Feedback Company - Reviews"
|
119 |
"The Feedback Company ID","The Feedback Company ID"
|
120 |
"The Feedback Company Permission Setting","The Feedback Company Permission Setting"
|
121 |
+
"The invitation e-mail will not be sent whenever there is ordered a product from one of the selected categories.","The invitation e-mail will not be sent whenever there is ordered a product from one of the selected categories."
|
122 |
"This will ensure that the customer receives the invitation shortly after receiving the product and not before. This increases the opportunity that the client will share his experience.","This will ensure that the customer receives the invitation shortly after receiving the product and not before. This increases the opportunity that the client will share his experience."
|
123 |
"Time","Time"
|
124 |
"Total score updated","Total score updated"
|
app/locale/nl_NL/Magmodules_Feedbackcompany.csv
CHANGED
@@ -7,12 +7,15 @@
|
|
7 |
"Add Rich Snippets","Voeg Rich Snippets toe"
|
8 |
"Add to Sidebar","Sidebar toevoegen"
|
9 |
"Add to Sidebar Homepage","Voeg toe aan sidebar op Homepage"
|
|
|
10 |
"Aftersales:","Aftersales:"
|
11 |
"Age","Leeftijd"
|
12 |
"Api URL","Api URL"
|
13 |
"Are you sure you want to cleanup logfiles?","Definitief de logfiles opschonen?"
|
14 |
"Are you sure you want to delete all reviews?","Definitief alle beoordelingen verwijderen?"
|
15 |
"Auto Cleaning","Automatisch opruimen"
|
|
|
|
|
16 |
"Can do better:","Kan beter doen:"
|
17 |
"Can be obtained from the Feedbackcompany Dashboard","Kan worden opgevraagd via het The Feedback Company account"
|
18 |
"Checkout process:","Afrekenproces:"
|
@@ -33,21 +36,26 @@
|
|
33 |
"Every Hour","Elk uur"
|
34 |
"Every other Hour","Om het uur"
|
35 |
"External (Feedbackcompany.nl)","Extern (Feedbackcompany.nl)"
|
|
|
|
|
36 |
"Feedbackcompany Custom Blocks","The Feedbackcompany Custom Blok"
|
37 |
"Feedbackcompany Import Reviews","The Feedbackcompany importeren beoordelingen"
|
38 |
"Feedbackcompany Log Settings","The Feedbackcompany log instellingen"
|
39 |
"Feedbackcompany Overview Page","The Feedbackcompany overzicht pagina"
|
40 |
"Feedbackcompany Reviews Sidebar","The Feedbackcompany beoordeling sidebar"
|
41 |
"Female","Vrouwlijk"
|
|
|
42 |
"Gender","Geslacht"
|
43 |
"General configuration","Algemene informatie"
|
44 |
"If yes, customers will get new review reminders for every new order.","Indien ja, klanten ontvangen een nieuwe herinnering bij elke bestelling."
|
|
|
|
|
45 |
"Information:","Informatie:"
|
46 |
"Internal (/feedbackcompany)","Intern (/feedbackcompany)"
|
47 |
"Invitation","Herinnering"
|
48 |
"Invitation Call","Herinnering e-mail"
|
49 |
"Invitation to write the customer experience","Herinnering om een beoordeling te schrijven"
|
50 |
-
"Invitation e-mail is sent only for order above this value. Use 0 for no minimum","De herinnering wordt alleen verstuurd boven deze orderwaarde. Gebruik 0 om geen minimum in te stellen."
|
51 |
"Last Update","Laatste Update"
|
52 |
"Leadtime:","Doorlooptijd:"
|
53 |
"Left","Links"
|
@@ -63,6 +71,8 @@
|
|
63 |
"Meta Keywords","Meta zoekwoorden"
|
64 |
"Minimum Order Total","Minimale order bedrag"
|
65 |
"No","Nee"
|
|
|
|
|
66 |
"None","Geen"
|
67 |
"Number of Reviews","Aantal beoordelingen"
|
68 |
"Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Feedbackcompany.nl.","Aantal dagen dat een order oud mag zijn alvorens de herinnering wordt verstuurd, als het wijzigen van de orderstatus langer duurt wordt er niks verstuurd."
|
@@ -74,7 +84,7 @@
|
|
74 |
"Process Manually","Voer handmatig uit"
|
75 |
"Product(s)","Product(en)"
|
76 |
"Purchase","Aankoop"
|
77 |
-
"Rating %s based on %s customer reviews","
|
78 |
"Regularly","Regelmaat"
|
79 |
"Remind Delay","Vertraging"
|
80 |
"Remove from Sidebar","Verwijder van sidebar"
|
@@ -84,9 +94,10 @@
|
|
84 |
"Reviews","Beoordelingen"
|
85 |
"Reviews Cron","Beoordeling Cron"
|
86 |
"Right","Rechts"
|
|
|
87 |
"Right Sidebar","Rechter Sidebar"
|
88 |
"Score","Score"
|
89 |
-
"Set to invisible","Stel in als niet zichtbaar"
|
90 |
"Set to visible","Stel in als zichtbaar"
|
91 |
"Select the schedule for automatic updating","Selecteer de planning voor de automatische update"
|
92 |
"Send customers automatically receive an invitation to share a customer experience.","Stuur klanten automatisch een e-mail met de herinnering om een beoordeling te schrijven."
|
@@ -100,6 +111,7 @@
|
|
100 |
"Specify at which status you want to send the invitation. Default is ""Completed"","Specificeer vanaf welke status de herinnering verzonden dient te worden. Standaard is ""Completed""
|
101 |
"Succefully deleted all %s saved review(s).","Alle %s opgeslagen beoordelingen zijn succesvol verwijdert."
|
102 |
"Test API","Test API"
|
|
|
103 |
"The Feedback Company","The Feedback Company"
|
104 |
"The Feedback Company - Logs","The Feedback Company - Logs"
|
105 |
"The Feedback Company - Reviews","The Feedback Company - Beoordelingen"
|
@@ -107,6 +119,7 @@
|
|
107 |
"The Feedback Company Permission Setting","The Feedback Company permissie Setting"
|
108 |
"This will ensure that the customer receives the invitation shortly after receiving the product and not before. This increases the opportunity that the client will share his experience.","Dit zal ervoor zorgen dat de klant na ontvangst van het product nogmaals een uitnodiging ontvangt. Dit vergroot de kans dat de klant zijn ervaring zal delen."
|
109 |
"Time","Tijd"
|
|
|
110 |
"Total score updated","Totaal score geüpdatet"
|
111 |
"Total of %d log record(s) deleted.","Een totaal van %d log rij(en) zijn verwijdert."
|
112 |
"Total of %d review(s) were added to the sidebar.","Een totaal van %d beoordeling(en) zijn aan de sidebar toegevoegd."
|
7 |
"Add Rich Snippets","Voeg Rich Snippets toe"
|
8 |
"Add to Sidebar","Sidebar toevoegen"
|
9 |
"Add to Sidebar Homepage","Voeg toe aan sidebar op Homepage"
|
10 |
+
"Add Product links","Product link toevoegen"
|
11 |
"Aftersales:","Aftersales:"
|
12 |
"Age","Leeftijd"
|
13 |
"Api URL","Api URL"
|
14 |
"Are you sure you want to cleanup logfiles?","Definitief de logfiles opschonen?"
|
15 |
"Are you sure you want to delete all reviews?","Definitief alle beoordelingen verwijderen?"
|
16 |
"Auto Cleaning","Automatisch opruimen"
|
17 |
+
"Below minimum order value","Beneden het minimale orderbedrag"
|
18 |
+
"Category is excluded","Categorie is uitgesloten"
|
19 |
"Can do better:","Kan beter doen:"
|
20 |
"Can be obtained from the Feedbackcompany Dashboard","Kan worden opgevraagd via het The Feedback Company account"
|
21 |
"Checkout process:","Afrekenproces:"
|
36 |
"Every Hour","Elk uur"
|
37 |
"Every other Hour","Om het uur"
|
38 |
"External (Feedbackcompany.nl)","Extern (Feedbackcompany.nl)"
|
39 |
+
"Exclude by Category","Uitsluiten van categorie"
|
40 |
+
"Exclude following Categories","Sluit de volgende categorieën uit"
|
41 |
"Feedbackcompany Custom Blocks","The Feedbackcompany Custom Blok"
|
42 |
"Feedbackcompany Import Reviews","The Feedbackcompany importeren beoordelingen"
|
43 |
"Feedbackcompany Log Settings","The Feedbackcompany log instellingen"
|
44 |
"Feedbackcompany Overview Page","The Feedbackcompany overzicht pagina"
|
45 |
"Feedbackcompany Reviews Sidebar","The Feedbackcompany beoordeling sidebar"
|
46 |
"Female","Vrouwlijk"
|
47 |
+
"Filter Options","Filter opties"
|
48 |
"Gender","Geslacht"
|
49 |
"General configuration","Algemene informatie"
|
50 |
"If yes, customers will get new review reminders for every new order.","Indien ja, klanten ontvangen een nieuwe herinnering bij elke bestelling."
|
51 |
+
"If yes, product links will be added to the review email.","Indien ja, worden er product links aan de e-mail toegevoegd."
|
52 |
+
"If yes, product links will be added to the review email, so people can leave a review about the product on your webshop","Indien ingeschakeld zullen er product links toegevoegd worden aan de e-mail zodat klanten een beoordeling achter kunnen laten."
|
53 |
"Information:","Informatie:"
|
54 |
"Internal (/feedbackcompany)","Intern (/feedbackcompany)"
|
55 |
"Invitation","Herinnering"
|
56 |
"Invitation Call","Herinnering e-mail"
|
57 |
"Invitation to write the customer experience","Herinnering om een beoordeling te schrijven"
|
58 |
+
"Invitation e-mail is sent only for order above this value. Use 0 for no minimum.","De herinnering wordt alleen verstuurd boven deze orderwaarde. Gebruik 0 om geen minimum in te stellen."
|
59 |
"Last Update","Laatste Update"
|
60 |
"Leadtime:","Doorlooptijd:"
|
61 |
"Left","Links"
|
71 |
"Meta Keywords","Meta zoekwoorden"
|
72 |
"Minimum Order Total","Minimale order bedrag"
|
73 |
"No","Nee"
|
74 |
+
"No response from https://connect.feedbackcompany.nl","Geen antwoord van https://connect.feedbackcompany.nl"
|
75 |
+
"Not invited: Category is excluded","Niet uitgenodigd: Categorie is uitgesloten"
|
76 |
"None","Geen"
|
77 |
"Number of Reviews","Aantal beoordelingen"
|
78 |
"Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Feedbackcompany.nl.","Aantal dagen dat een order oud mag zijn alvorens de herinnering wordt verstuurd, als het wijzigen van de orderstatus langer duurt wordt er niks verstuurd."
|
84 |
"Process Manually","Voer handmatig uit"
|
85 |
"Product(s)","Product(en)"
|
86 |
"Purchase","Aankoop"
|
87 |
+
"Rating %s based on %s customer reviews","voor %s positief beoordeelt door %s klanten"
|
88 |
"Regularly","Regelmaat"
|
89 |
"Remind Delay","Vertraging"
|
90 |
"Remove from Sidebar","Verwijder van sidebar"
|
94 |
"Reviews","Beoordelingen"
|
95 |
"Reviews Cron","Beoordeling Cron"
|
96 |
"Right","Rechts"
|
97 |
+
"Review Link Text","Beoordeling link tekst"
|
98 |
"Right Sidebar","Rechter Sidebar"
|
99 |
"Score","Score"
|
100 |
+
"Set to invisible","Stel in als niet zichtbaar"
|
101 |
"Set to visible","Stel in als zichtbaar"
|
102 |
"Select the schedule for automatic updating","Selecteer de planning voor de automatische update"
|
103 |
"Send customers automatically receive an invitation to share a customer experience.","Stuur klanten automatisch een e-mail met de herinnering om een beoordeling te schrijven."
|
111 |
"Specify at which status you want to send the invitation. Default is ""Completed"","Specificeer vanaf welke status de herinnering verzonden dient te worden. Standaard is ""Completed""
|
112 |
"Succefully deleted all %s saved review(s).","Alle %s opgeslagen beoordelingen zijn succesvol verwijdert."
|
113 |
"Test API","Test API"
|
114 |
+
"Text of the product link, use {{name}} to show the productname.","Tekst van de productlink, gebruik {{name}} om de productnaam weer te geven."
|
115 |
"The Feedback Company","The Feedback Company"
|
116 |
"The Feedback Company - Logs","The Feedback Company - Logs"
|
117 |
"The Feedback Company - Reviews","The Feedback Company - Beoordelingen"
|
119 |
"The Feedback Company Permission Setting","The Feedback Company permissie Setting"
|
120 |
"This will ensure that the customer receives the invitation shortly after receiving the product and not before. This increases the opportunity that the client will share his experience.","Dit zal ervoor zorgen dat de klant na ontvangst van het product nogmaals een uitnodiging ontvangt. Dit vergroot de kans dat de klant zijn ervaring zal delen."
|
121 |
"Time","Tijd"
|
122 |
+
"The invitation e-mail will not be sent whenever there is ordered a product from one of the selected categories.","De e-mail uitnodiging wordt niet verzonden wanneer de één van bestelde producten in één van de geselecteerde categorieën vallen."
|
123 |
"Total score updated","Totaal score geüpdatet"
|
124 |
"Total of %d log record(s) deleted.","Een totaal van %d log rij(en) zijn verwijdert."
|
125 |
"Total of %d review(s) were added to the sidebar.","Een totaal van %d beoordeling(en) zijn aan de sidebar toegevoegd."
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magmodules_Feedbackcompany</name>
|
4 |
-
<version>1.0
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
@@ -10,9 +10,9 @@
|
|
10 |
<description>Connect your Magento shop to The Feedback Company</description>
|
11 |
<notes>First stable release</notes>
|
12 |
<authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
|
13 |
-
<date>2015-
|
14 |
-
<time>
|
15 |
-
<contents><target name="magelocal"><dir name="Magmodules"><dir name="Feedbackcompany"><dir name="Block"><dir name="Adminhtml"><dir name="Feedbacklog"><file name="Grid.php" hash="1898d4df8746111e1a5404869226b26a"/></dir><dir name="Feedbackreviews"><dir name="Renderer"><file name="Experience.php" hash="b5fd639eea45b31779747da049b66a80"/></dir><file name="Grid.php" hash="e56fee3f655371a066e9f56ce5ae914d"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="4d2bce798a5b9c2b5d62bfe35c27d720"/><file name="Test.php" hash="040ecb43856a68dca4699a63c1e9c9f8"/></dir><dir name="Form"><file name="Heading.php" hash="8f820fe2ad56e3c4be54f7f84bc47eca"/></dir><dir name="Grid"><file name="Log.php" hash="
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>Magmodules_Feedbackcompany</name>
|
4 |
+
<version>1.1.0</version>
|
5 |
<stability>stable</stability>
|
6 |
<license/>
|
7 |
<channel>community</channel>
|
10 |
<description>Connect your Magento shop to The Feedback Company</description>
|
11 |
<notes>First stable release</notes>
|
12 |
<authors><author><name>Magmodules</name><user>auto-converted</user><email>info@magmodules.nl</email></author></authors>
|
13 |
+
<date>2015-02-12</date>
|
14 |
+
<time>14:22:26</time>
|
15 |
+
<contents><target name="magelocal"><dir name="Magmodules"><dir name="Feedbackcompany"><dir name="Block"><dir name="Adminhtml"><dir name="Feedbacklog"><file name="Grid.php" hash="1898d4df8746111e1a5404869226b26a"/></dir><dir name="Feedbackreviews"><dir name="Renderer"><file name="Experience.php" hash="b5fd639eea45b31779747da049b66a80"/></dir><file name="Grid.php" hash="e56fee3f655371a066e9f56ce5ae914d"/></dir><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="4d2bce798a5b9c2b5d62bfe35c27d720"/><file name="Test.php" hash="040ecb43856a68dca4699a63c1e9c9f8"/></dir><dir name="Form"><file name="Heading.php" hash="8f820fe2ad56e3c4be54f7f84bc47eca"/></dir><dir name="Grid"><file name="Log.php" hash="ceff6fe31ea786257d1fd1c5c7a4ef82"/><file name="Seconds.php" hash="a7e6db7624fee7717cba3048f3f5638b"/><file name="Stars.php" hash="8041613a13a202b0df1d376dc38c5e76"/></dir><dir name="Info"><file name="Info.php" hash="fe80bd3c99f8cd6c814ab2ae8ad4cffe"/></dir></dir><file name="Feedbacklog.php" hash="eb36920b105077ca572137ccb4a9345c"/><file name="Feedbackreviews.php" hash="d1cf617989422aa0533d354dfde0fdf1"/></dir><file name="Custom.php" hash="e0481aa90a30a4ae575601709e0905da"/><file name="Reviews.php" hash="9393b1ffb4f9514cad46a51db24e6ab4"/><file name="Sidebar.php" hash="a116d93bb845b6de4034276203d0e470"/><file name="Snippets.php" hash="bbd5b8aa6d21959b4a92ede1f8386481"/></dir><dir name="Helper"><file name="Data.php" hash="aeb14a4465179366280b057cb20531f4"/></dir><dir name="Model"><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="1c6f30ede26cadb9fd4c51f916cbfeb2"/></dir><dir name="Reviews"><file name="Collection.php" hash="17f3acddd0e184f923d137433aaa40ee"/></dir><dir name="Stats"><file name="Collection.php" hash="184fe402b66949e0d4fdb95fc6b4189d"/></dir><file name="Log.php" hash="542d942a56d159d5c1af65ed5c6de857"/><file name="Reviews.php" hash="5518780ad915f644ed9cc319def2da8c"/><file name="Stats.php" hash="268aed9ed09e83611b12c7bbbfca5076"/></dir><dir name="System"><dir name="Config"><dir name="Source"><file name="Attribute.php" hash="de511d86d47ae252e3097c335302c294"/><file name="Category.php" hash="43e5e5d69b764e9c93f9089e0ec64d26"/><file name="Cronfrequency.php" hash="0f0170d96c8807a440ab41fa6ccc1e13"/><file name="Orderstatus.php" hash="64429a1804e1bc5ec2f0ea89e7627fc8"/><file name="Position.php" hash="3c11a9fba6006528bb904036ca87f619"/><file name="Reviewlink.php" hash="87122c1414c49a24222288fe3e96216c"/><file name="Sidebarlink.php" hash="9e1a817b4253645b5632306ffd89dd03"/></dir></dir></dir><file name="Api.php" hash="4f22b8b40b9a1c0806f0699124a86d82"/><file name="Log.php" hash="e64de82f87f3830914240e24ccbfb402"/><file name="Observer.php" hash="19872684b325c4106a2da876e3a975e5"/><file name="Reviews.php" hash="3a6abf11585a18ff4c9326b5c8606145"/><file name="Stats.php" hash="de59a47b0ecc42cd2fbd9c544d283d5f"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="FeedbacklogController.php" hash="c1ac62ed05266768095a8c8603822c5f"/><file name="FeedbackreviewsController.php" hash="d557715248b5d3947b3ff1e01aff43bf"/></dir><file name="IndexController.php" hash="da1707d69452f5430305c20c083cba78"/></dir><dir name="etc"><file name="adminhtml.xml" hash="8d51e2aa74e51f8de79650776cff510e"/><file name="config.xml" hash="0a7c4dca1ade96d95505b64308b8d2b6"/><file name="system.xml" hash="04645d6273ae01f1301ec383bd751817"/></dir><dir name="sql"><dir name="feedbackcompany_setup"><file name="mysql4-install-0.9.0.php" hash="c86ec8f3c3a12cda7dd750cbd21dfca7"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_feedbackcompany.xml" hash="252a56f88367e456af4929cdccad70bd"/></dir><dir name="template"><dir name="magmodules"><dir name="feedbackcompany"><dir name="sidebar"><file name="left.phtml" hash="7d5001abcbb2fa60c24d048e322ba06f"/><file name="right.phtml" hash="dc47743f47a5eff191a7b58c3ccf1e4b"/></dir><dir name="widget"><file name="custom.phtml" hash="dee6009ae06269c54fc7fdf6605eb8e4"/><file name="richsnippets.phtml" hash="a33f6f6f711c31eb9a141a526ee87457"/></dir><file name="index.phtml" hash="3e6f39efe8f18cdb1ef04d1df6bca55a"/></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_feedbackcompany.xml" hash="886af6aabcc892da5074c93ad0263006"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Feedbackcompany.xml" hash="89e30c33efd62d035f0d231968b471a5"/></dir></target><target name="magelocale"><dir name="en_US"><file name="Magmodules_Feedbackcompany.csv" hash="5d35cb8ce29330257a28de00b45db6a8"/></dir><dir name="nl_NL"><file name="Magmodules_Feedbackcompany.csv" hash="4fa0e5fe513da0ec0fd77508894c1f75"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="feedbackcompany"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="logo.png" hash="6c8d46ba30a7ae87dcb75db12830b33f"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="75b478aac646b9e13e18b842effbe80d"/><file name="sidebar.css" hash="fe656003fb05be5ad4480239c130621c"/><file name="style.css" hash="5a5a2b9550687644af427199c87c5fb6"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="feedbackcompany"><file name="grid.css" hash="ea7e85df839bf0eb7bc6882608da80b0"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
|
16 |
<compatible/>
|
17 |
<dependencies/>
|
18 |
</package>
|
skin/frontend/base/default/magmodules/feedbackcompany/style.css
CHANGED
@@ -82,7 +82,7 @@
|
|
82 |
}
|
83 |
|
84 |
.feedbackcompany ul.summary-index {
|
85 |
-
display:
|
86 |
list-style-type: none;
|
87 |
}
|
88 |
|
82 |
}
|
83 |
|
84 |
.feedbackcompany ul.summary-index {
|
85 |
+
display: flex;
|
86 |
list-style-type: none;
|
87 |
}
|
88 |
|