luckily woocommerce has many hooks, this removes prices and buttons:
remove_action( 'woocommerce_after_shop_loop_item', 'woocommerce_template_loop_add_to_cart' );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 );
remove_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_price', 10 );
you can dig into content-product.php
and content-single-product.php
if you need to remove more stuff.
I can imagine there’s more than just the prices/buttons you want to hide/remove though (like pages/functions), this tutorial gives you some pointers
Related Posts:
- Woocommerce sidebar not loading in theme
- Only Homepage not loading properly
- Reduce Drop down Menu Width in WordPress
- Is there a way to get plugins and themes not built for multisite to work on a network subsite?
- How to remove products-links after the product title using remove_action
- Edit all $wp_scripts at once to $in_footer = false
- Edit all $wp_scripts at once to $in_footer = false
- Sold out Label for variable products which are partially sold out
- Securing langugae folder
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- WP Customer Reviews call short code on another page [closed]
- Why does theme need woocommerce to show images / content on front page?
- Convert from Portfolio post to WooCommerce products [closed]
- Where can I sell WordPress themes and plugins? [closed]
- Need to create a Theme demo site that features multiple themes
- WooCommerce ‘all’ orders no longer being displayed – how may I debug/fix [closed]
- Create WooCommerce Product Category Programmatically
- Get URL of a specific file
- disable active plugins for specific theme
- How to save Clicks of a download link button while it doesn’t matter if we refresh the page or again login/logout
- Should I use RIPS tool to test my themes and plugins?
- Make the css of the widget overwrite theme css
- A way to sort WordPress themes? [closed]
- adding a text message beside the comment submit button
- Why are some of my thumbnails not being generated?
- Making menu link open in new tab?
- How to Know if a Plugin can be used with my Theme [closed]
- Not able to open category post [closed]
- Reusable functions and tools (Framework)
- woocommerce 3.2.1 not sending order notification emails
- Using custom JS plugins with WordPress?
- Override Javascript in a Plugin?
- Woocommerce – How to populate custom select field with stored values on checkout page?
- Globally register styles but enqueue them selectively
- Guidelines / restrictions about advertising /donate begging unside wordpress plugins or themes
- WordPress automatically removes line break
- Add woocommerce variation images in gallery?
- WooCommerce: Building a page with user input which is used to query order status and external API and return a result
- How to toggle between two custom fields in WordPress woocommerce ‘WC Product Field Group’ plugin?
- How to add checkboxes for a woocommerce product? [closed]
- Why am I getting ( WooCommerce Services could not be installed (Could not create directory.). ) error and how to solve it ?
- Custom wordpress Theme and Plugin repository
- woocommerce with custom post type
- Create custom pages with a plugin
- Does heavy theme and plugins affect server’s response time? [closed]
- Proper way to use plugin functions in functions.php
- how remove font to increase site speed load
- Use $variable from file1.php in file2.php (different file paths)
- Conditional Shipping Options if Certain Products are in Cart WooCommerce
- Woocommerce Backend Search by Title and SKU
- What is the purpose of WP_CONTENT_URL?
- WooCommerce Shopping Cart Not Initially Showing Products [closed]
- How to include a custom field in the woocommerce email?
- Remove Pagination for Product Category Pages WooCommerce
- add seperate suffix for low price and high price in woocommerce
- Get products list by url key in WordPress Woocommerce [closed]
- Override a Plugin Function
- Can I filter a function created by a theme or a plugin?
- Add key and value to an array in another file
- How to check homepage contain blog post?
- how to design change in woocommerce cart page and all other page also by theme? [closed]
- plugin inside a wordpress theme
- Gantry Framework: new page loads homepage content instead of page content
- Upgrade not working & themes not supporting
- How to return a specific attribute
- use EDD Content Restriction for restricting php in template
- Elementor pro page editing gives error There has been a critical error on this website. Please check your site admin email inbox for instructions
- Visual composer custom element error
- Plugin which unlock free gift when you reach some amount in cart
- Optimise wordpress database using SQL after deleting registered images from Media Folder
- is there a way to display product gallery images via cdn
- Woocommerce redirection if no previous orders
- What plugin would make this happen? If is the theme
- WordPress site hamburger menu toggle not working
- WordPress wp get_temp_dir return non exiting folder, thus failing plugin & themes update
- when i activate my WordPress plugin cannot see customizer options or preview
- Writing SEO for Homepage when homepage is set to display latest posts
- Checkbox field that add a subscription product and change prices of other products in checkout and cart page
- Object of class WP_Error could not be converted to string in /formatting.php
- Getting unknown text in footer of email
- Description: Too much time has passed without sending any data for document
- wordpress plugin translation not working
- Many to many relationship for variable products
- woocommerce blank page after clicking add to cart [closed]
- Issues with Post 2 Post Plugin
- Disqus plugin outputs script as literal text
- Woocommerce Bookings – Resource needs to be allocated for part of the booking duration, not the whole booking
- How to get current template file used by WordPress?
- Move related products after product summary? [closed]
- Turning Existing Eccommerce Site into Multi-SIte
- Terms id wordpress error
- Woocommerce – Product Description heading [closed]
- Hook for single product thumbnail
- Woocommerce where to set the Price Suffix [closed]
- Is there a method or plugin to download my products in WooCommerce?
- What is phpBB? Is it something like a plugin which I can use in WordPress? [closed]
- How to show image caption in Woocommerce gallery
- Brands Filter Not Working For On Sale Products
- Can we install 3d product configurator into wordpress
- Change Custom WordPress Function [closed]