techdivision / import-category
Pacemaker library providing basic Magento 2 category import functionality
Installs: 133 955
Dependents: 4
Suggesters: 0
Security: 0
Stars: 6
Watchers: 13
Forks: 4
Open Issues: 0
Requires
- php: ^8.1
- techdivision/import: ^18.0.0
Requires (Dev)
- consolidation/robo: ^4.0.2
- doctrine/dbal: ^4.0.4
- mikey179/vfsstream: ~1.6.11
- pdepend/pdepend: ^2.16.2
- phpmd/phpmd: ^2.15.0
- phpunit/phpunit: ^11.2.5
- sebastian/phpcpd: ^2.0.1
- squizlabs/php_codesniffer: ^3.10.1
- symfony/http-kernel: ~4.4.51
- dev-master
- 22.0.0
- 21.1.0
- 21.0.3
- 21.0.2
- 21.0.1
- 21.0.0
- 20.x-dev
- 20.0.15
- 20.0.14
- 20.0.13
- 20.0.12
- 20.0.11
- 20.0.10
- 20.0.9
- 20.0.8
- 20.0.7
- 20.0.6
- 20.0.5
- 20.0.4
- 20.0.3
- 20.0.2
- 20.0.1
- 20.0.0
- 19.x-dev
- 19.1.0
- 19.0.1
- 19.0.0
- 18.x-dev
- 18.0.2
- 18.0.1
- 18.0.0
- 17.x-dev
- 17.0.4
- 17.0.3
- 17.0.2
- 17.0.1
- 17.0.0
- 16.x-dev
- 16.1.3
- 16.1.2
- 16.1.1
- 16.1.0
- 16.0.1
- 16.0.0
- 15.x-dev
- 15.0.0
- 14.x-dev
- 14.0.0
- 13.x-dev
- 13.0.1
- 13.0.0
- 12.x-dev
- 12.0.0
- 11.x-dev
- 11.0.0
- 10.x-dev
- 10.0.0
- 9.x-dev
- 9.0.0
- 8.x-dev
- 8.0.1
- 8.0.0
- 7.x-dev
- 7.0.1
- 7.0.0
- 6.x-dev
- 6.0.0
- 5.x-dev
- 5.0.1
- 5.0.0
- 4.x-dev
- 4.0.0
- 3.x-dev
- 3.0.0
- 2.x-dev
- 2.0.0
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-beta26
- 1.0.0-beta25
- 1.0.0-beta24
- 1.0.0-beta23
- 1.0.0-beta22
- 1.0.0-beta21
- 1.0.0-beta20
- 1.0.0-beta19
- 1.0.0-beta18
- 1.0.0-beta17
- 1.0.0-beta16
- 1.0.0-beta15
- 1.0.0-beta14
- 1.0.0-beta13
- 1.0.0-beta12
- 1.0.0-beta11
- 1.0.0-beta10
- 1.0.0-beta9
- 1.0.0-beta8
- 1.0.0-beta7
- 1.0.0-beta6
- 1.0.0-beta5
- 1.0.0-beta4
- 1.0.0-beta3
- 1.0.0-beta2
- 1.0.0-beta1
- 1.0.0-alpha14
- 1.0.0-alpha13
- 1.0.0-alpha12
- 1.0.0-alpha11
- 1.0.0-alpha10
- 1.0.0-alpha9
- 1.0.0-alpha8
- 1.0.0-alpha7
- 1.0.0-alpha6
- 1.0.0-alpha5
- 1.0.0-alpha4
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
- dev-compatibility-php-81
- dev-add-new-path-validation
- dev-fix-url-confilct
- dev-metsup-32
- dev-pac-512-fix-url-suffix
- dev-pac-335--slash-handling
- dev-pac-320--remove-children-from-category
- dev-pac-264--pdo-exception
- dev-pac-307--update-url-key-from-name
- dev-redirect-always-to-target-url
- dev-pac-57--delete-eav-relation
- dev-pac-129--refactor-override-images
- dev-pac-96--override-images-option
- dev-devel-3.9.x
- dev-di
This package is auto-updated.
Last update: 2024-10-24 13:25:52 UTC
README
Please visit the Pacemaker website or our documentation for additional information
Multistore URL Rewrite Import
- Importer supports multistore url_key, just note that if the file contains only default store row for a new category, only one entry for defualt store is stored in the catalog_product_entity_varchar table and a key is stored in the url_rewrite table for all stores.
- When updating this category with a new key for this category, it will be changed for all stores.
- To avoid this problem, the default line can be omitted and only the specific store imported.
Special case
In some cases the default row must be included in the product file, in which case, if there are no entries in the varchar for the stores already, the url_rewrite for all stores is updated based on what is in the default column.
Possible solution
- To solve the problem only the default store and the specific store should be imported and so the category will only be imported for the store and the specific store.
- import should always include all stores in a new category, so each store has an entry in the catalog_product_entity_varchar table for the url_key attribute.
- If the category is only to be updated in a store, the default row must be supplied with the specific store, then the url_rewrtie and url_key are updated in the Varchar table.