• Resolved YorkshireDave

    (@yorkshiredave)


    The list of attributes seems to ‘attach’ itself to products that have variations. When you scroll down it sits in the ‘Additional information’ box.

    How can I suppress this ‘additional information’ box for all products? I do not, and will not, need it as it simply confuses.

    There is also a great deal of unused space underneath it! Does anyone know how I get rid of that too pls?

    Thanks

    • This topic was modified 6 years, 4 months ago by YorkshireDave. Reason: Clarity

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Booster can do this.
    https://www.ads-software.com/plugins/woocommerce-jetpack/
    Products section
    Product tabs module
    “Additional Information Tab” setting
    Remove tab from product page = checked

    The unused space is the Related Products section. If you are not going to use this feature, related products can be hidden using Booster’s Products > Related Products module.

    Thread Starter YorkshireDave

    (@yorkshiredave)

    Thank you very much ??

    Thread Starter YorkshireDave

    (@yorkshiredave)

    Lorro.
    That looks like a great plugin, but how much overhead does it take for using only a tiny part of its capabilities?
    I’m asking because we are already struggling with resources.
    Is there a separate piece of code to do just that job I can plug in?
    David

    Enable only the modules you need. I would not expect it to take any appreciable resources.

    This is the code for removing the Additional information tab:

    add_filter( 'woocommerce_product_tabs', 'custom_remove_product_tabs', 99 );
    function custom_remove_product_tabs( $tabs ) {
      if ( isset( $tabs['additional_information'] ) ) {
        unset( $tabs['additional_information'] );
      }
      return $tabs;
    }

    The remove related products snippet is here:
    https://docs.woocommerce.com/document/remove-related-posts-output/
    though it might vary by theme. If it doesn’t work, you would need to look at your custom template for the name of the hook to use.

    Luminus Alabi

    (@luminus)

    Automattic Happiness Engineer

    @yorkshiredave,

    You don’t need a plugin to do this.

    It’s actually as simple as disabling the Visible on the product page checkbox on the Attributes tab. I’ve highlighted the relevant checkbox in this screenshot – https://cld.wthms.co/5Ys7yT.

    If you have that checkbox enabled, WooCommerce is only doing exactly what you asked it to do – display that information on the product page. Once you disable it, the Additional Information tab goes away.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Removing displayed attributes for variations’ is closed to new replies.