• Hi, my goal is to have numbered add-to-cart buttons e.g. [1] [2] etc. but disable or hide out-of-stock buttons.

    Using shortcode: when an item is out of stock it say’s “Read more” so I know it can be done, what class can I target?

    Although, this still doesn’t solve my numbering problem as the shortcode button-text can’t be changed individually. I suppose I’m really looking for a way to check if a custom add-to-cart button and/or link is in stock and apply styling.

  • The topic ‘Woocommerce Storefront – Add to Cart shortcode style’ is closed to new replies.