MarketPress Order Complete Page

Is there a way to setup separate order complete pages for each product? We have two products and would like to display a different page depending on which product they choose.

  • Vaughan
    • Support/SLS MockingJay

    Hi @alison,

    Unfortunately this isn’t currently possible. You would need to have this custom developed.

    We do have a jobs board where you can advertise for a developer.

    I will however add this to the feature list for the developers to consider in a future release. I’ll ask one of our developers to see if this is possible with a custom filter, but i’m not sure.

    Hope this helps

  • Hoang Ngo
    • Code Slayer

    Hi @alison,

    I hope you are well today.

    Some note for you to work with the developer (if you hire some) for custom this function.

    The place you need to check is in the file marketpress/marketpress-includes/template-functions.php, the function mp_show_cart

    In the line 1100 inside this function, you will see a switch look like this:

    switch ($checkoutstep) {

    case 'shipping':
    $content .= do_shortcode($mp->get_setting('msg->shipping'));
    $content .= _mp_cart_shipping(true);

    case 'checkout':
    $content .= do_shortcode($mp->get_setting('msg->checkout'));
    $content .= _mp_cart_payment('form');

    case 'confirm-checkout':
    $content .= do_shortcode($mp->get_setting('msg->confirm_checkout'));
    $content .= _mp_cart_table('checkout');
    $content .= _mp_cart_shipping(false);
    $content .= _mp_cart_payment('confirm');

    case 'confirmation':
    $content .= do_shortcode($mp->get_setting('msg->success'));
    $content .= _mp_cart_payment('confirmation');

    $content .= do_shortcode($mp->get_setting('msg->cart'));
    $content .= _mp_cart_table('checkout-edit');
    $content .= _mp_cart_login(false);

    The case holding the text after order success is “confirmation”. So you will need to have some modification here.

    If you have any issues please don’t hesitate to let us know so we can assist

    Best regards,

    Hoang Ngo

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.