-
AuthorPosts
-
January 16, 2014 at 8:07 pm #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.
January 16, 2014 at 8:27 pm #210862Hey 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,
YigitJanuary 16, 2014 at 8:33 pm #210865Enfold updated.
Problems persisting!
January 17, 2014 at 11:01 am #211151Hi!
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!
PeterJanuary 17, 2014 at 9:52 pm #211387I 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.
January 18, 2014 at 5:05 pm #211575Hi!
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,
PeterJanuary 18, 2014 at 5:12 pm #211577I 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.
January 18, 2014 at 5:16 pm #211578This reply has been marked as private.January 19, 2014 at 2:20 pm #211909Hey!
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,
PeterJanuary 19, 2014 at 6:23 pm #211970Amazing! 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.
January 19, 2014 at 8:19 pm #211987Hi!
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,
PeterJanuary 19, 2014 at 10:47 pm #212020 -
AuthorPosts
- The topic ‘My woocommerce sidebars disapeared after I install WPML and now I'm lost!’ is closed to new replies.