Okay
  Public Ticket #2909729
Ticket Pricing
Closed

Comments

  • Hometeam started the conversation

    When seeking to create our tickets for two ticket options of  24.99 and 5.99 I am told I cannot    

    3171538785.png
  •  894
    Zhivko replied

    Hi,

    This is caused by the input type number step value. We'll make sure this issue is non-existent in the next calendar iteration.

    To fix this problem open file:

    stachethemes_event_calendar / view / admin / tickets / addedit.php

    on line 54 there's this code:

    Admin_Html::html_input('wc_book_create_ticket_price', $ticket ? $ticket->get_regular_price() : null, '', esc_html__('Regular Price', 'stec'), false, 'number', 'step=0.1');

    replace step=0.1 to step=0.01 like this:

    Admin_Html::html_input('wc_book_create_ticket_price', $ticket ? $ticket->get_regular_price() : null, '', esc_html__('Regular Price', 'stec'), false, 'number', 'step=0.01');

    Stachethemes Developer