Giter VIP home page Giter VIP logo

techdivision / import-category Goto Github PK

View Code? Open in Web Editor NEW
6.0 13.0 4.0 485 KB

This library provides the basic function for the Magento 2 category import. Besides the possibility to create root categories, the translations and URL rewrites can be imported. Similar to the product import, the Library also supports the upload of category images.

Home Page: https://m2if.com

License: MIT License

PHP 100.00%
magento import categories csv pacemaker

import-category's Introduction

Pacemaker - Category Import

Latest Stable Version Total Downloads License Build Status Scrutinizer Code Quality Code Coverage

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.