Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #653532

    Hi

    I would like to remove the following code from enfold\config-woocommerce\config.php file:
    #
    # display tabs and related items within the summary wrapper
    #
    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 10 );
    add_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 1 );

    Is it possible to remove the above hook without modifying the Enfold core files? (That is, can I nullify the above action by adding some code snippets in the Child Theme function file?

    Thanks for your help.

    #653559

    Hi elohimguy!

    Please do to your functions.php and let us know if it works

    remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_product_data_tabs’, 1);

    Best regards,
    Basilis

    #653569

    Hi Basilis

    Thanks for your prompt response.

    I resolved it by changing the priority by referring to your answer.

    Thanks for your help again.

    • This reply was modified 8 years, 5 months ago by elohimguy.
    #653577

    Hey!

    NO worries. We would also appreciate if you could rate the theme for us on themeforest.

    Please do let us know if we can do anything else.

    Regards,
    Basilis

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