Viewing 7 replies - 1 through 7 (of 7 total)
  • agelonwl

    (@angelonwl)

    try to edit template file at wp-content/plugins/events-manager/templates/forms/ticket-form.php

    to use templates: https://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter babyatom

    (@babyatom)

    Thanks agelonwl.
    So I’ve located the file but not being conversant in PHP, I don’t know what to put to make the spaces drop-down display 10, 20, 30, 40, 50, 60 etc instead of 1,2,3,4,5,6 etc.
    (I’ve Googled this btw and couldn’t find the answer).
    Is this even possible?

    agelonwl

    (@angelonwl)

    hi,

    Also try templates/forms/bookingform/tickets-list.php

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    actually, there’s an easier way. we don’t have an option in the settings page, but visit

    yoursite.com/wp-admin/options.php

    search for dbem_bookings_form_max and change that value. done!

    Thread Starter babyatom

    (@babyatom)

    Thanks Marcus, but what do I change the value to? At the moment it’s ’20’ – not sure I understand how having a value of ’20’ results in the ‘Spaces’ drop-down displaying 1,2,3,4,5,6 etc. And therefore I don’t understand what to put to get it to display 10,20,30,40,50,60 etc.
    (I’ve tried changing it to various numbers and didn’t see any difference).

    agelonwl

    (@angelonwl)

    you can try this snippet and modify accordingly – https://pastebin.com/Ei0en0HX

    Note: Paste in your theme functions.php

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    sorry, i thought those were the potential limits you wanted i.e. 1-60

    Angelo’s suggestion may help, but we don’t do this out the box.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Booking spaces in multiples of 10?’ is closed to new replies.