Hi,
i have several shipping classes as we have many different products in weight and size. I would like to display the assigned shipping class for each product at the single product page. Best place would be the add. information part where all other infos are displayed. Can you help me with this?
Max
Hey Max,
Thank you for using Enfold.
To get access to the shipping classes: https://wordpress.stackexchange.com/questions/295878/custom-text-on-product-page-based-on-shipping-class
To hook into the description tabs see
add_filter( '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_product_tabs', '<a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_default_product_tabs' );
and
woocommerce\includes\wc-template-functions.php line 1645:
function <a href='https://refer.wordpress.com/r/84/woocommerce/' target='_blank' rel="nofollow">woocommerce</a>_default_product_tabs( $tabs = array() )
Hope this helps you.
Best regards,
Günter
Thanks Günter, but my skills not good enough to implement the function with the info you gave me.
Could you provide more details?
Hi Max,
If this seems too complex, you might want to hire a freelancer to do it for you.
If you need further assistance please let us know.
Best regards,
Victoria
Thanks i found a solution.