Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, I have more than 200 variations on one product but when i update the prices or pictures and click update, when i go back the changes i made is gone i have tried one by one it seems it doesn’t save after 50 variations i have woocommerce 2.0.18, I have deleted re added but nothing works please help

    hi there, i have looked for all the above mentioned errors but my html does not have any of the above although i get the same error

    Strict Standards: Only variables should be passed by reference in /home/m6477630/public_html/wordpress/wp-content/plugins/wp-online-store/includes/functions/html_output.php on line 37

    but this is what my file currently looks like

    */

    function osc_draw_input_field($name, $value = null, $parameters = null, $override = true, $type = ‘text’) {
    $field = ‘<input type=”‘ . $type . ‘” name=”‘ . $name . ‘” id=”‘ . $name . ‘”‘;
    if ( ($key = $GLOBALS[$name]) || ($key = $GLOBALS[‘HTTP_GET_VARS’][$name]) || ($key = $GLOBALS[‘HTTP_POST_VARS’][$name]) || ($key = $GLOBALS[‘HTTP_SESSION_VARS’][$name]) && ($override) ) {
    $field .= ‘ value=”‘ . $key . ‘”‘;
    } elseif ($value != ”) {
    $field .= ‘ value=”‘ . $value . ‘”‘;
    }
    if ($parameters) $field.= ‘ ‘ . $parameters;
    $field .= ‘>’;

    return $field;
    }

    function osc_draw_password_field($name, $parameters = null) {
    return osc_draw_input_field($name, null, $parameters, false, ‘password’);
    }

    function osc_draw_hidden_field($name, $value) {
    return ‘<input type=”hidden” name=”‘ . $name . ‘” value=”‘ . $value . ‘”>’;
    }
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)