Conversation
supportHi, Products are usually closed when the payment was made. But we want the product to disappear from the platform when the pre-order was made with your plugin. Is this possible? Thanks.
@secondkidlynn Yes you can achieve this by several methods. One method is to make product quantity 1 and when the customer is made an order to reduce the stock when they choose order approval. dokan Order approval plugin uses a custom payment gateway called woa_gateway and order status will be waiting . Based on these two conditions you can reduce the stock. This thread will help you to understand little more about this method https://stackoverflow.com/questions/48863990/reduce-stock-only-for-specific-order-statuses-and-payment-method-in-woocommerce
@secondkidlynn Yes you can achieve this by several methods. One method is to make product quantity 1 and when the customer is made an order to reduce the stock when they choose order approval. dokan Order approval plugin uses a custom payment gateway called woa_gateway and order status will be waiting . Based on these two conditions you can reduce the stock. This thread will help you to understand little more about this method https://stackoverflow.com/questions/48863990/reduce-stock-only-for-specific-order-statuses-and-payment-method-in-woocommerce