Okay
  Public Ticket #2696040
Ajax add-to-cart does not work when theme active
Closed

Comments

  • boru99 started the conversation

    Hello,

    I'm not able to have my Bigcommerce cart count and indicator update when Bifrost theme is active.  When I hit "Add to Cart" for an item on the product page, it should display the number of items in the cart right next to the "Cart" menu.  However, I have to refresh the page in order for the cart count to display. I switched to another theme (2020 i think) and verified it cart count displays immediately after adding an item to the cart.  

    Let me know if you need anything else from me or if you need a admin login.  I really appreciate your help.

    Thanks,

    Patrick 

  •  675
    Neuron replied

    Hi,

    Can you please provide us with your wp-admin, I will check it quickly to see what action or hook is missing from the mini cart.

    Make sure to tick private on the reply.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  •   boru99 replied privately
  •  675
    Neuron replied

    Hi Patrick,

    I am sorry for the late reply, we did not work on the wekeend.

    After long research, I have found the issue.

    It seems like the responsive header menu was messing with the primary menu, so the cart was updated only on the mobile. So, I have created another menu via the child theme and named that Mobile Menu.

    https://prnt.sc/103k4o5

    So, now please create a new menu and assign all that you need for mobile there.

    It works fine now, feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • boru99 replied

    Thank you so much!  And thanks for the code snippet (like to learn so that's very nice to see).  

    Patrick

  •  675
    Neuron replied

    Hi Patrick,

    You're very welcome, feel free to ask for anything you needsmile.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.