How to redirect to checkout page upon click on the “CHECKOUT” button?
]]>When i added product and go to the cart page those functons are doesn’t work.
Hopes you help me!
Hi there,
I’m using your plugin with Oxygen repeater as per: https://toolset.wiki/woocommerce-ajax-add-to-cart-button/
All works excellent, but I’d like to hide the “added to cart” message after some seconds or a click on the page … I’ve tried overriding with different jQuery approaches to to avail. I’m assuming I have to dive into the /assets/js/enhanced-ajax-add-to-cart-wc-public.js starting line 276, but not sure if it’s the correct and easiest approach?
Any suggestions? And thank you for the plugin, it’s been a real time saver!
Cheers,
edit: on another note, is it possible to add the title of what’s been added to the cart into the notification. Again, assuming, plugin override is needed .. yes?
]]>Hello.
I just downloaded this plugin and I want to position the button to the center of the page. If I use <center> before the shortcode, only the quantity gets placed to the center, not the button itself.
Thank you for you help.
]]>Hello Team,
Great plugin BTW, how can I align the button to the center of a container?
I’m using elementor but I need the buttons to align to center of a column.
]]>EAA2C(Free): 2.3.0
WooCommerce: 5.2.1
Wordpress: 5.7.1
Woodmart (Theme): 5.3.6
Hi EAA2C Team,
i’m facing the problem that WooCommerce notices are not shown after (EAA2C)”Add to cart” button was clicked. The “mini cart view” open properly, but when re-submitting the button related constraint notices (e.g. only one product allowed in the cart”) don’t appear.
After some debugging i’ve figured out that you display the notices before a target element with the class “.content-area”.
enhanced-ajax-add-to-cart-wc-public.js:337
AddToCartHandler.prototype.showNotices = function( element, target ) {
$( '.woocommerce-error, .woocommerce-message' ).remove();
var domTarget = $( '.content-area' );
//console.log( target );
//console.log( "showing notices" );
domTarget.before( target );
this.scrollToNotices();
// this.unblockButtons();
}
I don’t know if this is theme related (Woodmart) but in my case there is no such element with this class. After adding an element with this class, the “notices” appear. I don’t think this is a best practices. I guess there was/is a different intention behind it. Whats you thoughts on this?
Thx for you support ??
Markus
]]>Parker, the solution you provided here to change the “View cart” link does not appear to apply to the current version of the plugin, as I am not seeing any minified files. The enqueue function seems to be missing as well. As I am unable to reply to the discussion thread, I thought I would start a new one.
The /assets/js/enhanced-ajax-add-to-cart-wc-public.js file appears to be where the text and link can be modified, but I am unable to figure out how this is done. Specifically, I know it is lines 262 through 267. On the surface, it appears that modifying the contents of lines 271 and 272 will allow changing the link and text, respectively. But it does not change for me, even when clearing the site’s cache, trying different browsers, incognito mode, etc. Furthermore, what’s puzzling is that removing the whole block removes the resulting text.
What am I missing here? Would you mind providing an updated solution?
]]>Hello. I’ve been using the plugin for some time and I have problems configuring it to work with Google Analytics e-commerce tracking. One of the various events that are being tracked is the add to cart event.
I can’t make it work so the add to cart events are being tracked in Analytics. Am I missing something in options?
]]>Hello,
I use an open pricing plugin for gift cards.
Is there a way to make that work with the add to cart button? Right now, it says that the price is missing.
Where does the plugin get the price from? Maybe there is a javascript workaround by listening to the price input and pasting that price into a button attribute or somewhere else?
Thanks in advance for any help!
– Sigi
]]>Hi!
The new update broke the page completely. Version 2.1.1
Edit. i now rolled back to 2.0, i fixed the no text in button bug previously by adding short code: button_text=”Add this to cart!”. I wonder if that’s conflicting with the new update?
]]>Hi There,
Thank you for your plugin-it’s exactly what I needed. I am trying to adjust the default quantity of the first product on my linesheet and I can’t get it to read as 4.
This is the current code I have input and the default is showing as 0. I’m sure I’m missing something.
Also, one other follow-up to this question, if I do successfully change the default to 4 on this page, will this also change the default on the product page? I only want it on my linesheet page to read as default 4 as this is for wholesale users who must buy a minimum of 4.
Thanks again
[a2c_button product=26744 quantity={4} show_quantity={yes} button_text=”Add To Cart”]
]]>Hi.
Hope you can help me.
When I click “Add to cart” button on a product and go check Cart Page, there’s nothing there…
Thanks.
Your new version 2.0 breaks the styling in our webshop. We use a lot of CSS to make everything look smooth. Now we have to spend a lot of time to make it look good again. Also, the translation of “Add to cart” to Dutch is lost. Any idea why?
We had to switch back to 1.5.1 but are wary of security issues.
Do you have any suggestions on how to adopt the old styling without figuring out everything again?
]]>Hello,
I am trying to use an icon instead of text. I have tried the following:
[enh_ajax_add_to_cart_button product=42 button_text=”fa-cart-plus fas”]
This does not work.
Is there any workaround?
Can I replace the text with the icon through CSS?
Kind regards,
Boudewijn
Hi there, is there a way to remove the product title?
]]>Hi,
Thanks for the great plugin, is it possible to build a dropdown menu for variable products?
]]>Hi, thanks for your plugin. I have been searching a way to make an add to cart button inside revolution slider and with your plugin it worked! I was soo happy about that.
Now i have a question.
https://www.filatibiagioli.it/autunno-inverno-21-22/key-yarns-prova/
Go to the second page and click on the “ANGORA 80” product, a popup will appear and on the right side you have the “add to cart button”.
If you press add to cart you see that the product has been added to the cart, but the theme animation on the cart icon is not enough.
I need that after clicking “add to cart” inside your plugin button i see something like “ADDED!” to let the user know that the product was added.
Can you help me out?
P.S. If this is a work that needs development and i can get it from you please let me know!
]]>Hello,
I’m not sure if this necessarily is a theme issue or a plugin issue. But what I’m trying to do is that I’m drying to redirect to the Checkout page after the user adds the item to cart to a specific page we are creating.
I’ve gone ahead and disabled plugins and what not. Any insight is appreciated.
Thank you
]]>Hello guys super great plugin. Is there a way to trigger the woocommerce minicart after adding to cart. I’m doing a funnel with wp bakery page builder. It would be super great if the mini cart could trigger after a customer tap add to cart. Can i put some javascript in the shortcode to trigger that event. Tell me if its possible even if its techy or can i hire a fiverr freelance to do it for me.
]]>I know there is something I’m missing here. I’ve installed the shortcode using the elementary shortcodes widget and everything is displaying and working properly. The issue is that when I select the quantity and then click add cart nothing happens. Nothing is added to the cart and I can’t click on the button anymore.
]]>I have multiple add to cart buttons on one page and if I click one, all of them go opaque for a moment. Can I only have the clicked button have that transition or remove it all together?
]]>I want to show total price after change quantity. is there a way for this?
]]>Hi guys,
Slightly off topic maybe but we’re using the plugin with the Avada theme and we’re not getting the “Added to Cart” message or the View Cart button when we click on the Add to Cart button meaning the users isn’t getting any notification that they’ve added something to their cart.
We assume that Avada is suppressing these items? Anybody got any idea how to get around this?
Regards,
Eoin
]]>Hi,
nice job, thank you !
Can you tell me how I can change the meaning of money prices.
I want change this € 50 from this -> 50 €
I have your shortcode on https://www.stagingdomain.xyz/product/sap-tools/ appear after a dropdown choice of “Select Size” in a table in the tab description.
Shortcode used: [ajax_add_to_cart product=2699 variation=2885 show_price=b title=none quantity=1 show_quantity=yes]
The quantity number should always appear as 1, but it shows nothing at first until you click the arrow or put in the quantity -> then it looks normal.
How can I have the default 1 always show?
]]>Is it possible to display the mini basket icon in any place of the template? https://alexodlw.beget.tech/wp-content/uploads/2020-04-15_100923.png
]]>Hi!
I will troubleshoot this later as far as plugin conflicts, but I installed this to work through using the Beaver Builder plugin and the shortcodes are not rendering at all. Would you mind taking a look?
See screenshot @ https://take.ms/JskiM
]]>Hi,
Is it possible for when a product is added to the cart through this plugin that the woo-commerce notification for when a product is added to the cart is displayed?
I tried including the [shop_messages] shortcode that woo-commerce provides but doesn’t seem to help
Or is there any alternative you can suggest?
Thanks In Advance,
]]>hi,
thanks for your great plugin, it works very well.
But since yesterday i had an issue. If I add a product to the cart with a variation, it works well. But when I change the variation id in the data-vid="1054"
field and press the button, the first variation of the product is added again and the quantity is increased by one in the cart.
If I change the data-vid="1054"
id before i press the add to card button, it works well or I refresh the page.
Do you have an idea why it stops working when I change the variation id? Cache?
Yesterday it worked fine, even with version 1.4 it does not work
warm regards
gecki
Hi, firstly, this is an awesome plugin! I really love it!
When a product goes out of stock, the button still works. Is it possible for you to add functionality that when a product goes out of stock, that the Add to Cart button becomes disabled, and it says Out of Stock?
Currently, if I try to add an out of stock product to the cart using this button, I get an error message on the top of the page, and it is displaying improperly below the main menu (z-index).
Thanks!
]]>