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?
Maybe he deleted the files on plugins > woocommerce > templates > single-product > tabs.
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.
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
* Reviews Tab
global $woocommerce, $post;
if ( comments_open() ) : ?>
<div class=”panel entry-content” id=”tab-reviews”>
<?php comments_template(); ?>
<?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
You can try to replace the entire templates folder – probably this will revert all changes regarding the tabs, etc.
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.
The topic ‘review, complementary information on single products pages’ is closed to new replies.