Home Forums WoodMart support forum Wiget after add to cart doesn't work

Wiget after add to cart doesn't work

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

    Interficto
    Participant

    Hello, I am having troubles with add cart button. I want display widget action after add to cart however it doesn’t work.

    *** PLease check the video in private zone and attach images
    ***** I installed the website in an subdomain for this ticket, you can test anything because is a tester website.

    I have all correctly setting. Please chec the screenshots.

    The issue only pass in detail product view ( Single product page ) because when i add producto to car from home for example the witget worc correctly.

    The JS error that I got is:

    Uncaught TypeError: Cannot read property 'indexOf' of undefined
        at Object.success (theme.min.js?ver=2.5.1:33)
        at i (jquery.js?ver=1.12.4:2)
        at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
        at y (jquery.js?ver=1.12.4:4)
        at XMLHttpRequest.c (jquery.js?ver=1.12.4:4)

    If i disable AJAX Add to cart in product page settings, this work correctly but it option no is that i want because i want show widget sidebar after add to cart.

    Also I tested the follow:
    1) Disabled all plugins
    2) Delelete all custom JS
    3) I also try from login and anonimouse user

    *** PLease check the video in private zone and attach images
    ***** I installed the website in an subdomain for this ticket, you can test anything because is a tester website.

    But nothing work for me

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

    Hello,

    Navigate to Woocommercee > Settings > Product tab > Add to cart behaviour – disable Redirect to the cart page after successful addition

    Best Regards

    #82862

    Interficto
    Participant

    Hi, thank you very much, This option was already disabled. Also I tested enable and disable Ajax button but it neither work for me. Please check images attached.

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

    Hello,

    Please deactivate all the third parties plugins and switch to the parent theme. Check the issue.

    Best Regards

    #82870

    Interficto
    Participant

    Yes, now is working. Sorry was my mistake, I modified the functions.php file in the child theme so it damage the theme. I enabled the parent theme and this function work again.

    Thank you very much again.

    #82876

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Wiget after add to cart doesn't work’ is closed to new replies.