• Resolved bonofy

    (@bonofy)


    Hi, Thanks for a good plugin.

    I’m having an error. Pls see the below.
    It shows up on checkout page.

    ————–
    “); if ( jQuery($this).attr(“minvalue”) ) { jQuery($this).attr(“min”, jQuery($this).attr(“minvalue”) ); } if ( jQuery($this).attr(“rangemax”) ) { jQuery($this).attr(“max”, jQuery($this).attr(“rangemax”) ); } if ( jQuery($this).attr(“maxvalue”) ) { jQuery($this).attr(“max”, jQuery($this).attr(“maxvalue”) ); } if ( jQuery(this).attr(“numstep”) ) { jQuery($this).attr(“step”, jQuery($this).attr(“numstep”) ); } if (jQuery($this).attr(“numpres”) == “true”) { jQuery(“#slider_” + jQuery($this).attr(“id”)).slider({ range: true, min: parseInt(jQuery($this).attr(“minvalue”)), max: parseInt(jQuery($this).attr(“maxvalue”)), step: parseInt(jQuery($this).attr(“numstep”)), values: [ parseInt(jQuery($this).val()), parseInt(jQuery($this).attr(“rangemax”)) ], slide: function( event, ui ) { jQuery( $this ).val( ui.values[0] + ” – ” + ui.values[1]); } }); } else { jQuery($this).attr(“type”, “number”); jQuery(“#slider_” + jQuery($this).attr(“id”)).slider({ range: jQuery($this).attr(“numpres”), min: parseInt(jQuery($this).attr(“minvalue”)), max: parseInt(jQuery($this).attr(“maxvalue”)), step: parseInt(jQuery($this).attr(“numstep”)), value: parseInt(jQuery($this).val()), slide: function( event, ui ) { jQuery( $this ).val( ui.value ); } }).sliderAccess({ touchonly : true }); } }); jQuery(“select[presentation=’radio’]”).each(function(i, select){ var $select = jQuery(select); $select.find(“option”).each(function(j, option){ var $option = jQuery(option); // Create a radio: if ($option.val() != null && $option.val() != “”) { var $radio = jQuery(“”); // Set name and value: $radio.attr(“name”, $select.attr(“name”)).attr(“value”, $option.val()).attr(“class”, “radio”).attr(“style”,”width:10%”); // Set checked if the option was selected if ($option.attr(“selected”) != null && $option.attr(“selected”) == “selected” && $select.attr(“hasselected”) != null && $select.attr(“hasselected”) == “true” ) $radio.attr(“checked”, “checked”); //$radio.text($option.text()); // Insert radio before select box: $select.before($radio); // Insert a label: $select.before( jQuery(“”).attr(“for”, $select.attr(“name”)).text($option.text()) ); // Insert a
    : $select.before(“
    “); } }); $select.remove(); }); jQuery(“select[presentation=’checkbox’]”).each(function(i, select){ var $select = jQuery(select); $select.find(“option”).each(function(j, option){ var $option = jQuery(option); // Create a radio: if ($option.val() != null && $option.val() != “”) { var $radio = jQuery(“”); // Set name and value: $radio.attr(“name”, $select.attr(“name”) + “[” + j + “]”).attr(“value”, $option.val()).attr(“class”, “checkbox”).attr(“style”,”width:10%”); // Set checked if the option was selected if ($option.attr(“selected”) != null && $option.attr(“selected”) == “selected” && $select.attr(“hasselected”) != null && $select.attr(“hasselected”) == “true” ) $radio.attr(“checked”, “checked”); //$radio.text($option.text()); // Insert radio before select box: $select.before($radio); // Insert a label: $select.before( jQuery(“”).attr(“for”, $select.attr(“name”)).text($option.text()) ); $select.before(“
    “); } }); $select.remove(); }); jQuery(“select[multiple=’multiple’]”).each(function(i, select){ var $select = jQuery(select); $select.attr(“name”, $select.attr(“name”) + “[]”); }); });
    ————–

    I’m not sure when this started. But I’m pretty sure it was ok before recent update.
    Could you pls check this out?

    Thanks.

    https://www.ads-software.com/plugins/woocommerce-poor-guys-swiss-knife/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ulihake

    (@ulih)

    Hello bonofy.

    This seems to be something related with your configuration, otherwise all users would complain.

    To identify the problem you have to delete custom fields to identify the field that is causing the problem. As the code breaks in the context of a numbered field input I would delete first custom number fields. Once you’ve identified the field please try to add the field again.

    Regards.
    uh

    Plugin Author ulihake

    (@ulih)

    Hello bonofy.

    Please give some feedback till tomorrow, otherwise I will close this thread.

    Thanks.
    uh

    Plugin Author ulihake

    (@ulih)

    Hello bonofy.

    Seems that you’ve solved your problem. If not, you can reply here, I will receive a notification.

    Regards.
    uh

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘See see this error message’ is closed to new replies.