techdivision / import-product-url-rewrite
Pacemaker library providing basic Magento 2 product URL rewrite import functionality
Installs: 130 432
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 13
Forks: 6
Open Issues: 3
Requires
- php: ^8.1
- techdivision/import-product: ^26.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
- 26.0.0
- 25.0.4
- 25.0.3
- 25.0.2
- 25.0.1
- 25.0.0
- 24.x-dev
- 24.1.8
- 24.1.7
- 24.1.6
- 24.1.5
- 24.1.4
- 24.1.3
- 24.1.2
- 24.1.1
- 24.1.0
- 24.0.0
- 23.x-dev
- 23.0.0
- 22.x-dev
- 22.0.2
- 22.0.1
- 22.0.0
- 21.x-dev
- 21.0.0
- 20.x-dev
- 20.0.0
- 19.x-dev
- 19.0.1
- 19.0.0
- 18.x-dev
- 18.0.2
- 18.0.1
- 18.0.0
- 17.x-dev
- 17.0.2
- 17.0.1
- 17.0.0
- 16.x-dev
- 16.0.0
- 15.x-dev
- 15.0.0
- 14.x-dev
- 14.0.0
- 13.x-dev
- 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.0
- 7.x-dev
- 7.0.0
- 6.x-dev
- 6.0.0
- 5.x-dev
- 5.0.0
- 4.x-dev
- 4.0.0
- 3.x-dev
- 3.0.0
- 2.x-dev
- 2.0.1
- 2.0.0
- 1.0.0
- 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
- dev-compatibility-php-81
- dev-fix-url-confilct
- dev-pac-5-optimize-code
- dev-metsup-32
- dev-pac-512-fix-url-suffix
- dev-bugfix/replace-operation
- dev-pac-235--rewrites-for-store-views
- dev-pac-335--slash-handling
- dev-pac-264--pdo-exception
- dev-pac-307--update-url-key-from-name
- dev-backport--product-301-rewrite-to-active-url
- dev-pac-273--product-301-rewrite-to-active-url
- dev-pac-252--category-product-rewrites-3.8
- dev-pac-252--category-product-rewrites
- dev-di
This package is auto-updated.
Last update: 2024-10-24 16:35:25 UTC
README
Please visit the Pacemaker website or our documentation for additional information
Multistore URL Rewrite Import
- Importer supports multistore url_key, it is only to be noted that if the file for a new product contains only default store row, only one entry for defualt store is stored in the table catalog_product_entity_varchar and the url_rewrite table for all stores a key is deposited.
- When updating this product with a new key for this product, all stores will be changed.
- To avoid this problem, the default line can be omitted and only the specific store imported.
Speziall Fall
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.
Lösung
- To solve the problem only the default store and the specific store should be imported and so the product will only be imported for the store and the specific store.
- import should always include all stores in a new product, 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.