Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #675098

    Hi there,

    I have been attempting to apply

    add_action('init', function() {
    	wp_dequeue_script( 'avia-woocommerce-js' );
    	wp_enqueue_script( 'avia-woocommerce-child-js', get_stylesheet_directory_uri().'/js/woocommerce-mod.js', array('jquery'), 2, true );
    }, 11, 1);

    to the child them functions.php to fix the problem with a js conflict Enfold is having with “WooCommerce Measurement Price Calculator” and I have not seen success as other users have seen success.

    I have examined https://kriesi.at/support/topic/add-to-cart-not-working-5/
    as well as https://kriesi.at/support/topic/conflict-between-woocommerce-measurement-price-calculator-and-enfold/

    I have paid close attention to the most recent advice for fixing the conflict here >> https://kriesi.at/support/topic/add-to-cart-not-working-5/#post-671598

    When I go to the plugins page I notice that disabling the “WooCommerce Measurement Price Calculator” does indeed stop the bug from occurring.

    let me know if I am missing something, or misunderstanding the directions, I have also pasted wp admin credentials below.

    ENB..//

    • This topic was modified 8 years, 2 months ago by ENBertussi. Reason: PREFIX WITH PROJECT NAME
    #675099

    One other detail I wanted to share was that I notice that if you are really quick and hit the “add to cart” button before the “-” and “+” buttons appear that you CAN actually add a product to the shopping cart, but you have to be super quick and hit the “add to cart” button before the “-” and “+” buttons appear.

    I thought that might be helpful with identifying the cause..

    cheers

    ENB..///

    #676383

    Hi,

    what is WooCommerce support saying about this issue?

    Best regards,
    Andy

    #678285

    I’m still waiting for comment from WOO. let you guys know as soon as I do what they have to say..

    for now the store is broken for any cart items in regular view…

    HOWEVER, and this to me is a big deal, when you view a product on ‘quickview’ EG: https://braandcorsetsupplies.com/product-category/patterns/ the problem does not exist…

    so it is specific to something about how a single product page is working.

    thanks for helping with this.. we’re super anxious to go live and start selling on the new site :)

    ENB..//

    #678529

    Hey Andy,

    woo says

    Thank you for contacting WooCommerce support.

    What is the behavior if you temporarily switch to the default WordPress theme ( Twenty Sixteen )?

    Cheers! Danny – WooNinja WooThemes Support

    Ninja Tip: Check out our Theme Customization 101 guide for tips and best practices!

    and the answer is it’s not a problem.

    ENB..//

    #679840

    Hi,

    Your child woocommerce-mod.js file still contains the conflicting code, you need to remove that.

    Best regards,
    Josue

    #680880

    Hey Josue,

    that works. is it supposed to kill the interface whereby the buttons to increase the quantity are now gone for none measurement products?

    Will kriesi be working on making enfold more compatible with woocommerce hooks for plugins like measurement price calculator in future releases?

    thank you so much for helping with this ~!

    ENB..//

    #681001

    Hi,

    Yes, the fix right now is to remove the -/+ Enfold buttons, i don’t know if Kriesi plans to make it compatible with the measurement price plugin but i’ll tag him to this thread so he’ll see your message.

    Best regards,
    Josue

    #682315

    I have some custom code on woocommerce-mod.js that I use in the child theme so I cannot take this out as it will not work as expected. It is strange that this “Please match the requested format qty” only appears in Chrome and not in Safari for example. Is there a way to include the “novalidate” attribute in the add-to-cart button? Or any other solution as this is driving me crazy?
    Thanks

    #684960

    hi guys im having the exact same problem

    my product is at http://stoveindustrysupplies.com.gridhosted.co.uk/product/fire-brick-calculator/

    but it is effecting all of my products

    can you re explain in simple steps how to fix this?

    #684964

    okay im running a child theme,,, so what i did from my parent theme folder via ftp is download /config-woocommerce/woocommerce-mod.js

    i then went into my child theme folder and created the folder config-woocommerce and uploaded the woocommerce-mod.js file after editing as you detailed in the other post removign the conflicting code.

    i then went back to my site hit f5 and the error is still present

    its as if it is loading the js file from the parent theme folder still

    #686225

    Hi,

    Do you have this code in child functions.php?

    add_action('init', function() {
    	wp_dequeue_script( 'avia-woocommerce-js' );
    	wp_enqueue_script( 'avia-woocommerce-child-js', get_stylesheet_directory_uri().'/js/woocommerce-mod.js', array('jquery'), 2, true );
    }, 11, 1);
    

    Best regards,
    Josue

    #693246

    Hi there,

    I have recently installed the Plugin Woocommerce Point of Sale from Codecanyon.

    To my surprise whenever this plugin is active it is not possible to add items to the basket because the following error is displayed when pressing the Add to Basket button:

    Please match the requested format Qty

    Is this a problem of the Plugin or it is a problem of the Theme Enfold, as I have seen some other similar posts.

    What is at the moment the solution to this big problem?.

    Thanks.

    #694402

    Hi,


    @ferdipm
    : Do you have the latest version of the theme? We included a patch for this issue but it was tested on a different plugin. Please contact the plugin author for more info.

    Best regards,
    Ismael

    #706626

    After I updated yesterday, my cart won’t work adding items.
    When you try and add an item it says:
    Please match requested format: Qty
    No matter what quantity I put in, I get this error.
    Please help.
    check out the “shop” here and try to add items to your cart:

    #706743

    I confirm what @mulligan101 reported. After updating WooCommerce to version 2.6.7, the quantity selector seems to have an invalid pattern attribute (it’s empty) that causes any value entered in it to be invalid. As a result, products cannot be added to the cart.

    Note
    The issue doesn’t depend on the Measurements Price Calculator, I was able to reproduce it on a site without that plugin. WooCommerce is at version 2.6.7 and Enfold at version 3.8.

    #707495

    Hi,

    I have checked the backend of mulligan101’s site (in this thread) and found out that this plugin causes the issue: Woocommerce Poor Guys Swiss Knife. It works properly using Enfold 3.8 and Woocommerce 2.6.7 when that plugin is deactivated.

    Best regards,
    Nikko

    #707535

    what is Woocommerce Poor Guys Swiss Knife, will my site be ok and function without it?

    #707538

    thanks for the help! I forgot to say thanks =)

    #707588

    Hi mulligan101,

    Glad we could help. :) I haven’t used that plugin yet but you can refer to this link. As for will my site be ok and function without it? I think yes, since woocommerce is a plugin that is not dependent on any other plugins to work and sell products :)

    Best regards,
    Nikko

    #798617

    I have the same problem. I’m using the latest versions of WordPress, and Enfold. The only plugins I have are WooCommerce and Measurement Price Calculator.

    #798989

    Nevermind, I misunderstood. I thought with the new Enfold update that the theme function snippet wasn’t required. I have added the code to my child theme functions and it is working now. Thanks!

    #799764

    Hi,

    Happy we got it short out.
    Please remember to let us know if there is anything else we can do to help you out.

    Best regards,
    Basilis

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘BMS "Please match the requested format qty" WooCommerce Measurement $ Calculator’ is closed to new replies.