Code Monkey home page Code Monkey logo

prestashopstockupdater's Introduction

Warning

This project is old and some packages included on it are not available anymore. They should be updated to be able to run the project again. If you do so please create a PR and I'll merge it.

Description

Given a CSV with the proper columns, it will update or create a product inside Prestashop using the Webservice API:

The definition of the fields can be found here: \ImporterBundle\Entity\CsvOnlyStockMapping

\ImporterBundle\Entity\CsvProductMapping

Requirements

  • Composer
  • PHP >5.6

Only for full product version

  • Local MySql database

Installation

  • Composer install
  • Fill the requested parameters

Only for full product version

  • Create database schema --> php doctrine:schema:create

Commands:

  • Update Stocks only --> php app/console stock:updater
  • Updates Full product --> php app/console importer:list_products

Notes

  • If you have problems with the authorization add this to your .htaccess
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
</IfModule>

prestashopstockupdater's People

Contributors

dependabot[bot] avatar kristianmzmz avatar

Watchers

James Cloos 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.