Multiple appointments reservation


this plugin only can make one appointment per reservation

1) we need to have multiple appoinments reserved at the same time (in one reservation)

this would be an awesome funcionality in this great plugin

2) we also need to have a function to make recurring reservations.

just selecting the day of the week and the hours

f.e. “monday and tuesday from 5pm to 6pm”

for 1 month

or 2 months”

instead of making appointments one by one

Thank you!!

  • Patrick
    • Support Monkey

    Hi @art

    Welcome to the forums!

    Multiple reservations for the same time can be done by integrating MarketPress with Appointments+. See the FAQ in Appointments+ for all the glorious details. :slight_smile:

    Unfortunately, there are no plans to integrate recurring functionality into Appointments+. But this post offers some possible alternatives:

  • Art
    • Flash Drive

    Hello @patrick Cohen,

    I’ve reviewed the post you attached

    the problem there is presented with another logic.

    maybe we could manage it

    with a monthly basis

    and paying in advance

    for 1 month (or the quantity a user selects)

    I’ve made a comment in the other post with further details.

    Thanks for the support

  • Art
    • Flash Drive

    Hello @patrick Cohen,


    What I have is mind

    is something like this:


    f.e. “book an appointment every monday from 7pm to 9pm for one month”

    the 4 appointments (1 month) would be paid in advance (for 1 month)


    perhaps this function could be implemented with the marketplace integration.

    Thanks for the support!

  • Patrick
    • Support Monkey


    It’s the “every monday” part that is the problem.

    It is highly unlikely that would be incorporated in the functionality of MarketPress, as that plugin has strictly nothing to do with dates.

    In the meantime, the best options are the ones detailed in the post I linked to above.

  • Art
    • Flash Drive

    Hello @patrick Cohen,

    I’ve been testing the integration of “appointments +” with marketpress

    here’s an example page:


    this website is in Spanish and it’s intended to work this way:

    1) reach homepage:

    2) you search for a teacher using the sidebar form

    try this:

    Class: Matemáticas

    Grade: I-secundaria

    District: San Borja

    Genre: leave as it is

    3) a list of the teachers will show up in a new page

    each post in a box with the title, excerpt, picture and a link to the post

    4) you select the teacher you want

    and go to the post page

    inside this page is the same info and then the

    reservation form.

    you can pick the service duration

    then the date and time

    then the reservation form appears

    you make the reservation and it’s over


    I’ve created a custom post type named “tutor” (means teacher)

    and created two taxonomies attached to it: 1) cursos (courses) and 2) distritos (districts)

    The searchform needs this two taxonomies in order to work

    All I really need to finish this system


    1) the shoppingcart function in the header.

    it must appears only when it has a product in it.

    it should have a button to continue with the process

    2) have the Add to Cart button working in my custom post type

    and not inside the Products custom post type.


    I would have to recode my custom taxonomies all over again inside this product custom post type…and it would be more complicated…AND I would certainly need your help to do this


    it’s not very practical to have the Add to Cart button appearing after you clic on the “make the reservation” button.

    It should be only one button. not two.

    I gonna have to make this add to cart button like a very big button that covers the form with CSS coding.

    If you can. make this feature available for the next version of this plugin. it should be easier for the user, not more complicated.

    Thanks for the support!

  • Art
    • Flash Drive


    I was forgetting about this:

    I can see an error

    1) you make the reservation

    2) add-to-cart button appears

    3) you clic on this button

    4) go to

    5) error 1: sometimes the date and time doesn’t appear

    6) validation or error2: you can continue clicking in the add-to-cart button

    and the quantity in the shopping cart will continue to raise

  • Art
    • Flash Drive


    thanks for your comment about the site design

    1) Product Post

    if you make a reservation through this product post:

    the add-to-cart button will appear

    and then you’ll have to go to this url to view your cart

    2) Custom Type Post

    if you make a reservation thorugh the custom type post

    (the way we want to do it)

    f.e. :

    the add-to-cart button doesn’t appear (requirement #1)

    because it’s not in a product post


    we need the code to show the shopping cart (requirement #2)

    in a header we’ll create

    but only when it’s filled with al least one product

    Thanks for the support!

  • Art
    • Flash Drive

    Hello @patrick Cohen,

    for requirement #1

    if this aint easy to achieve,

    then I could add the taxonomies to the product custom post type

    I just need to know where it is being declared and if there wouldn’t be issues if I do so

    for requirement #2

    I can create a new sidebar and add the shopping cart widget in the header.

    what we need is to have a validation to show it only when it’s not empty

    Thanks a lot for the support!

  • Patrick
    • Support Monkey


    If you think adding the taxonomies would do the trick, that can be done easily with CustomPress. Go to the Taxonomies tab, and select the product post type from the dropdown (it’s a multi-select, so there can be more than one). That instantly adds a metabox for the taxonomy to the product edit screen.

    For the shopping cart widget, it does only display when something is added to it. However, there is the default “You shopping cart is empty” message that displays. But that can be hidden via CSS like so:

    .mp_cart_widget_content .mp_cart_empty, .mp_cart_widget_content .mp_store_link { display:none; }

  • Art
    • Flash Drive

    I’ve added the taxonomies to our functions.php file.

    (I rather not to use a plugin for that.)

    it worked.

    we’ll now configure de product single page

    and other related things

    Note: this issue aint solved yet.

    I’ll confirm as soon everything is running smoothly

    Thanks for the support

  • Art
    • Flash Drive

    Hello @patrick Cohen,

    #1: custom single product page

    I’ve read the documentation

    and created a single product template.

    (I’ve attached the file here)

    It loads fine.

    but when I clic the “please clic here to confirm appointment” button,

    the “add-to-cart” button doesn’t appear

    and the purchase can’t be done

    when I do not use any custom template file for this it works

    (I assume it’s loading my “page.php” file. I’ve attached this file too)

    #2: add custom field to product post

    I cant find this option.

    how can I achieve this?

    I would appreciate a very quick answer/solution

    cause this issue (which appears to be very simple)

    is taking too long

    Thanks for the support

  • Art
    • Flash Drive




    * The Template for displaying all single posts.


    * @package WordPress

    * @subpackage Twenty_Ten

    * @since Twenty Ten 1.0


    get_header(); ?>

    <?php the_post(); ?>

    <div id=”contenedor” class=”tutor”>

    <div class=”imagen”>

    <?php mp_product_image(‘thumbnail’:wink:; ?>


    <div class=”ficha-de-tutor”>

    <div class=”titulo”>

    <?php the_title(); ?>


    <div class=”contenido”>

    <?php the_excerpt(); ?>


    </div><!– .resumen –>

    <div id=”reserva”>

    <div class=”titulo”>

    Haz tu reserva:



    //para sacar el ID del tutor que esta grabado como custom field

    $post_id = get_the_ID();

    $trabajador = get_post_meta($post_id, ‘id_tutor’, true);

    //echo $trabajador;


    <?php //echo do_shortcode(‘[app_services]’:wink:; ?>

    <?php //echo do_shortcode(‘[app_monthly_schedule worker=”‘ . $trabajador . ‘”]’:wink:; ?>

    <?php //echo do_shortcode(‘[app_confirmation]’:wink:; ?>

    <?php //mp_buy_button(true, ‘single’:wink:; ?>

    <?php the_content(); ?>


    </div><!– #contenedor–>

    <?php get_footer(); ?>

  • Art
    • Flash Drive

    *************** page.php ******************



    * The template used to display all pages


    * This is the template that displays all pages by default.

    * Please note that this is the wordpress construct of pages

    * and that other ‘pages’ on your wordpress site will use a

    * different template.


    * @package WordPress

    * @subpackage Twenty Ten

    * @since 3.0.0



    <?php get_header(); ?>

    <div id=”contenedor”>

    <?php the_post(); ?>

    <div class=”titulo”>

    <?php the_title(); ?>


    <div class=”contenido”>

    <?php the_content(); ?>


    </div><!– #contenedor–>

    <?php get_footer(); ?>

  • Patrick
    • Support Monkey

    Hi again @art

    Oh ho, progress is a good thing. :slight_smile:

    #1: excellent!

    #2: As you mentioned you prefer to not use a plugin for that, you can add custom field support for the product post type by simply adding the following to your functions.php:

    /*Custom field support for products*/
    add_action('init', 'my_custom_init');
    function my_custom_init() {
    add_post_type_support( 'product', 'custom-fields' );

    Getting the fields to display in your theme would require a custom template for the product post type added to the root of your theme. Make a copy of your theme’s page.php, rename it mp_product.php and replace the call to the_content with the following:

    <?php mp_product_image($echo = true, $context = 'single', $post_id = NULL, $size = NULL); ?>
    <?php mp_product_description($product_id, $echo = true, $content = 'full', $html_tag = true, $css_class = 'mp_product_content', $microdata = 'itemprop="description"'); ?>
    <?php mp_product_meta($echo = true, $context = 'context', $label = true, $product_id = null, $html_tag = true, $css_class = 'mp_product_meta'); ?>
    <?php echo ('This is my custom field: '); ?><?php echo get_post_meta($post->ID, 'My Custom Field', true); ?>

    You can add as many calls for custom fields as you need.

    You’ll find all the template tags (and their parameters) that you can use in your template in marketpress/marketpress-includes/template-functions.php

    #3: There are 5 fields included:

    Name, Email, Phone, Address, City & Note .

    You can activate the fields you need and customize their labels by adding the corresponding parameters to the app_confirmation shortcode. See the Shortcodes tab in Appointments+ settings for more.

    I hope this helps you to complete your project :slight_smile:

  • Art
    • Flash Drive

    Hi @patrick Cohen,

    here's an update:

    #1: custom single product page

    the add-to-cart button appears after the form, but only if I add the appointment + shortcodes in the product content box.

    If I add the shortcodes with the do_shortcode function in the mp_product.php template it doesn't work

    I need this to work this way, because it's better to be hard-coded than entering in each product content box the same shortcodes everytime.

    That's why I have a custom field with the worker ID. So, you only need to put the worker ID and then everything else is automatically done.

    Also, if you see the product page screenshot, you'll see that there are 3 areas:

    1) the exceprt (in blue at the right side of the product image)

    2) the content (in yellow)

    3) the reservation codes (hard-coded)

    #2: add custom field to product post


    I managed to do this, but why are there so many custom fields (with the same key) unused?

    #3: how can I customize the appointment form?

    Alright, I see that this can be done through the shortcode function.

    But I need to add 6 more fields.

    Where in the code can I customize this?

    Can I create a funciton in my functions.php for this to be done?

    do I need to open another ticket for this?

    #4: shopping cart widget

    I've edited the funcion in marketpress.php

    for it only to show the total quantity of appointments

    using this function

    $cant = mp_items_count_in_cart();

    the idea is to have the cart widget in the header showing only the amount of appoinments and when the user clics on this cart, then he's redirected to the shopping cart page

    it works, but it doesn't updates as the cart-widget product quantity does.

    maybe it's because some Ajax thing.

    can you help me with this?

    do I need to open another ticket for this?

    #5: variations

    why are my products having a lot of variations automatically?

    screenshot attached

    Thanks for the support!

  • Art
    • Flash Drive


    I’ve waited two days for an answer

    We’re stuck with this plugin

    that should be working as it supposedly does

    but it isnt fully integrated with Marketpress

    The issues don’t seem that complicated,

    but we need your support!

    I’ll open one ticket for each issue we’ve found in this plugin

  • Patrick
    • Support Monkey

    Hi again @art

    I see you’ve been very busy these last few days. And I see you have indeed opened threads for each issue, and that will definitely help us help you with specifics.

    We’re stuck with this plugin that should be working as it supposedly does but it isnt fully integrated with Marketpress

    The plugin and integration with MarketPress does indeed function as designed. But there is no way to anticipate the issues that can arise when you begin customizing things the way you have. We are here to try and help you though. :slight_smile:

    If I add the shortcodes with the do_shortcode function in the mp_product.php template it doesn’t work

    I can only get the schedule to display using do_shortcode in the template, but the confirmation shortcode won’t execute for some reason. I’ m not sure why, so I’ll need to get the developer’s input on that one.

  • Vladislav
    • Dead Eye Dev


    The A+ plugin will do some checks for displayed posts and conditionally add some dependencies and do some additional processing (including MarketPress-related) only if it finds one of the appointments shortcodes. In practice, it looks for ‘[app_’ string to trigger this kind of behavior.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.