Support » Plugin: Woo Store Vacation » Add to cart is showing for Variations in Woocommerce

  • Resolved jewelsinmarketing


    The vacation mode works great, thanks. But for any product that has a variation, the Add to Cart button still shows on the screen. For a regular product, the add to cart is not there, which is how I would like it to work. Any way to ‘turn off’ the add to cart button for the variations as well as a regular product?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mahdi Yazdani


    This is mainly because the theme author of yours has been overridden WooCommerce template files and modified the default order of the hooks in the single product view page — Consider switching to the “Storefront” theme.

    Thanks so much for the suggestion. Unfortunately it didn’t work. I downloaded the most recent version of storefront and made sure all my plugins and wordpress was updated as well. Unfortunately the add to cart still shows for the variation products.

    Plugin Author Mahdi Yazdani


    Hey @jewelsinmarketing

    The following CSS snippet will help:

    #woo-store-vacation + .product .cart {
    	display: none;

    Also, it is worth mentioning that whether the add to cart button is present on the variable products page or not, the plugin won’t allow any product to be purchased during the vacation.

    Great suggestion! It worked just perfectly. Sometimes we miss the ‘easy’ solution to our problems. yes I did realize, and appreciated, that the customer couldn’t purchase even though the add to cart button was showing. But the client didn’t want to even see it on the page. This is a great and easy solution. thanks!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Add to cart is showing for Variations in Woocommerce’ is closed to new replies.