I need to have it refresh the page after “add to cart” is clicked.

Ivory Search Forums Support I need to have it refresh the page after “add to cart” is clicked.

Viewing 4 reply threads

You must be logged in to create new topic or reply to the topic.

  • Author
    Posts
    • #10871
      buckrussell
      Participant
      • Topics: 3
      • Replies: 9

      Hello again 🙂

      I’ve tried and tried to solve this one but I’m stumped. When I click the “Add to cart” button in the search results, it DOES add the item (with the quantity) to the cart, but no matter what hook/action I use, I cannot get it to refresh the page. I have a little “mini-cart” that I want to display once an item gets added to the cart but it just won’t work.

      Is there a special hook I can use with this plugin so that it will refresh the page after adding an item to the cart?

    • #10872
      buckrussell
      Participant
      • Topics: 3
      • Replies: 9

      another small issue… Try as I may I cannot seem to get the mouseover/hover effect off the main row in the search results. It seems determined to keep that gray background on hover. Can you point me to the right spot to eliminate that?

    • #10873
      buckrussell
      Participant
      • Topics: 3
      • Replies: 9

      another small issue… Try as I may I cannot seem to get the mouseover/hover effect off the main row in the search results. It seems determined to keep that gray background on hover. Can you point me to the right spot to eliminate that?

      found this one. for some silly reason it didn’t occur to me to look in the admin section options for it 🙂

    • #10896
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

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

      Is there a special hook I can use with this plugin so that it will refresh the page after adding an item to the cart?

      You have to develop custom javascript code to achieve this.

      Developing custom code for custom functionality is beyond the scope of support that we provide here.

      If you are not a developer then you can consider hiring a developer to develop it for you. You can hire a developer from any freelance site or WordPress agency.

      You can also consider us to develop it for you using the form https://ivorysearch.com/custom-work/

      Best regards,
      Ivory Search Support

      • #10908
        buckrussell
        Participant
        • Topics: 3
        • Replies: 9

        I’ve tried writing my own function for every hook related to adding items to the cart that I can think of. It doesn’t seem to want to work. I even tried using jquery to simply listen for a “click” on the add to cart button in the drop down. It doesn’t seem to see those buttons.

        Is there some crucial element I’m overlooking here? I’m not asking you to write it for me, just point me in the right direction.

        Thanks again.

    • #10912
      Ivory Search
      Keymaster
      • Topics: 0
      • Replies: 1,735

      You have to write dynamic jQuery code to achieve this and no need to use any hook.

Viewing 4 reply threads

You must be logged in to create new topic or reply to the topic.