Support » Plugin: eShop » [Plugin: eShop] Tracking or Reporting on Shopping Cart "Clicks" ?

  • Hi Rich!

    Anyway we can track when a visitor clicks on an item and adds it to their cart, but does not place an order and/or empties their cart?

    Is the cart strictly user-cookie based before an order is actually placed?

    The reason I ask is that we would like to see / track when a visitor adds an item to the cart, even if they never order.


Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author elfin


    it’s session based. Ther cart is updated via the eshop_cart_process function within cart-functions.php

    If you can figure out where to add actions/filters to help you achieve what you want within that, I can add them into a future release for you.

    Thanks for the pointer, Rich!

    Not perfect, but OK for now, I added this:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Plugin Author elfin


    Ok i’ve added to actions:
    look for the line:

    both are within this if statement.
    The first, just before the } else { is:
    the second just before the closing } is

    Both are sent an array, and you should be able to do whatever with those by using add_action.

    (the code will be in the next release)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: eShop] Tracking or Reporting on Shopping Cart "Clicks" ?’ is closed to new replies.