Home Forums WoodMart support forum Add to cart Ajax not working.

Add to cart Ajax not working.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #559407

    it-1760
    Participant

    Hi,

    We are using the Fast Simon search functionality with the Woodmart theme on my website. When I navigate to the search page generated by Fast Simon, the “Add to Cart” feature isn’t working with Ajax as expected. When I click “Add to Cart,” the cart count in the header section doesn’t update automatically, requiring a page refresh each time.

    The “Add to Cart” feature should work with Ajax, allowing the cart to update without a page reload.

    Could you suggest a proper solution to this issue? We are also looking for the appropriate theme hook or method to update the cart count using Ajax.

    We have tried the plugin’s hooks, but they don’t seem to work with the Woodmart theme. Could you recommend a solution that ensures the “Add to Cart” button on the Fast Simon-generated search page updates the cart via Ajax?

    Search Page URL: https://www.baki.co.ke/search-results?q=ab

    Thanks.

    #559449

    Artem Temos
    Keymaster

    Hello,

    As we can see, this plugin has its custom template for the results page and custom script for adding to cart function. It may not be fully compatible with our theme, and we don’t have a working code to fix this issue, unfortunately.

    Kind Regards

    #559468

    it-1760
    Participant

    Hi,

    Thanks for your update.

    Could you please share the AJAX hook that your theme uses to update the cart when someone clicks the “Add to Cart” button?

    Thanks.

    #559469

    Artem Temos
    Keymaster

    There is no special hook for this in our theme. WooCommerce does it on its own and replaces the shopping cart widget with a new one. We don’t know why it doesn’t work with this particular plugin.

    #559474

    it-1760
    Participant

    Hi,

    Thanks for update.

    What plugin, similar to Fast Simon, is compatible with their theme? We’re looking for advanced search functionality for our client that is fast and smooth, comparable to Fast Simon.

    Thanks.

    #559505

    Artem Temos
    Keymaster

    Unfortunately, we don’t know any similar plugins to this one.

    Kind Regards

Viewing 6 posts - 1 through 6 (of 6 total)