• Hi everybody !

    I’m meeting an issue with my woocommerce pages.
    I’m working on a customer’s website, and 2 weeks ago they asked me to remove the woocommerce’s product tabs (description and review box), I did it adding the following code on my theme’s ‘functions.php’

    remove_action(‘woocommerce_product_tabs’,’woocommerce_product_description_tab’,10);
    remove_action( ‘woocommerce_product_tabs’, ‘woocommerce_product_reviews_tab’,30);

    Now, we decide to change (again) the design of the woocommerce pages, and they asked me to restore this description box.
    So I tried adding this :

    add_action(‘woocommerce_product_tabs’,’woocommerce_product_description_tab’,10);
    add_action( ‘woocommerce_product_tabs’, ‘woocommerce_product_reviews_tab’,30);

    The product description is back on my single-product pages, but only in text :
    https://hpics.li/cc00c8a

    I think the main issue, is that between the moment I deleted these tabs, and the moment I tried to bring them back, we made WordPress 4.0 update, and our theme’s update.
    When I came to delete the first code I added on functions.php, the “remove action” php lines had disappeared, that’s why I had to add “add action” php lines.

    I precise that I’m very new on using woocommerce, I’d like to correct this.
    I tried uninstalling and then installing again woocommerce, but the issue is still here.

    Any ideas ?

    Here are some informations that could be usefull :
    – WP version : 4.0
    – Woocommerce version : 2.2.4
    – Theme : Enfold

  • The topic ‘[Woocommerce] Missing tabs’ is closed to new replies.