Isotope Stock Management

Stock settings

Every rating configuration consists of several settings which will be described in details on this page. Each record must have its own name which is used only in the backend.

In the revert order status you can choose an order status, that will automatically revert stock changes when the order will have that status set. The suggested setting is usually the cancelled status. For example, if the client places an order for a stock product its quantity is being reduced by some amount. That amount will be restored if you decide to cancel the order, e.g. due to the resignation of the client.

Important note

The revert stock on selected order works only one way, meaning that it increases product quantities but does not decrease them again if status changes.

You can also choose to hide unavailable products in the frontend. When the product stock quantity reaches zero, the product will no longer be presented on the website until you replenish the inventory.

Contrary to hiding the products, you can also disable the options that are not available. Please note that it works only with single options and radio/select menu types!

Quantity levels

The basic values you have to define for the quantity levels is the low level quantity and the medium level quantity. There are four main levels in the Isotope Stock Management extension. The below table explains their name, quantity, description and the color in the backend interface (i.e. color of the stock quantity in the product management view).

Level Quantity Description Backend color
Empty 0 There are no products in the stock. Black
Low Defaults to 10. The number of products is limited. Red
Medium Defaults to 20. The number of products is still decent. Yellow
High Quantity above medium level. There are a lot of products. Green

For the frontend however you have a total control of the quantity levels. You can create them as many as you want. For each level you have to enter the name (which can be displayed in frontend), the CSS class and the from-to quantity range. Please make sure that the next quantity level starts with a higher number than the previous one ends. See the image for an example.

This results in a similar display in the frontend to this:

Out of stock notification

You can also setup the notification when a product runs out of the stock. In order to do that, first go to the Notifications backend module and create a new notification of the Product out of stock type. Once you have create the message and languages you can go back to the stock configuration and update the necessary fields.

To include the product data in your notification, simply use the product tokens ##product_*## known from Isotope core features. Here are a few examples:

  • ##product_id## → product ID
  • ##product_name## → product name
  • ##product_sku## → product SKU

Availability notification

As of version 3.0, you can enable the "availability notification" feature. It allows visitors to get notified when their favorite product is back in stock. To enable this feature, go to the Notifications backend module and create two notifications:

  1. Product availability → this notification will be sent when the product is again in stock.
  2. Product availability – subscribe → this notification will be sent when the visitor subscribes to the currently out-of-stock product.

Then, you have to choose the newly created notifications in the stock configuration record, as shown in the image:

The notifications accept the following tokens:

  • ##product_*## → the product data (see example above);
  • ##product_url## → the product URL (the one where the form was submitted);
  • ##admin_email## → the e-mail address of administrator;
  • ##recipient_email## → the e-mail address of visitor that subscribed;
  • ##link## → the complete confirmation URL (subscribe notification only).
  • ##token## → the confirmation token (subscribe notification only).
  • ##domain## → the domain (subscribe notification only).

To display the availability form, you also have to add the following snippet to your iso_* product template:

<div class="availability-form">
    <?= $this->generateAvailabilityForm() ?>
</div>