Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sausagecreature

    (@sausagecreature)

    I am trying to find my way through this, for example, I have looked at: Themeing_MarketPress.txt and also template-functions.php to see if I can get any clues.

    It suggests to me that the page I want could be mp_cart.php however, I cannot find that in my 2.9.5.3.

    – I have been through each directory, and searched for that file mp_cart.php. I did check that Windows searches for php files (file contents and filename) and that the parent directory was included in the search index. I was unable to find my_cart.pho.

    Hi there @sausagecreature,

    Thanks for posting here, really appreciate your patience too as we’ve had quite a busy spell recently!

    I think what you’re looking to achieve may be possible by simply tying into the cart processed like noted here:
    http://premium.wpmudev.org/forums/topic/using-marketpress-action-hooks#post-573033

    Does that sound about right?

    If I’ve misunderstood or you have questions, just let me know. I’ll be happy to see how I can help. 🙂

    Cheers,
    David

    Thread Starter sausagecreature

    (@sausagecreature)

    Thanks, it certainly helps a bit with getting this started :)and I have hooked into that function and can make the db updates I need to.

    I still need to figure out how to differentiate between the buyer and the seller within the code. I have the
    “Force login – Whether or not customers must be registered and logged in to checkout”
    set to yes. So this means that there should presumably be two user IDs I can access in the code, one is the buyer, and looking at the code I imagine this is the $user_id.

    Any ideas how I get the user_id of the store owner/seller?

    many thanks
    Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Orders – buyer and seller.’ is closed to new replies.