Home Forums WoodMart support forum remove_action( '*', 'woodmart_sguide_display')

remove_action( '*', 'woodmart_sguide_display')

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

    gregbast1994
    Participant

    Hello,

    Looking for the proper code to remove the size guide display, I have it setup in my child-theme to show up under my size option on the single products page; thus do not need it on the bottom of the woocommerce_single_product_summary.

    I am going to remove my modification for now until support has had a chance to assist me.

    Thanks

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

    Artem Temos
    Keymaster

    Hello,

    We are glad to know that you have considered using WoodMart for your web-site. I hope you will be happy with it.

    Try to add the following PHP code snippet to the child theme functions.php file to do this

    remove_action( 'woocommerce_single_product_summary', 'woodmart_sguide_display', 38 );

    Kind Regards
    Xtemos

    #68045

    gregbast1994
    Participant

    Thanks for the quick response!

    turns out I already had that code in my functions.php, is there another location that function is called?

    #68093

    Artem Temos
    Keymaster

    No, there are no any other hooks for this function. This code should remove it. Maybe you have some customizations that prevent this from happening.

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