Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #210857

    my site – http://www.luma-products.com has a woocommerce store that was working fine up until a few days ago.

    It seems that the side nav I created no longer works.

    I began translating things, but I check to see if everything was working after I installed WPML, and it was, initially.

    Also, I can no longer purchase anything because the options for the variation I created no longer appear

    Help!

    Bryce.

    #210862

    Hey brycenagels!

    Please update Enfold to version 2.4.5 as it is fully compatible with WordPress 3.8. And make sure that you are using the latest version of WooCommerce.
    Please see http://kriesi.at/documentation/enfold/updating-your-theme-files/

    Regards,
    Yigit

    #210865

    Enfold updated.

    Problems persisting!

    #211151

    Hi!

    I’m not sure if this is a theme related issue. Please switch to the TwentyThirteen theme (default wordpress theme) and check if the problems persists. If yes please contact the WPML support staff and ask them to look into it. If the theme change solves the issue please create us an admin account and we’ll look into it.

    Cheers!
    Peter

    #211387

    I have deactivated all the WPML plugins. this resolved the quatity selection problems with individual items, but I still cant see the custom sidebar in the store page.. any ideas?

    Bryce.

    #211575

    Hi!

    The store page does not support a custom sidebar because you can use the “Shop Overview Page” widget ares to add widget to the shop page. If you really want to to use a custom sidebar on the shop page open up enfold/sidebar.php and replace

    
            if(!empty($the_id) && is_singular())
            {
                $custom_sidebar = get_post_meta($the_id, 'sidebar', true);
            }
    

    with

    
            if(!empty($the_id) && is_singular())
            {
                $custom_sidebar = get_post_meta($the_id, 'sidebar', true);
            }
    
            if(is_shop())
            {
                $the_id = woocommerce_get_page_id( 'shop' );
                if(!empty($the_id)) $custom_sidebar = get_post_meta($the_id, 'sidebar', true);
            }
    

    Regards,
    Peter

    #211577

    I am using the shop overview page widget area. I have everything to display the widgets I put in and nothing is working!

    I was working fine up until a few days ago. I dont know what happened?

    Bryce.

    #211578
    This reply has been marked as private.
    #211909

    Hey!

    I fixed it on your website – I had to add following code to the functions.php file

    
    add_action( 'init', 'debug_avia_woocommerce_before_main_content', 10);
    function debug_avia_woocommerce_before_main_content()
    {
    remove_action( 'woocommerce_before_main_content', 'avia_woocommerce_before_main_content', 10);
    add_action( 'woocommerce_before_main_content', 'test_avia_woocommerce_before_main_content', 10);
    }
    
    function test_avia_woocommerce_before_main_content()
    {
        global $avia_config;
        $new = get_post_meta(get_option('woocommerce_shop_page_id'), 'layout', true);
    
    	if(!isset($avia_config['shop_overview_column'])) $avia_config['shop_overview_column'] = "auto";
    	if($new)
    	{     	
            $new = apply_filters('avia_layout_filter', $new);
             
            $avia_config['layout']['current'] = $avia_config['layout'][$new];
    		$avia_config['layout']['current']['main'] = $new;
    	}
    
    	$title_args = array();
    
    	if(is_woocommerce())
    	{
    		$t_link = "";
    
    		if(is_shop()) $title  = get_option('woocommerce_shop_page_title');
    
    		$shop_id = woocommerce_get_page_id('shop');
    		if($shop_id && $shop_id != -1)
    		{
    			if(empty($title)) $title = get_the_title($shop_id);
    			$t_link = get_permalink($shop_id);
    		}
    
    		if(!$title) $title  = __("Shop",'avia_framework');
    
    		if(is_product_category() || is_product_tag())
            {
                global $wp_query;
                $tax = $wp_query->get_queried_object();
                $title = $tax->name;
                $t_link = '';
            }
    
    		$title_args = array('title' => $title, 'link' => $t_link);
    	}
    
    	if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title($title_args);
    
    	echo "<div class='container_wrap container_wrap_first main_color ".avia_layout_class( 'main' , false )." template-shop shop_columns_".$avia_config['shop_overview_column']."'>";
    
    		echo "<div class='container'>";
    
    		if(!is_singular()) { $avia_config['overview'] = true; }
    }
    

    I’ll check if this is a general issue (which I can reproduce on my test server. I I can reproduce it we’ll add this patch to the next theme update.

    Regards,
    Peter

    #211970

    Amazing! Thanks for the help. I would of been pretty stranded. I still need to translate the site to french. Any advice before I fianlize that process? I am using WPML, and on my last attempt at it these problems started.

    Bryce.

    #211987

    Hi!

    Did you try to switch to the default theme? If the issue persists it’s definitely a WPML bug and I recommend to contact the plugin author. I’m not aware of any incompatibility issues which might affect the variations.

    Best regards,
    Peter

    #212020

    So far so good. Only a few glitches on the WPML side.

    Thanks again for the support!

    Bryce.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘My woocommerce sidebars disapeared after I install WPML and now I'm lost!’ is closed to new replies.