Home Forums WoodMart support forum Buy button with long loading

Buy button with long loading

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #284866

    maykonmv
    Participant

    Dear, how are you?

    I noticed that after the last update of the theme, when you click the add to cart button on the product page, there is a long loading time before the loading actually takes place. This certainly affects the user experience.

    This used to happen when the add to cart function via AJAX was activated. When it deactivated, the response time was faster. Now, I have already disabled the add to cart function via AJAX and the same slow response time continues.

    I don’t know how to solve it, can you help me please?

    Attachments:
    You must be logged in to view attached files.
    #284920

    Artem Temos
    Keymaster

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #285098

    maykonmv
    Participant

    Hi,

    As requested, follow the information.

    #285105

    Artem Temos
    Keymaster

    We can’t log in to your dashboard. Please, check the password.

    #285118

    maykonmv
    Participant

    Sorry. I reset the password. The updated password follows.

    #285138

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_filter( 'woodmart_ajax_add_to_cart', '__return_false' );

    #285143

    maykonmv
    Participant

    Dear, even adding the code sent in function.php, the response time remains slow. As if the function to add to the cart via ajax was still activated. It looks like the code didn’t work.

    Attachments:
    You must be logged in to view attached files.
    #285323

    Artem Temos
    Keymaster

    As we can see, you haven’t installed the child theme yet. You need to install the child theme and add the code to the functions.php file in the child theme (not parent).

    #285637

    maykonmv
    Participant

    Dear,

    I installed the child theme and added the code to the child theme’s functions.php and it still didn’t work.

    Attachments:
    You must be logged in to view attached files.
    #285788

    Artem Temos
    Keymaster

    Try to upload all files from the archive to the wp-content/themes/woodmart/ folder on your website and replace all https://drive.google.com/file/d/1FUGGHBYYgDk-rFG0_fzWTP2KfnQBkueb/view?usp=sharing

    #285955

    maykonmv
    Participant

    It worked right now.

    Thank you very much!!

    #285956

    Artem Temos
    Keymaster

    Great, you are welcome! The fix will be included in the next update as well.

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

The topic ‘Buy button with long loading’ is closed to new replies.