Ajax Support

Home Forums Jevelin Theme Ajax Support

Home Forums Jevelin Theme Ajax Support

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
  • webslzm
    Participant

    I have tried and installed some different plugin to add ajax support to woocommerce pages, but none of them work.

    Is it your theme compatible with ajax?

    Also I tried to add minimum and maximum quantity using more than one plugin and I always get the same issues:

    • no ajax update and so no warning message if I use + / – button on cart page
    • no warning message if I click on update button in cart page.

    I have this issue with all plugins for ajax and all plugins for min/max quantity I tested.

    Could you help me please?

    Hi @webslzm,

     

    I hope you are well today and thank you for your question.

     

    The theme is compatible with ajax.

     

    Do the plugins work fine with any default WordPress theme such as Twenty Nineteen?

     

    Please also contact the plugin support to resolve the issue.

     

    Best regards,
    Shufflehound team

    webslzm
    Participant

    Before of using jevelin I used native theme (same configuration you can find online), with other themes the plugins work properly.

    So it’s a jevelin issue.

    webslzm
    Participant

    Also,

    I have an additional issue with ajax on my-account-page / order

    when I download the invoice, the page continue loading and it doens’t go back to the page.

    All these issues are related to your theme, cause in other themes all these features work properly.

    Could u help me please?

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

    I visited my account page on your website but didn’t see the issue on it.

     

    Could you please share the exact page URLs from your website where I can see these issues?

     

    Also, please test it clearing and temporarily deactivating the SG optimizer cache and use the Jevelin theme instead of the child theme that you are using on your website.

    webslzm
    Participant

    This is the video related to invoice download issue:

    https://nimb.ws/dqwNri

    obviously you should you a completed order in your account to simulate this issue.

    Don’t forget th issue related to minimum and maximum quantity and ajax cart: none plugin works with your theme

    webslzm
    Participant

    Please read also my previous replay.

    and then go to the following.

    This second video is related to ajax and minimum-max quantity:

    https://nimb.ws/GOjbqP

    The button ‘Update Cart’ doesn’t work properly and ajax doesn’t work absolutely

    obviously you should you a completed order in your account to simulate this issue.

    Do I need to purchase something on your website by placing an order to simulate the issue?

     

    As described above, have you tested it clearing and temporarily deactivating the SG optimizer cache and using the Jevelin theme instead of the child theme that you are using on your website?
    <div class=”bbp-meta”></div>

    This second video is related to ajax and minimum-max quantity:

    https://nimb.ws/GOjbqP

    The button ‘Update Cart’ doesn’t work properly and ajax doesn’t work absolutely

    I can see the error “Your cart cannot contain more than 10 products.” in your shared video that is related to WooCommerce plugin configuration.

    webslzm
    Participant

    Do I need to purchase something on your website by placing an order to simulate the issue?

    Yes, purchase and complete the order in backend.

    As described above, have you tested it clearing and temporarily deactivating the SG optimizer cache and using the Jevelin theme instead of the child theme that you are using on your website?
    <div class=”bbp-meta”></div>

    Obviously, I also tested in this way and got the same issue. The problem is not in child theme, but in parent theme.

    I can see the error “Your cart cannot contain more than 10 products.” in your shared video that is related to WooCommerce plugin configuration.

    Ya you can see the error, but only if you click on ‘Continue’. If you click on update it doesn’t work. Also Ajax doesn’t work, so the error is shown only when you go to purchase and not authomatically. please look here: thetimebox.gift —> this is how the configuration works with a working theme (Native).

    This is the video related to invoice download issue:

    https://nimb.ws/dqwNri

    obviously you should you a completed order in your account to simulate this issue.

    You can resolve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    body.woocommerce .sh-page-loader,
    body.woocommerce-page .sh-page-loader {
        display: none !important;
    }

     

    Ya you can see the error, but only if you click on ‘Continue’. If you click on update it doesn’t work. Also Ajax doesn’t work, so the error is shown only when you go to purchase and not authomatically. please look here: thetimebox.gift —> this is how the configuration works with a working theme (Native).

    It seems the issue of AJAX plugin that conflicts with some themes as described on the below pages so please contact the plugin support to get more information about it as we can’t do anything in this case because we are not aware of the plugin code.

     

    https://wordpress.org/support/plugin/woocommerce-ajax-cart/

    https://wordpress.org/support/topic/not-working-with-woocommerce-bundled-products-when-changing-quantity-on-bundle/

    https://wordpress.org/support/topic/plugin-conflict-with-tickera/

    https://wordpress.org/support/topic/plugin-compatibility-45/

    webslzm
    Participant

    It seems the issue of AJAX plugin that conflicts with some themes as described on the below pages so please contact the plugin support to get more information about it as we can’t do anything in this case because we are not aware of the plugin code.

    The issue is on your theme, I tried more than one plugin and none of them works.

    You can resolve it by adding the following CSS code in the Custom CSS code option of your theme on the below path.

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

    Hiding the loader is not a solution, it’s just a trick not to admin that ajax doesn’t work on your theme

    Yes, as said this a conflict issue of the AJAX plugin that you are using and the theme but we don’t know exactly why this is happening and couldn’t troubleshoot it as we are not familiar with the plugin code.

    Still, we troubleshoot the code of woocommerce-ajax-cart plugin and found out the below code added in the plugin /woocommerce-ajax-cart/assets/wooajaxcart.js is not getting executed even though the theme displays its wac-btn-inc selector in the markup.

     

            if ( $('.wac-btn-inc').length ) {
                $('.wac-btn-inc').off('click.wac2910').on('click.wac2910', fnIncrement);
                $('.wac-btn-sub').off('click.wac2911').on('click.wac2911', fnDecrement);
    
                if ( $('.grid').length ) {
                    setTimeout(wacListenQtyButtons, 500);
                }
    
                // fix common style problem in single product page
                $("<style type='text/css'>.product .quantity { display: inline; float: none !important; margin-right: 0 !important; }</style>").appendTo('head');
            }
            else {
                $(document.body).off('click.wac3000').on('click.wac3000', '.wac-btn-inc', fnIncrement);
                $(document.body).off('click.wac3001').on('click.wac3001', '.wac-btn-sub', fnDecrement);
            }

     

    I request you to please contact woocommerce-ajax-cart plugin support and tell them the above thing along with sharing your website URL.

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