Rechercher sur le blog

Produits associés

Crea tu propio mercado y permite a tus clientes registrarse como vendedores para vender sus productos a cambio de una comisión.

JA Marketplace Professionnel

Créez votre propre MarketPlace et permettez à vos clients de s’inscrire en tant que vendeurs pour vendre leurs produits moyennent une...

  • Exclusivité web !

Required update of the Booking module

Catégories: Mises à niveau
An important bug that occurred when updating or adding a booking-type product from the Backoffice has been fixed.

An important bug that occurred when updating or adding a booking-type product from the Backoffice has been fixed.

Recent changes:

--- PrestaShop 1.7 ---

VERSION 2.0.1 (05/02/2019)

  • * FIX: use actionMarketplaceAfterAddProduct hook to add and update product booking from seller account

--- PrestaShop 1.6 ---

VERSION 1.0.1 (05/02/2019)

  • * FIX: use actionMarketplaceAfterAddProduct hook to add and update product booking from seller account

---

In this new version 2.0.1 for PrestaShop 1.7 and version 1.0.1 for PrestaShop 1.6 an important error that occurred when updating, activating and / or deactivating a product from the Backffice has been corrected. The fact is that the reservation information was lost after these actions.

To solve this problem, what we have done is to use the hook 'actionMarketplaceAfterAddProduct' that only runs after adding or updating a product from the seller account. In this way, the hook 'ActionProductSave' is no longer used from the seler account. This last function is only executed when a product is created or added from the Backoffice in a conditional manner.

In this way, the 'ActionProductSave' function is conditioned and only executes when you are adding or editing a product from the Backoffice. In this way, it avoids that the information of the reservation is eliminated in case there is.

View more information