• Hello,

    I’ve got the latest version of WooCommerce on a site that I’m developing. I’m using my own theme, and I’m gradually exploring the process of making it compatible with WC. On the styling side of things, all is well. I did the hook thing (excuse my lack of terminological accuracy – I’m new at this!) so WC does know where it is on my site and I’ve managed to do some styling.

    But for the life of me I can’t figure out why, on the single products page, the product tabs are not working. They are displaying all the content vertically like a regular list.

    Take a look at an example page here:

    Test Page

    I expect it’s probably a Jquery issue, but I’ve gone through the process of disabling all other plugins – no clashes.

    I think I’ve enqueued all the needed scripts. Here’s what I have in my functions.php:

    function my_jquery_setup() {
    
    	wp_enqueue_script('jquery');
    	wp_enqueue_script( 'thickbox' );
    	wp_enqueue_script('jquery-ui-core');
    	wp_enqueue_script('jquery-ui-tabs');
    	wp_enqueue_script('jquery-ui-widget');
    	wp_enqueue_script('jquery-ui-mouse');
    	wp_enqueue_script('jquery-ui-accordion');
    	wp_enqueue_script('jquery-ui-sortable');
    	wp_enqueue_script('jquery-ui-selectable');
    	wp_enqueue_script('admin-comments');
    	wp_enqueue_script('admin-custom-fields');
        	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) )
    	wp_enqueue_script( 'comment-reply' );
    }
    
    add_action('wp_enqueue_scripts', 'my_jquery_setup');

    I can see these seeming to load in the page source. I can’t see any related errors showing in the FireBug console, although there might be something there that I’m missing (loads of css issues, I know!).

    If anyone could take a look for me, that’d be great. I’ve been wrestling with this for three days now.

    As I said, I’m a real newbie, so feel free to talk to me like an infant who doesn’t know what he’s doing. There’s probably something really obvious that I’m missing 🙂

    By the way, the same problem has occurred when I’ve used some of Woo’s own themes instead of my own, so I’m starting to think there’s something wrong with my actual site rather than just my theme. Is this possible?

    Thank you.

Viewing 1 replies (of 1 total)
  • Hello markus74,

    Did You find a solution for this problem? I have exactly the same problem. I just cleaning up my site: removed WPML string translation, uploaded some new PO files. Tuned W3TC cache plugin. Than completly removed it cause trought that may caouse the bug.

    Now I have no idea, why the WooCommerce’s javascripts completly stopped working – including shipping same as billing address one.

    Could you help me please?!

Viewing 1 replies (of 1 total)
  • The topic ‘Woocommerce product tabs not displaying properly’ is closed to new replies.