diff --git a/Model/System/Config/Source/Dropdown.php b/Model/System/Config/Source/Dropdown.php
index 6eac5db..b844879 100644
--- a/Model/System/Config/Source/Dropdown.php
+++ b/Model/System/Config/Source/Dropdown.php
@@ -45,7 +45,7 @@ public function toOptionArray()
foreach ($labels as $status) {
$statuses[] = [
'value' => $status['value'],
- 'label' => $status['label']
+ 'label' => __($status['label'])
];
}
diff --git a/Model/System/Config/Source/ExportMethod.php b/Model/System/Config/Source/ExportMethod.php
index a4953f2..8287f95 100644
--- a/Model/System/Config/Source/ExportMethod.php
+++ b/Model/System/Config/Source/ExportMethod.php
@@ -26,8 +26,8 @@ class ExportMethod implements ArrayInterface
public function toOptionArray()
{
return $mod = [
- ['value' => 'status', 'label' => 'On Order Status Change'],
- ['value' => 'cron', 'label' => 'Every 24 hours (Cron)']
+ ['value' => 'status', 'label' => __('On Order Status Change')],
+ ['value' => 'cron', 'label' => __('Every 24 hours (Cron)')]
];
}
}
diff --git a/Model/System/Config/Source/Identifier.php b/Model/System/Config/Source/Identifier.php
index 86c6445..83866d0 100644
--- a/Model/System/Config/Source/Identifier.php
+++ b/Model/System/Config/Source/Identifier.php
@@ -26,8 +26,8 @@ class Identifier implements ArrayInterface
public function toOptionArray()
{
return $mod = [
- ['value' => 'id', 'label' => 'Product ID'],
- ['value' => 'sku', 'label' => 'Product SKU']
+ ['value' => 'id', 'label' => __('Product ID')],
+ ['value' => 'sku', 'label' => __('Product SKU')]
];
}
}
diff --git a/Model/System/Config/Source/Mod.php b/Model/System/Config/Source/Mod.php
index bfbd4ee..ed3767c 100644
--- a/Model/System/Config/Source/Mod.php
+++ b/Model/System/Config/Source/Mod.php
@@ -25,9 +25,9 @@ class Mod implements ArrayInterface
public function toOptionArray()
{
return $mod = [
- ['value' => 'email', 'label' => 'Email'],
- ['value' => 'sms', 'label' => 'SMS'],
- ['value' => 'fallback', 'label' => 'SMS if contact number valid, otherwise Email']
+ ['value' => 'email', 'label' => __('Email')],
+ ['value' => 'sms', 'label' => __('SMS')],
+ ['value' => 'fallback', 'label' => __('SMS if contact number valid, otherwise Email')]
];
}
}
diff --git a/Model/System/Config/Source/TermsAndConditions.php b/Model/System/Config/Source/TermsAndConditions.php
index 871d246..1613802 100644
--- a/Model/System/Config/Source/TermsAndConditions.php
+++ b/Model/System/Config/Source/TermsAndConditions.php
@@ -24,8 +24,8 @@ class TermsAndConditions implements ArrayInterface
public function toOptionArray()
{
return [
- ['value' => '1', 'label' => 'Yes'],
- ['value' => '0', 'label' => 'No'],
+ ['value' => '1', 'label' => __('Yes')],
+ ['value' => '0', 'label' => __('No')],
];
}
}
diff --git a/Model/System/Config/Source/TurnaroundTime.php b/Model/System/Config/Source/TurnaroundTime.php
index 99430f2..aa43aff 100644
--- a/Model/System/Config/Source/TurnaroundTime.php
+++ b/Model/System/Config/Source/TurnaroundTime.php
@@ -26,19 +26,19 @@ class TurnaroundTime implements ArrayInterface
public function toOptionArray()
{
return $mod = [
- ['value' => '1', 'label' => '1 Day'],
- ['value' => '2', 'label' => '2 Days'],
- ['value' => '3', 'label' => '3 Days'],
- ['value' => '4', 'label' => '4 Days'],
- ['value' => '5', 'label' => '5 Days'],
- ['value' => '6', 'label' => '6 Days'],
- ['value' => '7', 'label' => '7 Days'],
- ['value' => '8', 'label' => '8 Days'],
- ['value' => '9', 'label' => '9 Days'],
- ['value' => '10', 'label' => '10 Days'],
- ['value' => '15', 'label' => '15 Days'],
- ['value' => '20', 'label' => '20 Days'],
- ['value' => '30', 'label' => '30 Days']
+ ['value' => '1', 'label' => __('1 Day')],
+ ['value' => '2', 'label' => __('2 Days')],
+ ['value' => '3', 'label' => __('3 Days')],
+ ['value' => '4', 'label' => __('4 Days')],
+ ['value' => '5', 'label' => __('5 Days')],
+ ['value' => '6', 'label' => __('6 Days')],
+ ['value' => '7', 'label' => __('7 Days')],
+ ['value' => '8', 'label' => __('8 Days')],
+ ['value' => '9', 'label' => __('9 Days')],
+ ['value' => '10', 'label' => __('10 Days')],
+ ['value' => '15', 'label' => __('15 Days')],
+ ['value' => '20', 'label' => __('20 Days')],
+ ['value' => '30', 'label' => __('30 Days')]
];
}
}
diff --git a/Model/Validate.php b/Model/Validate.php
index fd25010..d78f2f6 100644
--- a/Model/Validate.php
+++ b/Model/Validate.php
@@ -213,4 +213,4 @@ private function configureCurl($shopId, $shopPassword, $httpMethod = self::HTTP_
}
}
-}
\ No newline at end of file
+}
diff --git a/README.md b/README.md
index 7f4a874..95c1d3c 100644
--- a/README.md
+++ b/README.md
@@ -11,7 +11,7 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
> support@ekomi.de, this is necessary to ensure everything has been set
> up correctly and activated from eKomi’s side.
-
+
## Key features
@@ -41,19 +41,19 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
- The parent /child review display
-
-
+
+
## System Requirements
- PHP version 5.0 or greater
-
+
- MySQL version 5.6 or greater
-
+
- Magento Version 2.x
-
-
+
+
## Installation
@@ -64,11 +64,11 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
**1.2** Execute the following commands respectively
1. composer config repositories.ekomi vcs https://github.com/ekomi-ltd/eKomi-integration-magento-2
-
+
2. composer require ekomiltd/ekomiintegration
-
+
3. php bin/magento setup:upgrade
-
+
4. php bin/magento setup:di:compile
@@ -86,13 +86,13 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
**2.3** Execute the following commands respectively:
-
+
1. php bin/magento module:enable Ekomi_EkomiIntegration --clear-static-content
-
+
2. php bin/magento setup:upgrade
-
+
3. php bin/magento setup:di:compile
-
+
**2.4** Refresh the Cache under System ⇾ Cache Management
@@ -100,7 +100,7 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
![](https://lh4.googleusercontent.com/1046yZ1TKs5CTdZ3LCKypJt2SxVhuWfcxUiNCfP86VDUFb0mDial_KSJple4u-IG3A3D1WDAmzZ3UWGDFyPRYTNhBZNgGhG8EXh1B9Sx70xp0hLn2s-h8bLYBpfeGKaHnAWOetYY)
-
+
## Configuration
@@ -112,27 +112,27 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
![](https://lh4.googleusercontent.com/fAazQNmY4eU0TdvNgyNsRsX_fqFmEKDwx9zZg8dgSkzg4B2iU8UNJ4TmoNWvl4QZrEv_ld_Ppo1Cx8udJQzm4137Gxltrqb_ojhQnESHvT_3ammb-AgIeCYiK4o9d7XlVZwFfYnU)
-
+
- Enabled: Set to Yes.
-
+
- Product Base Reviews: If enabled, product attributes will also be sent to eKomi
-
+
- i.e. Product ID, SKU, Name, Type, Image, and URL
-
+
- Shop ID: Enter the Shop ID provided by eKomi.
-
+
- Shop Password: Enter the Shop Password/Secret provided by eKomi.
-
+
- Order Status: Choose Order Statuses on which you want to export order data to eKomi.
-
+
- Review Mode: for SMS, mobile number format should be according to E164.
-
+
- Product Identifier: The attribute you want to use as the Product Identifier in the eKomi system.
-
+
- Exclude Products: Comma separated product IDs/SKUs which should be excluded.
-
+
- Terms and Conditions: If enabled, then sends order to eKomi System otherwise not.
-
+
- Save the configuration
> Note: Plugin will only be enabled if shop credentials are valid.
@@ -142,9 +142,9 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
![](https://lh4.googleusercontent.com/-cy3V9N4NoMxsJ2hx3XagEa_9Zq_9i4u0CPTdULhjuJlQ0Ot50obRrR8HPxTazqC_sSPdOgNdYeZAB88njWpIAAl1Tb_zXabHlm8fcIM9iOuq68NZhQlu-G-CsLD0u1AGDtSUvBS)
- Show PRC: Set to Yes.
-
+
- Widget Token: Enter the Widget Token provided by eKomi.
-
+
> Note: Ekomi Integration plugin should be enabled in order to display PRC.
@@ -158,31 +158,31 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
![mtwo2.png](https://lh4.googleusercontent.com/diZ5QCNR8MURfrVH1hrBsd-sZrF5HzH2OOO_9sxlXlOCoGZdYckDDLQp38_QNcJl82No-ko60Rl5J57f1QR3FX-sn4OuSFMW_rW6LvILImjpMJczJFa5rYIMYxwUFFpFP78AvAtN)
- Type: Set eKomi Product Review Container
-
+
- Design Theme: Set the Current Theme
-
+
- Press Continue
-
+
**1.2** Storefront Properties
![Mtwo3.png](https://lh5.googleusercontent.com/kDJT2VCZomnGfQozwCAfPc_iOxpkb4QfQlbG_1nZoB9QaYiVifyOwK9oVIpksdHp4-dgzOEJNAUj8PwJAUBMg5mIofkHMlCBq5lmphuQbn4CwMKC-THWjMt36Yh7rHY74mBCXdT8)
- Fill the meta information i.e. Widget Title, Store Views, and Sort Order
-
+
**1.3** Add Layout Updates
![](https://lh5.googleusercontent.com/1MsZaeqv2IXsqBfa75QlyBpe0TUmUbXv8UaDgBeO8G81JDURjLiUxJdKRS597ucgNidsNlU3j1Ucy0iXMoqDu2L1HpoWmOoS4uoarfWia7Gp29mV-0hHObW_fPmND95CRpYC8xYH)
-
+
- Display On: Select desired product page
-
+
- Products: Select required products if any.
-
+
- Container: Select the required position for the widget.
-
+
**1.4** Save the Widget Instance and the PRC will be displayed on the Store Front
@@ -190,44 +190,44 @@ The eKomi product review container allows an easy integration of eKomi Reviews a
### 2. Programmatically
-
+
**2.1** Insert the following shortcode in the product detail page template where you want to display the widget.
-
+
getLayout()
-
+
->createBlock('Ekomi\EkomiIntegration\Block\Widget\Reviews')
-
+
->setTemplate('Ekomi_EkomiIntegration::ekomi_sw_prc.phtml')
-
+
->toHtml();
-
+
?>
-
-
-
-
-
-
-
+
+
+
+
+
+
+
The PRC Widget will be displayed as:
-
+
![](https://lh3.googleusercontent.com/QxdvsFUG_5PPF47e_BDqiJ_I2JGAj_AISmr3WkAHCHhzaoo5oNIf18byUy5fp-y7rajlnwr0ag59UXZLb1_YzAQ9yAgIq-H0vCrLF_AHwA_N7zyQC1hghrgMQg1EKFk9RzoJYTD9)
-
+
## Troubleshooting
Our eKomi headquarters in Berlin is the best place to start if you need help with this plugin. There our technical support team will get you up and running in time. You can book assistance at: [http://ssi.ekomi.com/booking](http://ssi.ekomi.com/booking).
-
-
-
+
+
+
## Plugin information
@@ -235,15 +235,15 @@ Our eKomi headquarters in Berlin is the best place to start if you need help wit
· Development status: Stable
-· Last modified: 2023-Jan-31
+· Last modified: 2022-Jan-06
+
-
### Downloads
##### Recommended releases
-
+
| Version | Download | Date |
|---------|:--------------:|:-----------:|
| 1.1.0 | zip (11.3 kB) | 2016-Oct-27 |
@@ -269,4 +269,5 @@ Our eKomi headquarters in Berlin is the best place to start if you need help wit
| 2.5.9 | zip (171.7 kB) | 2022-Jan-06 |
| 2.5.10 | zip (172.0 kB) | 2022-Sep-02 |
| 2.5.11 | zip (172.3 kB) | 2022-Dec-20 |
-| 2.5.12 | zip (172.3 kB) | 2023-Jan-31 |
\ No newline at end of file
+| 2.5.12 | zip (172.3 kB) | 2023-Jan-31 |
+| 2.5.13 | zip (172.3 kB) | 2024-Feb-05 |
diff --git a/composer.json b/composer.json
index 4ea2430..d85be8d 100644
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
"name": "ekomiltd/ekomiintegration",
"description": "eKomi Plugin for Magento allows you to integrate your Magento shop easily with eKomi system. This allows you to collect verified reviews, display eKomi seal on your website and get your seller ratings on Google. This helps you increase your website's click through rates, conversion rates and also, if you are running Google AdWord Campaigns, this helps in improving your Quality Score and hence your costs per click.",
"type": "magento2-module",
- "version": "2.5.12",
+ "version": "2.5.13",
"license": [
"OSL-3.0",
"AFL-3.0"
diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml
index 672cb1b..e8bdbea 100644
--- a/etc/adminhtml/system.xml
+++ b/etc/adminhtml/system.xml
@@ -77,7 +77,7 @@
showInDefault="1" showInWebsite="1" showInStore="1">
Ekomi\EkomiIntegration\Model\System\Config\Source\TermsAndConditions
- The plugin will export orders only if you are agree with our Terms and Conditions ]]>
+ Terms and Conditions]]>
-
\ No newline at end of file
+
diff --git a/etc/module.xml b/etc/module.xml
index a6a66fb..bbbe754 100644
--- a/etc/module.xml
+++ b/etc/module.xml
@@ -1,4 +1,4 @@
-
+
diff --git a/i18n/en_US.csv b/i18n/en_US.csv
new file mode 100644
index 0000000..cded4a9
--- /dev/null
+++ b/i18n/en_US.csv
@@ -0,0 +1,55 @@
+"review our plugin","review our plugin"
+"Your feedback is important. Please take a moment to","Your feedback is important. Please take a moment to"
+"If you do not have an account with eKomi, please register Here or contact our support","If you do not have an account with eKomi, please register Here or contact our support"
+"Ekomi Integration","Ekomi Integration"
+"Ekomi Integration Section","Ekomi Integration Section"
+"Ekomi Configuration","Ekomi Configuration"
+"Enabled","Enabled"
+"To enable for specific store or website, please change scope from top left","To enable for specific store or website, please change scope from top left"
+"Product Base Reviews","Product Base Reviews"
+"Shop ID","Shop ID"
+"Interface id received by eKomi","Interface id received by eKomi"
+"Shop Password","Shop Password"
+"Order Statu","Order Statu"
+"Order status when review email should be sent. Please note number of days added for delay will be after this","Order status when review email should be sent. Please note number of days added for delay will be after this"
+"Review Mode","Review Mode"
+"How do you want to ask customer for review, email or sms","How do you want to ask customer for review, email or sms"
+"Product Identifierd","Product Identifierd"
+"Which product attribute should be used as identifier in eKomi","Which product attribute should be used as identifier in eKomi"
+"Exclude Products","Exclude Products"
+"Comma separated list of product IDs/SKUs which should be excluded from product export to eKomi","Comma separated list of product IDs/SKUs which should be excluded from product export to eKomi"
+"Export Method","Export Method"
+"When should the orders be exported to eKomi?","When should the orders be exported to eKomi?"
+"TurnAround Time","TurnAround Time"
+"Number of days required to complete an order","Number of days required to complete an order"
+"Terms and Conditions","Terms and Conditions"
+"The plugin will export orders only if you are agree with our Terms and Conditions","The plugin will export orders only if you are agree with our Terms and Conditions"
+"status","status"
+"eKomi Product Review Container","eKomi Product Review Container"
+"Displays the product reviews for a given product","Displays the product reviews for a given product"
+"Title","Title"
+"Template","Template"
+"SW Product Review Container","SW Product Review Container"
+"On Order Status Change","On Order Status Change"
+"Every 24 hours (Cron)","Every 24 hours (Cron)"
+"Product ID","Product ID"
+"Product SKU","Product SKU"
+"Email","Email"
+"SMS","SMS"
+"SMS if contact number valid, otherwise Email","SMS if contact number valid, otherwise Email"
+"Yes","Yes"
+"No","No"
+"1 Day","1 Day"
+"2 Days","2 Days"
+"3 Days","3 Days"
+"4 Days","4 Days"
+"5 Days","5 Days"
+"6 Days","6 Days"
+"7 Days","7 Days"
+"8 Days","8 Days"
+"9 Days","9 Days"
+"10 Days","10 Days"
+"15 Days","15 Days"
+"20 Days","20 Days"
+"30 Days","30 Days"
+"Access denied, Invalid Shop ID or Password","Access denied, Invalid Shop ID or Password"
diff --git a/i18n/pl_PL.csv b/i18n/pl_PL.csv
new file mode 100644
index 0000000..81b1985
--- /dev/null
+++ b/i18n/pl_PL.csv
@@ -0,0 +1,55 @@
+"review our plugin","Zrecenzuj nasz wtyczkę"
+"Your feedback is important. Please take a moment to","Twoja opinia jest ważna. Proszę poświęcić chwilę na"
+"If you do not have an account with eKomi, please register Here or contact our support","Jeśli nie masz konta w eKomi, zarejestruj się proszę. Tutaj lub skontaktuj się z nami wsparcie"
+"Ekomi Integration","Integracja z eKomi"
+"Ekomi Integration Section","Sekcja integracji z eKomi"
+"Ekomi Configuration","Konfiguracja eKomi"
+"Enabled","Włączone"
+"To enable for specific store or website, please change scope from top left","Aby włączyć dla określonego sklepu lub strony internetowej, proszę zmienić zakres z lewego górnego rogu."
+"Product Base Reviews","Recenzje oparte na produkcie"
+"Shop ID","ID sklepu"
+"Interface id received by eKomi","ID interfejsu otrzymane od eKomi"
+"Shop Password","Hasło sklepu"
+"Order Statu","Status zamówienia"
+"Order status when review email should be sent. Please note number of days added for delay will be after this","Status zamówienia, przy którym powinien zostać wysłany e-mail z recenzją. Proszę zauważyć, że liczba dni dodanych na opóźnienie dotyczy okresu po tym statusie"
+"Review Mode","Tryb recenzji"
+"How do you want to ask customer for review, email or sms","Jak chcesz poprosić klienta o recenzję, e-mailem czy SMS-em"
+"Product Identifierd","Identyfikator produktu"
+"Which product attribute should be used as identifier in eKomi","Który atrybut produktu powinien być używany jako identyfikator w eKomi"
+"Exclude Products","Wyklucz produkty"
+"Comma separated list of product IDs/SKUs which should be excluded from product export to eKomi","Rozdzielona przecinkami lista identyfikatorów produktów (ID/SKU), które powinny zostać wykluczone z eksportu produktów do eKomi"
+"Export Method","Metoda eksportu"
+"When should the orders be exported to eKomi?","Kiedy zamówienia powinny być eksportowane do eKomi"
+"TurnAround Time","Czas realizacji"
+"Number of days required to complete an order","Liczba dni potrzebna do zrealizowania zamówienia"
+"Terms and Conditions","Regulamin"
+"The plugin will export orders only if you are agree with our Terms and Conditions","Wtyczka będzie eksportować zamówienia tylko jeśli się zgadzasz z naszymi warunkami Regulamin"
+"status","status"
+"eKomi Product Review Container","Kontener recenzji produktów eKomi"
+"Displays the product reviews for a given product","Wyświetla recenzje produktu dla danego produktu"
+"Title","Tytuł"
+"Template","Szablon"
+"SW Product Review Container","Kontener recenzji produktów SW"
+"On Order Status Change","Przy zmianie statusu zamówienia"
+"Every 24 hours (Cron)","Co 24 godziny (Cron)"
+"Product ID","ID produktu"
+"Product SKU","Kod SKU produktu"
+"Email","Email"
+"SMS","SMS"
+"SMS if contact number valid, otherwise Email","SMS, jeśli numer kontaktowy jest poprawny, w przeciwnym razie e-mail"
+"Yes","tak"
+"No","nie"
+"1 Day","1 dzień"
+"2 Days","2 dni"
+"3 Days","3 dni"
+"4 Days","4 dni"
+"5 Days","5 dni"
+"6 Days","6 dni"
+"7 Days","7 dni"
+"8 Days","8 dni"
+"9 Days","9 dni"
+"10 Days","10 dni"
+"15 Days","15 dni"
+"20 Days","20 dni"
+"30 Days","30 dni"
+"Access denied, Invalid Shop ID or Password","Dostęp zabroniony, Nieprawidłowe ID sklepu lub hasło"