Trying to Edit Product Data Tabs – Not Working

This topic has 9 replies, 3 voices, and was last updated 9 years, 2 months ago ago by Jack Richardson

  • Avatar: Ricardo_Carles
    Ricardo_Carles
    Participant
    August 7, 2015 at 21:59

    Hi Eva,

    I’ve tried Edit Product Data Tabs and it’s not working. I’ve read the instructions in Woothemes http://docs.woothemes.com/document/editing-product-data-tabs/ and it’s not working out for me. And along the way I’ve messed up the editing of the content on the Product Description Tab. Please Help!!

    This is what I was trying to do:
    Rename a the 1st Tab
    Add a Tab to enter Content – More Information
    Add a Tab to enter Content – Available Flavors
    Remove Reviews Tab

    I’ve spent hours doing research on this topic and I just can get it work.

    Thanks for your help.

    8 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 10, 2015 at 09:57

    Hello,

    Please provide us with FTP and WP Dashboard credentials in private content.
    Specify how you want to rename the first tab (are you talking about the tab “Description”?).

    Best regards,
    Jack Richardson.

    Avatar: Ricardo_Carles
    Ricardo_Carles
    Participant
    August 13, 2015 at 15:18

    Hi Jack,

    The information you requested is the Private Content.

    Yes the Description tab is what I’m trying to change to “Product Information”
    Is there any way I can add two tabs “More Information” & Available Flavors but just put in content like the description tab?

    Thank you so much.

    Please, contact administrator
    for this information.
    Avatar: Ricardo_Carles
    Ricardo_Carles
    Participant
    August 22, 2015 at 00:05

    I keep trying everything on the documentation on http://docs.woothemes.com/document/editing-product-data-tabs/
    and nothing happens

    I still can’t remove the ‘Review tab”
    Rename a the 1st Tab
    Add a Tab to enter Content – More Information
    Add a Tab to enter Content – Available Flavors

    If you can’t help please let me know so I can search another theme and get a refund for this one.

    And on top of all while trying all the above I can’t add headings to product description.

    Please Help

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 24, 2015 at 12:32

    Hello,

    May we update the theme and Woocommerce plugin to the latest versions?
    Please let us know and confirm you have a back up of the site and database.

    Best regards,
    Jack Richardson.

    Avatar: Ricardo_Carles
    Ricardo_Carles
    Participant
    August 26, 2015 at 20:53

    Yes I have a backup of the site.

    Thank you so much!

    Avatar: Eva
    Eva Kemp
    Support staff
    August 27, 2015 at 16:06

    Hello,

    We’ll fix this bug in the next theme update, meanwhile you can edit the file wp-content/themes/blanco/woocommerce/single-product/tabs.php and delete the code in lines 36-42:

    <?php if ( comments_open() ) { ?>
    <li class="reviews_tab"><a href="#"><?php _e('Reviews', ETHEME_DOMAIN); ?><?php echo comments_number(' (0)', ' (1)', ' (%)'); ?></a>
    <section>
    <?php comments_template(); ?>
    </section>
    </li>
    <?php } ?>

    Also you can edit other tabs in this file.

    We’ll fix it in the update.

    Please take our apologies for inconveniences.

    Regards,
    Eva Kemp.

    Avatar: Ricardo_Carles
    Ricardo_Carles
    Participant
    August 29, 2015 at 17:04

    Done! The review tab is gone! Thank you!!

    If I don’t have to update then I rather not do it. I’m not selling anything out of this website.

    All I need is to replace “Product Description” with “Product Information” & Add content area to “Additional Information”

    Can you tell me if this is edit to the tab.php is right? Thanks

    <?php
    /**
     * Single Product Tabs
     */
    
    // Get tabs
    global $woocommerce, $post, $product;
    $show_attr = ( get_option( 'woocommerce_enable_dimension_product_attributes' ) == 'yes' ? true : false );
    ?>
            
    <ul id="tabs" class="product-tabs">
        <?php if ( $post->post_content ) : ?>
            <li><a href="#"><?php _e('Description', ETHEME_DOMAIN); ?></a>
            <section>
        		<?php $heading = apply_filters('woocommerce_product_description_heading', __('Product Information', ETHEME_DOMAIN)); ?>
        		
        		<h3><?php echo $heading; ?></h3>
        		
        		<?php the_content(); ?>
            </section>
            </li>
        <?php endif; ?>
        
        <?php if ( $product->has_attributes() || ( $show_attr && $product->has_dimensions() ) || ( $show_attr && $product->has_weight() ) ) { ?>
            <li><a href="#"><?php _e('Additional Information', ETHEME_DOMAIN); ?></a>
                <section>
            		<?php $heading = apply_filters('woocommerce_product_additional_information_heading', __('Additional Information', ETHEME_DOMAIN)); ?>
            
            		<h3><?php echo $heading; ?></h3>
        		
        		<?php the_content(); ?>
    
                </section>
            </li>
        <?php } ?>
        
    
    	<?php if ( etheme_get_custom_field('_etheme_custom_tab1') && etheme_get_custom_field('_etheme_custom_tab1_title') ) : ?>
            <li><a href="#"><?php etheme_custom_field('_etheme_custom_tab1_title'); ?></a>
                <section>
                    <?php echo do_shortcode(etheme_get_custom_field('_etheme_custom_tab1')) ?>
                </section>
            </li>  
    	<?php endif; ?>	
    	<?php if ( etheme_get_custom_field('_etheme_custom_tab2') && etheme_get_custom_field('_etheme_custom_tab2_title') ) : ?>
            <li><a href="#"><?php etheme_custom_field('_etheme_custom_tab2_title'); ?></a>
                <section>
                    <?php echo do_shortcode(etheme_get_custom_field('_etheme_custom_tab2')) ?>
                </section>
            </li>  
    	<?php endif; ?>	
        
    	<?php if (etheme_get_option('custom_tab') && etheme_get_option('custom_tab') != '' ) : ?>
            <li><a href="#"><?php  etheme_option('custom_tab_title'); ?></a>
                <section>
                    <?php  echo do_shortcode(etheme_get_option('custom_tab')); ?>
                </section>
            </li>  
    	<?php endif; ?>	 
    </ul>
    <div class="clear"></div>
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 31, 2015 at 07:12

    Hello,

    The code is correct. Do you have any issues with it?

    Best regards,
    Jack Richardson.

  • Viewing 9 results - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.