wordpress add total box and filter fuctions.php

Job ID: 30700733

Budget: €8 – €30 EUR

i need to make two changes to wordpress:
- add total box in the product description through the plugin I use woocommerce-measurement-price-calculator.

- modify functions.php with the custom code I entered

/**
* Rimuove la tab INFORMAZIONI AGGIUNTIVE
*/
//rimuovo il tab informazioni aggiuntive
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );

function woo_remove_product_tabs( $tabs ) {
global $product; //here I wish I could only hide from one category and not all products

if( $product->has_attributes() || $product->has_dimensions() || $product->has_weight() ) {
unset( $tabs['additional_information'] );
}
return $tabs;
}


attached a screenshot where to insert the total box
the customer can choose whether to set 2 total boxes or 2.4sqm
Related categories: PHP WordPress CSS HTML WooCommerce