-
AuthorPosts
-
July 29, 2015 at 6:27 pm #344651
X Theme 4.0.5
Wordpress 4.2.3
WooCommerce 2.3.13URL: http://beautyignited.com/shop/
I cannot turn off the Ajax Add to Cart buttons on the archives. I have the “Enable AJAX add to cart buttons on archives” un-checked in the WooCommerce settings, but the buttons still appear. My client does not want these. Is there something I am missing or is there a work-around?
Thanks.
July 29, 2015 at 9:19 pm #344773Hello There,
Thanks for posting in and giving us your site URL.
Do you have an active caching plugin or CDN? If yes, please purge/empty your cache so you can see the changes immediately. Your site might still be showing a cache content.
If this doesn’t work, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:– Link to your site
– WordPress Admin username / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
July 29, 2015 at 9:41 pm #344787This reply has been marked as private.July 29, 2015 at 11:13 pm #344856Hi There,
Please Install the Cornerstone first under Addons > Extensions to make sure that this is not an compatibility issue. Then deactivate and delete the x-shortcode. Cornerstone is taking over for X – Shortcodes, which you can read much more about here in detail. Then clear your browser’s cache and any caching plugin the site might have.
Hope it helps, Cheers!
July 30, 2015 at 10:51 am #345386I have now installed Cornerstone, and deactivated and deleted X-Shortcodes. Also, using FTP, I uploaded the WooCommerce plugin folder over my existing WooCommerce folder. The ajax buttons still show up. I can’t turn them off. What else can I try? I can use FTP and edit scripts if that is necessary. I can add statements to functions.php in my child theme. I have done that before to remove certain woocommerce messages. But I do not know how to come up with the content to add.
July 30, 2015 at 3:26 pm #345650Hi again,
Try adding the following code in your Customizer via Appearance > Customize > Custom > CSS:
.woocommerce li.product .entry-header .button, .woocommerce-page li.product .entry-header .button { display: none !important; }
Let us know how this goes!
July 31, 2015 at 4:20 pm #346654It makes the buttons disappear while I am in Customizer view. But after I save and leave Customizer, the buttons are back again on regular archive page view.
July 31, 2015 at 9:30 pm #346840Hi There,
Would you mind try testing for a plugin conflict. You can do this by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.
Let us know how it goes, thanks!
July 31, 2015 at 9:39 pm #346844Thank you. I will try that.
August 1, 2015 at 1:00 am #346940You are welcome.
August 2, 2015 at 5:10 pm #347909I deactivated all plugins besides Woocommerce. The ajax buttons still show. This is how I have successfully hidden them:
I put this CSS in the Custom CSS on Customizer:
.woocommerce li.product .entry-header .button, .woocommerce-page li.product .entry-header .button {
top: -9999px;
}That solves my problem at this time. Thanks.
August 2, 2015 at 9:16 pm #348011Glad you figured that out.
Do let us know if you still have questionsThank you.
March 27, 2016 at 4:42 pm #854447HI
Is there no way to get your (X) jave script to stop? It does not work on single product pages, it starts when a user click a “select options” buttom, so the user think it was put in the basket. And if the user click “back” in the browser, the animation hangs.I do not whant to turn of woocommerce Ajax off, I use that for other stuff.
So have do i prevent your java script to load?
Thanks
March 27, 2016 at 7:37 pm #854576Hey there,
Thanks for writing in! Regretfully this isn’t a feature offered by X. It could be possible with custom development, but this would be outside the scope of support we can offer. You may wish to consult a developer to assist you with this. X is quite extensible with child themes, so there are plenty of possibilities. Thanks for understanding. Take care!
-
AuthorPosts