Skip to main content

Questions tagged [stock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
488 views

Stock Levels for Commerce 2

I am putting together a proposal for an eCommerce site - one of the (obvious) requirements is inventory management. I do not see anything specific in the Commerce 2 docs. Basically, want to enter ...
Roi Agneta's user avatar
  • 1,463
1 vote
1 answer
35 views

Individual persistent property per item in stock

This is more advanced: We want to sell activation keys for digital products. We know that in Craft a variant has a stock. So every single item "in" the stock needs a unique activation key. When we ...
blacksmith's user avatar
3 votes
1 answer
436 views

Craft Commerce Negative Stock

Is it possible to set up and manage stock in Craft Commerce even if a product stock goes into the negative? The current commerce project I'm working on is open to the public so anyone can add items to ...
Brad Lilley's user avatar
1 vote
1 answer
425 views

Craft Commerce carts containing out-of-stock products

Customer 1 adds a product to their cart. Does not complete their order. Customer 2 purchases the remaining stock of that product, completing their order. Customer 1 returns to the store the next day, ...
Clive Portman's user avatar
1 vote
1 answer
406 views

Saving a variant with new stock from plugin

Has anyone had any luck trying to save a variant via a plugin? I'm trying to integrate with a 3rd party inventory system and want to grab the current stock information and update my variants. ...
Stephen McKinney's user avatar
0 votes
1 answer
445 views

Craft Commerce hasStock not working?

I'm trying to query for certain products but only ones that have stock (the products just have defaultVariants): {% set earliestDate = now | date_modify('- 1 days') %} {% set latestDate = now | ...
Clive Portman's user avatar