function update
This commit is contained in:
parent
67b70dfc65
commit
be6f616520
|
@ -20,6 +20,14 @@
|
|||
if ($qty_t_type == 'dropdown') { ?>
|
||||
<select name="option_qty[]" id="eventpxtp_<?php echo esc_attr($count); ?>" <?php if ($total_left <= 0) { ?> style='display: none!important;' <?php } ?> class='extra-qty-box etp'>
|
||||
<?php
|
||||
if($total_min_seat > 0){
|
||||
?>
|
||||
<option value="0" <?php echo esc_attr('Selected'); ?>>
|
||||
<?php _e('0 Ticket:', 'mage-eventpress'); ?>
|
||||
</option>
|
||||
<?php
|
||||
}
|
||||
|
||||
for ($i = $total_min_seat; $i <= $total_left; $i++) { ?>
|
||||
<option value="<?php echo esc_attr($i); ?>" <?php if ($i == $default_quantity) { echo esc_attr('Selected'); } ?>><?php echo esc_html($i); ?>
|
||||
<?php echo mep_get_option('mep_ticket_text', 'label_setting_sec', __('Ticket:', 'mage-eventpress')); ?>
|
||||
|
|
Loading…
Reference in New Issue