Questions tagged [stock]
The stock tag has no usage guidance.
6 questions
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 ...
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 ...
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 ...
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, ...
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. ...
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 | ...