Giter Club home page Giter Club logo

rynshopbar's Introduction




PRE-REQUIREMENTS:
1. Installed VQMod
2. PHPExcel library(Already included in distro).


HOW THE STUFF WORKS:
You can find example in file exp.zip

* Download archive to a folder 'download'
* Unpack archive
* Search for file product.xlsx if exist start parsing.
* CHECK if products category exist. If not, skip current product.
* CHECK if product model already exist to prevent duplicating.
* If all checks OK, insert product into DB. 
* DELETE ALL CONTENT from 'download' folder

ABOUT 'product.xlsx'
At the moment script doesn't perform any data validation, maybe later i will add some.
so:
- don't create any additional sheets
- don't rearrange column order inside the range A:H
- don't create any hidden columns inside the range A:H

Original column order is:
A - categoty
B - Model
C - Name
D - Description
E - Quantity
F - Price
G - Image file name
H - Additional images file list separated by ';'

BEFORE YOU START:
* it's strongly recommended to create a DATABASE BACKUP every time before you use this tool
* check that all categories for products already exist
* after successful import, check system error log for more information about import process


HOW TO INSTALL:
1. Copy content of 'upload' folder to your site root
2. Go to System > Users > User groups
   and add permissions for 'tool/xls_import'
3. Now you can use tool under menu System > EXCEL Import 

rynshopbar's People

Contributors

khanhduyk16tpm avatar

Watchers

James Cloos avatar  avatar

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.