• I have a big problem with my products short descriptions in woocommerce.
    The text is not stored.
    The problem is from the excerpt

    The incriminated code is in mqtranslate_wphacks.php (same for qtranslate_wphacks.php)

    function qtrans_modifyExcerpt() {
    global $q_config;
    echo “<script type=\”text/javascript\”>\n// <![CDATA[\n”;
    echo “if(jQuery(‘#excerpt’).size()>0) {“;

    echo $q_config[‘js’][‘qtrans_is_array’];
    echo $q_config[‘js’][‘qtrans_xsplit’];
    echo $q_config[‘js’][‘qtrans_split’];
    echo $q_config[‘js’][‘qtrans_integrate’];
    echo $q_config[‘js’][‘qtrans_switch_postbox’];
    echo $q_config[‘js’][‘qtrans_use’];

    $el = qtrans_getSortedLanguages();
    foreach($el as $language) {
    echo qtrans_createTitlebarButton(‘postexcerpt’, $language, ‘excerpt’, ‘qtrans_switcher_postexcerpt_’.$language);
    echo qtrans_createTextArea(‘postexcerpt’, $language, ‘excerpt’, ‘qtrans_switcher_postexcerpt_’.$language);
    }
    echo “qtrans_switch_postbox(‘postexcerpt’,’excerpt’,'”.$q_config[‘default_language’].”‘, false);”;
    echo “jQuery(‘#excerpt’).hide();”;
    echo “}”;
    echo “// ]]>\n</script>\n”;

    }

    Did anyone have a solution ?

    https://www.ads-software.com/plugins/mqtranslate/

  • The topic ‘Problem Excerpt’ is closed to new replies.