Skip to content

Allow vouchers to have stock #105

@pixelmachine

Description

@pixelmachine

What are you trying to do?

I've been asked a couple of times recently to setup limited runs of vouchers.

It's not too hard to add a basic implementation via a custom field and an event but it would be nicer if vouchers had the same stock options as full products, i.e. stock or unlimited stock. This would bring vouchers more inline with standard Commerce products, which is nice for clients, and allows simpler templating an so on.

Not sure if that's something that can be inherited from the built in elements.

What's your proposed solution?

Stock level field and unlimited option. Unlimited by default I guess.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions