Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
- Prise en compte de la synchronisation des entrepots de WooCommerce …
Browse files Browse the repository at this point in the history
…vers Dolibarr (Support du module Woocommerce "Stock Locations for WooCommerce" v2.4.2)

- Refonte de la page de configuration des sites
- Suppression de la variable global ECOMMERCENG_WOOCOMMERCE_ORDER_STATUS_LVL_CHECK, l'option est maintenant par site
- Ajout de la synchronisation asynchrone des stocks vers le site
- Refonte des appels aux API. Utilisation de la librarie GuzzleHTTP pour se connecter à Wordpress et WooCommerce
  • Loading branch information
kkhelifa-opendsi committed Feb 24, 2023
1 parent bd513f6 commit 9c6f9c0
Show file tree
Hide file tree
Showing 53 changed files with 6,338 additions and 6,668 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# ChangeLog

## 4.1.35.0
- Prise en compte de la synchronisation des entrepots de WooCommerce vers Dolibarr (Support du module Woocommerce "Stock Locations for WooCommerce" v2.4.2)
- Refonte de la page de configuration des sites
- Suppression de la variable global ECOMMERCENG_WOOCOMMERCE_ORDER_STATUS_LVL_CHECK, l'option est maintenant par site
- Ajout de la synchronisation asynchrone des stocks vers le site
- Refonte des appels aux API. Utilisation de la librarie GuzzleHTTP pour se connecter à Wordpress et WooCommerce

## 4.1.34.0
- Correction de la prise en compte de l'adresse de livraison
(si au moins le nom ou le prenom, et au moins un des 2 champs d'adresses, et le code postal et la ville sont renseignés alors on la traite comme adresse de livraison
Expand Down
34 changes: 34 additions & 0 deletions admin/actions_selectsite.inc.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php
/* Copyright (C) 2022 Open-DSI <[email protected]>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

/**
* \file htdocs/ecommerceng/admin/actions_selectsite.inc.php
* \ingroup ecommerceng
* \brief Include select site actions
*/

/**
* Globals
*
* @global string $action
*/

if ($action == 'select_site') {
$site_id = GETPOST('site_id', 'int');
header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $site_id);
exit;
}
2 changes: 1 addition & 1 deletion admin/class/gui/eCommerceMenu.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function getMenu()
'type'=>'left',
'titre'=>'ECommerceMenuSetup',
'leftmenu'=>'ecommerceng_setup',
'url'=>'/ecommerceng/admin/eCommerceSetup.php',
'url'=>'/ecommerceng/admin/setup.php',
'langs'=>'ecommerce@ecommerceng',
'position'=>120,
'enabled'=>'$conf->ecommerceng->enabled',
Expand Down
1,121 changes: 0 additions & 1,121 deletions admin/eCommerceSetup.php

This file was deleted.

690 changes: 690 additions & 0 deletions admin/order.php

Large diffs are not rendered by default.

Loading

0 comments on commit 9c6f9c0

Please sign in to comment.