Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #964789

    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

    #966643

    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

    • This reply was modified 6 years, 5 months ago by Günter.
    #972716

    Thanks Günter, but my skills not good enough to implement the function with the info you gave me.
    Could you provide more details?

    #973335

    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

    #992403

    Thanks i found a solution.

    #993206

    Hi,

    Great! If possible, please share the solution here so that other users will be able to search for it. :)

    Best regards,
    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.