Just add below function in your function file
/*For remove tab from product tab*/
function remove_linked_products($tabs){
unset($tabs['inventory']);
unset($tabs['shipping']);
return($tabs);
}
add_filter('woocommerce_product_data_tabs', 'remove_linked_products', 10, 1);
/*Remove Virtual and Downloadeble checkbox*/
function remove_product_type_options( $options ) {
unset( $options['virtual'] );
unset( $options['downloadable'] );
return $options;
}
add_filter( 'product_type_options', 'remove_product_type_options' );
Related Posts:
- Admin access for custom user capabilities
- Register a new user on wooCommerce using Rest API
- adding a script with type=”module” to woocommerce admin area
- How to be able to edit custom address fields in WooCommerce admin?
- Adding Product Name on Admin Panel Order list and User’s My-Account Order List
- Add starts rating in woocommerce product comment from backend
- Prices showed without decimals separator on BACKEND. Weight/price not working on Wocommerce
- Impossible to create a new WooCommerce customer using Rest API
- Change the customer’s name to a link on an order management page
- Hook woocommerce price in backend order edition
- Sort by promo code used woocommerce admin panel [closed]
- Hide/show specific products for backend users in woocommerce
- My custom button to add an item in the WooCommerce admin page doesn’t refresh the page
- Why is my WordPress admin not working
- wc_get_template_part( ‘content’, ‘product’ ) | Where is this file located?
- Create WooCommerce custom stock option that is non-purchasable
- Query multiple post type and categories
- Shipping restrictions with WooCommerce variable products
- WooCommerce – Flat rate shipping based on X quantity steps?
- Custom URL for each product variation – rewrite rules
- Where can I find a single item template
- Change “Shipping” text to “Delivery” everywhere I appears in woocommerce
- Customize WooCommerce orders displayed shipping
- creating product with variations using woocommerce REST API
- Adding extra one email address who receives email as admin – woocommerce
- Woocomerce language
- How to set default values in Woocommerce checkout? [closed]
- Payment methods are not displaying in Woocommerce
- How to update the WooCommerce cart Icon to show new products added with JavaScript
- Product admin page breaking with too many product variations [closed]
- How to configure Woocommerce Payment Methods programmatically?
- Add content to the last slide of each product
- Remove add to cart icon/view product button woocommerce
- Products Shortcode is Displaying Single Product Page Price for all Products [closed]
- Expired session error (admin) when I try to make a call to WooCommerce api [closed]
- How to increase execution time out limit in WordPress dashboard?
- Woocommerce. Max weight per order based on shipping class
- Make order notes field at woocommerce checkout only viewable on front end by Admin level user role [closed]
- How to apply these filters
- get_the_post_thumbnail_url does not return anything if image size is set
- Add to Cart button displaying twice on Shop Page Woocommerce
- How to exclude a taxonomy from shop & search page wooCommerce?
- Woocommerce – auto logout after payment
- Display SKU for each Single product title in group product!
- How can I add a so i can show sale price under normal price
- WooCommerce checkout page price break down table hook
- How can I compel alphanumeric entries for username textbox on woocommerce registration form
- Help me to intergrate product database to WordPress
- WooCommerce how to checkout a product without adding it to the cart
- Woocommerce before and after shop loop not works
- WooCommerce Admin order – Only run action if user is loaded
- Creating child theme out of Coeur
- Hide sidebar and change layout Blog Page using is_page() function
- Change Out of Stock Error Message in WooCommerce Cart
- Archive product loop does not work with product filters
- I want a simple dropdown for locations in woocommerce
- Getting hundreds of spam orders in WooCommerce with failed stripe payment [closed]
- How to fetch woocommerce highest price and lowest price in custom template page?
- Please help me get rid of conflict with the JavaScript – I’m using WooCommerce with product blocks (Gutenb)
- Order Status without Email check. Only with Order-Number
- WooCommerce pagination: remove ‘page’ from url
- Coupon for product / woocommerce
- How can I show “sold out” instead of “out of stock” for some products with particular tags and categories [closed]
- wc_get_product_id_by_sku() returns 0 for products added programatically via update_post_meta
- Display “Add to basket” and “Read more” buttons in the products shop page with woocommerce
- How Can I fix Woocommerce Billing Address Field? [closed]
- Assign user role by text field in WordPress (Woocommerce) [closed]
- Adding Tracking Details for Advanced Shipment Tracking Plugin From Order Notes
- check shipping amount in woocommerce_after_checkout_validation?
- How to display woocommerce product details on wp page
- How to set up dynamic purchase pixel in Woocommerce?
- MySQL error or data corruption after database migration
- My products are showing “not in stock” and I don’t know why
- Select all products that have a custom field ‘is_new’ set to ‘Yes’
- Woocommerce – Shop can’t find products after domain name change
- “error_message”: “Sorry, you cannot list resources.” using WooCommerce API
- Removing Product from Woocommerce checkout page using Ajax
- add_post_meta on subcription renewal
- login or register then access woocommerce website
- Move woocommerce shop page image to left
- WooCommerce Tax Filter Not Working
- Replace product link with just product name on WooCommerce downloads page
- Woocommerce Product category base same as product base causes 404
- Categories and products in cart Woocommerce
- Update Custom Post Meta Even if Draft
- Clone and modify Woocommerce Products catalog
- Custom CSS Not working on Product page
- How to add ajax loading icon after click add to cart button on woocommerce
- Can’t display product categories on woocommerce getting Invalid taxonomy?
- Send form data to functions.php
- Override woocommerce template from parent theme
- Create custom add to cart in WordPress
- WooCommerce – How to add a custom field to only a specific email template [closed]
- Woocommerce – display all sold out products
- Woocommerce how to show most selling products by category
- AffiliateWP not calculating multiple quantities when using affwp_calc_referral_amount filter
- Hide a shipping method if cart total is higher than an amount
- WordPress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)
- How to update all products with same SKU prefixes when updating stock with CSV?
- What is the best and cheapest way to generate dashboards about conversions data and store users? [closed]