• Resolved mvandemar

    (@mvandemar)


    Is it possible to adjust an order to reflect items that are unavailable, but leave them in the order as a $0.00 line item? I know we can add notes to the customer but it would be nice if the line item stayed intact with either a 0 quantity and price or Out of Stock or Unavailable message in the order history and emails.

    -Michael

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter mvandemar

    (@mvandemar)

    Does anyone know if there is a better place to ask a programming question like this one? The WordPress Stack Exchange forum explicitly states that you should not ask plugin-specific questions there, and if you try and tag a post there as Woocommerce it flags it as off-topic. Any suggestions?

    Thanks.

    Hi @mvandemar,

    For code specific questions you might try https://stackoverflow.com/

    Thread Starter mvandemar

    (@mvandemar)

    @3sonsdevelopment As I stated in my second post, this is the message you get when you try and tag a question with Woocommerce:

    woocommerce× 2703
    
    OFF TOPIC. Questions *specific* for this e-commerce plugin 
    have their own forum at 
    https://wordpress.org/support/plugin/woocommerce.

    Is there maybe another coding forum that would be more friendly to Woocommerce coding questions…?

    -Michael

    • This reply was modified 7 years, 1 month ago by mvandemar. Reason: formatting
    • This reply was modified 7 years, 1 month ago by mvandemar.

    Hi @mvandemar,
    StackExchange doesn’t allow you to post questions about WordPress plugins, but Stack Overflow does.

    Thread Starter mvandemar

    (@mvandemar)

    @3sonsdevelopment Thank you, I just assumed since it is all the Stack Exchange family that it was universal.

    Question… do you know if this addon will do what I am looking for, allowing for adjusting a line item to 0 quantity (and thus, $0 price), but still leaving it as a line item?

    https://docs.woocommerce.com/document/minmax-quantities/

    -Michael

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @mvandemar

    To clarify, you’re wanting to allow a customer to purchase an item that is out of stock and thus make the product free ( $0.00 ) on the checkout page, is that correct?

    If so you will have to work with a developer to customize a solution for your website. We recommend one of the services listed on this page who can assist with any custom development work.

    The min/max plugin listed above will only allow a customer to add a specific amount of a product to the cart, a minimum amount, or apply both rules to the entire cart. None of which change the price of the product. You can also consider using backorder but none of which will make the purchasable but not free:

    https://docs.woocommerce.com/document/managing-products/#section-25

    Thread Starter mvandemar

    (@mvandemar)

    @johndcoy Actually, no. What I am looking to do is if someone orders something that winds up being unavailable for whatever reason, have the shop manager be able to adjust the item in the cart to 0 quantity without deleting the line item. The min/max plugin says that you can set a minimum to 0, whereas normally I would assume that the minimum order would be at least 1. The reason I mentioned the pricing is: if I order 1 of a $19 item, the cart should reflect $19. If I order 0 of a $19 item, the cart should reflect $0.

    If the min/max plugin does not do that, what is the purpose of a minimum quantity of 0 allowed?

    -Michael

    Hey Michael,

    That’s a good thought, but even when a product is set to have zero as the minimum amount purchased when the quantity in the cart is set to zero, that product is removed.

    Have you taken a look at WooCommerce Waitlist (https://woocommerce.com/products/woocommerce-waitlist/)? That extension allows customers to join a list to be notified when an unavailable item becomes available again. It’s a different approach, but it would allow you to communicate with your customers about out of stock items.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Possible to set item quantity to 0 in an order but leave as line item?’ is closed to new replies.