WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Removing "Buy" button when product isn't (2 posts)

  1. hglf
    Member
    Posted 2 years ago #

    Hi!

    I'm trying to work out if there is a way to remove the "Buy" button for a product if it isn't in stock...

    So far - if it isn't in stock it won't add to the basket (which is good!) but I'd like the option to remove it completely!

    I was thinking perhaps I could set up a custom product template with the buy button removed - but I don't think woo is set up to do this.

    Could anyone help me out?

    Cheers

    Harry

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

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

    Override the add-to-cart button templates. You can do a stock check there http://wcdocs.woothemes.com/codex/template-structure/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic