WC (woocommerce) checkout trouble in IE 11

Posted in: Newspaper
Post count: 14

installed shop.
when ordering appears incomprehensible code.
Moreover, it appears only in IE.
In Google Chrome’s OK

ie:
http://s017.radikal.ru/i412/1411/d6/7edff2d60762.jpg

google chrome:
http://s57.radikal.ru/i155/1411/c8/cb9203cbeb45.jpg

this is my func file child-theme

<?php

/*  ----------------------------------------------------------------------------
    WordPress booster framework - this is our theme framework - all the content and settings are there
    It is not necessary to include it in the child theme only if you want to use the API
*/
if (!defined('TD_THEME_WP_BOOSTER')) {
	include TEMPLATEPATH . '/includes/td_wordpres_booster.php';
}

//Удаление цветовой схемы
remove_action( 'admin_color_scheme_picker', 'admin_color_scheme_picker' );

//Редактирование полей в профиле
function modify_contact_methods($profile_fields) {
    // Add new fields
     //$profile_fields['twitter'] = 'Twitter Username';
     //$profile_fields['facebook'] = 'Facebook URL';
     //$profile_fields['gplus'] = 'Google+ URL';
       $profile_fields['dopplr'] = 'VK';
       $profile_fields['delicious'] = 'Battlelog';
	

    // Remove old fields
	unset($profile_fields['google']);
	unset($profile_fields['evernote']);
	unset($profile_fields['dribbble']);
	unset($profile_fields['digg']);
	unset($profile_fields['blogger']);
	unset($profile_fields['deviantart']);
	unset($profile_fields['forrst']);
	unset($profile_fields['github']);
	unset($profile_fields['googledrive']);
	unset($profile_fields['googlemaps']);
	unset($profile_fields['grooveshark']);
	unset($profile_fields['html5']);
	unset($profile_fields['lastfm']);
	unset($profile_fields['linkedin']);
	unset($profile_fields['myspace']);
	unset($profile_fields['path']);
	unset($profile_fields['picasa']);
	unset($profile_fields['pinterest']);
	unset($profile_fields['posterous']);
	unset($profile_fields['reddit']);
	unset($profile_fields['sharethis']);
	unset($profile_fields['slashdot']);
	unset($profile_fields['spotify']);
	unset($profile_fields['stackoverflow']);
	unset($profile_fields['stumbleUpon']);
	unset($profile_fields['tehnorati']);
	unset($profile_fields['sharethis']);
	unset($profile_fields['addthis']);
	unset($profile_fields['behance']);
	unset($profile_fields['tumblr']);
	unset($profile_fields['viddler']);
	unset($profile_fields['virb']);
	unset($profile_fields['windows']);
	unset($profile_fields['woordpress']);
	unset($profile_fields['zerply']);
	unset($profile_fields['paypal']);
	unset($profile_fields['yahoo']);
	unset($profile_fields['vimeo']);
	unset($profile_fields['rss']);
	unset($profile_fields['soundcloud']);

    return $profile_fields;
}
add_filter('user_contactmethods', 'modify_contact_methods');

//Удаление админбара для всех кроме админа
add_action('after_setup_theme', 'remove_admin_bar');

function remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
  show_admin_bar(false);
}
}

//логотип при входе
function my_login_logo(){

echo '

<style type="text/css">

#login h1 a { background: url('. get_bloginfo('template_directory') .'/images/logo.png) no-repeat 0 0 !important; }

</style>';

}
add_action('login_head', 'my_login_logo');

//Теперь нам необходимо сделать так, чтобы логотип ссылался не на сайт wordpress.org, а на наш с вами. 
//Тут тоже особо трудного ничего нет, добавляем всего лишь еще одну строку
add_filter( 'login_headerurl', create_function('', 'return get_home_url();') );

//Всплывающую подсказку что сайт работает на WordPress надо тоже убрать, и добавить свою фразу. 
//Тут нам поможет эта строка:
add_filter( 'login_headertitle', create_function('', 'return "Brothers in Games - Сообщество любителей поиграть вместе";') );

//убрали лого из админбара
add_action( 'wp_before_admin_bar_render', function() {
global $wp_admin_bar;
$wp_admin_bar->remove_menu('wp-logo');
}, 7 );

//убрали ненужные виджеты 
function shailan_remove_dashboard_widgets() {
    // Remove Quick Press Widget
    remove_meta_box( 'dashboard_quick_press', 'dashboard', 'side' );
    // Remove Incoming Links Widget
    remove_meta_box( 'dashboard_incoming_links', 'dashboard', 'normal' );
    // Remove Recent Comments Widget
    remove_meta_box( 'dashboard_recent_comments', 'dashboard', 'normal' );
    // Remove Latest Plugins Widget
    remove_meta_box( 'dashboard_plugins', 'dashboard', 'normal' );
    // Remove WordPress Blog Widget
    remove_meta_box( 'dashboard_primary', 'dashboard', 'side' );
    // Remove Other WordPress News Widget
    remove_meta_box( 'dashboard_secondary', 'dashboard', 'side' );
}  
add_action('wp_dashboard_setup', 'shailan_remove_dashboard_widgets' );

//удалили версию из футера админки
function my_footer_shh() {
    remove_filter( 'update_footer', 'core_update_footer' ); 
}
add_action( 'admin_menu', 'my_footer_shh' );

//удалили указание на вп в футере 
function remove_footer_admin () {
echo '';}
add_filter('admin_footer_text', 'remove_footer_admin'); 

//удалили таб помощи сверху
add_action('admin_head', 'mytheme_remove_help_tabs');
function mytheme_remove_help_tabs() {
    $screen = get_current_screen();
    $screen->remove_help_tabs();
}

//убрали метатег из хедера показывающий использование вп
function fjarrett_remove_wp_version_strings( $src ) {
     global $wp_version;
     parse_str(parse_url($src, PHP_URL_QUERY), $query);
     if ( !empty($query['ver']) && $query['ver'] === $wp_version ) {
          $src = remove_query_arg('ver', $src);
     }
     return $src;
}
add_filter( 'script_loader_src', 'fjarrett_remove_wp_version_strings' );
add_filter( 'style_loader_src', 'fjarrett_remove_wp_version_strings' );

//Hide WP version strings from generator meta tag
function wpmudev_remove_version() {
return '';
}
add_filter('the_generator', 'wpmudev_remove_version');

//скрытие пунктов меню слева от посторонних глаз
add_action( 'admin_init', 'my_remove_menu_pages', 999 );

function my_remove_menu_pages() {
    // If the user does not have access to publish posts
    if(!current_user_can('administrator')) {
        remove_menu_page('bsf-dashboard');
	remove_menu_page('wpcf7');
        remove_menu_page('edit.php?post_type=explandict');
        remove_menu_page('tools.php');
    }
}

// get the "author" role object
$role = get_role( 'author' );

// add "organize_gallery" to this role object
$role->add_cap( 'unfiltered_html' );

// убираем инфу о неправильном пароле при входе
add_filter('login_errors',create_function('$a', "return null;"));

// убираем из кода страницы упоминание о Yoast WordPress SEO plugin
add_action('get_header', 'rmyoast_ob_start');
add_action('wp_head', 'rmyoast_ob_end_flush', 100);
 
function rmyoast_ob_start() {
    ob_start('remove_yoast');
}
function rmyoast_ob_end_flush() {
    ob_end_flush();
}
function remove_yoast($output) {
    if (defined('WPSEO_VERSION')) {
        $output = str_ireplace('<!-- This site is optimized with the Yoast WordPress SEO plugin v' . WPSEO_VERSION . ' - https://yoast.com/wordpress/plugins/seo/ -->', '', $output);
        $output = str_ireplace('<!-- / Yoast WordPress SEO plugin. -->', '', $output);
    }
    return $output;
}
  • This topic was modified 11 years by gazgaz.
Post count: 14

help someone else?

Post count: 6600

Hi,

Have you still got issue with this? I have check your site using IE11 and haven’t found the issues you have in the screens: http://screencast.com/t/X6eBmUahZ10c
If you still have it please make sure you update the plugin and also try to address this question to plugins support page: https://wordpress.org/support/plugin/woocommerce

Thanks

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.