johanbernard / prestashop_to_dolibarr Goto Github PK
View Code? Open in Web Editor NEWTHE prestashop to dolibarr in open source
THE prestashop to dolibarr in open source
Version PrestaShop : 1.7.8.7
Version Dolibarr : 16.0.3 (peut être besoin de downgrade la version ?)
Version Apache : 2.4.51
Version PHP : 7.4
Il arrive bien à voir que c'est des attributs côté presta car voici un exemple des logs :
Hi, And thanks for this module.
I got this error when try to export product form prestashoop 1.7.6.5 to Dolibarr 11.0.4
and no product is synchronized?
php -v = 7.2 on both
"Invalid argument supplied for foreach() prestashoptodolibarrpro.php on line 1171\n"
"Cote" should be "côté"
"Cote dolibarr" should be on a separate line
"reprtoire" should be "répertoire" (missing e)
Thanks for this module!
This can be done on the prestashop side by adding a check box in the Export settings to indicate that it's a service and not a product.
Add value to product.fk_product_type
fk_product_type
= '0' => Product
fk_product_type
= '1' => Service
All is in title of issue
Add a format mask for each export (product, customer, order, invoice)
Before:
// try to get the customer by ref
$ref = $this->ws_trigram_value.$this->format($c_id, 10);
After:
// try to get the customer by ref
$ref = $this->ws_trigram_value.$this->format($c_id, $this->ws_mask_customer, 'customer');
Ex.: $this->ws_mask_customer = 'CUS{000000}';
with
$c_id = 123;
$this->ws_trigram_value ='PTS';
So $ref => PTSCUS000123
@johanbernard
Pourrez vous svp m'expliquer la différence entre ces trois, leurs besoins et lequel l'essentiel!
Hello, i'm very interested in your module. Obviously i need to synchronize a Dolibarr instance with a prestashop instance. My concern is regarding the compatibility of the module with the "last version" of Dolibarr and Prestashop. I really am not able to find this information. Looking at the Dolistore webpage of the module:
https://www.dolistore.com/es/modulos/497-Prestashop-to-Dolibarr-PRO--PJ-Conseil-.html
It says that only Dolibarr 3.9+ is compatible... but i would say looking in Github that its not true. So?
This integration is for a customer of mine, so i can buy your module on Dolistore. I only need to know:
is the module just now compatible with Dolibarr 10.x? And, if the answer is NO, please tell your opinion: it would be easy for me to make it compatible (your sincerely opinion). I've developed 2 modules for Dolibarr, so i think that i could do it. Bute, well, it's your module :-)
regarding Prestashop, i don't have ANY experience developing to, so... any suggestion?
Thanks in advance!
Sergi
Bonjour,
A l'export des catégories, j'ai une erreur 500 qui reviens en permanence, si je passe en php 5.6 ça fonctionne correctement.
j'ai trouvé ce fil de discussion :
https://www.dolibarr.fr/forum/t/prestashop-to-dolibarr/28190/41
mais je ne trouve pas la solution à l'intérieur.
Existe t-il une correction à l'export des catégories sous PHP 7.X ?
Merci d'avance pour votre aide.
Thibault
Hello,
Just finished a two-days challenging installation session. Both Prestashop and Dolibarr installations are web-based on different IP addresses. Prestashop 1.7.8.9 / PHP 7.4.33, Dolibarr 17.0.2 / PHP 7.4.33. Since my Dolibarr installation belongs to an internal Web Server which is not supposed to be accessible from outside my office, I temporarily routed its Apache server so as to respond to external request made on a non-standard WWW port. Therefore, I tried to use a addressing convention like http://your_host:portnumber/dolibarr/htdocs/ in the "Dolibarr URL" field, instead of the suggested http://your_host/dolibarr/htdocs/. Unfortunately, that didn't work and I had to temporarily deploy my Dolibarr installation on the published Web Server (which is something I try to avoid at all costs) to finally test successfully the connection. Is there any workaround to this?
Thanks n advance,
Andrea
Write the Readme.md in english
Add also a description of goal of module so project can be indexed by google.
Add into readme a link to documentation page that is on https://wiki.dolibarr.org/index.php/Module_PrestaShop_To_Dolibarr
And complete this page
Hi,
Prestashop 1.7.5.0
Dolibarr 11.0.3
Hosting : OVH
Thanks a lot for this module, I will buy it for sure if I manage to make it work.
When testing the webservice keys on prestashop side, I get the following error :
Dolibarr doesn't respond, please check your Dolibarr's URL and the communication keys.Then check if Soap is enable in the PHP configuration of your dolibarr's server
I've double-checked everything like dolibarr url, login and key.
Also, I've been using Cyberoffice which is another prestashop to dolibarr plugin before this one but I'm not satisfied with it as it doesn't sync clients categories.
Just to say that I did not have any connection issue with this other plugin.
Is there any known issue with Dolibarr 11 ?
Regards,
Bonjour et bravo pour votre excellent module!
Actuellement seule la première photo ajouté d'un produit est exporté vers dolibarr, ce n'est même pas la photo de garde.
C'est possible de synchroniser toutes les photos dans les pièces à joindre dans dolibarr et à la limite prendre la photo de garde au lieu de la première photo ajouté?
D'avance MERCI!
When we launch the synchronization of products from presta to dolibarr, the webservice will launch this request to dolibarr. Doli after the creation of the product will automatically launch the Trigguer of CREATE so there will be a systematic request! this return, which is useless, is very slow! this trigguer is normally intended to launch when you create a product via dolibarr and not the webservice!
I wonder if my reflection is correct and if possible to communicate a param to dolibarr to say to ignore the trigger when it's a webservice?
OK 0 produit(s) sur 4 exporté(e)s
Bonjour
lorsque j'ai essayé d'installer le module dolipresta dans prestashop 1.7.7.3 il m'affiche un erreur "Ce fichier ne semble pas être un fichier .zip de module valide." malgré que le fichier est .zip
$idsrefdoliproduct = $this->getRefdoliEmpty('product');
Case the reference and reference_old_doli empty => 0 product
private function getRefdoliEmpty($table)
if ($table == 'product') {
$query = '
SELECT id_product, reference FROM '.DB_PREFIX.'product
WHERE reference <> reference_old_doli
ORDER BY id_product';
}
Erreur dans dolibarr :
Warning: Use of undefined constant upd - assumed ‹ upd › (this will throw an Error in a future version of PHP) in /monsite/dolipresta/admin/admin_dolipresta.php on line 38
modifier : if ($_GET['upd '] == 1) dans fichier dolipresta/admin/admin_dolipresta.php de dolibarr
Problème forcer catégorie erreur 500 👍
dans prestashop fichier prestashoptodolibarrpro.php
Ligne 3008 ajouter :
/*nettoyage array categories/
private function cleanCategory($cat_tab, $result = '')
{
$result = array();
Hello,
Je rencontre un problème lors de l'export des produits vers Dolibarr, j'ai une erreur : ErrorMandatoryParametersNotProvided
Je ne sais pas d'où elle provient quelqu'un a la solution ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.