Inventory area. With these actions, product reservations can be renewed and back-in-stock notifications can be managed.
Actions overview
Actions
InventoryReserve
This action renews the reservation of a product in the basket. It is only relevant if the reservation duration of an item has expired and the customer wants to extend the reservation. Usage exampleCan be used on the basket page when the reservation time of an item has expired and the customer should be given the option to renew the reservation. Parameters
Error codes
The error code
insufficentAmount is output in this spelling. The associated error text is located in the configuration under insufficientAmount and in the text module ws.error.inventoryReserve.insufficientAmount.BackInStockActivateNotify
This action activates a notification that informs the customer by email as soon as a sold-out product is available again. For this purpose, the shop stores the inventory status that the product has at the time of activation. The email is sent as soon as the availability traffic light improves, i.e. from red to yellow or from yellow to green. No login is required for this action. If the customer is logged in, the notification is additionally assigned to their customer account and appears under $wsAccount.backInStockList. Usage exampleCan be used on the product detail page when a product is sold out and the customer wants to be notified as soon as it can be ordered again. Parameters
Error codes
Related modules, variables & methods
Example showing how a customer can activate a notification for a sold-out product.
BackInStockDeactivateNotify
This action deactivates an existing back-in-stock notification. Usage exampleCan be used on the account overview page, where logged-in customers can view and remove their active notifications. The action requires a login. Parameters
Error codes
Related modules, variables & methods
Example showing how an active notification is deactivated via a button.
