WordPress.org

Ready to get started?Download WordPress

Forums

eShop
[resolved] Preventing zero quantity options from appearing in sale (9 posts)

  1. barkingbird
    Member
    Posted 1 year ago #

    A client of mine is selling t-shirts in different sizes (small, medium, large, etc.). I have set up each size as a Product Option. If his quantity of large t-shirts becomes zero, how can I prevent the large t-shirts from appearing in the sale (without deleting that option from the post)?

    http://wordpress.org/extend/plugins/eshop/

  2. elfin
    Moderator
    Plugin Author

    Posted 1 year ago #

    the product option should become unavailable. If not I'd need a link to an example page.

  3. barkingbird
    Member
    Posted 1 year ago #

    Yes, that works using Stock Control. Is there a way to make the product option become unavailable when not using Stock Control?

  4. elfin
    Moderator
    Plugin Author

    Posted 1 year ago #

    delete the option...

  5. barkingbird
    Member
    Posted 1 year ago #

    Yeah, I thought of that, but I didn't want to add the options back in every time his stock is refilled. I think I'll use the Stock Control, and enter a quantity of 1,000,000 for each option and when he runs out of one, just change the quantity to 0.

    Thanks!

  6. elfin
    Moderator
    Plugin Author

    Posted 1 year ago #

    Just remember not to sure the amount on the screen - AND - you may need to script something to alert when stock goes below a certain level.

  7. barkingbird
    Member
    Posted 1 year ago #

    What if I have two product options, such as
    1) sizes (small, medium, large, extra large)
    2) colors (blue, red, green)

    and my client has zero quantity of the blue, extra large t-shirts. How can I remove that combination from the sale.

  8. esmi
    Forum Moderator
    Posted 1 year ago #

    I'm sorry but this is something you'll need to work out for yourself if you are using Option Sets. Otherwise, enter each t-shirt as a separate option with its own stock control.

  9. barkingbird
    Member
    Posted 1 year ago #

    ok, thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.