Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #344651

    pete-cowork
    Participant

    X Theme 4.0.5
    Wordpress 4.2.3
    WooCommerce 2.3.13

    URL: 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.

    #344773

    Lely
    Moderator

    Hello 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 / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #344787

    pete-cowork
    Participant
    This reply has been marked as private.
    #344856

    Friech
    Moderator

    Hi 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!

    #345386

    pete-cowork
    Participant

    I 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.

    #345650

    Nabeel A
    Moderator

    Hi 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!

    #346654

    pete-cowork
    Participant

    It 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.

    #346840

    Friech
    Moderator

    Hi 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!

    #346844

    pete-cowork
    Participant

    Thank you. I will try that.

    #346940

    Christopher
    Moderator

    You are welcome.

    #347909

    pete-cowork
    Participant

    I 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.

    #348011

    Lely
    Moderator

    Glad you figured that out.
    Do let us know if you still have questions

    Thank you.

    #854447

    creamwork
    Participant

    HI
    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

    #854576

    Christian
    Moderator

    Hey 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!