Categories

Featured templates

WooCommerce. How to remove “quick view” button

Kate Daniels August 10, 2015
Rating: 5.0/5. From 1 vote.
Please wait...

This tutorial will show you how to remove quick view button on products in WooCommerce.

WooCommerce. How to remove “quick view” button
  1. Navigate to File manager in your hosting cPanel.

  2. Open "wp-content/plugins/cherry-woocommerce-package/includes" folder:

    WooCommerce_How_to_remove_quick_view_button
  3. Find cherry-woocommerce-package.php file and click Edit icon to edit it:

    WooCommerce_How_to_remove_quick_view_button_1
  4. Locate this code and remove it:

    function append_button() {
    			global $post, $product;
    			$btn_tex = apply_filters( 'cherry_wc_quick_view_text', __( 'Quick view', 'cherry-woocommerce-package' ) );
    			echo '<span class="btn cherry-quick-view" data-product="' . $product->id . '">' . $btn_tex . '</span>';
    			wp_enqueue_script( 'prettyPhoto' );
    			}
    			$btn_tex = apply_filters( 'cherry_wc_quick_view_text', __( 'Quick view', 'cherry-woocommerce-package' ) );
    			echo '<span class="btn cherry-quick-view" data-product="' . $product->id . '">' . $btn_tex . '</span>';
    			wp_enqueue_script( 'prettyPhoto' );
    			}
    		
    WooCommerce_How_to_remove_quick_view_button_2
  5. Click “Save” button to save changes:

    WooCommerce_How_to_remove_quick_view_button_3
  6. Refresh your website to see changes. Quick view button is successfully removed.

Feel free to check the detailed video tutorial below:

WooCommerce. How to remove “quick view” button
This entry was posted in WooCommerce Tutorials and tagged button, quick, remove, view, WooCommerce. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket