Appointment Staff: Archive

ID: 3

-email: [email protected]
-base_cost: specific product_id argument should be passed to get this value
-capacity: specific product_id argument should be passed to get this value

availability:

*id:3
*kind: availability#staff
*kind_id: 3
*range_type: weeks
*from_date:
*to_date:
*from_range: 1
*to_range: 10
*appointable: yes

products:

*id::115
*title:Appointment Test2
*id::116
*title:Appointment Test1

ID: 4

-email: [email protected]
-base_cost: specific product_id argument should be passed to get this value
-capacity: specific product_id argument should be passed to get this value

availability:

products:

*id::116
*title:Appointment Test1

ID: 5

-email: [email protected]
-base_cost: specific product_id argument should be passed to get this value
-capacity: specific product_id argument should be passed to get this value

availability:

products:

Page markup

  <Loop type=woo_appointment_staff>
    <div class="border border-secondary p-5 mb-5">
      <h4>ID: <Field id /></h4>
      -email: <Field email /><br />
      -base_cost: <Field base_cost /><br />
      -capacity: <Field capacity /><br />

      <h4>availability:</h4>
      <Loop field="availability" >
        *id:<Field id /><br />
        *kind: <Field kind /><br />
        *kind_id: <Field kind_id /><br />
        *range_type: <Field range_type /><br />
        *from_date: <Field from_date /><br />
        *to_date: <Field to_date /><br />
        *from_range: <Field from_range /><br />
        *to_range: <Field to_range /><br />
        *appointable: <Field appointable /><br />
      </Loop>

      <h4>products:</h4>
      <Loop field="products" >
        *id::<Field id /><br />
        *title:<Field title /><br />
      </Loop>
    </div>
  </Loop>