Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Ras 62 posts 325 karma points
    May 17, 2024 @ 14:26

    Umbraco Commerce - allow ordering even if not in stock.

    Hi, bit of a special case here. My products all have stock as normal, but I also have a true/false that you can enable which is meant to make the product able to be ordered regardless of what the stock status is (with manual reviews before finalizing the order). I've noticed it doesn't seem possible, as when my stock is 0 the system will understandably throw an error upon calling the IUmbracoCommerceApi.SaveOrder(), and I can't figure out a good way to bypass this.

    I could of course just set the stock to something like 9999, but would be nice to not have to. Let me know if this is a bad idea though.

    I am on v10.0.1 of Commerce.

Please Sign in or register to post replies

Write your reply to: