will it work with elementor?
]]>I have noticed a discrepancy in how the plugin javascript parses fields from the cart form on product display pages when compared with native browser functionality which WooCommerce expects. If input elements have the same name attribute, the javascript will convert these into an array. With a native form submission, only a single value would be included in the request.
This is causing an incompatibility with https://www.ads-software.com/plugins/woocommerce-product-addon/ because this plugin adds an additional “add-to-cart” input element to the form. This causes the “product_id” field to be submitted to the server as an array. WooCommerse expects this to be an integer and connot process this field. Therefore no product which uses the product personalisation functionality can actually be added to the cart. This issue seems to originate from logic contained within the “serializeForm” function within wp-content/plugins/woo-ajax-add-to-cart/assets/frontend/woo-ajax-add-to-cart.js
Hi
For more than a month I have had “Ajax add to cart for WooCommerce” deactivated as it prevented my customers from adding more than 1 product to the cart without them having to reload the webshop manually. Now more and more issues has occured since deactivating Ajax add to cart for WC, so I’m wondering what caused the main issue in the first place and how I fix it, so I can activate Ajax add to cart for WC again.
To reproduce the issue:
Go to shop -> Choose a product -> Choose a color -> add to cart -> try to add another of the same product which makes the “Add to cart”-button unavailable.
To work-around, the customer needs to go back to the shop and enter a new product.
Really hope for help! <3
Kind regards
Leopold
I have tried 3 different plugins which allows to sell product add-ons and all of them are conflicting with your plugin. Right now I’m focusing on a plugin ‘YITH WooCommerce Product Add-ons & Extra Options‘. While ajax add to cart plugin is enabled there are no product add ons displayed in the cart, checkout pages.
Here’s the link to the topic of YITH plugin where we will discuss further details: https://www.ads-software.com/support/topic/downgrade-plugin-2/#post-18046956
]]>After the latest version of the plugin, additional product details no longer transfer to the cart. Specifically the true/false checkbox value always reads as false even when selected. Disabling the plugin fixes the issue. This was not an issue in all previous versions of the plugin.
]]>Silly question, Is there anyway to show a loading animation on the button to indicate that the button is doing something for those times when the response might be a little slower? That way customers know the button is working?
]]>Bought this product to allow customers to stay on the same page when they Add to cart.
Can’t seem to get it to work. Would be really nice if when a customer Add’s to cart
that it does just that, and stays on the same page, ASWELL as changing the Add button
to Added to Cart ie a visual confirmation.
I’ve just upgraded to 2.3.8 and my site that uses Pingdom transactions, suddenly stopped adding items to the cart in my test, although when doing it myself it adds to the cart okay.
I’ve reverted back to 2.3.7 and now the tests are working again.
Has something changed in how the button is assigned/built that would have affected this, Pingdom transactions use a real browser… but wondering if the ‘click’ isn’t being registered for some reason… all the steps before the ‘add to cart’ work okay?
Obviously not a problem with the plugin but would be good to know if there is a way around this, so my automated tests don’t fail.
Thank you.
]]>if you add to cart, you can see the ajax works, see the bubble of cart, but page still reloading after i add to cart
]]>Hi, I noticed that your plugin handles nested inputs (ie: <input name="some_input[99]" value="2" />
as strings when posting data. This is different from how a lot of plugins expect to receive the data.. ie: in an array)
I propose some tweaks to better handle this type of inputs… I tested this with variable products, Product Addons, and two of my plugins: Name Your Price, and Mix and Match Products… so far seems to work.
https://gist.github.com/helgatheviking/56a53a80ba7a0c58b659700f2bc40124
You’ll also note the addition of qlwcajax_product_supported_types
in the class-plugins.php
to allow for the display on additional product types like so:
add_filter( 'qlwcajax_product_supported_types', function( $types ) {
$types[] = 'mix-and-match';
return $types;
} );
]]>
Hey there, hope you’re well!
I’ve come across an error with the plugin when adding variations to the cart which have “Any” as the attribute in the product backend. When trying to add it to the cart, it will return the error: “attribute is a required field”
As an example, you can use the Woocommerce Sample Data, and try adding the “V-Neck T-Shirt” to the cart. In the backend, it has three variations:
When adding to the cart, it returns the error: “Size is a required field”.
I’m not sure if it’s a proper fix or not, but I’ve edited line 65
in lib -> class-plugin.php
to be the below, and have found it to work as expected, although haven’t done thorough testing.
if ( count($values) == count($attributes) || empty( $_REQUEST['wc-ajax'] ) ) {
If you could research this further and let me know when there’s an approved update that would be awesome. Thanks.
]]>I am using this plugin on all my websites for a few years now and I love it.
But now I have a website that uses a quickview popup in the shop and I noticed the ajax ATC doesn’t work there. Could support for such cases be added? That would be really great!
Kind regards
]]>Love the plugin. Works perfectly on product pages.
Is there a way I can get the plugin to load on the /cart/ page? I’ve written custom code to showcase some upsell products in the cart, complete with an add to cart button, and would love for it to add the products to the cart there and then.
Thanks
]]>hi there, first this seems to be working quite good on firefox and safari. but on chrome it simply does not. can you solve that issue?
thanks and all my best
telemarker
]]>There is a setting in woocommerce that can redirect to cart page after product addition to the cart. Also there is a related hook woocommerce_add_to_cart_redirect. However neither of them seem to be working with this plugin. Is this how it supposed to be ?
]]>Hello,
I’m using your plugin in my website and it was updating minicart items immediatelly after I click to add to basket. But since 1 day it is not working fine. I guess related to latest update. Can you look at it? My website using FSE so it is a block theme.
Thanks!
]]>After the click on the add to cart, it appears a random button in the side “View Cart” but it doesn’t direct the user to the cart, and also doesn’t open the popup cart in the side.
Also, we would like to block the user too click many times and add more than 1 table on the cart… he should add only 1 when it’s loading.
Please can you help?
]]>The plugin works very well. I just have a problem with the design of my Ad-to-cart button. Can someone here help me and explain how I can get the spinner in the middle of the button? Is there perhaps also the option to change the color of the circle to blue? I would be very grateful for your help. regards Karsten
]]>Hi. Just updated flatsome on my dev site and now the plugin no longer works. Any ideas on a fix? throwing all sorts of errors.
]]>Are you guys aware that you’re plugin does not work with this kind of setup.
Issue is when a set of attributes are set to “any”, a product then can not be added to cart on the single product page.
Explained in this post:
https://www.ads-software.com/support/topic/any-product-variations-dont-add-to-cart/
Can this be fixed?
]]>Hello
Please how do i show “add to cart” option on every button. For variable products, “select options” will appear on the button.
For variable products, the default value is set in woocommerce.
]]>we install the plugin but not working
]]>Hello!
We are using your plugin together with Extra Product Options for WooCommerce.
There seems to be some conflicts with your plugin when adding to cart – the file upload doesnt work correctly.
Please help us get this solved.
]]>Hello,
I add the plugin on this website : https://droguerie-fr.valletinformatique.fr/ but nothing happen, the icone doesn’t appear. How to do please ? I have to add a short code ?
]]>I have a website that utilises the Woocommerce Product Add-Ons (PAO) plugin to attach uploaded files to the product order. This has worked fine until I added the Ajax Add-to-cart plugin to the site. Now, even though files seem to upload correctly (there’s no error), when viewing the order in the WC backend only the path to the file is shown. It’s no longer a link to the file, just a URL. This is also the case when the file is listed on the cart page, and in the order email. To make matters worse, its starts with “C:\fakepath\” (on a PC) which seems untrustworthy.
I’ve tested the store using the Storefront theme, and with only the Woocommerce, PAO and Ajax Add-to-cart plugins active.
I’ve now deactivated the Ajax Add-to-cart plugin (it’s function is less important than PAO), but I’d like it to be reactivated at some point.
Can you help at all?
]]>when i added to cart one size on the shop page and i want to add one more size to the cart, i can’t do it unless i refresh the page, because when i add to cart he replace the add to cart button with go to cart page, and when i press on another size to add to cart the button with go to cart page still showing instead of add to cart
https://nimb.ws/Ec3xAd
Hello,
I’ve installed the plugin but the Ajax only works on the single product page, if I Add to Cart from an archive page it will redirect to the product page and add the product to cart.
Single product: https://ecommercesptmtest1.giessedati.it/product/ua-flow-futrx2/
Archive: https://ecommercesptmtest1.giessedati.it/product-category/sport/
How can I make it work on archive pages?
Thank you
]]>Hello,
Upon the recent WooCommerce update, your plugin empties the cart whenever entering the front page. What could be wrong here? Do you have a fix?
Thanks a lot.
/ Victor
]]>Hi, I’m working into a website and I wanted to implement Ajax in add to cart button. The problem here is that it keeps reloading pages when I add a product to the cart.
I tried disabling all my plugins instead of the necessary ones. If anyone can give me an answer or if I’m doing anything in a bad way…
Thanks!
]]>Hi there,
For some “tailor made” products I use special plugin called Additional Fields Pro like on this page: https://crossobags.com/product/zipper-cosinus-tailor-made-bag/ -while your plugin is activated and I click Add to Cart, the products is being added to the cart but no additional info from the form is send to the order summary. Any idea how to solve it?
Now your plugin is off, coz I need the custom products to be ordered correctly.
]]>