How to remove woocommerce tab?

前端 未结 6 1121
[愿得一人]
[愿得一人] 2021-01-11 18:51

the products in our woocommerce shop don\'t need any of the default tabs so I have managed to disable them being that I only need to have the product description below the p

6条回答
  •  Happy的楠姐
    2021-01-11 19:37

    for some reason the code to add to functions.php file did not work for me, even tho it is in the woo commerce codex.

    I was getting lots of comment spam to these products that showed reviews.

    in the end I manually removed the review tab from all the products using built in wordpress/woocommerce functionality.

    1. go to the product lising page
    2. click the checkbox to select all products (it will only select the products on this page so you may have to go thru several pages to repeat)
    3. from the bulk actions drop down, select edit
    4. click apply
    5. you will now see all the bulk edit actions you can do. Choose the "comments" drop down, and select "Do not allow"
    6. click update
    7. make sure to delete any cache if using a caching plugin

提交回复
热议问题