Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #14010

    Hi,

    I asked somebody to remove the review and complementary tabs on single products pages, and he did, but I want them back now;

    the point is that the personn doesn’t remember how he did so could you tell me what should I do to get them back please?

    many thanks,

    sophie

    #81689

    Hello,

    Maybe he deleted the files on plugins > woocommerce > templates > single-product > tabs.

    Regards,

    Ismael

    #81690

    Hello,

    I am not sure if installing the woocommerce plugin again will take it back. This is not suggested because some information might go missing when you install it again. Please be careful.

    Regards,

    Ismael

    #81691

    Hi Ismael,

    Thanks for your answer, I’ve checked and the tabs located in the file are:

    attributes – review – description

    tab-attributes – tab-reviews – tab-description

    ie: here is the php content of reviews

    <?php

    /**

    * Reviews Tab

    */

    global $woocommerce, $post;

    if ( comments_open() ) : ?>

    <div class=”panel entry-content” id=”tab-reviews”>

    <?php comments_template(); ?>

    </div>

    <?php endif; ?>

    and the php content of tab-reviews

    <?php if ( comments_open() ) : ?>

    <li class=”reviews_tab”><?php _e(‘Reviews’, ‘woocommerce’); ?><?php echo comments_number(‘ (0)’, ‘ (1)’, ‘ (%)’); ?>

    <?php endif; ?>

    do you see anything missing I should add or delete in order to get those options back?

    I’d rather not install again woocommerce, for the reasons you give :)

    many thanks for your help

    sophie

    #81692

    Hi!

    You can try to replace the entire templates folder – probably this will revert all changes regarding the tabs, etc.

    Regards,

    Peter

    #81693

    I think I got it guys, I both didn’t ue it on the good way and had stuff not well set up.

    many thanks for the tips.

    Sophie

    #81694

    Hey,

    Glad you fixed it. :)

    Regards,

    Ismael

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

The topic ‘review, complementary information on single products pages’ is closed to new replies.