Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #977862

    Dear support,
    I have a conflict with the woocommerce plugin measurements and price calculator.
    If I use the cart, it shows this notice: Bitte halten Sie sich an das vorgegebene Format: Menge.
    I ´ve switched off other plugIns, but the issue persists.

    Have you got any idea?

    Thanks in advance

    #978044

    Hey elsengold,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #978388

    Thanks for your reply. Here is the access.

    #979257

    Hi Victoria,
    have you any idea for that issue. Otherwise, I have to give back the plugin or change the theme, I´ve just bought a new enfold liscence.
    Thanks and best regards.

    #980280

    Hi,

    Unfortunately not a lot we can do with the plugin – but if the plugin author can give us some ideas, we will be more than happy to go for them.

    Best regards,
    Basilis

    #980291

    Okay, thank you, the author of the plugIn wrotes:

    Hi there,

    If the issue is specific to the Enfold theme, I would recommend reaching out to their team. I have not heard other reports of this issue as of yet, but it sounds like their theme may add additional input validation on the product page fields. This could interfere with the validation Measurement Price Calculator adds.

    Can you try reaching out to the Enfold team and let me know if they’re able to assist?

    Cheers,

    Ian

    #981242

    Hi Ian,

    Here are some threads to consider:
    https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/

    WooCommerce Measurement Price Calculator

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1082194

    Add these in your Child-Theme funktions.php:

    /**
    * Filter the quantity input’s pattern attribute to fix the “Please match
    * the requested format” HTML validation error that occurs when using
    * WooCommerce Measurement Price Calculator with the Enfold theme
    *
    * @props to mensmaximus {@link https://github.com/mensmaximus} for the
    * proposed solution
    *
    * @param string $pattern the value of the input element’s pattern attribute
    * @return string the updated pattern to allow floats
    */
    function sv_wc_mpc_quantity_input_pattern_enfold_theme( $pattern ) {
    if ( has_filter( ‘woocommerce_stock_amount’, ‘floatval’ ) ) {
    $pattern = ‘^\d*(\.\d*)?$’;
    }
    return $pattern;
    }
    add_filter( ‘woocommerce_quantity_input_pattern’, ‘sv_wc_mpc_quantity_input_pattern_enfold_theme’ );

    #1083487

    Hi mzgn,

    Thanks for helping out and posting the solution.

    Best regards,
    Nikko

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.