Home Forums WoodMart support forum Show product weight in main product area

Show product weight in main product area

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #259018

    canaryprime
    Participant

    Hi,

    I am working with a huge database with several products and their respective data. When i use Woo default template to import via CSV product weight is shown in additional information, as show in my first screenshot(captura3), for example below REF.

    I would need to show weight in the main product area as it is essential for the business i am working for and remove that additional information tab. Please see the other screenshot attached

    I am looking for a global solution as I need this in all of my products

    Many thanks in advance

    Attachments:
    You must be logged in to view attached files.
    #259055

    Hello,

    This Additional Information tab is the default Woocoommerce functionality and our theme does not influence that.

    You can make the full backup of your site as well as the Theme settings export and check the issue on the Storefront theme to get convinced that our theme does not influence.

    Best Regards

    #259376

    canaryprime
    Participant

    Hi Elise,

    Thank you for your reply. Do have any idea or code how I can make this happen? I have been searching but it`s been impossible, I thought it was theme related.

    #259487

    Hello,

    Do you want to hide the Additonal tab with CSS, if so, please provide the product URL I will provide custom CSS.

    Best Regards

    #259923

    mohitbd
    Participant

    I want to hide the tad, please provide me code.

    #259994

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

     .tabs-layout-tabs .tabs li.additional_information_tab{
     display:none;
     }

    Best Regards

    #265430

    canaryprime
    Participant

    Hi Elise,

    That Css is working on desktop but it still showing the additional tab on mobile. Could you help?

    Just to contribute the code to show weight is this one:

    add_action (‘woocommerce_single_product_summary’, ‘show_weight’, 20);
    function show_weight() {
    global $product;
    $weight_unit = get_option(‘woocommerce_weight_unit’);
    $attributes = $product->get_attributes();
    if ( $product->has_weight() ) {
    print ‘<p>Weight: ‘.$product->get_weight(). $weight_unit . ‘</p>’.PHP_EOL;
    }
    }

    #265446

    Hello,

    Please add this code to the Theme Settings > Custom CSS > Global:

    body .tab-title-additional_information,
    body .woocommerce-Tabs-panel--additional_information panel{
    display:none;
    }

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)