new issue fixed by shamim

This commit is contained in:
magepeopleteam 2018-07-02 11:35:38 +00:00
parent 6ba829a9df
commit 3006d57950
4 changed files with 12 additions and 13 deletions

View File

@ -584,7 +584,7 @@ font-size: 14px;
display: inline-block; display: inline-block;
} }
.extra-qty-box { .extra-qty-box {
width: 45px!important; width: auto!important;
display: inline-block!important; display: inline-block!important;
padding: 4px 5px!important; padding: 4px 5px!important;
} }

View File

@ -7,7 +7,7 @@ function mep_event_meta_box_add(){
add_meta_box( 'mep-event-price', 'Event Price (Event Base price, It will not work if you add Event Ticket type Price)', 'mep_event_price_meta_box_cb', 'mep_events', 'normal', 'high' ); add_meta_box( 'mep-event-price', 'Event Price (Event Base price, It will not work if you add Event Ticket type Price)', 'mep_event_price_meta_box_cb', 'mep_events', 'normal', 'high' );
add_meta_box( 'mep-event-extra-price', 'Event Extra Option Price', 'mep_event_extra_price_option', 'mep_events', 'normal', 'high' ); add_meta_box( 'mep-event-extra-price', 'Event Extra Service (Extra Service as Product that you can sell and it is not included on event package)', 'mep_event_extra_price_option', 'mep_events', 'normal', 'high' );
add_meta_box( 'mep-event-ticket-type', 'Event Ticket Type', 'mep_event_ticket_type', 'mep_events', 'normal', 'high' ); add_meta_box( 'mep-event-ticket-type', 'Event Ticket Type', 'mep_event_ticket_type', 'mep_events', 'normal', 'high' );
@ -278,8 +278,8 @@ function mep_event_extra_price_option() {
<table id="repeatable-fieldset-one" width="100%"> <table id="repeatable-fieldset-one" width="100%">
<thead> <thead>
<tr> <tr>
<th width="30%">Extra Option Name</th> <th width="30%">Extra Service Name</th>
<th width="30%">Price</th> <th width="30%">Service Price</th>
<th width="20%">Available Qty</th> <th width="20%">Available Qty</th>
<th width="10%">Qty Box Type</th> <th width="10%">Qty Box Type</th>
<th width="10%"></th> <th width="10%"></th>

View File

@ -27,8 +27,7 @@ $qty_t_type = $field['option_qty_t_type'];
<div class="xtra-item-left">-<?php echo $llft; ?> Left</div> <div class="xtra-item-left">-<?php echo $llft; ?> Left</div>
</td> </td>
<td> <td>
Ticket Qty:
<?php if($qty_t_type=='dropdown'){ ?> <?php if($qty_t_type=='dropdown'){ ?>
<select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" class='extra-qty-box etp'> <select name="option_qty[]" id="eventpxtp_<?php echo $count; ?>" class='extra-qty-box etp'>
<?php for ($i = 0; $i <= $llft; $i++) { ?> <?php for ($i = 0; $i <= $llft; $i++) { ?>
@ -47,7 +46,7 @@ $qty_t_type = $field['option_qty_t_type'];
</td> </td>
<td><?php echo get_woocommerce_currency_symbol().$field['option_price_t']; ?> <td>Per Ticket Price: <strong><?php echo get_woocommerce_currency_symbol().$field['option_price_t']; ?></strong>
<p style="display: none;" class="price_jq"><?php echo $field['option_price_t']; ?></p> <p style="display: none;" class="price_jq"><?php echo $field['option_price_t']; ?></p>
<input type="hidden" name='option_name[]' value='<?php echo $field['option_name_t']; ?>'> <input type="hidden" name='option_name[]' value='<?php echo $field['option_name_t']; ?>'>

View File

@ -3,7 +3,7 @@
* Plugin Name: Woocommerce Events Manager * Plugin Name: Woocommerce Events Manager
* Plugin URI: http://mage-people.com * Plugin URI: http://mage-people.com
* Description: A Complete Event Solution for WordPress by MagePeople.. * Description: A Complete Event Solution for WordPress by MagePeople..
* Version: 2.0.1 * Version: 2.0.2
* Author: MagePeople Team * Author: MagePeople Team
* Author URI: http://www.mage-people.com/ * Author URI: http://www.mage-people.com/
*/ */