ProductStock loader

It loads given rows to the spy_stock_product table.

Usage:

<product-stock
    productConcreteIdField="product_concrete_id"
/>

Attributes:

  • productConcreteIdField - name of the field containing the id of the concrete product

  • stockIdField - name of the field containing the stock ID

  • isNeverOutOfStockField - name of the field containing the boolean isNeverOutOfStock flag

  • quantityField - name of the field containing the stock quantity