Skip to content
Synchronize Hiboutik POS software and Prestashop
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers/front
includes/Hiboutik
log
views/templates/front
README.md
config.xml
config_fr.xml
hiboutik.php
index.php
logo.png

README.md

Hiboutik module for Prestashop

This repository contains the open source module that allows you to synchronize Hiboutik POS software and Prestashop. All your online sales are automatically integrated in your Hiboutik account.

Requirements

  • PHP 5.3.0 or newer
  • PHP cURL extension

Description

When a customer makes a purchase in your store, your inventory levels will be updated in your Prestashop store.

All Prestashop sales will be created in your Hiboutik account automatically in real-time, when the order status updates to "payment accepted".

When you complete a stock order, a transfer, or an inventory count in your Hiboutik account, you must push all your inventory levels in Prestashop, from the module settings page (SYNC NOW button).

When a sale comes through to Hiboutik from your Prestashop store, we'll add the shipping charge amount to the Shipping product setup on the module settings page.

Installation

Download Zip archive

On your Prestashop admin interface : Modules > Modules Catalog > Upload a module

Then follow the guide :

[FR] http://www.logiciel-caisse-gratuit.com/synchronisation-prestashop-hiboutik/

[EN] http://www.pos-software-free.com/sync-prestashop-hiboutik/

Tips

How to sync all your warehouses

In https://github.com/hiboutik/prestashop-hiboutik/blob/master/hiboutik.php, remplace :

$stock_available = $hiboutik->get('/stock_available/warehouse_id/' . $\config['HIBOUTIK_STORE_ID']);

with this :

$stock_available = $hiboutik->get('/stock_available/all_wh/');

In https://github.com/hiboutik/prestashop-hiboutik/blob/master/controllers/front/Sync.php, remplace :

          foreach ($stocks_dispo as $stock) {
            if ($stock['warehouse_id'] == $config['HIBOUTIK_STORE_ID']) {
              $quantity = $stock['stock_available'];
              break;
            }
          }

with this :

              $quantity = 0;
          foreach ($stocks_dispo as $stock) {
              $quantity = $quantity + $stock['stock_available'];
          }

Credits

Many have contributed to this plugin effort, from direct contributions of code, to contributions of projects.

Contributors :

You can’t perform that action at this time.