En cours

Prestashop module to keep products stock level in-sync with another php app in the same server

We have a shop running prestashop (let's call it 'app1') and in the same server we have another php+mysql app that plays as invoicing+stock-control system ->let's call this one 'app2'.

What we need is to develop a module for prestashop to keep stock updated in the databases of both apps (the prestashop/'app1' DB and the 'app2' DB). We don't want to modify prestashop's core files so that's why we want it to be a PS module.

So the module's job is to: whenever a product's stock-level gets modified in prestashop (for example, after an order confirmation or after an administrator manually edits the product's stock-level) we want the stock-level of app2 to get updated (so [url removed, login to view] = [url removed, login to view] +- app1.products.stock_diff).

And also would need the module to have a way in which the opposite update gets done (from app2 to app1), so that whenever a product's stock-level gets modified in app2, the stock-level of the same product is modified in app1 (prestashop). There should be a parameter in the module's settings that will let the user select the field by which the product is going to be matched against-to in app2. So in the module's settings there should be an option called 'App2 Product Reference Field' (a drop-down menu) that will let the user select one of prestashop's product references (like 'Reference', 'Supplier Reference', 'EAN13' or 'UPC').

Just to clarify: App2's source is very simple and straightforward and there are only two short php scripts in which product's stock-level is modified, so we wouldn't mind to modify this 2 scripts in app2 for it to work (because I can't imagine any other way to do it other than modifying those scripts). It would be a request although not to add mysql-queries directly into those scripts. Instead, cross-site event triggers should be added to those 2 scripts and the prestashop module should have an event listener listening for stock-level updates from app2 (or any other app in the future). So an event-call to update stock-levels that is requested from app2 to app1 should be done by doing something like this: <?php

file_get_contents('[url removed, login to view]+5');

?>

and the response should be verified to make sure that the update was actually made and else write a little log with missed updates.

Plase make sure to say 'say no more' in any PM's to make sure you read everything

Compétences : MySQL, PHP, Prestashop

Voir plus : prestashop stock server, update stock prestashop php, prestashop stock sync module, prestashop module sync products, prestashop sync stock php, prestashop add stock php, need develop app, the levels, simple php app, one level, log cross, level two, level s, level one, job stock, job module, imagine stock, prestashop listener, stock level sync prestashop, update products, supplier source, stock update, source supplier, prestashop update, prestashop products

Concernant l'employeur :
( 4 commentaires ) San Isidro, Argentina

N° du projet : #2335636

Décerné à :

vcsahu16

'say no more' Hi, I am interested for the task of creating modules to sync stock in two apps .Please check my profile reviews for prestashop exp. Thanks

200 $ USD en 5 jours
(57 Commentaires)
5.6

5 freelance ont fait une offre moyenne de 284 $ pour ce travail

mangkuutama

HI i'm interest on you offer. I'm an expert on ecommerce/prestashop and php programming and I have experience with kind of your need.I can start as soon as possible. regards,

200 $ USD en 7 jours
(118 Commentaires)
5.9
sigmasolve

Hello, After having look at your requirement, I would like to offer you our quality services which will be your ultimate goal and requirement to have. With the market presence of 5+ years, we have worked on 1500+ Plus

220 $ USD en 5 jours
(8 Commentaires)
3.7
webwayexpert2

Hi, i have seen the details of the project. i can make as you need . please see the Private message for more details . THANKS

600 $ USD en 4 jours
(0 Commentaires)
0.0
affiliateexpert

We are expert in Prestashop includes, customization, design & development. Please check our PM

200 $ USD en 10 jours
(0 Commentaires)
0.0