Tagged: conflict, enfold 3.8
-
AuthorPosts
-
August 20, 2016 at 9:51 pm #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, 3 months ago by ENBertussi. Reason: PREFIX WITH PROJECT NAME
August 20, 2016 at 9:55 pm #675099One 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..///
August 23, 2016 at 1:17 pm #676383August 26, 2016 at 6:01 pm #678285I’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..//
August 27, 2016 at 11:53 pm #678529Hey 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..//
August 31, 2016 at 7:25 am #679840Hi,
Your child woocommerce-mod.js file still contains the conflicting code, you need to remove that.
Best regards,
JosueSeptember 1, 2016 at 6:18 pm #680880Hey 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..//
September 1, 2016 at 10:20 pm #681001Hi,
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,
JosueSeptember 5, 2016 at 7:21 pm #682315I 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?
ThanksSeptember 12, 2016 at 9:55 am #684960hi 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?
September 12, 2016 at 10:07 am #684964okay 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
September 14, 2016 at 9:54 am #686225Hi,
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,
JosueSeptember 29, 2016 at 5:01 pm #693246Hi 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.
October 3, 2016 at 4:43 am #694402Hi,
@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,
IsmaelNovember 1, 2016 at 9:43 am #706626After 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:November 1, 2016 at 3:10 pm #706743I 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.November 3, 2016 at 4:30 am #707495Hi,
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,
NikkoNovember 3, 2016 at 5:53 am #707535what is Woocommerce Poor Guys Swiss Knife, will my site be ok and function without it?
November 3, 2016 at 5:56 am #707538thanks for the help! I forgot to say thanks =)
November 3, 2016 at 7:19 am #707588Hi 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,
NikkoMay 24, 2017 at 12:04 am #798617I 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.
May 24, 2017 at 4:00 pm #798989Nevermind, 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!
May 25, 2017 at 8:07 pm #799764Hi,
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 -
AuthorPosts
- The topic ‘BMS "Please match the requested format qty" WooCommerce Measurement $ Calculator’ is closed to new replies.