MarketPress Lite: Trigger a function on/before checkout (2 posts)

  1. Jeremy Plack
    Posted 2 years ago #

    I am using the MarketPress Lite ecommerce plugin and trying to figure out how to fire a custom function during the checkout, hooks?, (preferably from a custom plugin as opposed to hacking the marketpress files, but I could do either).

    The reason I am doing this is because I need to extract the text input from one of the shipping form's fields, to use as a term in an associated post type.

    Currently I am stuck at figuring out how to access the info the user types in during checkout for use else where in the site.

    Thank You

  2. Jeremy Plack
    Posted 2 years ago #

    maybe something like this?:

    add_action('mp_shipping_process', 'get_team_name');
    function get_team_name() {
    some stuff??
    function add_team_to_tournament {
    some stuff??

Topic Closed

This topic has been closed to new replies.

About this Topic