You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: guides/v2.2/ext-best-practices/tutorials/custom-import-entity.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ contributor_name: Atwix
5
5
contributor_link: https://www.atwix.com/
6
6
---
7
7
8
-
This tutorial shows you how to add a new import entity, that can be used to import data into your custom module's table, by extending the [Magento/ImportExport/Model/Import/Entity/AbstractEntity][0]{:target="_blank"} class.
8
+
This tutorial shows you how to extend the [Magento/ImportExport/Model/Import/Entity/AbstractEntity][0]{:target="_blank"} class to import data into your custom module's table.
9
9
The current import entities can be found in **System** > **Import**:
10
10
11
11
- Advanced Pricing
@@ -14,13 +14,13 @@ The current import entities can be found in **System** > **Import**:
14
14
- Customers Main File
15
15
- Customer Addresses
16
16
17
-
For the beginning let's suppose that we have a custom table with the following structure:
17
+
To begin, let's suppose we have a custom table with the following structure:
18
18
19
19
| entity_id | name | duration |
20
20
| --- | --- | --- |
21
21
||||
22
22
23
-
## Step 1: Adding a new Entity Type
23
+
## Step 1: Adding a New Entity Type
24
24
25
25
Declaring our new import entity:
26
26
@@ -34,7 +34,7 @@ Declaring our new import entity:
34
34
</config>
35
35
```
36
36
37
-
As we extend the **Magento_ImportExport** module, we should also add a dependency to it in `module.xml` file.
37
+
As we extend the **Magento_ImportExport** module, we should also add a dependency to it in the `module.xml` file.
38
38
39
39
> `etc/module.xml`
40
40
@@ -357,7 +357,7 @@ As result, we should be able to see the new Entity Type:
0 commit comments