2017 © Pedro Peláez
 

silverstripe-vendormodule stock

Adds stock management to SilverShop.

image

silvershop/stock

Adds stock management to SilverShop.

  • Tuesday, May 8, 2018
  • by anselmdk
  • Repository
  • 4 Watchers
  • 1 Stars
  • 823 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 8 Forks
  • 2 Open issues
  • 6 Versions
  • 10 % Grown

The README.md

SilverStripe Shop Stock

Adds stock management to the SilverStripe Shop module., (*1)

Build Status Code Quality Code Coverage Version License, (*2)

Installation

composer require "silvershop/stock:dev-main", (*3)

After installing the module, rebuild the database and create your first product warehouse in the ProductCatalogAdmin tab., (*4)

Feature Overview

This module provides a couple of additional models - ProductWarehouse, ProductWarehouseStock. A warehouse is a concept of a location where quantity of the stock is held. In a simple case, you may have a single ProductWarehouse instance that contains all your stock. More complex shops may have multiple warehouses (i.e a store and a supplier). These warehouses are managed through the ProductCatalogAdmin panel in the CMS., (*5)

The ProductWarehouseStock object manages the relation between a Product or a ProductVariation and contains the specific count of the product at that particular warehouse., (*6)

After installing the module your Product edit screen will gain a Stock tab which lists all your warehouses and the value count of the product (or variation). Leaving a warehouse stock value as -1 implies that this warehouse has an unlimited quantity of this product., (*7)

When an product is added to the users cart, the quantity is on reserved as the current order is stored in the Order table., (*8)

To make sure that stock added to the cart is released on abandoned carts make sure you have the CartCleanupTask task enabled as a cron job, (*9)

TODO

  • Allow prioritizing of warehouses within each product (i.e use warehouse X for before warehouse Y) This should use a sortable grid field based on the ProductWarehoueStock., (*10)

  • Move 'unlimited stock' to a checkbox rather than -1., (*11)

The Versions

08/05 2018

dev-master

9999999-dev

Adds stock management to SilverShop.

  Sources   Download

BSD-2-Clause BSD-3-Clause

The Requires

 

The Development Requires

silverstripe ecommerce silvershop

03/02 2018

1.0.4

1.0.4.0

Adds stock management to SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

silverstripe ecommerce silvershop

23/11 2016

1.0.3

1.0.3.0

Adds stock management to SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

silverstripe ecommerce silvershop

28/09 2016

1.0.2

1.0.2.0

Adds stock management to SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

silverstripe ecommerce silvershop

28/09 2016

1.0.1

1.0.1.0

Adds stock management to SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

silverstripe ecommerce silvershop

06/05 2016

1.0.0

1.0.0.0

Adds stock management to SilverShop.

  Sources   Download

BSD-2-Clause

The Requires

 

silverstripe ecommerce silvershop