Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set up a "Digital" stock location that ideally has infinite stock. #37

Open
JDutil opened this issue Jun 5, 2013 · 5 comments
Open

Comments

@JDutil
Copy link
Member

JDutil commented Jun 5, 2013

Best way to handle digital delivery I can think of is to just setup a default Digital stock location. Then if we could figure out the best way to make infinite stock at it we'd be all set.

@petergoldstein
Copy link
Contributor

I'd imagine we'd also want to prevent transfer of physical items into the StockLocation, and transfer of digital items to physical StockLocations.

@JDutil Have you been able to give this matter any thought since you filed the issue?

@JDutil
Copy link
Member Author

JDutil commented Aug 22, 2013

No I haven't yet, but I believe in Spree 2.1 a made to order option has been added which would handle infinite stock.

I agree we should validate physical vs digital in the stock locations as well.

@petergoldstein
Copy link
Contributor

@JDutil Great. I'll check out the made to order option.

@davekiss
Copy link
Contributor

I'm resurrecting this in order to get return authorizations working for orders that contain digital products.

Do you think we still need a stock location for this? Or, might there be a way to simply create a shipment without a stock association (i.e. set config.track_inventory_levels = false) by doing some sort of after_transition state machine hook on the order transition to complete?

This issue/commit might be of interest here as well:

spree/spree#5064

@JDutil
Copy link
Member Author

JDutil commented Feb 11, 2015

Yea the purpose of the spree/spree#5064 was so that we could have a digital shipment handler that sent out the download link emails or gift voucher codes etc...

You may not need a digital stock location, but you need a digital splitter or something to break the shipments apart properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants