Questions tagged [stock]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
20 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 ...
1
vote
1answer
20 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 ...
0
votes
1answer
116 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 ...
1
vote
1answer
96 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, ...
1
vote
1answer
232 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. ...
1
vote
1answer
132 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 | ...