Giter VIP home page Giter VIP logo

prestashop_to_dolibarr's People

Contributors

caos30 avatar claviert avatar eldy avatar grandoc avatar johanbernard avatar wdammak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prestashop_to_dolibarr's Issues

Product Attribute import

Problème sur l'import des produits.

Versions :

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

Problème :

  • L'import des produits se passe sans encombre dans un premier temps.
  • Le lien entre les produits et les catégories se font bien
  • Dès qu'il trouve une déclinaison du produit importé, il va réussir à récupérer son prix car pour un produit j'ai des centaines de lignes de prix différents (prix de chacune des déclinaison du produit). Mais l'attribut n'est pas créer. Le produit est override et prend le nom + référence de la déclinaison.
    (Dans l'idée il faudrait que ça créer un nouveau produit, ou seulement sa déclinaison dans les variantes dolibarr)

Il arrive bien à voir que c'est des attributs côté presta car voici un exemple des logs :
image
image
image

Add a format mask each modulepart

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

Compatibility with last versions of Dolibarr and Prestashop

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

Prestashop module fails to connect to the Dolibarr server addressed with a port number within the address.

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

Compatibilty with Dolibarr 11 ?

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,

Synchroniser vers dolibarr toutes les photos du produit

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!

Fix Bug Slow synchronization

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?

installation du module

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

[BUG] When prestashop.product.reference data value is empty

$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';
}

Corrections à apporter

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();

ErrorMandatoryParametersNotProvided

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 ?

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.