Magmodules_Webwinkelconnect - Version 1.1.2

Version Notes

First stable release

Download this release

Release Info

Developer Magmodules
Extension Magmodules_Webwinkelconnect
Version 1.1.2
Comparing to
See all releases


Code changes from version 1.1.1 to 1.1.2

app/code/local/Magmodules/Webwinkelconnect/Model/Api.php CHANGED
@@ -66,10 +66,15 @@ class Magmodules_Webwinkelconnect_Model_Api extends Mage_Core_Model_Abstract {
66
  $api_key = trim(Mage::getStoreConfig('webwinkelconnect/general/api_key', $order->getStoreId()));
67
  $delay = trim(Mage::getStoreConfig('webwinkelconnect/invitation/delay', $order->getStoreId()));
68
  $language = Mage::getStoreConfig('webwinkelconnect/invitation/language', $order->getStoreId());
 
 
69
  $email = $order->getCustomerEmail();
70
  $customer_name = $order->getCustomerName();
71
 
72
  $url = 'https://www.webwinkelkeur.nl/api.php?id=' . $api_id . '&password=' . $api_key . '&email=' . urlencode($email) . '&order=' . $order_id . '&delay=' . $delay . '&client=magento&customername=' . urlencode($customer_name);
 
 
 
73
 
74
  if(!empty($language)) {
75
  if($language == 'cus') {
66
  $api_key = trim(Mage::getStoreConfig('webwinkelconnect/general/api_key', $order->getStoreId()));
67
  $delay = trim(Mage::getStoreConfig('webwinkelconnect/invitation/delay', $order->getStoreId()));
68
  $language = Mage::getStoreConfig('webwinkelconnect/invitation/language', $order->getStoreId());
69
+ $resend_double = Mage::getStoreConfig('webwinkelconnect/invitation/resend_double', $order->getStoreId());
70
+
71
  $email = $order->getCustomerEmail();
72
  $customer_name = $order->getCustomerName();
73
 
74
  $url = 'https://www.webwinkelkeur.nl/api.php?id=' . $api_id . '&password=' . $api_key . '&email=' . urlencode($email) . '&order=' . $order_id . '&delay=' . $delay . '&client=magento&customername=' . urlencode($customer_name);
75
+ if(!$resend_double) {
76
+ $url = $url . '&noremail=1';
77
+ }
78
 
79
  if(!empty($language)) {
80
  if($language == 'cus') {
app/code/local/Magmodules/Webwinkelconnect/etc/config.xml CHANGED
@@ -24,7 +24,7 @@
24
  <config>
25
  <modules>
26
  <Magmodules_Webwinkelconnect>
27
- <version>1.1.1</version>
28
  </Magmodules_Webwinkelconnect>
29
  </modules>
30
  <global>
24
  <config>
25
  <modules>
26
  <Magmodules_Webwinkelconnect>
27
+ <version>1.1.2</version>
28
  </Magmodules_Webwinkelconnect>
29
  </modules>
30
  <global>
app/code/local/Magmodules/Webwinkelconnect/etc/system.xml CHANGED
@@ -193,7 +193,17 @@
193
  <comment>Change only if necessary</comment>
194
  <tooltip>Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Webwinkelkeur.nl.</tooltip>
195
  <depends><enabled>1</enabled></depends>
196
- </backlog>
 
 
 
 
 
 
 
 
 
 
197
  </fields>
198
  </invitation>
199
  <frontend translate="label">
193
  <comment>Change only if necessary</comment>
194
  <tooltip>Number of days to complete order may last, if it takes longer then no invitation will be sent. Read more about this feature on Webwinkelkeur.nl.</tooltip>
195
  <depends><enabled>1</enabled></depends>
196
+ </backlog>
197
+ <resend_double translate="label">
198
+ <label>Resend if Double</label>
199
+ <frontend_type>select</frontend_type>
200
+ <source_model>adminhtml/system_config_source_yesno</source_model>
201
+ <sort_order>6</sort_order>
202
+ <show_in_default>1</show_in_default>
203
+ <show_in_website>1</show_in_website>
204
+ <show_in_store>1</show_in_store>
205
+ <comment>If set to "Yes", customers will get new review reminders for every new order.</comment>
206
+ </resend_double>
207
  </fields>
208
  </invitation>
209
  <frontend translate="label">
app/locale/nl_NL/Magmodules_Webwinkelconnect.csv CHANGED
@@ -145,4 +145,7 @@
145
  "Enabled","Geactiveerd"
146
  "Invitation to write review","Vragen om beoordeling"
147
  "WebwinkelKeur Javascript integration","WebwinkelKeur Javascript integratie"
148
- "Language of the review invitation email, leave empty for default language. Option only available for member with an EU membership","Taal van de uitnodigingsemail. Laat leeg om de standaardtaal te gebruiken. Optie alleen beschikbaar binnen het EU pakket."
 
 
 
145
  "Enabled","Geactiveerd"
146
  "Invitation to write review","Vragen om beoordeling"
147
  "WebwinkelKeur Javascript integration","WebwinkelKeur Javascript integratie"
148
+ "Language of the review invitation email, leave empty for default language. Option only available for member with an EU membership","Taal van de uitnodigingsemail. Laat leeg om de standaardtaal te gebruiken. Optie alleen beschikbaar binnen het EU pakket."
149
+ "Resend if Double","Stuur opnieuw indien dubbel"
150
+ "If set to ""Yes"", customers will get new review reminders for every new order.","Indien ""Ja"" ontvangen de klanten een nieuwe uitnodiging na elke bestelling."
151
+ "If set to "Yes", customers will get new review reminders for every new order.","Indien "Ja" ontvangen de klanten een nieuwe uitnodiging na elke bestelling."
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Webwinkelconnect</name>
4
- <version>1.1.1</version>
5
  <stability>stable</stability>
6
  <license>OSL 3.0</license>
7
  <channel>community</channel>
@@ -10,9 +10,9 @@
10
  <description>Connect your Magento shop to Webwinkelkeur</description>
11
  <notes>First stable release</notes>
12
  <authors><author><name>Magmodules</name><user>magmodules</user><email>info@magmodules.nl</email></author></authors>
13
- <date>2016-06-19</date>
14
- <time>09:38:05</time>
15
- <contents><target name="magelocal"><dir name="Magmodules"><dir name="Webwinkelconnect"><dir name="Block"><dir name="Adminhtml"><dir name="System"><file name="Version.php" hash="1ba46a72ad79b7676564a3749288372f"/></dir><dir name="Webwinkellog"><file name="Grid.php" hash="49c90878ba370466315ef8f31b13125f"/></dir><file name="Webwinkellog.php" hash="91ae5cc3a71011f6b50c7cba0b848de2"/><dir name="Webwinkelreviews"><file name="Grid.php" hash="30acb5d78daf578d716fee8946db5c93"/><dir name="Renderer"><file name="Experience.php" hash="00059de0643e03b927422bf876ce0b62"/></dir></dir><file name="Webwinkelreviews.php" hash="0978a792e68fe7e05ebf01201aa8a1b4"/><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="a30f6c484054c6f7708d0478516e07a8"/><file name="Test.php" hash="04b11a53cd1e38c6ed0a3835f3d2502a"/></dir><dir name="Form"><file name="Heading.php" hash="5498ca0123d64a918382ca8f770785a2"/></dir><dir name="Grid"><file name="Log.php" hash="189a8353f1d796ffd18f69f58f50ffec"/><file name="Seconds.php" hash="252fa1ba18a6a1730e3f3c3b0b48a538"/><file name="Stars.php" hash="6e612fb47248a5785224a03557545a77"/></dir><dir name="Info"><file name="Info.php" hash="86748ca3f7c32c893cd1266c01c9179a"/></dir></dir></dir><file name="Custom.php" hash="2e0ebd97f2a62a778187394ca86b4e69"/><file name="Reviews.php" hash="6ef47f43f23455cef296004f14ac876b"/><file name="Sidebar.php" hash="c0a2f7a47a6ef31ea89b0f957c3d566b"/><file name="Snippets.php" hash="1535a7bfbf96eddda9f69e2abb89d01d"/></dir><dir name="Helper"><file name="Data.php" hash="3569a8a61b7816a2ef192e3025a6f86d"/></dir><dir name="Model"><file name="Api.php" hash="31082b27d0fb5c119f8c5990928f7618"/><file name="Log.php" hash="b3467e859fde0036023a73d2a47ad64f"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="29e0546a62ac65529d098e9f35de63a9"/></dir><file name="Log.php" hash="a6075ad109911dfbba4246ff4515dd18"/><dir name="Reviews"><file name="Collection.php" hash="277db9162cc77920dc9908f5e1632ca1"/></dir><file name="Reviews.php" hash="0d67d2e3b474fa93731f83a9e19b9953"/><dir name="Stats"><file name="Collection.php" hash="2aa92cf6d9fbdfea485a271b77b89773"/></dir><file name="Stats.php" hash="876f7786687b353b6c6b717cb7fe2078"/></dir><file name="Observer.php" hash="570ff211feb36ecd56a98a9db5b05d7d"/><file name="Reviews.php" hash="337157bef7a04c2dcfd61b9253364d12"/><file name="Stats.php" hash="9d47fa394271ace74498a9acfe37dec0"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="2557eeef91be4487efdeb34c8bd1cb9c"/><file name="Cronfrequencylong.php" hash="f117dc0e59d619a56a575d1c224ca575"/><file name="Language.php" hash="0250136500c2af5cde6de8212d9fa00e"/><file name="Orderstatus.php" hash="739d600e0fcba5bdaf7b9cb5422e966d"/><file name="Position.php" hash="59cc0d6fcf673497ac792739c1839fc1"/><file name="Sidebarlink.php" hash="d3de1d3e38abeaae2e5ad48f7e045f98"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="WebwinkellogController.php" hash="aa2db0805340d3379bb8592bf452e9e7"/><file name="WebwinkelreviewsController.php" hash="2392fdda21c551dcfe1a1a09b86b907b"/></dir><file name="IndexController.php" hash="f14fade8dff7311f4ad1e72c36c59c17"/></dir><dir name="data"><dir name="webwinkelconnect_setup"><file name="data-upgrade-1.0.8-1.0.9.php" hash="629719be47c3247466b66acb16bb4957"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="50b3069d0b78206dd00b3870fa541365"/><file name="config.xml" hash="0b30c473a1206f3e8186fda7a263c9e4"/><file name="system.xml" hash="3bf5b64888eb26a89f544fdfb071a824"/></dir><dir name="sql"><dir name="webwinkelconnect_setup"><file name="mysql4-install-1.0.1.php" hash="e61ce8348d2280577f3dac4887093ad2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="0e589fce607f517314266dea8ef7e34b"/></dir><dir name="template"><dir name="magmodules"><dir name="webwinkelconnect"><file name="index.phtml" hash="886f1c12663219bbd0111d100abd738f"/><dir name="sidebar"><file name="js-sidebar.phtml" hash="febf8a3614d4a7335912156886f5c34d"/><file name="left.phtml" hash="8fe479e77b503b1ee43b9bcae4ccb240"/><file name="right.phtml" hash="15521a01ffd1cf7d158b9242496f91c6"/></dir><dir name="widget"><file name="custom.phtml" hash="790ab26d554ed701e093a67403f9c56a"/><file name="richsnippets.phtml" hash="2c72e6454b326fe6097b4ee2054f9794"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="34b4d3252daa7c80d230b049e0b73311"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Webwinkelconnect.xml" hash="1784309611987476302cb191d4da009d"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Magmodules_Webwinkelconnect.csv" hash="efbc09050642b8b557749803b1b29d62"/></dir><dir name="nl_NL"><file name="Magmodules_Webwinkelconnect.csv" hash="be318ae191adfe45d0db88a0ba586a23"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="e402d40db02e62f100d12d6dcc963e91"/><file name="sidebar.css" hash="2ce0e0147ac565e6819a43fd68ea331e"/><file name="style.css" hash="4de2d4973d80a8e99045b1d0053ae9f7"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><file name="grid.css" hash="ce720c1772a8176eabf3866fcd83bb7a"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Magmodules_Webwinkelconnect</name>
4
+ <version>1.1.2</version>
5
  <stability>stable</stability>
6
  <license>OSL 3.0</license>
7
  <channel>community</channel>
10
  <description>Connect your Magento shop to Webwinkelkeur</description>
11
  <notes>First stable release</notes>
12
  <authors><author><name>Magmodules</name><user>magmodules</user><email>info@magmodules.nl</email></author></authors>
13
+ <date>2016-08-11</date>
14
+ <time>12:44:57</time>
15
+ <contents><target name="magelocal"><dir name="Magmodules"><dir name="Webwinkelconnect"><dir name="Block"><dir name="Adminhtml"><dir name="System"><file name="Version.php" hash="1ba46a72ad79b7676564a3749288372f"/></dir><dir name="Webwinkellog"><file name="Grid.php" hash="49c90878ba370466315ef8f31b13125f"/></dir><file name="Webwinkellog.php" hash="91ae5cc3a71011f6b50c7cba0b848de2"/><dir name="Webwinkelreviews"><file name="Grid.php" hash="30acb5d78daf578d716fee8946db5c93"/><dir name="Renderer"><file name="Experience.php" hash="00059de0643e03b927422bf876ce0b62"/></dir></dir><file name="Webwinkelreviews.php" hash="0978a792e68fe7e05ebf01201aa8a1b4"/><dir name="Widget"><dir name="Buttons"><file name="Process.php" hash="a30f6c484054c6f7708d0478516e07a8"/><file name="Test.php" hash="04b11a53cd1e38c6ed0a3835f3d2502a"/></dir><dir name="Form"><file name="Heading.php" hash="5498ca0123d64a918382ca8f770785a2"/></dir><dir name="Grid"><file name="Log.php" hash="189a8353f1d796ffd18f69f58f50ffec"/><file name="Seconds.php" hash="252fa1ba18a6a1730e3f3c3b0b48a538"/><file name="Stars.php" hash="6e612fb47248a5785224a03557545a77"/></dir><dir name="Info"><file name="Info.php" hash="86748ca3f7c32c893cd1266c01c9179a"/></dir></dir></dir><file name="Custom.php" hash="2e0ebd97f2a62a778187394ca86b4e69"/><file name="Reviews.php" hash="6ef47f43f23455cef296004f14ac876b"/><file name="Sidebar.php" hash="c0a2f7a47a6ef31ea89b0f957c3d566b"/><file name="Snippets.php" hash="1535a7bfbf96eddda9f69e2abb89d01d"/></dir><dir name="Helper"><file name="Data.php" hash="3569a8a61b7816a2ef192e3025a6f86d"/></dir><dir name="Model"><file name="Api.php" hash="71dadc34143753221feccd681c1757e8"/><file name="Log.php" hash="b3467e859fde0036023a73d2a47ad64f"/><dir name="Mysql4"><dir name="Log"><file name="Collection.php" hash="29e0546a62ac65529d098e9f35de63a9"/></dir><file name="Log.php" hash="a6075ad109911dfbba4246ff4515dd18"/><dir name="Reviews"><file name="Collection.php" hash="277db9162cc77920dc9908f5e1632ca1"/></dir><file name="Reviews.php" hash="0d67d2e3b474fa93731f83a9e19b9953"/><dir name="Stats"><file name="Collection.php" hash="2aa92cf6d9fbdfea485a271b77b89773"/></dir><file name="Stats.php" hash="876f7786687b353b6c6b717cb7fe2078"/></dir><file name="Observer.php" hash="570ff211feb36ecd56a98a9db5b05d7d"/><file name="Reviews.php" hash="337157bef7a04c2dcfd61b9253364d12"/><file name="Stats.php" hash="9d47fa394271ace74498a9acfe37dec0"/><dir name="System"><dir name="Config"><dir name="Source"><file name="Cronfrequency.php" hash="2557eeef91be4487efdeb34c8bd1cb9c"/><file name="Cronfrequencylong.php" hash="f117dc0e59d619a56a575d1c224ca575"/><file name="Language.php" hash="0250136500c2af5cde6de8212d9fa00e"/><file name="Orderstatus.php" hash="739d600e0fcba5bdaf7b9cb5422e966d"/><file name="Position.php" hash="59cc0d6fcf673497ac792739c1839fc1"/><file name="Sidebarlink.php" hash="d3de1d3e38abeaae2e5ad48f7e045f98"/></dir></dir></dir></dir><dir name="controllers"><dir name="Adminhtml"><file name="WebwinkellogController.php" hash="aa2db0805340d3379bb8592bf452e9e7"/><file name="WebwinkelreviewsController.php" hash="2392fdda21c551dcfe1a1a09b86b907b"/></dir><file name="IndexController.php" hash="f14fade8dff7311f4ad1e72c36c59c17"/></dir><dir name="data"><dir name="webwinkelconnect_setup"><file name="data-upgrade-1.0.8-1.0.9.php" hash="629719be47c3247466b66acb16bb4957"/></dir></dir><dir name="etc"><file name="adminhtml.xml" hash="50b3069d0b78206dd00b3870fa541365"/><file name="config.xml" hash="a618b6219f28487cf4813c9f930cf887"/><file name="system.xml" hash="828aad50d5b1b4ca2a9190e7ce7e7589"/></dir><dir name="sql"><dir name="webwinkelconnect_setup"><file name="mysql4-install-1.0.1.php" hash="e61ce8348d2280577f3dac4887093ad2"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="0e589fce607f517314266dea8ef7e34b"/></dir><dir name="template"><dir name="magmodules"><dir name="webwinkelconnect"><file name="index.phtml" hash="886f1c12663219bbd0111d100abd738f"/><dir name="sidebar"><file name="js-sidebar.phtml" hash="febf8a3614d4a7335912156886f5c34d"/><file name="left.phtml" hash="8fe479e77b503b1ee43b9bcae4ccb240"/><file name="right.phtml" hash="15521a01ffd1cf7d158b9242496f91c6"/></dir><dir name="widget"><file name="custom.phtml" hash="790ab26d554ed701e093a67403f9c56a"/><file name="richsnippets.phtml" hash="2c72e6454b326fe6097b4ee2054f9794"/></dir></dir></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="magmodules_webwinkelconnect.xml" hash="34b4d3252daa7c80d230b049e0b73311"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Magmodules_Webwinkelconnect.xml" hash="1784309611987476302cb191d4da009d"/></dir></target><target name="magelocale"><dir><dir name="en_US"><file name="Magmodules_Webwinkelconnect.csv" hash="efbc09050642b8b557749803b1b29d62"/></dir><dir name="nl_NL"><file name="Magmodules_Webwinkelconnect.csv" hash="939564f5fefc8c01e3a13b509f18a577"/></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><dir name="images"><file name="5-stars-empty.png" hash="799c499ca785331e7e69d892df52dd48"/><file name="5-stars-full.png" hash="1d06151a2c4da6bb71381538c8a903a5"/><file name="bkg_rating.gif" hash="0efa835d6b68d7f8042170b182ace2a9"/><file name="greystar.png" hash="ab99888c7a8f47826ad7a83bcabf9130"/><file name="star.png" hash="647c77f0ef881fb2a90a4f53f70d75fa"/></dir><file name="richsnippets.css" hash="e402d40db02e62f100d12d6dcc963e91"/><file name="sidebar.css" hash="2ce0e0147ac565e6819a43fd68ea331e"/><file name="style.css" hash="4de2d4973d80a8e99045b1d0053ae9f7"/></dir></dir></dir></dir></dir><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="magmodules"><dir name="webwinkelconnect"><file name="grid.css" hash="ce720c1772a8176eabf3866fcd83bb7a"/><file name="star.png" hash="4beacfb62ebdd5feecd946494e895f4c"/></dir></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.1.0</min><max>6.0.0</max></php></required></dependencies>
18
  </package>