Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    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.

    Thread Starter sausagecreature

    (@sausagecreature)

    Resolved. I simply used a plugin to edit the admin menus.

    Thread Starter sausagecreature

    (@sausagecreature)

    Well, progress of some sort, but still not completely resolved.

    Just to be clear – two separate things here – the wp_admin_bar at the top of the screen and the wp_toolbar at the left of the screen.

    I have managed to remove the entire ADD NEW from the admin bar and have a simple link to the New products page. This is not ideal at all really, but I have been unable to find anyway to restrict the permissions so that the user can create a product, but no new pages.

    As a temporary workaround – I now need to remove the “Pages” from the left hand side wp-toolbar. This is present when a user views their profile, or when they click to create a new product and it takes them to the /wp-admin/post-new.php?post_type=product page.
    This is where the left hand side wp-toolbar is visible.

    Any ideas. I tried adding similar code to that listed above and again, all that happens is I lose the entire wp_admin_bar.

    Thread Starter sausagecreature

    (@sausagecreature)

    I have just installed WpMUDev’s custom admin bar, and tried that. Pretty much the same results. New post and new product seem to go hand in hand.

    Thread Starter sausagecreature

    (@sausagecreature)

    P.s. – I am in an R&D phase, and don’t want to spend much on plugins until such time as I have proved the concept.

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