• Resolved eng0el

    (@eng0el)


    Hello, I would like to know if I can show product’s attributes in one tab and automatically.
    I mean I don’t want to write an HTML code and write the properties statically.
    Is it feasible please??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author biplob018

    (@biplob018)

    Hi @eng0el

    Thanks for reaching us and hope you doing well.

    You need some custom settings for this, without those we can’t help it with our plugins. we give some examples to add new tabs with a custom attribute. kindly customize it and add it to your theme functions.

    add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' );
    
    function woo_new_product_tab( $tabs ) {
    $tabs['featurestab'] = array(
        'title'     => __( 'Features', 'woocommerce' ),
        'priority'  => 15,
        'callback'  => 'features_tab_content');
      return $tabs;
    }
    
    function features_tab_content() {
      echo 'Your product ('.get_the_ID().') features.';
    }
    Plugin Author biplob018

    (@biplob018)

    Hi @eng0el

    This thread has been inactive for a bit, so I’m going to mark it as Resolved now. Please feel free to open a new one if you have any further questions.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Show product attributes in one tab’ is closed to new replies.